@bkus2003: dòng ChargedAnimTime=1 (nghĩa là khi còn 1 phút là toà nhà sẽ mỏ ra
@conanjohn, Stock[Gm]: để mình làm thử vậy.
Hiểu rồi, chắc phải để action khác nhau mới dc, vì nếu click cái icon thứ 2 thì nó vẫn phóng cái thứ 1
Nhưng sao Paratank để cùng action nhưng nó drop riêng chứ k drop chung???
Đúng rồi, nếu clone thì action thứ 2 phải để NewNM2 và NewNM3 rồi khai báo NewNM2 và NewNM3 ở mousecursors thì phóng 3 quả 1 lúc thành công.
Các bạn clone nuke làm vậy đi
Code của mình:
[NAMISL1]
UIName=Name:NAMISL
Name=Soviet Nuclear Missile Silo
Image=NAMISL
BuildCat=Combat
SuperWeapon=NewNukeSpecial
Prerequisite=NACNST
Strength=1000
Armor=concrete
TechLevel=10
Adjacent=2
Sight=4
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
AIBasePlanningSide=1
Cost=5
Points=30
Power=-20
Crewed=yes
Capturable=false
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=15
MinDebris=5
DebrisAnim=Dbris3sm,Dbris4lg,Dbris4sm,Dbris6sm,Dbris7lg,Dbris7sm,Dbris8sm,Dbris9lg,Dbris10lg,Dbris10sm
ThreatPosed=0
DamageParticleSystems=SparkSys,LGSparkSys
SpecialThreatValue=1
NukeSilo=yes
Nominal=yes
RevealToAll=yes
HasStupidGuardMode=false
Spyable=yes
ChargedAnimTime=1
AIBuildThis=no
ProtectWithWall=yes
BuildLimit=1
DamageSelf=yes
[NAMISL2]
UIName=Name:NAMISL
Name=Soviet Nuclear Missile Silo
Image=NAMISL
BuildCat=Combat
SuperWeapon=NewNukeSpecial2
Prerequisite=NACNST
Strength=1000
Armor=concrete
TechLevel=10
Adjacent=2
Sight=4
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
AIBasePlanningSide=1
Cost=5
Points=30
Power=-20
Crewed=yes
Capturable=false
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=15
MinDebris=5
DebrisAnim=Dbris3sm,Dbris4lg,Dbris4sm,Dbris6sm,Dbris7lg,Dbris7sm,Dbris8sm,Dbris9lg,Dbris10lg,Dbris10sm
ThreatPosed=0
DamageParticleSystems=SparkSys,LGSparkSys
SpecialThreatValue=1
NukeSilo=yes
Nominal=yes
RevealToAll=yes
HasStupidGuardMode=false
Spyable=yes
ChargedAnimTime=1
AIBuildThis=no
ProtectWithWall=yes
BuildLimit=1
DamageSelf=yes
[NAMISL3]
UIName=Name:NAMISL
Name=Soviet Nuclear Missile Silo
Image=NAMISL
BuildCat=Combat
SuperWeapon=NewNukeSpecial3
Prerequisite=NACNST
Strength=1000
Armor=concrete
TechLevel=10
Adjacent=2
Sight=4
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
AIBasePlanningSide=1
Cost=5
Points=30
Power=-20
Crewed=yes
Capturable=false
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=15
MinDebris=5
DebrisAnim=Dbris3sm,Dbris4lg,Dbris4sm,Dbris6sm,Dbris7lg,Dbris7sm,Dbris8sm,Dbris9lg,Dbris10lg,Dbris10sm
ThreatPosed=0
DamageParticleSystems=SparkSys,LGSparkSys
SpecialThreatValue=1
NukeSilo=yes
Nominal=yes
RevealToAll=yes
HasStupidGuardMode=false
Spyable=yes
ChargedAnimTime=1
AIBuildThis=no
ProtectWithWall=yes
BuildLimit=1
DamageSelf=yes
[NewNukeSpecial]
;Basic Stuff
UIName=Name:NewNuke
Name=Nuke Test
IsPowered=true
RechargeTime=.1
Type=MultiMissile
Action=NewNM ;check out the Adding custom Actions page to find out more about this
WeaponType=NukeCarrier
SidebarImage=NEWNUKEICON
ShowTimer=no
DisableableFromShell=yes
Range=7
LineMultiplier=2
;New Tags
ActivateSound=NukeSiren ;Activating sound
Warhead=NUKE ;Damaging warhead
NukeTakeOff=NUKETO ;Taking off anim
NukeDamage=1000 ;Damage points when nuclear bomb explodes (regardless of source) )
NukeFirstAnim=NUKEBALL ;The anim played before the explosion itself
NukePayload=NukePayload ;Damaging weapon
NukePsiWarning=PSIWARN ;PsiWarn animation
nukesilo=yes
[NewNukeSpecial2]
;Basic Stuff
UIName=Name:NewNuke
Name=Nuke Test
IsPowered=true
RechargeTime=.1
Type=MultiMissile
Action=NewNM2 ;check out the Adding custom Actions page to find out more about this
WeaponType=NukeCarrier
SidebarImage=NEWNUKEICON
ShowTimer=no
DisableableFromShell=yes
Range=7
LineMultiplier=2
;New Tags
ActivateSound=NukeSiren ;Activating sound
Warhead=NUKE ;Damaging warhead
NukeTakeOff=NUKETO ;Taking off anim
NukeDamage=1000 ;Damage points when nuclear bomb explodes (regardless of source) )
NukeFirstAnim=NUKEBALL ;The anim played before the explosion itself
NukePayload=NukePayload ;Damaging weapon
NukePsiWarning=PSIWARN ;PsiWarn animation
nukesilo=yes
[NewNukeSpecial3]
;Basic Stuff
UIName=Name:NewNuke
Name=Nuke Test
IsPowered=true
RechargeTime=.1
Type=MultiMissile
Action=NewNM3 ;check out the Adding custom Actions page to find out more about this
WeaponType=NukeCarrier
SidebarImage=NEWNUKEICON
ShowTimer=no
DisableableFromShell=yes
Range=7
LineMultiplier=2
;New Tags
ActivateSound=NukeSiren ;Activating sound
Warhead=NUKE ;Damaging warhead
NukeTakeOff=NUKETO ;Taking off anim
NukeDamage=1000 ;Damage points when nuclear bomb explodes (regardless of source) )
NukeFirstAnim=NUKEBALL ;The anim played before the explosion itself
NukePayload=NukePayload ;Damaging weapon
NukePsiWarning=PSIWARN ;PsiWarn animation
nukesilo=yes
[BuildingTypes]
...
xxx=NAMISL1
xxx=NAMISL2
xxx=NAMISL3
[SuperWeaponTypes]
...
xx=NewNukeSpecial
xx=NewNukeSpecial2
xx=NewNukeSpecial3
[MouseCursors]
NewNM=508,1,4,516,-1,12345,12345
NewNM2=508,1,4,516,-1,12345,12345
NewNM3=508,1,4,516,-1,12345,12345
Xem cho kỹ nhé