Hi there...in the version of DeeZire's AI.ini guide I have (downloaded about three weeks ago) there's an interesting passage about AI Triggers firing through the amount of credits:
Quote:
E = AITriggerType
4 trigger based on number of Credits held by enemy (min quantity specified by parameter AABBCCDD)
|
for AABBCCDD it states:
Quote:
AABBCCDD-EEFFGGHH-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXX
· AABBCCDD holds a number (represented by 4 hex bytes, in reverse) for each subsequently specified condition that must be satisfied for the trigger to be fired.
|
I have two questions about this:
First, is this statement correct anyway? In an older Version of the guide, this parameter "E" is told to be a parameter for the direction from which the attack should take place, and since there are several Westwood-scripts having "E"="4" but "AABBCCDD"="00000000", it sounds a bit more logical...?
Second, the main, important question:
(represented by 4 hex bytes, in reverse)...this is what I need help with; how is this actually ment? If I want the trigger to fire at 10,000 credits, for example, what would I type? I have tried to convert numbers using a hex-editor, but the result was rather confusing:
- Simply writing into the hex-code would bring the result that 9999 credits would be the highest value that can be reached (39393939 in hex = 9999 in decimal)
- Using the base converter would create "typical" hex-code with letters in it
(example "unsigned long": 0000270f = 9999)
And even if I found out the correct conversion method, how would I "reverse" it?
(i.e. on which side would the number start and would I reverse every byte on it's own or simply flip the whole expression?)
Could somebody please help me with this? I have no idea what to do (or try)... :/