gametechmods
Robot Arena => Modifications => Topic started by: JoeBlo on August 01, 2011, 10:02:39 AM
-
Airforce.py
"Spread your wings and fly.."
Now you can AI your own flyers the same way as they acted in the Epic Flyer challenge..
-AIing make Easy - Shortest Bindings you will ever need
-Easy to use Variables
-New Control Names!!! :O
---------------------------------------
https://gametechmods.com/uploads/files/Airforce.rar (https://gametechmods.com/uploads/files/Airforce.rar)
Example Bindings : list.append(("Flyer","Airforce",{'nose':math.pi,'Spinup':10, 'range':99, 'weapons':(1,)}))
---------------------------------------
You will need the controls..
Spin (Analog control so the AI will shut it off after liftoff)
Launch (Button or Analog that is wired to fire the pistons)
How the Variable works?
'Spinup' in the Binding line deturmines the length of time the robot will Spin before using the Launch control (then shutting off Spin)
Re-Launch actions
Once the flyer looses its Trinity effect and lands on the ground it will sit stationary (keeps firing pistons though which potentially assist in self righting)
If its counted out it will then stop and revert back to the start of the match phase and spin / launch to break count..
Obviously if its butter side down it wont fly..
---------------------------------------
Enjoy
-
That is pretty nice.
-
Cool good job Joe
-
Keeping them all in the same topic..
OmniS.py (Omni Simplified)
I made this one to speed up the AI process for 60+ robots in CCIV
- Fire control is now used for Self righting (so you cant use this python if you have a separate Srimech)
- Default Spinner Range is 99, so you dont have to type it in the bindings (unless you want something other then 99)
All it requires is one extra letter typed into the binding line so save time..
---------------------------------
https://gametechmods.com/uploads/files/OmniS.rar (https://gametechmods.com/uploads/files/OmniS.rar)
-
Looks useful, thanks for sharing! :)