모드 강좌
[GEN] 스콜피온 탱크의 무기 데미지를 올리자
페이지 정보
본문
Object\GLAVehicle.ini를 열고 GLATankScorpion를 검색한다.
design을 검색하고 아래로 내리면 WeaponSet이 있다.
WeaponSet
Conditions = None
Weapon = PRIMARY ScorpionTankGun
Weapon = SECONDARY None
End
WeaponSet
Conditions = PLAYER_UPGRADE
Weapon = PRIMARY ScorpionTankGun
Weapon = SECONDARY ScorpionMissileWeapon
End
WesponSet이 두개있는 이유는 스콜피온 탱크의 로켓 업그레이드 때문이다.
Condition = None은 업글전이고,
Conditions = PLAYER_UPGRADE는 업글후에 사용할 무기이다.
주포의 화력을 올릴려면 ScorpionTankGun을 에디트하자.
Weapon.ini를 열고 ScorpionTankGun을 검색한다.
Weapon ScorpionTankGun
PrimaryDamage = 20.0
PrimaryDamageRadius = 5.0
ScatterRadiusVsInfantry = 10.0 ;When this weapon is used against infantry, it can randomly miss by as much as this distance.
AttackRange = 150.0
MinTargetPitch = -15 ; we may not target anything outside of this pitch range
MaxTargetPitch = 15 ; ditto
DamageType = ARMOR_PIERCING
DeathType = NORMAL
WeaponSpeed = 400 ; dist/sec
WeaponRecoil = 5 ; angle to deflect the model when firing
ProjectileObject = ScorpionTankShell
FireFX = WeaponFX_GenericTankGunNoTracerSmall
VeterancyFireFX = HEROIC WeaponFX_HeroicGenericTankGunNoTracerSmall
;Commented out to show it has been moved to ScorpionTankGunFXWeapon,
;because the art for the Toxin shell version incorporates the normal explosion.
; ProjectileDetonationFX = WeaponFX_GenericTankShellDetonation
FireSound = ScorpionTankWeapon
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
DelayBetweenShots = 1000 ; time between shots, msec
ClipSize = 0 ; how many shots in a Clip (0 == infinite)
ClipReloadTime = 0 ; how long to reload a Clip, msec
; note, these only apply to units that aren't the explicit target
; (ie, units that just happen to "get in the way"... projectiles
; always collide with the Designated Target, regardless of these flags
ProjectileCollidesWith = STRUCTURES WALLS
End
PrimaryDamage를 에디트하자.
PrimaryDamageRadius는 스플래시 범위를 정한다.
SecondaryDamage는 2차 데미지이다.
지정하지 않으면 PrimaryDamage를 따른다.
데미지를 300정도로 올리고 테스트를 해보자.
* PRIMARY는 주무기, SECONDARY는 보조무기이며,
제너럴에서는 TERTIARY라는 세번째 무기까지 장착 가능하다.