Author |
Message |
Pumone
Joined: Wed Dec 28, 2011 4:18 pm Posts: 86
|
AI mode
in battle we can set units to "go to AI mode" so it figures like this http://imageshack.us/photo/my-images/10/26769316.pngyellow dots aren't so good for eyes so how can I disable the dots in front of the units?
|
Tue Jan 01, 2013 10:38 am |
|
|
ScientistSalarian
Joined: Mon Apr 18, 2011 11:33 pm Posts: 42
|
Re: AI mode
What units are those?
|
Wed Jan 02, 2013 12:46 pm |
|
|
Pumone
Joined: Wed Dec 28, 2011 4:18 pm Posts: 86
|
Re: AI mode
dummy resprited by me.
|
Wed Jan 02, 2013 2:09 pm |
|
|
Pumone
Joined: Wed Dec 28, 2011 4:18 pm Posts: 86
|
Re: AI mode
so there insn't a way to make dots invisible?
please it's important.
|
Fri Jan 04, 2013 10:54 am |
|
|
helifreak
Joined: Tue Apr 07, 2009 8:24 am Posts: 193 Location: Australia
|
Re: AI mode
Pumone wrote: so there insn't a way to make dots invisible?
please it's important. No, there is not.
|
Fri Jan 04, 2013 11:20 am |
|
|
Abdul Alhazred
DRL Developer
Joined: Tue Aug 11, 2009 5:09 am Posts: 395
|
Re: AI mode
Pumone wrote: so there insn't a way to make dots invisible? Have you tried this?
|
Fri Jan 04, 2013 1:35 pm |
|
|
Pumone
Joined: Wed Dec 28, 2011 4:18 pm Posts: 86
|
Re: AI mode
Abdul Alhazred wrote: Pumone wrote: so there insn't a way to make dots invisible? Have you tried this?excuse my ignorance but I can not figure out how to do it
|
Fri Jan 04, 2013 1:51 pm |
|
|
Abdul Alhazred
DRL Developer
Joined: Tue Aug 11, 2009 5:09 am Posts: 395
|
Re: AI mode
I have not tried this myself but try attaching this script to your actor: Code: function Create(self) self.AI = NativeHumanAI:Create(self) end
function UpdateAI(self) self.AI:Update(self) end
function Update(self) self:DrawWaypoints(false) end
|
Sat Jan 05, 2013 11:19 am |
|
|
Pumone
Joined: Wed Dec 28, 2011 4:18 pm Posts: 86
|
Re: AI mode
so do you suggest to add this code at every actor?
for example to
Dummy.rte/Actors/Dummy/Dummy.ini?
Coalition/Actors/Soldier.ini?
etc.
|
Sat Jan 05, 2013 2:11 pm |
|
|
Pumone
Joined: Wed Dec 28, 2011 4:18 pm Posts: 86
|
Re: AI mode
solved by setting all "drawaypoints" in HumanBehaviors.lua to "false" now dots are invisible, thank you man
|
Sun Jan 06, 2013 10:44 am |
|
|
Abdul Alhazred
DRL Developer
Joined: Tue Aug 11, 2009 5:09 am Posts: 395
|
Re: AI mode
If you want all actors that use the native AI behave like this, you can just paste the code in to \Base.rte\Actors\AI\HumanAI.lua
|
Mon Jan 07, 2013 10:37 am |
|
|
Izak12
Joined: Fri Dec 14, 2012 5:44 am Posts: 201
|
Re: AI mode
Thanks for this, I guess you really can do everything with lua... now if only I could figure out the lua file for the red brain flashy seizure crap..
|
Mon Jan 07, 2013 10:51 am |
|
|
|