Aller au contenu

Photo

rs ga_alignment code for neutrals


  • Veuillez vous connecter pour répondre
11 réponses à ce sujet

#1
Frosty44

Frosty44
  • Members
  • 196 messages
 Is there a NWN 2 rs ga_alignment code for neutrals? My rougue is now 46/98 and I want to bring her back up to 50, but I can't find a code to do it (the only codes I found are for lawful/good, etc.).

Thanks!

#2
kamal_

kamal_
  • Members
  • 5 260 messages
It goes on a scale, so you'd want 50/50. The codes alter you by points from 0-100.

#3
Frosty44

Frosty44
  • Members
  • 196 messages
Thanks for the quick answer! But, exactly what code do I use? I tried the "lawful" code but it didn't work.

#4
kevL

kevL
  • Members
  • 4 075 messages
rs ga_alignment(x, y)

x = +/- severity, from 1-4 either way
y = along 0/good-evil axis, or 1/law-chaos axis


Examples.
rs ga_alignment(1, 1) - shifts 1pt Lawful
rs ga_alignment(-4, 0) - shifts 70 pts Evil

note that when an axis boundary is crossed the alignment immediately jumps to the middle of its new area. Play with it until it gets where ya want, it's sorta weird

#5
Frosty44

Frosty44
  • Members
  • 196 messages
Thanks kevL, but I tried the alignment shift to lawful and it didn't work. Is there another way to put the points back to the neutral 50 from 46?

#6
kevL

kevL
  • Members
  • 4 075 messages
it should work ... |haha|

I was also testing 'ga_align_law-chaos' and it seems bugged on my machine ( unlike 'ga_align_good-evil' - gotta figure )

so i'm hoping the ga_alignment will work for ya (it does here)

- control main character, no target
DebugMode 1
rs ga_alignment(2, 0)
rs ga_alignment(1, 0)
DebugMode 0

- you might have to change 'rs' to "RunScript" or "runscript" ... unless i figure out what's wrong with ga_align_law-chaos its all i got, sry

#7
kevL

kevL
  • Members
  • 4 075 messages
okay, i recompiled my 'ga_align_law-chaos' and its working:

I'm not sure how comfy you are running scripts, Frosty -- but these scripts should run in NwN2 w/out any expansions ... (ie, they can be found in Data\\Scripts.zip)

here's how i brought Ethics 46 up to 50

rs ga_align_law-chaos(2, 0)
rs ga_align_law-chaos(1, 0)


#8
Frosty44

Frosty44
  • Members
  • 196 messages
Thank you! I'll give it a try.

Karen :)

#9
Frosty44

Frosty44
  • Members
  • 196 messages
I finally got rs ga_alignment(1, 0) to work, but rs ga_align_law-chaos didn't work at all.

#10
kevL

kevL
  • Members
  • 4 075 messages
:)

Did you get the results you want? i think i gave ya wrong instructions above re. ga_alignment ... here's another rundown:

- change Ethics 1pt lawful:
rs ga_alignment(1, 1)

- then change Ethics 3pts more lawful:
rs ga_alignment(2, 1)


( if the second value in the brackets is 0 instead of 1, it changes Morals )
The first value in the brackets can be 1 to 4, positive or negative;
1 = 1pt
2 = 3pts
3 = 10pts
4 = 70 pts.

#11
Frosty44

Frosty44
  • Members
  • 196 messages
It worked, thanks. Although she ended up 51/98 instead of 50 but that's ok - she'll probably loose that point anyway lol!

#12
kevL

kevL
  • Members
  • 4 075 messages
rs ga_alignment(-1, 1)

;p