logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,537
Total Threads: 8,627
Posts: 94,210

Administrators:
DeeZire, Redemption

There are currently 108 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Red Alert 2 & Yuri's Revenge Editing Discuss any modding related issues to do with Red Alert 2 and Yuri's Revenge here.

Reply
 
LinkBack Thread Tools
Old 06-30-2003, 09:38 AM   #1 (permalink)
Junior Member
 
Join Date: Dec 2002
Location: London
Posts: 22
Send a message via MSN to Loknar
Default Anyone mind checking over this code?

I posted this at Sleipnir's Stuff, but I thought I'd stick it here too:

I've had some problems with a Helicarrier I've been working on. I KNOW the art files work fine because I have seen the unit work, but recently making the Helicarrier attack has led it to crash (when the Copters should leave the Helicarrier). I've got the units in the lists etc, and the Copter weapons DO work. The other code is below:

[LEV]
Name=Flagship Leviathan
UIName=Name:LEVIATHAN
Image=LEV2
NavalTargeting=1
Prerequisite=GAYARD,GATECH
Primary=RAILGUN ;Railguns work fine
ElitePrimary=RAILGUNE
Secondary=CopterLauncher
Spawns=APACHE
SpawnsNumber=4
SpawnRegenRate=200
SpawnReloadRate=75

[CopterLauncher]
Damage=1
ROF=10
Range=75
Spawner=yes
Projectile=InvisibleASW ;This works - it's on other units too
Speed=10
Warhead=Special
OmniFire=yes

[CopterLauncher2]
Damage=1
ROF=10
Range=75
Spawner=yes
Projectile=Invisible
Speed=10
Warhead=Special
OmniFire=yes

[APACHE]
UIName=Name:APACHE
Name=Leviathan ASW Copter
Primary=Medusa2 ;This is an ASW missile, like Osprey but different.
Secondary=HornetCollision
ElitePrimary=Medusa2E
Strength=100
Category=AirPower
NavalTargeting=2
Armor=light
Spawned=yes
TechLevel=-1
Sight=5
RadarInvisible=yes
Trainable=yes
Landable=yes
MoveToShroud=yes
CrateGoodie=no
Speed=14
PitchSpeed=.16
Owner=Americans,British,French,Germans,Alliance
Cost=100
Points=20
ROT=5
Ammo=500 ;This works - copter never reloads (like normal units)
Reload=1
GuardRange=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUM U60
Maxdebris=2
AuxSound1=HornetTakeoff
AuxSound2=HornetLanding
CrashingSound=HornetDie
DieSound=HornetDie
ImpactLandSound=GenAircraftCrash
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
AllowedToStartInMultiplayer=no
ThreatPosed=15 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Fighter=yes

[APACHE2]
UIName=Name:APACHE
Name=Helicarrier Attack Copter
Primary=QuadCannon
Secondary=HornetCollision
ElitePrimary=Apache2GunE
Image=APACHE
Strength=100
Category=AirPower
NavalTargeting=2
Armor=light
Spawned=yes
TechLevel=-1
Sight=10
RadarInvisible=yes
Trainable=yes
Landable=yes
MoveToShroud=yes
CrateGoodie=no
Speed=14
PitchSpeed=.16
Owner=Russians,Confederation,Africans,Arabs
Cost=100
Points=20
ROT=5
Ammo=500
Reload=1
GuardRange=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUM U60
Maxdebris=2
MoveSound=ArmoredTransportAttack
AuxSound1=HornetTakeoff
AuxSound2=HornetLanding
CrashingSound=HornetDie
DieSound=HornetDie
ImpactLandSound=GenAircraftCrash
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
AllowedToStartInMultiplayer=no
ThreatPosed=15
DamageParticleSystems=SparkSys,SmallGreySSys
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Fighter=yes

[HCARRIER]
UIName=Name:HCARRIER
Name=Soviet Heli Carrier
Prerequisite=NAYARD,NATECH
Primary=CopterLauncher2
CanPassiveAquire=no
CanRetaliate=no
Spawns=APACHE2
SpawnsNumber=1
SpawnRegenRate=500 ;750
SpawnReloadRate=10 ;200
NoSpawnAlt=yes

I'm not sure as to what the problem could be - it has worked in the past, but whether the Rulesmd.ini has a life of its own and rewrites itself ( ) is another question (I could have sworn this has happened before lol). The spawn weapon has worked before and has worked as 2nd weapon, so any suggestions as to why it crashes would be v. welcome indeed .
Loknar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-30-2003, 10:16 AM   #2 (permalink)
Senior Member
 
Join Date: May 2003
Location: USA
Posts: 367
Send a message via AIM to bullethead
Default

I would, if you dont mind, like if you could give me your voxel for the copter and anything else that goes with it. So I can get a better idea of whats happeing to you. And then I should pretty much figure out whats wrong. IF you want you can send the stuff to my email at iwillmurderyou@rock.com.
bullethead is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-30-2003, 12:32 PM   #3 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: Egypt
Posts: 1,241
Send a message via ICQ to DeeZeL Send a message via MSN to DeeZeL
Default

sounds stupid..but..why dont u clone the aircraft carrier ?
DeeZeL is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-30-2003, 02:01 PM   #4 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: Hamburg, Germany
Posts: 2,208
Send a message via ICQ to Renegade
Default

Actually, cloning the Dreadnought would be more accurate, since it uses a NoSpawnAlt as well...btw: Are you sure the "empty" voxel was entered correctly? Perhaps the game looks for a voxel that isn't there, and crashes...?
Renegade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-30-2003, 02:27 PM   #5 (permalink)
Senior Member
 
Join Date: May 2003
Posts: 116
Send a message via MSN to gamemate Send a message via Yahoo to gamemate
Default

Have you tried to switch the weapons, I am pretty sure that you should use Primary for spawn weapons.
gamemate is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-30-2003, 03:16 PM   #6 (permalink)
Junior Member
 
Join Date: Dec 2002
Location: London
Posts: 22
Send a message via MSN to Loknar
Default

Okay... it works :lol: - don't ask me how because I haven't a clue - I tried them both today and they were fine :tard: . Anyone know a computer exorcist :lol: ?
Loknar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-2003, 08:49 AM   #7 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: Hamburg, Germany
Posts: 2,208
Send a message via ICQ to Renegade
Default

He's called "Linux"...
Renegade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-02-2003, 07:14 AM   #8 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: in an aircraft carrier in the Asia and the Pacific waters
Posts: 638
Default

try copying the code from the Allied Destroyer..since the concept is the same..the RA1 Helicarrier has the same concept as the Aircraft Carrier..but the difference is..the RA1 Helicarrier does not spawn units for use in its assault..you must fill the Helicarrier with attack choppers..and it is the concept that has been used..
xcomet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2003, 03:43 AM   #9 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: Between the heaven and hell
Posts: 630
Send a message via MSN to Psycho
Default


had u checked Dz's Helicarrier code ? :/
Psycho is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mind Controlling Superweapon NineBreakerFan Red Alert 2 & Yuri's Revenge Editing 18 11-12-2004 11:16 PM
Mind Control.... Ash10 LOTR: Battle For Middle Earth I & II Editing 5 10-14-2004 05:27 PM
Mind controlled units - animation Catgirl Red Alert 2 & Yuri's Revenge Editing 3 06-16-2004 12:58 PM
anyone mind helping? Sydro Red Alert 2 & Yuri's Revenge Editing 15 07-02-2003 03:21 PM
If u dont mind~~ SJG Red Alert 2 & Yuri's Revenge Editing 8 01-17-2003 07:09 AM


All times are GMT -4. The time now is 02:12 PM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.0 Release Candidate 2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.