모드 강좌
GEN 팔라딘 탱크 포의 사정거리를 길게하기
페이지 정보
작성자 크래커 아이디로 검색 0건 4,181회 작성일10-02-04 18:38본문
Object\AmericaVehicle.ini를 열고 AmericaTankPaladin을 찾는다.
design으로 검색하면 아래쪽에 WeaponSet이 있다.
; ***DESIGN parameters ***
DisplayName = OBJECT:Paladin
Side = America
EditorSorting = VEHICLE
TransportSlotCount = 3 ;how many "slots" we take in a transport (0 == not transportable)
WeaponSet
Conditions = None
Weapon = PRIMARY PaladinTankGun
End
주무기의 이름은 PaladinTankGun이다.
Weapon.ini를 열어서 PaladinTankGun을 검색한다.
Weapon PaladinTankGun
PrimaryDamage = 60.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 = 300 ; dist/sec
WeaponRecoil = 5 ; angle to deflect the model when firing
ProjectileObject = GenericTankShell
FireFX = WeaponFX_GenericTankGunNoTracer
VeterancyFireFX = HEROIC WeaponFX_HeroicGenericTankGunNoTracer
ProjectileDetonationFX = WeaponFX_GenericTankShellDetonation
FireSound = PaladinTankWeapon
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
DelayBetweenShots = 2000 ; 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
AttackRange를 적당한 값으로 변경하면 된다.