18.10.2006, 18:54:21
HOLAS:
yeah i need a lot of help because i'm very noob in this of the modding i started a few days ago.. so i need help... and i hope find it here....
the first problem in my list is an heli carrier...... it works.... but every-time the helicopter destroys a building (or an unit... i don't test that) the game crash..... but it isn't an internal error...... it just crahs..... still freezing and do nothing.... here's the code....
;Hell iCarrier XP
[HELC]
UIName=Name:HELC
Name=Helicarrier
Prerequisite=NAYARD,TECH
Primary=HarpyLauncher
CanPassiveAquire=no ; Won't try to pick up own targets
Spawns=APACHE
SpawnsNumber=1
SpawnRegenRate=400
SpawnReloadRate=50
FireAngle=32
ToProtect=yes
Category=Support
Strength=600
Naval=yes ;GS
Armor=heavy
TechLevel=7
Sight=8
Speed=6
CrateGoodie=no
Owner=Russians,Confederation,Arabs,Africans
RequiredHouses=Confederation
AllowedToStartInMultiplayer=no
Cost=1500
Soylent=1500
Turret=no
Points=55
ROT=1
Crusher=no; yes
Weight=4
Crewed=no
;OmniFire=yes ;GEF moved to weapon
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=GenSovWaterSelect
VoiceMove=GenSovWaterMove
VoiceAttack=GenSovWaterAttackCommand
VoiceFeedback=
DieSound=
SinkingSound=GenLargeWaterDie
MoveSound=DreadnoughtMoveStart
Locomotor={2BEA74E1-7CCA-11d3-BE14-00104B62A16C};{4A582741-9839-11d1-B709-00A024DDAFD1}
SpeedType=Float
MovementZone=Water
ThreatPosed=25 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
TooBigToFitUnderBridge=true
GuardRange=10
;BuildLimit=1
Size=50
NoSpawnAlt=yes
; Helicarrier fighter
[APACHE]
UIName=Name:APACHE
Name=Harpy
Primary=HarpyClaw
Strength=300
Category=AirPower
JumpJet=yes
Armor=light
TechLevel=-1
Spawned=yes
Landable=yes
MoveToShroud=yes
Sight=7
Speed=12
PitchSpeed=1.1
JumpjetSpeed=30 ;params not defined use defaults (old globals way up top)
JumpjetClimb=10
JumpjetCrash=40 ; Climb, but down
JumpJetAccel=12
JumpJetTurnRate=6
JumpjetHeight=500
JumpjetWobbles=.01
JumpjetDeviation=1
Owner=Russians,Confederation,Africans,Arabs
Cost=100
Soylent=100
Points=15
ROT=5
Crewed=no
ConsideredAircraft=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=3
VoiceSelect=
VoiceMove=
VoiceAttack=
VoiceCrashing=
CrashingSound=HornetDie
ImpactLandSound=GenAircraftCrash
;Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1} ;flying
Locomotor={92612C46-F71F-11d1-AC9F-006008055BB5} ;jumpjet
MovementZone=Fly
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=HornetTakeoff ;Taking off
AuxSound2=HornetLanding ;Landing
ThreatPosed=10
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Size=1
SizeLimit=1
HoverAttack=yes
AllowedToStartInMultiplayer=no
Crashable=yes
;CanPassiveAquire=no ; Won't try to pick up own targets
SpeedType=Hover
MoveSound=SeigeChopperMoveLoop
ElitePrimary=HarpyClawE
PreventAttackMove=yes
TooBigToFitUnderBridge=true
Trainable=yes
Bunkerable=no; Units default to yes, others default to no
Turret=no
IsSelectableCombatant=yes ; TR
;Selectable=no ; SJM: this should be here but is commented out because bug prevents aircraft from landing
PipScale=Ammo
Ammo=8
MovementRestrictedTo=Water
**** the weapons ****
; HeliCarrier's rangefinder virtual weapon
[HarpyLauncher]
Damage=1
ROF=150
Range=25
Spawner=yes
Projectile=Invisible
Speed=10
Warhead=Special
OmniFire=yes
;Harpy Vulcan Cannon
[HarpyClaw]
Damage=140
ROF=40
Range=5
Projectile=Invisible2
Speed=100
Warhead=SA
Report=SentryGunAttack
;Harpy Vulcan Cannon
[HarpyClawE]
Damage=160
ROF=10
Range=6
Projectile=Invisible2
Speed=100
Warhead=SA
Report=SentryGunAttack
that's all for now....
thanks!
yeah i need a lot of help because i'm very noob in this of the modding i started a few days ago.. so i need help... and i hope find it here....
the first problem in my list is an heli carrier...... it works.... but every-time the helicopter destroys a building (or an unit... i don't test that) the game crash..... but it isn't an internal error...... it just crahs..... still freezing and do nothing.... here's the code....
;Hell iCarrier XP
[HELC]
UIName=Name:HELC
Name=Helicarrier
Prerequisite=NAYARD,TECH
Primary=HarpyLauncher
CanPassiveAquire=no ; Won't try to pick up own targets
Spawns=APACHE
SpawnsNumber=1
SpawnRegenRate=400
SpawnReloadRate=50
FireAngle=32
ToProtect=yes
Category=Support
Strength=600
Naval=yes ;GS
Armor=heavy
TechLevel=7
Sight=8
Speed=6
CrateGoodie=no
Owner=Russians,Confederation,Arabs,Africans
RequiredHouses=Confederation
AllowedToStartInMultiplayer=no
Cost=1500
Soylent=1500
Turret=no
Points=55
ROT=1
Crusher=no; yes
Weight=4
Crewed=no
;OmniFire=yes ;GEF moved to weapon
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=GenSovWaterSelect
VoiceMove=GenSovWaterMove
VoiceAttack=GenSovWaterAttackCommand
VoiceFeedback=
DieSound=
SinkingSound=GenLargeWaterDie
MoveSound=DreadnoughtMoveStart
Locomotor={2BEA74E1-7CCA-11d3-BE14-00104B62A16C};{4A582741-9839-11d1-B709-00A024DDAFD1}
SpeedType=Float
MovementZone=Water
ThreatPosed=25 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
TooBigToFitUnderBridge=true
GuardRange=10
;BuildLimit=1
Size=50
NoSpawnAlt=yes
; Helicarrier fighter
[APACHE]
UIName=Name:APACHE
Name=Harpy
Primary=HarpyClaw
Strength=300
Category=AirPower
JumpJet=yes
Armor=light
TechLevel=-1
Spawned=yes
Landable=yes
MoveToShroud=yes
Sight=7
Speed=12
PitchSpeed=1.1
JumpjetSpeed=30 ;params not defined use defaults (old globals way up top)
JumpjetClimb=10
JumpjetCrash=40 ; Climb, but down
JumpJetAccel=12
JumpJetTurnRate=6
JumpjetHeight=500
JumpjetWobbles=.01
JumpjetDeviation=1
Owner=Russians,Confederation,Africans,Arabs
Cost=100
Soylent=100
Points=15
ROT=5
Crewed=no
ConsideredAircraft=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=3
VoiceSelect=
VoiceMove=
VoiceAttack=
VoiceCrashing=
CrashingSound=HornetDie
ImpactLandSound=GenAircraftCrash
;Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1} ;flying
Locomotor={92612C46-F71F-11d1-AC9F-006008055BB5} ;jumpjet
MovementZone=Fly
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=HornetTakeoff ;Taking off
AuxSound2=HornetLanding ;Landing
ThreatPosed=10
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Size=1
SizeLimit=1
HoverAttack=yes
AllowedToStartInMultiplayer=no
Crashable=yes
;CanPassiveAquire=no ; Won't try to pick up own targets
SpeedType=Hover
MoveSound=SeigeChopperMoveLoop
ElitePrimary=HarpyClawE
PreventAttackMove=yes
TooBigToFitUnderBridge=true
Trainable=yes
Bunkerable=no; Units default to yes, others default to no
Turret=no
IsSelectableCombatant=yes ; TR
;Selectable=no ; SJM: this should be here but is commented out because bug prevents aircraft from landing
PipScale=Ammo
Ammo=8
MovementRestrictedTo=Water
**** the weapons ****
; HeliCarrier's rangefinder virtual weapon
[HarpyLauncher]
Damage=1
ROF=150
Range=25
Spawner=yes
Projectile=Invisible
Speed=10
Warhead=Special
OmniFire=yes
;Harpy Vulcan Cannon
[HarpyClaw]
Damage=140
ROF=40
Range=5
Projectile=Invisible2
Speed=100
Warhead=SA
Report=SentryGunAttack
;Harpy Vulcan Cannon
[HarpyClawE]
Damage=160
ROF=10
Range=6
Projectile=Invisible2
Speed=100
Warhead=SA
Report=SentryGunAttack
that's all for now....
thanks!