How Do I add Iceflower to Tux without using Bonus block

How Do I add Iceflower to Tux without using Bonus block

Postby Tiger_v15 » 29 May 2012, 16:40

How Do I add Iceflower to Tux without using Bonus block. I want to use Powerup but I won't work. Is there a special script to wright?
Tiger_v15
 
Posts: 7
Joined: 29 May 2012, 16:38

Re: How Do I add Iceflower to Tux without using Bonus block

Postby LMH » 29 May 2012, 21:29

To make the iceflower work as a powerup you need to include the script:
{l Code}: {l Select All Code}
Tux.add_bonus(\"iceflower\");
play_sound(\"sounds/fire-flower.wav\");

This should get you the bonus as well as the powerup sound. Since the iceflower is not yet a regular part of the game (only really used in custom levels) the powerup has setup has been overlooked for the time being.
User avatar
LMH
SuperTux Moderator
 
Posts: 105
Joined: 04 Jan 2012, 19:39

Re: How Do I add Iceflower to Tux without using Bonus block

Postby Tiger_v15 » 31 May 2012, 16:43

Thanks. But I just found out anyway...
I am working on a Mod of super tux called PIXEL BOY 2.
Should I post it here?
Tiger_v15
 
Posts: 7
Joined: 29 May 2012, 16:38

Re: How Do I add Iceflower to Tux without using Bonus block

Postby ctdabomb » 31 May 2012, 17:14

Tiger_v15 {l Wrote}:Thanks. But I just found out anyway...
I am working on a Mod of super tux called PIXEL BOY 2.
Should I post it here?

sure
Some people are like slinkies... not really good for anything, but you still can't help smiling when you shove them down the stairs.
ctdabomb
SuperTux Moderator
 
Posts: 1075
Joined: 13 Dec 2011, 21:21
Location: halfway there

Who is online

Users browsing this forum: No registered users and 1 guest

cron