First, i have to explain the differance btween "Simpleplane's Basic Ai" and our custom Ai code made by our own, working for what we intended.
SP's Basic Ai is literally the built-in Ai exist on the game itself. it is somehow good enough at piloting airplanes, but it doesn't when it comes to ground vehicles, espacially if we have our specific desire to them to work on our intend!
and because of this, we (and our ancestors of this site..!!)decided to design our own algorithm to work as what we intneded. now, it's time to make it yours..
Step 1 - Let the funkytree codes to take the wheel (literally).
Pitch, Roll, Yaw, Throttle, Brake, Trim, VTOL.. These inputs are only for us (human users) and Sp basic built-in Ai.
to let our custom Ai to take the wheel, you have to change the inputs of each parts (like enigne or wheel's steer) into your own custom variable's name (you can make one at variable setter), so that the funkytree codes literally "take the wheel" of your vehicle. for example, for enigne's input, you have to change its input into Acc (i said this is just "example", you can name it your own!!!), Steer for inputs of wheels.
Step 2 - design the code
actually.. i spent a lot of time for research to find, also did founded new technique(s) on our Ai drive algorithm. but it would be too hard to explain everything with my incomplete english! so i'll just explain the most minimum, and the most definite way just make them to "follow" you.
as i explained in step 1, if you changed the vehicle's control inputs into your own custom variables, copy and paste this code into Acc (example name) variable : (TargetDistance-10)/10*
now our Ai is able to accelerate till its target's distance.
and now, copy and paste this code into Steer (example name) variable : sin(TargetHeading-Heading)
now our Ai is able to steer to change its direction as where the target is at.
that's it, but since it was are very basic things to do, you may want to learn something more advanced. you can ask me at then!
@KSB24 i made it roll over when its speeding hehehe
@KSB24 "JESUS TAKE WHEEEEEEL"
@KSB24 that was just simple than rather figuring it out with 100 messages in gpt
First, i have to explain the differance btween "Simpleplane's Basic Ai" and our custom Ai code made by our own, working for what we intended.
SP's Basic Ai is literally the built-in Ai exist on the game itself. it is somehow good enough at piloting airplanes, but it doesn't when it comes to ground vehicles, espacially if we have our specific desire to them to work on our intend!
and because of this, we (and our ancestors of this site..!!)decided to design our own algorithm to work as what we intneded. now, it's time to make it yours..
Step 1 - Let the funkytree codes to take the wheel (literally).
Pitch, Roll, Yaw, Throttle, Brake, Trim, VTOL.. These inputs are only for us (human users) and Sp basic built-in Ai.
to let our custom Ai to take the wheel, you have to change the inputs of each parts (like enigne or wheel's steer) into your own custom variable's name (you can make one at variable setter), so that the funkytree codes literally "take the wheel" of your vehicle. for example, for enigne's input, you have to change its input into
Acc
(i said this is just "example", you can name it your own!!!),Steer
for inputs of wheels.Step 2 - design the code
actually.. i spent a lot of time for research to find, also did founded new technique(s) on our Ai drive algorithm. but it would be too hard to explain everything with my incomplete english! so i'll just explain the most minimum, and the most definite way just make them to "follow" you.
as i explained in step 1, if you changed the vehicle's control inputs into your own custom variables, copy and paste this code into
Acc
(example name) variable :(TargetDistance-10)/10*
now our Ai is able to accelerate till its target's distance.
and now, copy and paste this code into
Steer
(example name) variable :sin(TargetHeading-Heading)
now our Ai is able to steer to change its direction as where the target is at.
that's it, but since it was are very basic things to do, you may want to learn something more advanced. you can ask me at then!
@MOGETA4BattleBots i need one
@MOGETA4BattleBots do it work in convoys?
Use a gyroscope mod i can give u One if u want
@YarisSedan but how do i see it
@KSB24
@Majakalona what the
@KSB24 might have the answer
You need bait.
put the bait on a rope
put the rope on a stick
attach the stick to your car
watch as the ai tries to get the bait.