SetDenseEnvironment in a region? *SOLVED*
Moderator: Moderators
- lucasfart
- Sith

- Posts: 1440
- Joined: Tue Feb 24, 2009 5:32 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia
SetDenseEnvironment in a region? *SOLVED*
As the question says, is it possible to make the map use the code SetDenseEnvironment as both true and false, depending on regions? for Example, i want to make a large system of tunnels use set dense environment while still having it set to false in a large open area??
Last edited by lucasfart on Sat Feb 13, 2010 5:28 am, edited 1 time in total.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: SetDenseEnvironment in a region?
No. You are interested in AI vis regions.
- lucasfart
- Sith

- Posts: 1440
- Joined: Tue Feb 24, 2009 5:32 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia
Re: SetDenseEnvironment in a region?
Is that all the command does?? i thought it affected the ai's gameplay style, not just the visibility?Maveritchell wrote:No. You are interested in AI vis regions.
also, how would i set up these regions and what exactly do they do, just change the visibility range?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: SetDenseEnvironment in a region?
The documentation says that the SetDenseEnvironment command "make[s] the AI see a shorter distance, and other various things to make the AI act more appropriately in an environment with limited visibility." I don't know what 'various other things' entail, but I would imagine the difference between that and whatever AI vis regions do (if there is a difference at all) is fairly trivial.lucasfart wrote:Is that all the command does?? i thought it affected the ai's gameplay style, not just the visibility?
Just set up your region wherever you want the AI to have limited visibility. I don't know offhand precisely how they work; the best thing to do (if you are confused as to what they are doing) would be to test them with extreme parameter changes (i.e. minimal AI visibility versus maximum outside the region). The region's parameters are fairly self-explanatory, though, and I would imagine that there's not much more to them than what's laid out by the parameters.
- lucasfart
- Sith

- Posts: 1440
- Joined: Tue Feb 24, 2009 5:32 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia
Re: SetDenseEnvironment in a region? *SOLVED*
Sorry if this question seems really stupid, but how do i change settings for regions and what is the regions name type?......the type of regionMaveritchell wrote:The documentation says that the SetDenseEnvironment command "make[s] the AI see a shorter distance, and other various things to make the AI act more appropriately in an environment with limited visibility." I don't know what 'various other things' entail, but I would imagine the difference between that and whatever AI vis regions do (if there is a difference at all) is fairly trivial.lucasfart wrote:Is that all the command does?? i thought it affected the ai's gameplay style, not just the visibility?
Just set up your region wherever you want the AI to have limited visibility. I don't know offhand precisely how they work; the best thing to do (if you are confused as to what they are doing) would be to test them with extreme parameter changes (i.e. minimal AI visibility versus maximum outside the region). The region's parameters are fairly self-explanatory, though, and I would imagine that there's not much more to them than what's laid out by the parameters.
EDIT: Nevermind my questions, i just found the answers in Psychofred's docs:
http://www.secretsociety.com/forum/down ... ility.html
Also, does anyone know any other functions of SetDenseEnvironment??
