lfnetwork.com mark read register faq members calendar

Thread: Force Alignment Conditional Scripts.
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 08-15-2007, 07:07 AM   #1
Darth Balor
Junior Member
 
Darth Balor's Avatar
 
Join Date: Sep 2006
Location: Malachor V
Posts: 295
Force Alignment Conditional Scripts.

What scripts would I use to determine the availibilty of a dialoge node based on alignment(neutral,ls,ds)?

Darth Balor is offline   you may: quote & reply,
Old 08-15-2007, 07:12 AM   #2
stoffe
Mostly dormant
 
stoffe's Avatar
 
Status: Administrator
Join Date: Apr 2002
Posts: 5,834
Helpful! 10 year veteran! Notable contributor 
Quote:
Originally Posted by Darth Balor
What scripts would I use to determine the availibilty of a dialoge node based on alignment(neutral,ls,ds)?
If this is for KOTOR 2:TSL there are a bunch of different alignment checking functions. You can use c_ac_align_gt to check if the player's alignment is greater than the value set in the P1 field of the script on the dialog node, and c_ac_align_lt to check if it is lower than the specified value. Alignment is set on a 0 to 100 scale where 0 is darkside mastery, 50 is perfectly neutral and 100 is lightside mastery.

If you want to check with less precision or want to check broader you can also use any of the following:
  • c_dark - Player is a darksider
  • c_darklow - Player is a darksider, but not strongly so
  • c_darkhigh - Player is very far along the darkside
  • c_darkobvious - Player is obvious darksider (AKA zombie face)
  • c_darktotal_bet - Check if the total number of Darkside shift points accumulated so far is between the P1 and P2 values.
  • c_darktotal_gt - Check if the total number of Darkside shift points accumulated so far is greater than the P1 value.
  • c_darktotal_lt - Check if the total number of Darkside shift points accumulated so far is lower than the P1 value.
  • c_neutral - Player is Neutral/Grey
  • c_light - player is a lightsider
  • c_lightlow - player is a lightsider, but only slightly so
  • c_lighthigh - player is a dedicated lightsider
  • c_lighttotal_bet - Check if the total number of Lightside shift points accumulated so far is between the P1 and P2 values
  • c_lighttotal_gt - Check if the total number of Lightside shift points accumulated so far is greater than the P1 value.
  • c_lighttotal_lt - Check if the total number of Lightside shift points accumulated so far is lower than the P1 value.


mt
stoffe is offline   you may: quote & reply,
Old 08-15-2007, 07:22 AM   #3
Darth Balor
Junior Member
 
Darth Balor's Avatar
 
Join Date: Sep 2006
Location: Malachor V
Posts: 295
Ok if using the c_neutral script do I still have to edit the P1 values?

Darth Balor 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 > Force Alignment Conditional Scripts.

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 07:42 AM.

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