Player Resource Consortium
Neverwinter Nights => Builders => Topic started by: Complex on January 26, 2012, 08:39:37 AM
-
Hi guys, im trying to modify PRC Hips to make it work as bioware's, how can i do this without modifying all race and classes 2da feats?
i dont mind having to modify feats.2da, but what i do not want to is to modify all classes and races 2da's. best thing would be modifying some script to make it work just like original hips, any suggestions?
-
Frankly I don't even know what the difference is between bioware HiPS and PRC HiPS. The code for prc version is probably in prc_hips.nss (prc_scripts.hak) and as far as I can tell this script just adds bioware HiPS as a temporary item property to players skin.
Am I missing something here?
-
PRC HIPS works different, since it uses the Ultimate Ranger feat.
This feat uses ur_hips.nss script which only works in natural areas and avobe ground (acording to script), thus, it waits until next round to trigger the stealth mode.
-
this is what i did to make it similar to biowares:
feats.2da:
added a 0 to ReqAction so it does not wait till next round to trigger
3457 FEAT_UR_HIPS 16825533 2940 ife_X1HideSight **** **** **** **** **** **** **** **** **** **** 0 0 0 **** **** 2143 **** 0.5 **** **** 1 **** **** **** **** **** **** **** **** **** FEAT_UR_HIPS 6 **** **** **** **** **** 0 0
ur_hips.nss:
modified script to trigger stealth mode and deactivate it:
#include "prc_inc_spells"
#include "x0_i0_modes"
void main()
{
object oPC = OBJECT_SELF;
object oArea = GetArea(oPC);
object oSkin = GetPCSkin(oPC);
if(GetActionMode(oPC, ACTION_MODE_STEALTH) == FALSE){
AddSkinFeat(FEAT_HIDE_IN_PLAIN_SIGHT, IP_CONST_FEAT_HIDE_IN_PLAIN_SIGHT, oSkin, oPC, 3.0f);
DelayCommand(0.2, SetActionMode(oPC, ACTION_MODE_STEALTH, TRUE));
// DelayCommand(0.21, UseStealthMode());
DelayCommand(0.2, ActionUseSkill(SKILL_HIDE, oPC));
DelayCommand(0.2, ActionUseSkill(SKILL_MOVE_SILENTLY, oPC));
}
else{
SetActionMode(oPC, ACTION_MODE_STEALTH, FALSE);
}
}
with this update, if anybody is interested, ull have a working hips as biowares, only exception is that, in order to trigger the hips, youll have to use the active feat in stead of move silently
-
Why do all that when you can just add Bioware HiPS to whatever class you want to change?
-
urang_hips.nss is used only by Ranger/Ultimate Ranger
prc_hips.nss is used by other classes/races
it waits until next round to trigger the stealth mode.
Actually that may be intended:
http://nwvault.ign.com/View.php?view=Scripts.Detail&id=2476
one of many HiPS fixes on the vault.
-
@Heatstroke:
i wanted to do a simple modification, not to modify all prc 2da, by modifying just 1 line @ feats.2da and the script, issue is solved.
if i wanted to modify all hips an all classes, i would have to go to each 2da file for each hips class and race and modify it.
@xwarren:
i know it was prolly intended, nevertheless, i wanted some balance between hips shadowdancer and hips with prc hips.
no, prc_hips is prolly never used, i checked some hips classes i remember: ninja, net rakshasa, and they both use UR's hips system. could not find out which classes use prc's hips, but if i do, ill let you know!
thanks guys
-
I was curious myself, so I checked. In current version:
prc_hips.nss - featid 3457 is used in ninja spy class and rakshasa/brownie races
urang_hips.nss - featid 3136 only in ultimate ranger class
-
well.. that might me it, we are using 3.5 first release. these might have changed over the past 2 updates lol
thx xwarren! sorry if this was missleading