Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make a unit attack only naval units?
#1
is the only way to do that with the immunities from RP?
Red Alert 2 Uluchshenny Mod for Yuri's Revenge
Download at tsactuo.googlepages.com
Reply
#2
i think you can do it with navel targetting, look at the comments in the original RulesMD.ini

Code:
;These will control what can shoot what for the last durn time.  Defaults are 0's
;This has no impact on anti/not anti air weapons.  Those already work.
;NavalTargeting
;    UNDERWATER_NEVER = 0,            Can't shoot at all at underwater
;    UNDERWATER_SECONDARY = 1,    Use Second weapon against underwater
;    UNDERWATER_ONLY = 2,            Can only shoot underwater
;    ORGANIC_SECONDARY = 3,        Use second Weapon on organic
;    SEAL_SPECIAL = 4,                    Primary on Amphibious and organic, Second on Naval and underwater-not-organic
;    NAVAL_ALL = 5,                        Go ahead and shoot everything with Primary
; NAVAL_NONE = 6,                        Don't even shoot into the water
; NAVAL_PRIMARY = 7                Able to shoot ground target with secondary weapon, but Naval is the primary target

;LandTargeting
;    LAND_OKAY = 0,                        Land is okay
;    LAND_NOT_OKAY = 1,                Land is OK
;    LAND_SECONDARY = 2                Can shoot land, but only with secondary weapon
I'd sugest NavalTargeting=7
Reply
#3
You could, of course, also have a look at the way-better formatted versions at LandTargeting and NavalTargeting...Rolling eyes
Forum Rules

(01.06.2011, 05:43:25)kenosis Wrote: Oh damn don't be disgraced again!

(25.06.2011, 20:42:59)Nighthawk Wrote: The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
Reply
#4
Thanks. I'll play with those and see if I manage to make a unit unable to attack non-naval units.

Btw do those work with buildings as well? example if I want to make a buildings attack only naval units.
Red Alert 2 Uluchshenny Mod for Yuri's Revenge
Download at tsactuo.googlepages.com
Reply
#5
Yeah, they're on the Patriot Missile and Flak Cannon.
Ares Project Manager.
[Image: t3wbanner.png]
[Image: cncgsigsb_sml.png]
Open Ares positions: Documentation Maintainer, Active Testers.
PM if interested.
Reply
#6
Ok LandTargeting=1 worked fine. Thanks again.
Red Alert 2 Uluchshenny Mod for Yuri's Revenge
Download at tsactuo.googlepages.com
Reply
#7
I did do some extensive testing on these at one point, but never finished since I have been "away" since the new year. I'd like to go back and write up a detailed report on all of it at some point, but when, I can't say. I am busy with "stuff", you know..
[Image: alexstand1.gif]
Reply




Users browsing this thread: 1 Guest(s)