Jump to content
Marleys Ghost

Monster Mayhem

Recommended Posts

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.

 

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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. :(

Share this post


Link to post
Share on other sites

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. smile.png

 

 

Things topple over for a reason .. try moving the vehicles centre of mass lower.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
Guest Red Ocktober

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

Share this post


Link to post
Share on other sites

@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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...