Jump to content

Vehicle Example


Spacechimp
 Share

Recommended Posts

Could someone post an example of vehicle code that works in 2.28? The example here does not seem to be working anymore. Among other things, I am getting "to many function parameters" on several lines.

 

 

A new example would be very nice. Thank you.

 

 

I have just made a new project, Used the code supplied by Flexman in that thread on the old forum, changed the .phy file for the truck (and the oil drum which is not mentioned) and it all works for me using Bmax 1.35 and for this the 2.28 DLL's.

  • Upvote 1

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

I am using LE 2.28

I am using bmax 1.35

 

I have these files in my project directory:

engine.dll

engine.debug.dll

JointLibrary.dll

netwerks.dll

newton.dll

shaders.pak

 

I have replaced truck.phy in the data.pak file.

 

on line 55 of vehicle.bmx:

vehicle=CreateVehicle(chassis,4)  

I get the error "too many function parameters"

 

If I knock off the last parameter (4) on line 55, I then get the same error on line 61.

 

And then if actually re-read the thread, and realize that I should be using flexman's code and not Josh's, I start to feel slightly retarded, and go hide under a rock.

 

Its working, thanks.

Link to comment
Share on other sites

I start to feel slightly retarded, and go hide under a rock.

 

Its working, thanks.

 

 

lol no need to feel like that, happens to all of us ;)

 

Am glad you managed to get it working.

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

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.

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.

 Share

×
×
  • Create New...