Self-driving car that can drives through terrains without actually driving it.
Pathfinding code is in mfd part at the center of the car, self-driving code is in "Engine" part. If use in other crafts, makes sure the instruction per frame in mfd at least 5000, max widget > 300, put vehicle in plane mode and adjust roll PID accordingly. Makes sure AG1 is activated for pathfinding to work.
For some reason, this does not work on mobile.
Feature:
- Greatly improved pathfinding speed.
- Smoother path
Instruction
1. AG1 to power on.
2. Wait until the map fully generated. Click a target location to navigate and wait until the pathfinding complete. (Not recommend navigate when the vehicle is on launch pad or close to building)
3. AG10 to set vehicle max traversable slope angle in degree.
Known Issues
- Some part of the generated path is suboptimal after the algorithm rerouting in second pass of pathfinding.
- The first path node start at more than 40 meters away from vehicle (depends on distance per pixel size) after the path is calculated, which may result in the first node start at below cliff even though vehicle is above cliff. So makes sure the vehicle is not on the edges of cliff or on launch pad when starts pathfinding algorithm
- This does not work on building
- Does not account for terrain slope direction vector, which may cause vehicle to rollover when it travels perpendicular to the slope direction vector
- Suboptimal autopilot navigation which may cause vehicle to rollover when doing tight turns
F!S!D!
@llwei97 Damm, aight man…thanks
@Tristxan sorry you have to do it yourself, you can ask in juno community server vizzy channel
@llwei97 Can you please look into it for you're next project, i have loads of tankers that need vizzies
@Tristxan yes
Greetings, I was wondering if it's possible to make a vizzy for a airplane to fly rectangular loop kinda like a tanker for refueling
@DennisLoboGames I'm also around that very level actually, and I'm currently designing a proof of concept craft to implement all the basic vizzy I have learnt to the highest level I can. Then I'm off to custom instructions and expressions.
Also, do you use AI to guide your designing? They tend to mislead, but when you are misled enough, you qualitatively start deep thinking your own vizzy approach and improve. I've been doing that for almost a year, and it's really helping.
Lastly, check the discord community for help. Especially with the guys who post frequently. Thay really provide clarity when you get stuck.
@llwei97 Thanks! Average of returned color and normalized color worked the best.
@TheVizzyLucky normalize the terrain color vector will do, then you can add other color effect you want.
Also I checked the program, the first error that stop the map generation is cause by comparing vector using funk which is solved by changing the
funk[vec(I,j,0) != vec(0,0,0)]
to regular vizzy block. Then next error is occurs when pathfinding algorithm starts, I think this is something to do with funk, since the program heavily use funk to increase calculation speed (increase speed using funk only work on pc). And since the program is too complicated to fix now, so I'm unable to make it work on mobile sorry..@llwei97 Thanks! Also, how did you make the light? I'm working on a more realistic brightness for my Custom Maps MfD (because the colors returned by
get terrain color at ...
are way too dark), and yours look great. Is it possible to make it more efficient by not accounting for slope angles?@TheVizzyLucky I will see if I can fix it, this only occurs in mobile.
@llwei97 Yes, "Type comparison not implemented"
@TheVizzyLucky are u on mobile? there is a error which you can see in MFD log, which I not sure why it only appear in mobile. It work on PC but I haven't test it in mobile. Just now only use it in mobile for the first time 😅
@Silverback For me I think it will take me 5 years because I have been doing it for quite a while since Vizzy came out and I haven't gotten past the basics XD but I will do what you say, although there are things that I can't understand, like creating expressions, If I do an altitude hold expression it doesn't work haha
@DennisLoboGames not really, emphasizing "good". As the tools are drag and place for some part, you can actually make a good vizzy program without any background in programming. I have. Just find a craft you like, take a look at how it's simplest vizzy was arranged and start researching... it's slow progress but you will get there.
To make a good Vizzzy program, is it necessary to have a background in programming? And what kind of programming?
The map generation seems to be aborted before the generation loop for me. I added some
flight log
blocks (see picture) and all I got in the flight log was a1
. I didn't change anything else.@Silverback Great!
@llwei97 😁😁 I've been testing this on my phone, poor thing. I'll relocate to the laptop
Update; works like a charm on the laptop. Appreciated.
I should test this on my trophy truck which should have no problem with terrain
@Silverback ~50 seconds for me on 10,000 instructions per frame
@llwei97 Excellent craft 👌👌👌. How long should it take for the map to get generated?
@Sturmmorser lol
we will have self making crafts before gta 6
Insane build, more people need to see this.
we got uber in juno before gta 6