Verses=100%,80%,60%,80%,100%,80%,
0%,0%,0%,100%,100%
3 số này ko cho nó bắn nhà mà
weapon mới nè
[Comet2]
Damage=1
ROF=100
Range=10
Burst=2
;AreaFire=yes
Projectile=LargeCometPx
Speed=40
Report=PrismTankAttack
Warhead=RailShot
Bright=no
;LaserInnerColor = 216,0,184
;LaserOuterColor = 80,0,88
IsHouseColor=true
LaserOuterSpread= 0,0,0
LaserDuration = 15
IsLaser=true ; this flag tells the game to use the special laser draw effect
[LargeCometPx]
ShrapnelWeapon=CometFragment
DetonationAltitude=0
ShrapnelCount=5
Vertical=yes
Image=none
SubjectToCliffs=yes
SubjectToElevation=no
SubjectToWalls=no
Ủa sao em làm y vậy mà ko dc vậy anh Natit? Em làm 1 thằng lính code vũ khí y vậy mà khi bắn nó ko gây damage, mà đạn thì nó lại bay xa hơn cái tia laser và gây damage ở chỗ nổ là sao nhỉ?
Code của nó nè:
; Blast Trooper
[BLSTTRP]
UIName=Name:BLSTTRP
Image=SHK
Name=Blast Trooper
Category=Soldier
Primary=BlastLaser
Assaulter=no ; I clear out UC buildings
Prerequisite=YABRCK,YATECH
Prerequisite.StolenTechs=4
CrushSound=InfantrySquish
Crushable=no
Strength=240
Armor=Plate
TechLevel=5
Pip=white
Sight=7
Speed=5
Owner=YuriCountry,PsiCountry,UpsilonCountry,LambdaCountry,IotaCountry
Cost=600
Soylent=600
Points=5
IsSelectableCombatant=yes
VoiceSelect=TeslaTroopSelect
VoiceMove=TeslaTroopMove
VoiceAttack=TeslaTroopAttackCommand
VoiceFeedback=TeslaTroopFear
VoiceSpecialAttack=TeslaTroopMove
DieSound=TeslaTroopDie
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
;MovementZone=InfantryDestroyer ;GEF wow!!! copy paste bug from the original Disk Thrower!
ThreatPosed=20 ; This value MUST be 0 for all building addons
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
ImmuneToVeins=yes
Size=1
AllowedToStartInMultiplayer=yes
ElitePrimary=BlastLaserE
IFVMode=6
CanBeReversed=yes
[BlastLaser]
Damage=60
ROF=60
Range=6
Speed=100
Warhead=BlastTroopWH
Report=TeslaTroopAttack
Projectile=BlastLaserP
Bright=no
;LaserInnerColor = 216,0,184
;LaserOuterColor = 80,0,88
LaserOuterSpread= 0,0,0
LaserDuration = 15
IsLaser=true ; this flag tells the game to use the special laser draw effect
IsHouseColor=true
[BlastLaserP]
ShrapnelWeapon=BlastLaserFrag
ShrapnelCount=5
Vertical=yes
DetonationAltitude=0
Image=none
SubjectToCliffs=yes
SubjectToElevation=no
SubjectToWalls=no
[BlastLaserFrag]
Damage=60
ROF=100
Range=6
Speed=100
Warhead=BlastTroopWH
Report=TeslaTroopAttack
Projectile=BlastFragP
;LaserInnerColor = 216,0,184
;LaserOuterColor = 80,0,88
LaserOuterSpread= 0,0,0
LaserDuration = 15
IsLaser=true ; this flag tells the game to use the special laser draw effect
IsHouseColor=true
[BlastLaserE]
Damage=60
ROF=40
Range=7
Speed=100
Warhead=BlastTroopWH
Report=TeslaTroopAttack
Projectile=BlastLaserPE
Bright=no
;LaserInnerColor = 216,0,184
;LaserOuterColor = 80,0,88
LaserOuterSpread= 0,0,0
LaserDuration = 15
IsLaser=true ; this flag tells the game to use the special laser draw effect
IsHouseColor=true
[BlastLaserPE]
ShrapnelWeapon=BlastLaserFragE
ShrapnelCount=7
Vertical=yes
DetonationAltitude=0
Image=none
SubjectToCliffs=yes
SubjectToElevation=no
SubjectToWalls=no
[BlastLaserFragE]
Damage=60
ROF=60
Range=7
Speed=100
Warhead=BlastTroopWH
Report=TeslaTroopAttack
Projectile=BlastFragP
;LaserInnerColor = 216,0,184
;LaserOuterColor = 80,0,88
LaserOuterSpread= 0,0,0
LaserDuration = 15
IsLaser=true ; this flag tells the game to use the special laser draw effect
IsHouseColor=true
[BlastFragP]
Inviso=yes
Image=none
SubjectToCliffs=yes
SubjectToElevation=no
SubjectToWalls=no
[BlastTroopWH]
Verses=100%,100%,100%,80%,80%,80%,50%,50%,50%,200%,100%
InfDeath=5
Wood=yes
AnimList=TSTIMPCT
AffectsAllies=no