Auto Credit Based on Kendog84's ZIS-5 truck w M1939 37mm AA gun
Truck is made by Kendog.
Waypoint system, attempt 3.
Have points set for wright airport only.
Previous attempt's here.
Goes to any neighbour of current point except previous visited.
If current point doesn't have any neighbours except previously visited, stop, flash headlights, exhange gifts, go back.
"Gifts" are colored dots on label. In theory it will always ride four meters to the right from line between two points. I didn't measured how it actually works, but it doesn't collides with others.
Specifications
Spotlights
- BaconAircraft 2.7 years ago
- Freerider2142 2.7 years ago
- MisterT 2.7 years ago
- winterro 2.7 years ago
- HOPKINS234 2.7 years ago
- YarisSedan 2.7 years ago
- Kendog84 2.7 years ago
- ConvoyPerson 2.2 years ago
- KSB24 1.9 years ago
General Characteristics
- Predecessor ZIS-5 truck w M1939 37mm AA gun
- Successors 1 airplane(s) +42 bonus
- Created On Windows
- Wingspan 7.5ft (2.3m)
- Length 19.6ft (6.0m)
- Height 7.5ft (2.3m)
- Empty Weight 4,068lbs (1,845kg)
- Loaded Weight 6,934lbs (3,145kg)
Performance
- Wing Loading N/A
- Wing Area 0.0ft2 (0.0m2)
- Drag Points 0
Parts
- Number of Parts 48
- Control Surfaces 0
- Performance Cost 311
They caused me to loose an engine on my plane lol, these are cool trucks!
@Liaoning567 No, at the moment i see no point in posting same system twice
See KSB24, he posts frequently and IIRC he's got similar system
@11qazxc I See, Will There Be Anymore Posts Like This In The Future? Just A Question.
@Liaoning567 Yes, this one is for Wright airport only
@11qazxc This Is The Best Thing To Convoy AI That I've Ever Seen! But I'm Assuming This Only Works For Wright Airport Right?
@PhantomBoltSP
VC
variable, there's four setters for it (see activators):first one sets default speed;
second one sets speed if waypoint's behind truck;
third one sets speed if waypoint is dead end and is within 15 seconds, it adds V to increase sensitivity;
fourth one is kind of brake for dead ends
@11qazxc yo i kinda like this but where i can increasw the speed
@11qazxc ohhhhhhhhhhh, thanks for the help mate
@126 some variables are lists in
index=a?xa:(index=b?xb:...
form. to make them shorter i omitted closing parenthesis. it works fine with ft interpreter, but variable editor widget has it's own checker that says that such code isn't correct. to pass it you need to add those parenthesis back, e.g. turnp_tgt.i=1?6020:(p_tgt.i=2?5885:(p_tgt.i=3?5805:(p_tgt.i=4?5805:(p_tgt.i=5?5805:(p_tgt.i=6?5805:(p_tgt.i=7?5805:(p_tgt.i=8?5805:(p_tgt.i=9?5805:(p_tgt.i=10?5805:(p_tgt.i=11?5885:(p_tgt.i=12?6020:(p_tgt.i=13?6020:(p_tgt.i=14?6020:(p_tgt.i=15?6020:(p_tgt.i=16?5880:(p_tgt.i=17?5670:(p_tgt.i=18?5670:(p_tgt.i=19?5670:(p_tgt.i=20?5685:(p_tgt.i=21?5600:(p_tgt.i=22?5600:(p_tgt.i=23?5635:0
into
p_tgt.i=1?6020:(p_tgt.i=2?5885:(p_tgt.i=3?5805:(p_tgt.i=4?5805:(p_tgt.i=5?5805:(p_tgt.i=6?5805:(p_tgt.i=7?5805:(p_tgt.i=8?5805:(p_tgt.i=9?5805:(p_tgt.i=10?5805:(p_tgt.i=11?5885:(p_tgt.i=12?6020:(p_tgt.i=13?6020:(p_tgt.i=14?6020:(p_tgt.i=15?6020:(p_tgt.i=16?5880:(p_tgt.i=17?5670:(p_tgt.i=18?5670:(p_tgt.i=19?5670:(p_tgt.i=20?5685:(p_tgt.i=21?5600:(p_tgt.i=22?5600:(p_tgt.i=23?5635:0))))))))))))))))))))))
@11qazxc i know im late but, can you atleast visualize what that looks like? it still kept saying error on my end when i tried it yesterday, either im stupid or i did something wrong.
@DatMaluchGuy19
Try to add 22 closing parentheses in the end of
p_tgt.next.z
,p_tgt.next.x
,p_tgt.links.z
,p_tgt.links.x
and 3 closing parentheses in the end ofp_tgt.next
@11qazxc uhhh for some reason when i tried to change certain values, for some reason, it said error when i tried to save the changes for some reason...
@11qazxc thanks, i was actually making a simple traffic cars project, and i want to make at least one reckless street racer ai.
@DatMaluchGuy19
VC
variable, it's in meters per second, and it's signed i.e. negative value means it must go backwards.TC
controls engine directly, you can set it to 1 if you want to go as fast as possible.@11qazxc also btw, how can i change the maximum speed of the ai? i kinda want to make a reckless street racer ai that causes nothing but harm to fellow ai drivers, and also the player too.
Great 10/10
@winterro
p_tgt.i
stores id of currently selected pointp_tgt.x
,p_tgt.z
are coords of currently selected pointp_tgt.links.x
,p_tgt.links.z
are ids of points where it can go from currently selected one.p_tgt.i
switches to one ofp_tgt.links.x%100
,p_tgt.links.x//100
,p_tgt.links.y%100
, andp_tgt.links.y//100
every time car gets close-enough to currently selected pointOther variables aren't significant for routing, they're used to tame car itself, to make it unable to go to previous point, to make it not headbutt others, to make it stop at dead ends, to make it remember gifts without leaving too much inside label...
Mind explaining how this works? Kinda interesting
@11qazxc thanks! your code is awesome btw!
@DatMaluchGuy19 Yes, you can.
@11qazxc hey, can i use your cool ft code? i will credit you when i used it!
@DatRoadTrainGuy19
What about the game settings?
Playing on low physics might help a little (these trucks should work fine on low physics, since they have no suspension parts)
@DatRoadTrainGuy19 311x15=4665 performance cost, but with 15 AI scripts, 15 variable sets etc..
@Kendog84 i spawned 15 or 16 of these bad boys and no joke my frames dropped from 40 to 30 to just 15 and 10 sometimes even 9 and 8 fps too
@IceCraftGaming
Probably possible even with the current set up, but you first have to chart the route between two places (I do have a plan to do that)