Author Topic: Bulletlauncher!  (Read 4027 times)

Odd. Did you try this with a standard, non edited rocket launcher and the download first provided of the bullet launcher?

[Edit] - Pretty much everything that says rocketlauncher, replace with bulletlauncher.
Just do a Replace All Rocketlauncher with Bulletlauncher.

Problem solved!

Is there an echo in this thread?

I didn't read the thread as usual.

My bad  :panda:

I took a look at it, made some changes and voila! BulletLauncher is now it's own individual weapon, and it only contains one datablock.

I couldn't get it to make a corona behind it, but still it looks like a really painful laser now so whatever.

Now it only works if the Rocket Launcher is turned on...

Make it exec the Rocket Launcher at the start, check whether the add-on is enabled ($AddOn__...) and if it isn't, make the rocket launcher's uiName = "". Then it'll use the correct datablocks but not show up in the lists if you don't have the Rocket Launcher enabled.

Thanks for taking a look at it

Now it only works if the Rocket Launcher is turned on...

Make it exec the Rocket Launcher at the start, check whether the add-on is enabled ($AddOn__...) and if it isn't, make the rocket launcher's uiName = "". Then it'll use the correct datablocks but not show up in the lists if you don't have the Rocket Launcher enabled.

I don't know how to do any of that. I don't know how to create new code.

I could add the RocketLauncher datablocks back into the script if you want.

Code: [Select]
if(!isObject(rocketProjectile)){exec("./Weapon_Rocket Launcher.cs");}
if($AddOn__Weapon_Rocket_Launcher $= "-1"){schedule(1000,0,eval,"rocketlauncheritem.uiname = \"\";");}

Explanations:
Code: [Select]
if(NOT(One of the datablocks for Rocket Launcher exists)){Execute File to Create stuff}
if(Launcher Isn't Enabled){In one second: Make rockets item display name "" so it doesn't show up}
« Last Edit: October 25, 2007, 10:59:26 AM by Space Guy »

Code: [Select]
if(!isObject(rocketProjectile)){exec("./Weapon_Rocket Launcher.cs");}
if($AddOn__Weapon_Rocket_Launcher $= "-1"){schedule(1000,0,eval,"rocketlauncheritem.uiname = \"\";");}

Explanations:
Code: [Select]
if(NOT(One of the datablocks for Rocket Launcher exists)){Execute File to Create stuff}
if(Launcher Isn't Enabled){In one second: Make rockets item display name "" so it doesn't show up}

Oh I get it, I'll try that out and post the results.

Edit: I don't think it worked.
« Last Edit: October 25, 2007, 12:23:16 PM by Muffinmix »