StantonCree Posted September 24, 2018 Share Posted September 24, 2018 So I got back into Red Alert 2 and I downloaded an unmodified rulesmd.ini for Yuri's Revenge. What I want to do is make the Soviet Flak Trooper be able to shoot ground targets and air targets while being garisoned. I got the garisoning part working but I can't figure out how to make him shoot both air and ground units. I'll post here what I got: [FLAKT] UIName=Name:FLAKT Name=Flak Trooper ;Image=CONS OccupyWeapon=FlakGuyAAGun; The weapon I use while Occupying. Defaults to 0 (Primary) EliteOccupyWeapon=FlakGuyAAGunE; The weapon I use while Occupying. Defaults to 0 (Primary) Occupier=yes ; I can Occupy UC buildings OccupyPip=PersonWhite ; choices are green yellow white red blue purple Category=Soldier Primary=FlakGuyGun Secondary=FlakGuyAAGun Prerequisite=NAHAND,NARADR CrushSound=InfantrySquish Strength=100 Armor=none TechLevel=1 Pip=white Sight=5 Speed=4 Owner=Russians,Confederation,Africans,Arabs,YuriCountry Cost=150 Soylent=150 Points=5 IsSelectableCombatant=yes VoiceSelect=FlakTroopSelect VoiceMove=FlakTroopMove VoiceAttack=FlakTroopAttackCommand VoiceFeedback=FlakTroopFear VoiceSpecialAttack=FlakTroopMove DieSound=FlakTroopDie Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1} PhysicalSize=1 MovementZone=Infantry ;MovementZone=InfantryDestroyer ;GEF wow!!! copy paste bug from the original Disk Thrower! ThreatPosed=5 ; 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=no ElitePrimary=FlakGuyGunE EliteSecondary=FlakGuyAAGunE IFVMode=3 Link to comment Share on other sites More sharing options...
StantonCree Posted September 24, 2018 Author Share Posted September 24, 2018 (edited) Ok I made it work... sort off. BUT they will not attack anything unless the structure they garrison gets attacked first. I can't even set them to manually attack :/ These are the new updated settings: ; Flak Trooper [FLAKT] UIName=Name:FLAKT Name=Flak Trooper ;Image=CONS OccupyWeapon=FlakGuyAAGun; The weapon I use while Occupying. Defaults to 0 (Primary) EliteOccupyWeapon=FlakGuyAAGunE; The weapon I use while Occupying. Defaults to 0 (Primary) Occupier=yes ; I can Occupy UC buildings OccupyPip=PersonYellow ; choices are green yellow white red blue purple Category=Soldier Primary=FlakGuyGun Secondary=FlakGuyAAGun Prerequisite=NAHAND CrushSound=InfantrySquish Strength=100 Armor=none TechLevel=1 Pip=yellow Sight=5 Speed=4 Owner=Russians,Confederation,Africans,Arabs,YuriCountry Cost=150 Soylent=150 Points=5 IsSelectableCombatant=yes VoiceSelect=FlakTroopSelect VoiceMove=FlakTroopMove VoiceAttack=FlakTroopAttackCommand VoiceFeedback=FlakTroopFear VoiceSpecialAttack=FlakTroopMove DieSound=FlakTroopDie Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1} PhysicalSize=1 MovementZone=Infantry ;MovementZone=InfantryDestroyer ;GEF wow!!! copy paste bug from the original Disk Thrower! ThreatPosed=5 ; 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=no ElitePrimary=FlakGuyGunE EliteSecondary=FlakGuyAAGunE IFVMode=3 The flak troopers now have yellow icons when they are inside a garrison. I also notice that while garrisoned their range is severly reduced for some reason......... Edited September 24, 2018 by StantonCree Link to comment Share on other sites More sharing options...
StantonCree Posted September 27, 2018 Author Share Posted September 27, 2018 I have made it completely functional now. I had to create a new weapon and projectile for the flak trooper, one that is capable of shooting air and land targets. I'm posting down here everything I did incase someone else is interested. [FLAKT] UIName=Name:FLAKT Name=Flak Trooper ;Image=CONS OccupyWeapon=FlakGuyGunAirNSurface; The weapon I use while Occupying. Defaults to 0 (Primary) EliteOccupyWeapon=FlakGuyGunAirNSurfaceE; The weapon I use while Occupying. Defaults to 0 (Primary) Occupier=yes ; I can Occupy UC buildings OccupyPip=PersonYellow ; choices are green yellow white red blue purple Category=Soldier Primary=FlakGuyGunAirNSurface Prerequisite=NAHAND CrushSound=InfantrySquish Strength=100 Armor=none TechLevel=1 Pip=yellow Sight=5 Speed=4 Owner=Russians,Confederation,Africans,Arabs,YuriCountry Cost=150 Soylent=150 Points=5 IsSelectableCombatant=yes VoiceSelect=FlakTroopSelect VoiceMove=FlakTroopMove VoiceAttack=FlakTroopAttackCommand VoiceFeedback=FlakTroopFear VoiceSpecialAttack=FlakTroopMove DieSound=FlakTroopDie Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1} PhysicalSize=1 MovementZone=Infantry ;MovementZone=InfantryDestroyer ;GEF wow!!! copy paste bug from the original Disk Thrower! ThreatPosed=5 ; 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=no ElitePrimary=FlakGuyGunAirNSurfaceE IFVMode=3 [FlakGuyGunAirNSurface] ; Anti-surface-air gun for the Flak Trooper Damage=20 ROF=20 Range=5 Projectile=FlakProjAGAA Speed=50 Report=FlakTrackAttackGround Warhead=FlakWHAGAA Anim=GUNFIRE [FlakGuyGunAirNSurfaceE] ; Anti-surface-air Elite gun for the Flak Trooper Damage=20 ROF=20 Range=5 Projectile=FlakProjAGAA Speed=50 Report=FlakTrackAttackGround Warhead=FlakWHAGAA Anim=GUNFIRE Burst=2 [FlakProjAGAA] ; AA-AG bullet for Flak Trooper. Image=none Inviso=yes AA=yes AG=yes ;AN=no Shadow=no Ranged=yes ; Not homing, but ranged -- check fuse, explode if near target coords Inaccurate=yes ; Bullets do not snap onto targets when "close enough". FlakScatter=yes ; This weapon scatters its shots. SubjectToCliffs=no SubjectToElevation=yes SubjectToWalls=no [FlakWHAGAA] ; For anti-air flak weapons. CellSpread=1.0 PercentAtMax=.1 ;;Verses=150%,80%,50%,100%,20%,20%,0%,0%,0%,100%,100% ; no buildings Verses=150%,80%,50%,100%,100%,20%,0%,0%,0%,100%,100% ; no buildings AnimList=SMKPUFF InfDeath=3 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now