What this does:
Allows you to set custom hud images when you pick up a powerup. Instead of a 3d rotating model you can have a flat 2d image, like the super speed powerup in the hud of this MBU/O image:
The Code:
In your Marble Blast folder, navigate to marble/client/scripts/playGui.cs and open it with a plain text editor.
Find this code near the top of the file:
and change it so it looks like this:
In the same file, find this:
Replace with this:
Now, back in your Marble Blast folder, navigate to marble/client/ui/playGui.gui and open it with a plain text editor.
Find this code at the end of the file:
Replace with this:
Almost there now.
For the images, the way this is coded depends on the name of the dts file for the powerup.
That means the images should be named as follows:
Gyrocopter is : helicopter
Shock Absorber is : shockabsorber
Super Bounce is : superbounce
Super Jump is : superJump
Super Speed is : superSpeed
--
Gravity Modifier is : antiGravity
Time Travel is : timetravel
These images must be in png format.
Place them in this folder: marble/client/ui/game/
If you don't want to make your own images, you can download the examples I made here .
And that's it.
Have fun!
Allows you to set custom hud images when you pick up a powerup. Instead of a 3d rotating model you can have a flat 2d image, like the super speed powerup in the hud of this MBU/O image:
The Code:
In your Marble Blast folder, navigate to marble/client/scripts/playGui.cs and open it with a plain text editor.
Find this code near the top of the file:
Warning: Spoiler!
and change it so it looks like this:
Warning: Spoiler!
In the same file, find this:
Warning: Spoiler!
Replace with this:
Warning: Spoiler!
Now, back in your Marble Blast folder, navigate to marble/client/ui/playGui.gui and open it with a plain text editor.
Find this code at the end of the file:
Warning: Spoiler!
Replace with this:
Warning: Spoiler!
Almost there now.
For the images, the way this is coded depends on the name of the dts file for the powerup.
That means the images should be named as follows:
Gyrocopter is : helicopter
Shock Absorber is : shockabsorber
Super Bounce is : superbounce
Super Jump is : superJump
Super Speed is : superSpeed
--
Gravity Modifier is : antiGravity
Time Travel is : timetravel
These images must be in png format.
Place them in this folder: marble/client/ui/game/
If you don't want to make your own images, you can download the examples I made here .
And that's it.
Have fun!