Spacechimp Posted December 2, 2009 Share Posted December 2, 2009 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. Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted December 2, 2009 Share Posted December 2, 2009 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. 1 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...
Spacechimp Posted December 2, 2009 Author Share Posted December 2, 2009 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. Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted December 2, 2009 Share Posted December 2, 2009 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. 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...
Josh Posted December 2, 2009 Share Posted December 2, 2009 http://leadwerks.com/wiki/index.php?title=Vehicles Quote My job is to make tools you love, with the features you want, and performance you can't live without. 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.