help w/ weapon.ini! -1 reply

Please wait...

cloakedfigure25

One Lazy Assed, Selfish Modder

50 XP

22nd December 2003

0 Uploads

107 Posts

0 Threads

#1 16 years ago

This weapon works and all, its a superweapon for my mod. It supoosed to be really strong but it doesnt make the poison field or the scorch mark! it only kicks ass and makes the noise.... :( is there pissobly something wrong in the code? Weapon LargeLaserWeapon PrimaryDamage = 1000000000000000000000000000000000000000000.0 PrimaryDamageRadius = 75.0 SecondaryDamage = 1000.0 SecondaryDamageRadius = 75.0 ScatterRadiusVsInfantry = 75.0 ;When this weapon is used against infantry, it can randomly miss by as much as this distance. AttackRange = 1000.0 MinimumAttackRange = 10.0 FireFX = WeaponFX_MOAB_Blast RadiusDamageAffects = ENEMIES NEUTRALS NOT_SIMILAR SELF ALLIES VeterancyFireFX = HEROIC WeaponFX_MOAB_Blast ProjectileDetonationFX = Nuke_WeaponFX_NukeCannon ProjectileDetonationOCL = OCL_RadiationFieldSmall FireSound = LargeLaserWeapon DamageType = EXPLOSION DeathType = EXPLODED WeaponSpeed = 999999.0 ; dist/sec ClipSize = 1 ; how many shots in a Clip (0 == infinite) ClipReloadTime = 1000 ; how long to reload a Clip, msec PreAttackDelay = 1000 ; 833 is natural time of the stabbing animation. PreAttackType = PER_CLIP AntiSmallMissile = Yes AntiProjectile = Yes AntiAirborneVehicle = Yes AntiAirborneInfantry = Yes AntiGround = Yes LaserName = LargeLaserBeam FireFX = FX_RailGunIgnition ProjectileDetonationFX = WeaponFX_LargeLaserWeaponDetonation End




Cammy

Mother of Red Dawn Mod

50 XP

16th March 2003

0 Uploads

572 Posts

0 Threads

#2 16 years ago

you got two Times a ProjectileDetonationFX in this One, i don't know if this is the real Fault, but i think it is.... :uhm:




Ori-Kaal

somewhere in the indian ocean

50 XP

26th November 2003

0 Uploads

41 Posts

0 Threads

#3 16 years ago

it looks like u burrowed code from a redguard or an infantry. if u have no luck try copying code from a similar weapon.

u doubled up on some code and some values were rather big, try this

Weapon LargeLaserWeapon PrimaryDamage = 999999.0 PrimaryDamageRadius = 75.0 SecondaryDamage = 1000.0 SecondaryDamageRadius = 75.0 ScatterRadiusVsInfantry = 75.0 ;When this weapon is used against infantry, it can randomly miss by as much as this distance. AttackRange = 1000.0 MinimumAttackRange = 0.0 ;FireFX = WeaponFX_MOAB_Blast RadiusDamageAffects = ENEMIES NEUTRALS NOT_SIMILAR SELF ALLIES VeterancyFireFX = HEROIC WeaponFX_MOAB_Blast ProjectileDetonationFX = Nuke_WeaponFX_NukeCannon ; try china death weapon ProjectileDetonationOCL = OCL_RadiationFieldSmall FireSound = unless u made this sound; LargeLaserWeapon DamageType = EXPLOSION DeathType = EXPLODED WeaponSpeed = 999999.0 ; dist/sec ClipSize = 1 ; how many shots in a Clip (0 == infinite) ClipReloadTime = 999999.0 ; how long to reload a Clip, msec ;PreAttackDelay = 1000 ; 833 is natural time of the stabbing animation.'this line is for scuds , tomahawks etc... things where an animation needs time to reload ;PreAttackType = PER_CLIP ;AntiSmallMissile = Yes ;AntiProjectile = Yes ;AntiAirborneVehicle = Yes ;AntiAirborneInfantry = Yes ;AntiGround = Yes ;LaserName = LargeLaserBeam 'be very careful when using lasers' ;FireFX = FX_RailGunIgnition ;ProjectileDetonationFX = WeaponFX_LargeLaserWeaponDetonation End

this should get u a bit closer. id like to know how u fire this weapon. from a tank , from a war-factory etc... it makes a big difference for the detenation FX's & OCL's