Blockland Forums > Modification Help
New Weapon: The RocketBox
TheLegomaster:
Basicly a heavy rocket launcher.
Shoots gravity rockets at lower speed and more damage.
Originally it would have looked like this:
But the snippet of code that hides your hands, prevented it from shooting.
--- Code: ---}
function rocketBoxImage::onMount(%this, %obj, %slot)
{
%obj.hidenode("RHand");
%obj.hidenode("LHand");
}
function rocketBoxImage::onUnMount(%this, %obj, %slot)
{
%obj.unhidenode("RHand");
%obj.unhidenode("LHand");
}
--- End code ---
If anyone could tell me what's wrong, I would gladly update/give credit.
Also, the console.log said it was the bit between the #'s that's screwing up:
--- Code: ---function #r#ocketBox::onMount(%this, %obj, %slot)
--- End code ---
Also, this has custom sounds, but the sounds won't play.
I got the custom firing sound to work, but the explosion sound is still the default one. Halp? :D
Also also, I'm having problems with the CI icons.
Current pictures:
PICTURES
TheLegomaster:
Bump for not-so-great justice. :c
JTBreslow:
Model is lovey.
TheLegomaster:
--- Quote from: JTBreslow on August 01, 2010, 03:19:02 PM ---Model is lovey.
--- End quote ---
:D!
Cyanian:
The model is pretty bad.
The main body is practically a rectangle with one side sized up.
It's way to large.