How to realize a car script?

Get technical support about the C++ source code and about Lua scripts for maps, entities, GUIs, the console, materials, etc. Also covered are the Cafu libraries and APIs, as well as compiling, linking, and the build system.
Post Reply
User avatar
Hidong
Posts:22
Joined:2008-04-19, 21:09
Location:Germany, Bremen
Contact:
How to realize a car script?

Post by Hidong » 2008-04-20, 13:40

How can i realize a script or something like that :D to.. yeah simply drive within the game?
Or does anyone have an easy script for that, that can be exhanced?

Thanks
User avatar
Carsten
Site Admin
Posts:2170
Joined:2004-08-19, 13:46
Location:Germany
Contact:

Re: How to realize a car script?

Post by Carsten » 2008-04-21, 17:51

Hidong wrote:How can i realize a script or something like that :D to.. yeah simply drive within the game?
Well, I think the best and most straightforward way to achieve that is to modify the HumanPlayer.cpp code (see Ca3D-Engine/Games/DeathMatch/Code/).
Best regards,
Carsten
User avatar
Hidong
Posts:22
Joined:2008-04-19, 21:09
Location:Germany, Bremen
Contact:

Re: How to realize a car script?

Post by Hidong » 2008-04-21, 18:07

OK, thank you very much, is in the Ca3D-Engine any Physic Support?
User avatar
Carsten
Site Admin
Posts:2170
Joined:2004-08-19, 13:46
Location:Germany
Contact:

Re: How to realize a car script?

Post by Carsten » 2008-04-21, 18:11

Hidong wrote:OK, thank you very much, is in the Ca3D-Engine any Physic Support?
The physics support in Ca3DE is currently only very basic: It's just the stuff that you see in Ca3D-Engine/Games/DeathMatch/Code/Libs/Physics.*

However, I think that adapting this to car physics as in a Kart game is pretty straightforward. If you need help with that, let me know.
Best regards,
Carsten
Post Reply

Who is online

Users browsing this forum: No registered users and 96 guests