PDA

View Full Version : mod anyone?


{WAC}DJ JaKe
29th Oct 2001, 02:28 PM
could one of you skilled scripting type characters make me up a mod. very simple. i want it identical to the rocket launcher arena(one of the standard UT mods)
except with a minigun
you spawn with the mini, full ammo, and any ammo pick up will make it full again
too much to ask?

Papapishu
30th Oct 2001, 05:56 AM
nope, it's the simples thing in the world, just wait till I get home tho...

{WAC}DJ JaKe
1st Nov 2001, 06:29 AM
cant wait...

i hate you
1st Nov 2001, 05:56 PM
A redeemer arena would be more in my taste! :)




:redeemer:

Wormbo
2nd Nov 2001, 01:51 PM
That's the Rocket Launcher Arena mutator:
class RocketArena expands Arena;

defaultproperties
{
WeaponName=UT_Eightball
AmmoName=RocketPack
WeaponString="Botpack.UT_Eightball"
AmmoString="Botpack.RocketPack"
DefaultWeapon=Class'Botpack.UT_Eightball'
}

Just replace UT_Eightball with Minigun2 and RocketPack with MiniAmmo. That's all you need for your Minigun Arena.

Papapishu
4th Nov 2001, 08:28 PM
I forgot that I had answered this thread...
Now to the code:
We'll call the weapon MuchMoreMinigun or something
First subclass the miniammo that enforcers and miniguns use:

class MuchMoreMiniAmmo extends MiniAmmo;

defaultproperties
{
AmmoAmount=199
PickupMessage="You picked up 199 bullets."
}


Then subclass the minigun(2) to make it use the ammo:

class MuchMoreMinigun extends Minigun2;

defaultproperties
{
AmmoName=Class'MuchMore.MuchMoreMiniammo'
PickupAmmoCount=199
}


Then make a little arena mutator like this:

class MuchMoreMinigunArena expands Arena;

defaultproperties
{
WeaponName=MuchMoreMinigun
AmmoName=MuchMoreMiniammo
WeaponString="MuchMore.MuchMoreMinigun"
AmmoString="MuchMore.MuchMoreMiniammo"
DefaultWeapon=Class'MuchMore.MuchMoreMinigun'
}



That should do the trick..