FSM – Talk
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
A first detailed view of the soldier FSM, very simplified, by [[User:SoldierIsNotHistory|SoldierIsNotHistory]] : http://soldierisnothistory.free.fr/OperationFlashpoint/AI_soldier.png (from [http://www.arma-fr.net/forum/index.php?showtopic=128&pid=901&st=0&#entry901 arma-fr.net forums]) | A first detailed view of the soldier FSM, very simplified, by [[User:SoldierIsNotHistory|SoldierIsNotHistory]] : http://soldierisnothistory.free.fr/OperationFlashpoint/AI_soldier.png (from [http://www.arma-fr.net/forum/index.php?showtopic=128&pid=901&st=0&#entry901 arma-fr.net forums]) | ||
- [[User:Whisper|Whisper]] 16:57, 7 December 2006 (CET) | - [[User:Whisper|Whisper]] 16:57, 7 December 2006 (CET) | ||
Nice work there on that chart! Pretty impressive job decoding it, and pretty interesting what kind of things this might enable scripters to do. | |||
For now though, I have decided not to waste anymore time into "reverse-engineering" FSM...<br>BIS has a different attitude towards the community than they did when they released OFP. They ''know'' now that the addon and mission-makers are one of their strongest assets (that's why the Wiki), so unlike back then, where one *had* to figure stuff out yourself if you wanted to get into modding/scripting, I am sure this time around we ''will'' get some sort of documentation pretty soon.<br> | |||
So I could either spend the next few weeks trying to decypher FSM, only to have it then verified by the released documentation, or I could spend that time enjoying ArmA, familiarizing myself with the new concepts that ''are'' already documented, and then fully dive into FSM once the documentation is out.<br> | |||
(But I also know the thrill to trying to figure something out by yourself - ''without'' any outside help or documentation, so I do understand if other people chose not to wait...) --[[User:Kronzky|Kronzky]] 17:20, 7 December 2006 (CET) |
Revision as of 17:20, 7 December 2006
OK, I know this is highly preliminary and full of assumption but I am hoping to spur some more testing or release of hard facts from BIS regarding this file structure. Heck, I am going off second hand info to get this. --CrashDome 08:06, 4 December 2006 (CET)
Hello Crashdome. From here : http://kronzky.info/misc/animals-config.zip , it looks like, at least in .cpp, the condition/actions may not be a simple script, but takes argument :
class MoveCompleted { priority = 1.000000; to = "SetRandom3"; class Condition { function = "moveCompleted"; parameters = {}; threshold = 0; }; class Action { function = "nothing"; parameters = {}; thresholds = {}; }; };
probably referencing a function defined somwhere else in the cpp. - Whisper 18:30, 6 December 2006 (CET)
Thanks Kronzky, but I think those are config specific and useful for addons. However, all mission examples are different and more simplistic, BUT it is still important. I wish I had a copy of ArmA to do tests. When I get one, I will elaborate - if not already done so by someone else. --CrashDome 23:41, 6 December 2006 (CET)
A first detailed view of the soldier FSM, very simplified, by SoldierIsNotHistory : http://soldierisnothistory.free.fr/OperationFlashpoint/AI_soldier.png (from arma-fr.net forums) - Whisper 16:57, 7 December 2006 (CET)
Nice work there on that chart! Pretty impressive job decoding it, and pretty interesting what kind of things this might enable scripters to do.
For now though, I have decided not to waste anymore time into "reverse-engineering" FSM...
BIS has a different attitude towards the community than they did when they released OFP. They know now that the addon and mission-makers are one of their strongest assets (that's why the Wiki), so unlike back then, where one *had* to figure stuff out yourself if you wanted to get into modding/scripting, I am sure this time around we will get some sort of documentation pretty soon.
So I could either spend the next few weeks trying to decypher FSM, only to have it then verified by the released documentation, or I could spend that time enjoying ArmA, familiarizing myself with the new concepts that are already documented, and then fully dive into FSM once the documentation is out.
(But I also know the thrill to trying to figure something out by yourself - without any outside help or documentation, so I do understand if other people chose not to wait...) --Kronzky 17:20, 7 December 2006 (CET)