@JAKER: That's what if find missing from BG: gradual alignment shifts due to the use of certain items. I do indeed think the Ring of Gaxx should slowly turn the wearer into an Evil character. (Same would go for Blackrazor and Robe of Vecna!!)
I've been trying to add those effects to certain items, but I'm no scripter, and it can't be done with IEEP .
TC, Geert
It would indeed be very easy to do with scripts...The problem is you would probably need to either attach said script to Baldur or put it on player 1 at any location other than class (there are 6 script location for every cre, in case you didnt know, which you probably did).
And either option could cause conflicts further on down the road if other people edit/modify those things (Baldur and player alternate script locations), but if things go as I hope, I wil be trying to organize a standard Baldur.bcs, which will be kept up to date, and feature all such mods in it, called the BALDUR STANDARD.
There will be a couple rules, however, that all people using the new standard must adhere to, in order to have their scripts appended.
1.) The appending of their script must cause no noticeable slowdown on a low end (200 mhz, 64 meg ram) machine.
2.) The appending of their script must not interfere with the basic functions of Baldur.bcs, or any ingame functions that Baldur calls.
3.) The apending of their script must use a global/ and or local variable to active said script, thus further insulating from slowdown. The global MUST be the persons initials followed by a description of what the global is doing, IE...Global("KR_STARTED_SHAPESHIFT_TIMER","GLOBAL",1)
4.) The appending of their script must not interfere with the actual game of SOA at all, unless that persons actual mod is installed. IE having 6 blocks of added code, yet only having 1 such feature installed, a global should be used to turn said block of code on, once installed. The global must folow the same format as the activating global, which describes what is being installed.
So anyway, I hope to form the commitee for the Baldur Standard soon, as it is badly needed, imo.
And back to the topic: a script to change alignment would be simple to do, basically something like this:
IF
Global("KR_STARTED_ALIGN_CHANGE","GLOBAL",0)
HasItemEquiped("SW1hXX",Player1)
Alignment(Player1,LAWFUL_GOOD)
THEN
RESPONSE #
SetGlobalTimer("KR_TIME_TO_CHANGE_ALIGN","GLOBAL",TWO_DAYS)
SetGlobal("KR_STARTED_ALIGN_CHANGE","GLOBAL",1)
END
IF
Global("KR_STARTED_ALIGN_CHANGE","GLOBAL",1)
!HasItemEquiped("SW1hXX",Player1)
THEN
RESPONSE #100
SetGlobal("KR_STARTED_ALIGN_CHANGE","GLOBAL",0)
END
IF
Global("KR_STARTED_ALIGN_CHANGE","GLOBAL",1)
GlobalTimerExpired("KR_TIME_TO_CHANGE_ALIGN","GLOBAL")
Alignment(Player1,LAWFUL_GOOD)
THEN
RESPONSE #100
SetGlobal("KR_STARTED_ALIGN_CHANGE","GLOBAL",2)
SetGlobalTimer("KR_TIME_TO_CHANGE_ALIGN","GLOBAL",TWO_DAYS)
ChangeAlignment(Player1,LAWFUL_NEUTRAL)
END
That would change alignment of player 1 from lawful good to lawful neutral after 2 days of having equipped sw1hXX... You could add more to it to change him all the way to Chaotic evil after a time...Currently 2 days is the time limit used before his first alignment change.
Or you could have it increment a global if he has the sword (or ring) equipped for a specific amount of time in seconds, something like this:
IF
GlobalLT("KR_TIME_TO_DROP_ALIGN","GLOBAL",21)
HasItemEquiped("SW1hXX",Player1)
Alignment(Player1,LAWFUL_GOOD)
!GlobalTimerNotExpired("KR_ALIGN_TIMER","GLOBAL")
THEN
RESPONSE #
IncrementGlobal("KR_STARTED_ALIGN_CHANGE","GLOBAL",1)
SetGlobalTimer("KR_ALIGN_TIMER","GLOBAL",300)
END
IF
!HasItemEquipped("SW1hXX",Player1)
!Global("KR_TIME_TO_DROP_ALIGN","GLOBAL",0)
THEN
RESPONSE #100
SetGlobal("KR_TIME_TO_DROP_ALIGN","GLOBAL",0)
SetGlobalTimer("KR_ALIGN_TIMER","GLOBAL",1)
END
That will increment the global by one, every 300 seconds, unless they unequip the item, which will set the global back to 0 until it is equipped again, and restart the timer.
Anyway, hope it helps!
(fixed a spelling error, and added some more ideas...)
[ 11-03-2001: Message edited by: KensaiRyu ]