custom item!

custom item!

Postby katshuwa1 » 07 Jun 2012, 14:36

Hi everyone,

I want to add custom collectible items in the track. Let's say 'coins' for example which can be collected along the tracks. How can I go about doing this? Can it be accomplished through addons? Do I edit tracks? And do I also program the game so it recognizes these items? Can ayone suggest where I should start? Thank you all.
katshuwa1
 
Posts: 2
Joined: 07 Jun 2012, 14:28

Re: custom item!

Postby Auria » 09 Jun 2012, 01:42

Hi,

I am afraid that this is not possible at this time, sorry. Maybe you can explain what the advantage of implementing this feature would be? STK does not currently have a scripting engine so there is no way that custom items could do anything until we implement one (which won't happen soon due to lack of time)
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: custom item!

Postby katshuwa1 » 10 Jun 2012, 14:32

I wanted to pop up words instead of say 'gift boxes' so kids could learn few short words while playing the game. If I wanted to implement this, my question is where do I start?
katshuwa1
 
Posts: 2
Joined: 07 Jun 2012, 14:28

Re: custom item!

Postby hiker » 10 Jun 2012, 22:20

katshuwa1 {l Wrote}:I wanted to pop up words instead of say 'gift boxes' so kids could learn few short words while playing the game. If I wanted to implement this, my question is where do I start?

I actually had a kind of 'trivia' mode in mind (for later): you could show a picture at a certain place in a track. Then you divide the finishing line into (say) three sections (left, middle, right), and you add one word on top of each of the section. Then you have to drive through the right section of the finishing line. This might achieve more or less what you want, but would be more programming effort.

To add a word on top of item boxes, look at irrlicht's billboard scene node (e.g. I moved support for this to kart.cpp in r11284).

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Who is online

Users browsing this forum: No registered users and 1 guest

cron