Actr > Int32s (Sparky's Plugins v1)
Posted: Fri Jun 25, 2010 2:50 pm
These tags are marked as "experiment with" tags.
I tested these experiments by running the beach storm in the beginning of a b30.map mod called "Beachhead" over and over again and seeing how the AI reacted differently each time.
So far, I've seen that:
-No matter how high you make the number, it caps off at 2147483647. For example, if you type "9999999999999999" and enter it, it will automatically make the number 2147483647. If you type 2147483646, it stays 2147483646. If you type 2147483648 it makes it 2147483647.
-Negative numbers cap at -2147483648. (Really weird, the last integer is only one value higher than the positive number cap.)
Number 1: Has to do with range at which the AI will shoot at an enemy from. The higher the number, the farther the AI will start taking shots at the enemy. The number was originally a very low negative number, but when I made it extremely high, the AI would shoot at an enemy no matter how far away it was. When I made the number 0, the AI seemed to act normally and still shot at the enemy but at closer range. The original number was -1287930578.
Number 2: After LOTS of testing, I have no idea what this does. The AI show no noticeable changes after each test, but it has to do SOMETHING. After maxing out both high and low numbers, no difference in behavior, though the enemies died in different ways each time. Original number was -1287930578.
Number 3: When the number is maxed negative, the AI acts normal. When the number is maxed positive the AI either prefers closer combat, or always rushes any enemy. When number is 0, AI acts normally. Original number -1287930578.
Number 4: The only different original number out of the four. The number is also the only positive: 1056964607. Same results as number 2.
EDIT:
-I maxed out the all numbers (positive), and the AI always rushed and always shot at the enemy no matter how far it was. The AI sometimes started shooting at nothing and at walls at times. I think they were trying to shoot enemies on the other side.
I tested these experiments by running the beach storm in the beginning of a b30.map mod called "Beachhead" over and over again and seeing how the AI reacted differently each time.
So far, I've seen that:
-No matter how high you make the number, it caps off at 2147483647. For example, if you type "9999999999999999" and enter it, it will automatically make the number 2147483647. If you type 2147483646, it stays 2147483646. If you type 2147483648 it makes it 2147483647.
-Negative numbers cap at -2147483648. (Really weird, the last integer is only one value higher than the positive number cap.)
Number 1: Has to do with range at which the AI will shoot at an enemy from. The higher the number, the farther the AI will start taking shots at the enemy. The number was originally a very low negative number, but when I made it extremely high, the AI would shoot at an enemy no matter how far away it was. When I made the number 0, the AI seemed to act normally and still shot at the enemy but at closer range. The original number was -1287930578.
Number 2: After LOTS of testing, I have no idea what this does. The AI show no noticeable changes after each test, but it has to do SOMETHING. After maxing out both high and low numbers, no difference in behavior, though the enemies died in different ways each time. Original number was -1287930578.
Number 3: When the number is maxed negative, the AI acts normal. When the number is maxed positive the AI either prefers closer combat, or always rushes any enemy. When number is 0, AI acts normally. Original number -1287930578.
Number 4: The only different original number out of the four. The number is also the only positive: 1056964607. Same results as number 2.
EDIT:
-I maxed out the all numbers (positive), and the AI always rushed and always shot at the enemy no matter how far it was. The AI sometimes started shooting at nothing and at walls at times. I think they were trying to shoot enemies on the other side.