About Store Forum Documentation Contact



Post Reply 
Creating vehicles
Author Message
Kevin Offline
Member

Post: #1
Creating vehicles
Hi,
If I want to add vehicles to my game, what's the best way of doing it with Esenthel Engine?
I tried creating it as Game::Chr, but then I get this error:

[Image: error.png]

That's because the vehicle skeleton (which is used for rotating blades of a helicopter or rotate wheels of cars), doen't contain the "character bones".

Can I disable the requirement of "character bones" in Game::Chr in some way?

regards,
Kevin
12-29-2009 07:03 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Creating vehicles
Hi,

you should create your custom class for the vehicles, there is a tutorial for that in the sdk codes, game basics\extending base class, something like that.

Game::Chr is targetted specifically for humaoinds with legs and arms.
12-29-2009 07:12 PM
Find all posts by this user Quote this message in a reply
Kevin Offline
Member

Post: #3
RE: Creating vehicles
(12-29-2009 07:12 PM)Esenthel Wrote:  Hi,

you should create your custom class for the vehicles, there is a tutorial for that in the sdk codes, game basics\extending base class, something like that.

Game::Chr is targetted specifically for humaoinds with legs and arms.

Ok, thanks, I'll take a look at the sample.
12-29-2009 07:35 PM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #4
RE: Creating vehicles
I made cars based on Game::Static objects.
12-30-2009 11:35 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
RE: Creating vehicles
Static is wrong choice, because it assumes that the object will be in the same location all the time.
12-30-2009 03:16 PM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #6
RE: Creating vehicles
So Item will be better?

(Now I checked my code and I found that my car based on Item not Static grin Static was in first version xD)
12-30-2009 03:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #7
RE: Creating vehicles
yes, but most suggested is creating new class
12-30-2009 03:46 PM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #8
RE: Creating vehicles
Ok thanks.
12-30-2009 03:48 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply