Posted: Fri Sep 11, 2009 1:06 pm Post subject:
Making units/turrets not fire at things automatically
Is it possible to make units in TS that do not automatically fire on enemy units? Anything with stealth capabilities will not fire automatically, but is there any other way to do this? I have tried HasStupidGuardMode=true (no idea what this actually does), Passive=yes (this only seems to make them not move), GuardRange=0 (Doesn't simply work as it should).
I was thinking but haven't tested yet a method where you give the unit a primary weapon with a very long range, but the weapon doesn't do anything. Then put the real weapon as secondary. But when you click on a unit, wouldn't it try to use the primary weapon? QUICK_EDIT
Joined: 02 Aug 2009 Location: A red zone, helping the Scrin. Posts:100000000
Posted: Fri Sep 11, 2009 2:03 pm Post subject:
SuperJoe wrote:
Is it possible to make units in TS that do not automatically fire on enemy units? Anything with stealth capabilities will not fire automatically, but is there any other way to do this? I have tried HasStupidGuardMode=true (no idea what this actually does), Passive=yes (this only seems to make them not move), GuardRange=0 (Doesn't simply work as it should).
I'm pretty sure "CanPassiveAquire=no" should work for this one. NOTE:The spelling is actually Acquire, but that does not work. "Aquire" works lol!
SuperJoe wrote:
I was thinking but haven't tested yet a method where you give the unit a primary weapon with a very long range, but the weapon doesn't do anything. Then put the real weapon as secondary. But when you click on a unit, wouldn't it try to use the primary weapon?
Sorry, but I don't know what this does. But you could try giving 0,1 or 2% verses to the primary weapon's warhead. I think this would make it fire the secondary. _________________
Tutorials rock! QUICK_EDIT
@SuperJoe
add the key NoAutoFire=yes to your unit/building and it won't attack automatically. _________________ SHP Artist of Twisted Insurrection: Nod buildings
Thanks for the quick reply. Damn I hate those keywords that are not commented anywhere. Is there a list anywhere where most of these "hidden" lines are explained? QUICK_EDIT
Joined: 02 Aug 2009 Location: A red zone, helping the Scrin. Posts:100000000
Posted: Fri Sep 11, 2009 5:11 pm Post subject:
ModEnc is your friend! http://modenc.renegadeprojects.com/Main_Page
Oh btw, they're called flags, not "keywords". _________________
Tutorials rock! Last edited by suraj_geddam98 on Sat Sep 12, 2009 5:09 am; edited 1 time in total QUICK_EDIT
btw, modenc is mainly for RA2/YR
there is no special section for TS only keys
and yes, they are keys not tags or keywords. _________________ SHP Artist of Twisted Insurrection: Nod buildings
Also Known As: evanb90 Joined: 20 Feb 2005 Location: o kawaii koto
Posted: Fri Sep 11, 2009 7:40 pm Post subject:
Yeah, its a big problem with wikis. People don't realize it is a bloody open encyclopedia.
It may just be because I used the weapon on a spy. GuardRange was 2 and Range of weapon was 3, he never shot at anything unless shot at himself or told to fire. _________________ YR modder/artist, DOOM mapper, aka evanb90
Project Lead Developer, New-Star Strike (2014-)
Former Project Lead DeveloperStar Strike (2005-2012), Z-Mod (2006-2007), RA1.5 (2008-2013), The Cold War (2006-2007) QUICK_EDIT
I personally don't like writing in a wiki simply because every noob can delete or alter the content afterwards. It's a bit too unreliable for me to write there.
In addition gives you TS everything you need, by opening the inis with a text-editor or the game.exe in a hex-editor. I never came into a situation where i had to look into modenc for a certain key. In fact am i more sure that something exists/works or not, by looking in game.exe (testing it myself ingame) than by looking in a certain info file or website. _________________ SHP Artist of Twisted Insurrection: Nod buildings
The only reason we have a RA2/YR section with good info is because we took Deezire's tutorial for the basis of our work. Slowly, everything's being rewritten.
I'd love to see some TS contributors add their necessary information. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum