PDA

View Full Version : dEFAULT AMMO PROPERITIES


Lemoni
21st Oct 2001, 04:18 AM
has any one checked the default properties for ut ammo they the USEIN SLOTS DONT match the weapons i am realy confused

Wormbo
21st Oct 2001, 06:52 AM
Theese are used by the Unreal HUD. Compare them with the corresponding Unreal weapon's ammo, e.g. RocketPack and RocketCan. The UT HUD looks for the weapon and then checks how much ammo it has. In other words: That value is not used in UT.

Lemoni
21st Oct 2001, 07:55 AM
so how do set a gun to use certain ammo then?

Wormbo
21st Oct 2001, 08:16 AM
Use the AmmoName property to set the ammo class:


class Enforcer extends TournamentWeapon;
.
.
.
defaultproperties
{
.
.
.
AmmoName=Class'Botpack.MiniAmmo'
.
.
.
}

(Enforcer and Minigun use the same ammo.)

Machismo
25th Oct 2001, 03:08 AM
cant it be acheived without coding??. I havent tried it yet but does making a new sub-class of the weapon that you want the new ammo for and just set and save its default properties to use that ammo. like make the UT minigun use the U1 mini ammo. should work AFAIK :confused: right ??

:p

Wormbo
27th Oct 2001, 01:25 PM
@Machismo

That's coding, even if you just click around in Unreal Editor.