'Dummy' intel ring

Need help? This is the right place!
Note, reporting bugs and issues should be in the Tech Support forum!

Moderator: PhilipJFry

'Dummy' intel ring

Postby Dudekahedron » 17 Nov 2016, 00:36

Hi FAF,
Does anyone know how to make an intel ring that isn't necessarily associated with anything?
Like a 'direct fire' radius ring, but without having the associated weapon, or a radar ring without a radar function?
Check out my mod (in development): /viewtopic.php?f=41&t=13326
User avatar
Dudekahedron
Avatar-of-War
 
Posts: 118
Joined: 10 Apr 2016, 22:01
Has liked: 42 times
Been liked: 54 times
FAF User Name: Dudekahedron

Re: 'Dummy' intel ring

Postby Exotic_Retard » 17 Nov 2016, 02:01

sure you can just add a dummy weapon in there, it can be totally empty except for
MaxRadius = 20,
RangeCategory = 'UWRC_Countermeasure',

it doesnt need to be in a script or anything.

the other thing you need to do is add the corresponding range category to the categories in the unit: 'OVERLAYDEFENSE',
this should be able to work for not just weapons but any overlay you want. even.

maybe theres some other, neater way of doing it but i would just do this. if you are really interested you can look at how build range rings are added to engineers/acus
User avatar
Exotic_Retard
Contributor
 
Posts: 1470
Joined: 21 Mar 2013, 22:51
Has liked: 557 times
Been liked: 626 times
FAF User Name: Exotic_Retard

Re: 'Dummy' intel ring

Postby Dudekahedron » 17 Nov 2016, 05:10

Thanks Exotic!! You are a life saver :D
Check out my mod (in development): /viewtopic.php?f=41&t=13326
User avatar
Dudekahedron
Avatar-of-War
 
Posts: 118
Joined: 10 Apr 2016, 22:01
Has liked: 42 times
Been liked: 54 times
FAF User Name: Dudekahedron


Return to Help

Who is online

Users browsing this forum: No registered users and 1 guest