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

Forum Info
Forum Members: 18,576
Total Threads: 8,657
Posts: 94,433

Administrators:
DeeZire, Redemption

There are currently 49 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 09-19-2004, 12:31 PM   #1 (permalink)
Junior Member
 
Join Date: Apr 2003
Location: Germany
Posts: 26
Send a message via ICQ to YuriH9 Send a message via MSN to YuriH9
Default Gattling problem

Hi,
I've got a problem with my new pillbox (equipped with a gattling):
The pillbox shoot, but than it skips the second gattling stage, go to the third stage and finally I've got an internal error. What ist wrong?

; Gatling Pill Box
[GANPILL]
UIName=Name:NPILL
Name=Allied Gatling Pill Box
BuildCat=Combat
Strength=400
Armor=steel
Prerequisite=BARRACKS,GACNST,GATECH
TechLevel=-1
Adjacent=4
ROT=10
Sight=7
DetectDisguise=no
Owner=British,French,Germans,Americans,Alliance,Ru ssians,Confederation,Africans,Arabs,YuriCountry
AIBasePlanningSide=0 ;gs 0 for Good, 1 for Evil
Cost=1250
BaseNormal=no
Points=50
Power=0
Crewed=yes
Capturable=false
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUM U60
DebrisAnims=Dbris1sm,Dbris1lg,Dbris4sm,Dbris5sm,Db ris4lg,Dbris7sm,Dbris8sm,Dbris5lg,Dbris4lg
MaxDebris=15
MinDebris=5
Primary=PillGattling
IsGattling=yes
TurretCount=1
WeaponCount=3
Weapon1=PillGattling
EliteWeapon1=PillGattlingE
Weapon2=PillGattling2
EliteWeapon2=PillGattling2E
Weapon3=PillGattling3
EliteWeapon3=PillGattling3E
WeaponStages=3
Stage1=200
Stage2=400
Stage3=600
EliteStage1=100
EliteStage2=200
EliteStage3=300
RateUp=1
RateDown=50
Trainable=yes
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT
EliteAbilities=STRONGER,FIREPOWER,ROF
ElitePrimary=PillGattlingE
ThreatPosed=30 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,LGSparkSys
IsBaseDefense=yes
HasStupidGuardMode=false
ImmuneToPsionics=no ; defaults to yes for buildings, no for others
AntiInfantryValue=25
AntiArmorValue=10
AntiAirValue=0
;gs these three are in abstract units and just help the AI pick the right base defense. (see AIForcePredictionFudge)


; rapid fire anti-ground machine gun (pillbox)
[PillGattling]
Damage=17.5
ROF=16
Range=5
Projectile=Invisiblelow ;GEF Anti ground ;SA
Speed=100
Warhead=GattWH
Report=GattlingGunAttackLoop1
;DownReport=GattlingGunDecreaseLoop1
Burst = 1
Anim=MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW

; rapid fire anti-ground machine gun (pillbox)
[PillGattling2]
Damage=17.5
ROF=16
Range=5
Projectile=Invisiblelow ;GEF Anti ground ;SA
Speed=100
Warhead=SA
Report=GattlingGunAttackLoop2
;DownReport=GattlingGunDecreaseLoop2
Anim=GUNFIRE
Burst = 1

; rapid fire anti-ground machine gun (pillbox)
[PillGattling3]
Damage=17.5
ROF=16
Range=5
Projectile=Invisiblelow ;GEF Anti ground ;SA
Speed=100
Warhead=SSA
Report=GattlingGunAttackLoop3
;DownReport=GattlingGunDecreaseLoop3
Anim=VTMUZZLE
Burst = 1

; rapid fire anti-ground machine gun (pillbox)
[PillGattlingE]
Damage=17.5
ROF=16
Range=5
Projectile=Invisiblelow ;GEF Anti ground ;SA
Speed=100
Warhead=GattWH
Report=GattlingGunAttackLoop1
;DownReport=GattlingGunDecreaseLoop1
Burst = 1
Anim=MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW

; rapid fire anti-ground machine gun (pillbox)
[PillGattling2E]
Damage=17.5
ROF=16
Range=5
Projectile=Invisiblelow ;GEF Anti ground ;SA
Speed=100
Warhead=SA
Report=GattlingGunAttackLoop2
;DownReport=GattlingGunDecreaseLoop2
Anim=GUNFIRE
Burst = 1

; rapid fire anti-ground machine gun (pillbox)
[PillGattling3E]
Damage=17.5
ROF=16
Range=5
Projectile=Invisiblelow ;GEF Anti ground ;SA
Speed=100
Warhead=SSA
Report=GattlingGunAttackLoop3
;DownReport=GattlingGunDecreaseLoop3
Anim=VTMUZZLE
Burst = 1

That's the code.
YuriH9 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-19-2004, 01:50 PM   #2 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,053
Send a message via MSN to DCoder
Default

Gattling logic requires 6 weapons in this order: AG stage 1, AA stage 1, AG 2, AA 2, AG 3, AA 3.
DCoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2004, 06:01 AM   #3 (permalink)
IHM
Senior Member
 
Join Date: Oct 2003
Location: England
Posts: 272
Send a message via MSN to IHM
Default

man, gatling weapons sound complicated, can you give infantry gatling weapons???
IHM is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2004, 06:59 AM   #4 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: UK
Posts: 434
Default

You can't give infantry gattling weapons at all - they're just ignored and the infantry unit will just use his normal weapons.
Marshall7a is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2004, 09:20 AM   #5 (permalink)
IHM
Senior Member
 
Join Date: Oct 2003
Location: England
Posts: 272
Send a message via MSN to IHM
Default

yea, thought so, it just saves me testing it my self.
IHM is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-25-2004, 01:01 PM   #6 (permalink)
Junior Member
 
Join Date: Aug 2004
Posts: 18
Send a message via AIM to blehmy
Default

wait, so if you give an infantry the code for gattling weapons, he can't use it?
blehmy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-25-2004, 01:10 PM   #7 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: UK
Posts: 434
Default

Yes, he can't.
Marshall7a is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2004, 12:26 AM   #8 (permalink)
AAG
Senior Member
 
Join Date: Oct 2003
Location: Russia, Novosibirsk
Posts: 489
Default

YR exes search different properties in different classes of objects
In unit class they search such prop. as 'Primary', 'Secondary', 'Transport', 'DeploysInto' and etc.
In infantry class they don't search for 'DeploysInto' prop. so infantry cannot deploy into structures.
In buildings class exe searchs 'IsGattling','Power','BuildCat' and other options which are not searched in units and infantry.
So if you put some options which 'are not searched by exe' you'll have no result.
Creators of Ra2/YR made codes in exe by minimum. They have opinion that many features of buildings are not for units and they don't need to waste their time

But it would be greate to make gap logic for units or weapons for overlays or gattling for infantry and aircrafts and etc. They didn't care for it, unfortunately.
AAG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2004, 04:52 AM   #9 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,053
Send a message via MSN to DCoder
Default

AAG, you have forgotten the Gattling Tank Gattling logic works on vehicles, albeit not on infantry.
DCoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2004, 06:55 AM   #10 (permalink)
AAG
Senior Member
 
Join Date: Oct 2003
Location: Russia, Novosibirsk
Posts: 489
Default

Ok. I've forgotten it. 'IsGattling' is searched by exe in buildings and units classes, but not in others.
AAG 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
Different turrets for Gattling Tower ? BaRaKa_ Red Alert 2 & Yuri's Revenge Editing 8 03-13-2005 12:20 AM
Projectiledetonationfx for gattling-cannons juLLe Generals & Zero Hour Editing 18 10-31-2004 10:03 AM
Twi-Gattling & Tri-Gattling coolfile Generals & Zero Hour Editing 18 08-04-2004 02:41 PM
China Gattling Tank problem ???? w888 Generals & Zero Hour Editing 7 07-10-2004 02:10 PM
insineary gattling pieten Generals & Zero Hour Editing 7 08-16-2003 03:44 PM


All times are GMT -4. The time now is 12:34 AM.


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