lfnetwork.com mark read register faq members calendar

Thread: [K1] Zone Controllers
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 06-09-2008, 02:55 PM   #1
ForeverNight
nrgurt researcher
 
ForeverNight's Avatar
 
Join Date: Mar 2008
Location: Minnesota, USA
Posts: 1,204
Current Game: q2
[K1] Zone Controllers

Well, I've been working with editing modules lately, still trying to get a mod I'm working on to work, and I extracted a module with a lot of Zone Controllers... and I was wondering what the heck I'd need those for?

They're both placeables and triggers, so I don't know why they'd be there...

I have no idea what they do or why they're there, so if anybody could help me with this, that would be great!

If you need more information about this, ask and I'll try to provide.
ForeverNight is offline   you may: quote & reply,
Old 06-09-2008, 06:49 PM   #2
Darth InSidious
A handful of dust.
 
Darth InSidious's Avatar
 
Join Date: Feb 2005
Location: The Eleven-Day Empire
Posts: 5,764
Current Game: KotOR II
They appear to have rather limited uses. To quote stoffe:

Quote:
Originally Posted by stoffe
In Kotor the standard AI listens for the shout "GEN_I_WAS_ATTACKED". If heard the NPC will attack the character who was last hostile towards the shouter. If an NPC can hear a shout usually depends on if the shouter is within their perception range. Zone controllers add an additional restriction to that.

Silent shouts are a way for NPCs to communicate in battle. In KOTOR it's mostly used to inform everyone else around that they've been attacked, so they all enter combat mode and chase after the attacker.

If an NPC hears a shout their OnDialog event script is fired. This script can then do a match of the shout heard, and take appropriate action.

Creatures who have their spawn script set to enable zone controllers, or creatures spawned by encounters, will associate themselves with the nearest zone controller, if there is one within a 100 meter radius. They will then only respond to shouts from other creatures who are linked to the same Zone Controller.

[This can be used with] encounters, or an OnSpawn script that enables the NPC to use zone controllers, by having: GN_SetSpawnInCondition(SW_FLAG_DYNAMIC_COMBAT_ZONE ); in their OnSpawn script.

They could be useful if you have several groups of enemies nearby, but you don't want them all to engage in combat if you attack one enemy without the others noticing on their own.

Normally everyone within perception range of a creature you attack will join the fight.

If used in a combat intensive area it could be used to allow the player to "pull" some enemies away from the others and fight a few at once.
(Given that they are hostile, of course )
Hope that's helpful.



Works-In-Progress
~
Mods Released
~
Quid existis in desertum videre?
Darth InSidious is offline   you may: quote & reply,
Old 06-09-2008, 07:18 PM   #3
ForeverNight
nrgurt researcher
 
ForeverNight's Avatar
 
Join Date: Mar 2008
Location: Minnesota, USA
Posts: 1,204
Current Game: q2
Thanks, that helps alot!
ForeverNight is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > [K1] Zone Controllers

Tags
kotor, question, zone controllers

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:55 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.