Marleys Ghost Posted February 19, 2012 Share Posted February 19, 2012 Monster trucks that is, not the big teeth, flesh eating scaled skin variety. This started as a thought exercise and turned into the start of vehicle AI. The truck has auto steering which will steer the truck to a designated point, as demonstrated in the opening of the video. Currently the truck has no brakes an a far too high torque acceleration, but it was more fun. Eventually the nodes that are used for steer to points will become info nodes that will set things like braking distance and max speed amongst other things. This was recorded realtime in the Leadwerks 2.5 editor with the trucks AI scripted in Lua. 4 Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
Pixel Perfect Posted February 19, 2012 Share Posted February 19, 2012 Cool ! Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
Paul Thomas Posted February 19, 2012 Share Posted February 19, 2012 LMAO, very nice work MG. Quote Link to comment Share on other sites More sharing options...
diedir Posted February 19, 2012 Share Posted February 19, 2012 very cool MG any chance to see a bit of your code ? as i am working on this kind of game i am very interested thanks Quote AMD Ryzen 5900HX - Nvidia RTX 3070 - 32 Go - 1To SSD - W11 Link to comment Share on other sites More sharing options...
Ywa Posted February 19, 2012 Share Posted February 19, 2012 I'm working with the vehicle class too, and I'm wondering how you prevent the monster trucks from flipping over when they make a tight corner (what settings etc.). The A.I. looks promising so far. Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 19, 2012 Author Share Posted February 19, 2012 I'm working with the vehicle class too, and I'm wondering how you prevent the monster trucks from flipping over when they make a tight corner (what settings etc.). The A.I. looks promising so far. Things topple over for a reason .. try moving the vehicles centre of mass lower. Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 19, 2012 Author Share Posted February 19, 2012 any chance to see a bit of your code ? Sure ... just a bit though ... require("scripts/class") Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
Ywa Posted February 19, 2012 Share Posted February 19, 2012 Things topple over for a reason .. try moving the vehicles centre of mass lower. I know they do that for a reason. And you have no clue how much time and effort I've put into the vehicle stuff. Lowering the centre of mass doesn't solve the problem fully. But anyways, it's my problem and not yours, and I'll figure it out someday. Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 19, 2012 Author Share Posted February 19, 2012 I know they do that for a reason. And you have no clue how much time and effort I've put into the vehicle stuff. Lowering the centre of mass doesn't solve the problem fully. But anyways, it's my problem and not yours, and I'll figure it out someday. M'kay .. you asked what I did to "prevent the monster trucks from flipping over when they make a tight corner" .. and what I did was lower the vehicles centre of mass. Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
Guest Red Ocktober Posted February 19, 2012 Share Posted February 19, 2012 just saw this... really neat... funny watching the cars blindly "fight" for positioning... this could conceivably be used to make a car choose (based on a set of target variables, say a street and number ) which node to head towards next... --Mike Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 19, 2012 Author Share Posted February 19, 2012 @Red: Thanks and yes, conceivably, but what I have so far is what I did yesterday afternoon from an idea yesterday morning, also it was my first attempt at using vehicles and I still need to read up on all the LE vehicle "stuff". Its also very conceivable that the waypoints could be used in a node graph and pathfinding utilised. But the next step is to familiarise myself with LE's vehicle system and then approach the info node idea I mentioned. Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
Road Kill Kenny Posted February 20, 2012 Share Posted February 20, 2012 Very nice stuff Marley. Really cool. And the fish flocking looks good too keep it up. Quote STS - Scarlet Thread Studios AKA: Engineer Ken Fact: Game Development is hard... very bloody hard.. If you are not prepared to accept that.. Please give up now! Link to comment Share on other sites More sharing options...
wailingmonkey Posted February 21, 2012 Share Posted February 21, 2012 really nice seeing your experiments as of late, MG! Quote Vista Ultimate SP1 64bit | Q6600 2.40 GHZ | 8GB RAM | 320MB Nvidia 8800GTS Link to comment Share on other sites More sharing options...
AggrorJorn Posted February 22, 2012 Share Posted February 22, 2012 Really cool stuff Marley. looks all very smooth Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 24, 2012 Author Share Posted February 24, 2012 @Ken, WM & Aggror: Thanks, still lots of things to try out yet hopefully this weekend I can finally go through the vehicle commands and stuff. Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.