One of the hobgoblins (HOBGO2.CRE) has fixed stringrefs attached to some actions. No idea if they work properly in a game with only SoBH added, but at least it does not play nice in combination with other mods.
aiqa
Member Since 30 Sep 2017Offline Last Active Today, 02:36 PM
Community Stats
- Group Member
- Active Posts 21
- Profile Views 3365
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
User Tools
Friends
aiqa hasn't added any friends yet.
Latest Visitors
No latest visitors to show
Posts I've Made
In Topic: Secret of Bonehill v275 Bug Reports
09 October 2017 - 01:58 PM
In Topic: Cannot Successfully install with BWS
08 October 2017 - 02:13 AM
However, it seems like you have to edit some bat file for this. Maybe someone can post some instruction for this.
The "BiG World Textpack.bat" checks if "BiG World Install.bat" exists,
And if it does it exits you get:
Please start the "BiG World Install.bat"
Bitte startet die "BiG World Install.bat"
Veuillez lancer le "BiG World Install.bat"
There are 2 ways around that
- delete "BiG World Install.bat" (but no idea if that has any other negative consequences)
- delete lines 48 en 49 (pause and exit) from "BiG World Textpack.bat"
In Topic: Cannot Successfully install with BWS
08 October 2017 - 02:08 AM
oops, posted twice somehow
In Topic: Cannot Successfully install with BWS
07 October 2017 - 12:51 PM
For BWS BGT I'd use the "OUTDATED!!! Baldur's Gate 2 / Baldur's Gate Trilogy (BGT) Customization" game type. That allows BWS itself to manage the installation, while the "install.bat" version is just BWP started by BWS.
If you really want to use the install.bat, I'd only use BWS to download the mods, and after that follow the BWP instructions for the rest of the installation.
In Topic: Scripting practrices
07 October 2017 - 10:56 AM
This is the code for 1 weapon for 1 player. This repeats for 6 players for 6 weapons (that is why there are 36 inventory checks no matter what).
Global("CbPlayer1Has_Life_Eater","GLOBAL",5)
!HasItem("CBHBLFET",Player1)
PartyHasItem("CBHBLFET")
THEN
RESPONSE #100
TakePartyItem("CBHBLFET")
GiveItemCreate("CBHBLFET",Player1,1,0,0)
ReputationInc(-1)
END
IF
Global("CbPlayer1Has_Life_Eater","GLOBAL",5)
!HasItem("CBHBLFET",Player1)
!PartyHasItem("CBHBLFET")
THEN
RESPONSE #100
SetInterrupt(FALSE)
ActionOverride(Player1,PickUpItem("CBHBLFET"))
ReputationInc(-1)
SetInterrupt(TRUE)
END
IF
GlobalTimerExpired("CbPlayer1_Life_EaterTimerTwo","GLOBAL")
Global("CbPlayer1Has_Life_Eater","GLOBAL",3)
HasItem("CBHBLFET",Player1)
THEN
RESPONSE #100
SetGlobal("CbPlayer1Has_Life_Eater","GLOBAL",5)
ChangeAlignment(Player1,CHAOTIC_EVIL)
END
IF
Global("CbPlayer1Has_Life_Eater","GLOBAL",0)
GlobalTimerExpired("CbLife_Eater_ForceReturn","GLOBAL")
THEN
RESPONSE #100
TakePartyItem("CBHBLFET")
GiveItemCreate("CBHBLFET",Player1,1,0,0)
SetGlobal("CbPlayer1Has_Life_Eater","GLOBAL",3)
SetGlobalTimer("CbPlayer1_Life_EaterTimerTwo","GLOBAL",TWO_DAYS)
END
IF
Global("CbPlayer1Has_Life_Eater","GLOBAL",3)
!HasItem("CBHBLFET",Player1)
THEN
RESPONSE #100
SetGlobal("CbPlayer1Has_Life_Eater","GLOBAL",0)
SetGlobalTimer("CbLife_Eater_ForceReturn","GLOBAL",TWO_DAYS)
END
IF
Global("CbPlayer1Has_Life_Eater","GLOBAL",2)
GlobalTimerExpired("CbPlayer1_Life_Eater_TimerOne","GLOBAL")
HasItem("CBHBLFET",Player1)
THEN
RESPONSE #100
SetGlobal("CbPlayer1Has_Life_Eater","GLOBAL",3)
ChangeAlignment(Player1,NEUTRAL_EVIL)
SetGlobalTimer("CbPlayer1_Life_EaterTimerTwo","GLOBAL",SEVEN_DAYS)
END
IF
Global("CbPlayer1Has_Life_Eater","GLOBAL",0)
GlobalTimerExpired("CbLife_Eater_Returns","GLOBAL")
THEN
RESPONSE #100
TakePartyItem("CBHBLFET")
GiveItemCreate("CBHBLFET",Player1,1,0,0)
SetGlobal("CbPlayer1Has_Life_Eater","GLOBAL",1)
END
IF
Global("CbPlayer1Has_Life_Eater","GLOBAL",2)
!HasItem("CBHBLFET",Player1)
THEN
RESPONSE #100
SetGlobal("CbPlayer1Has_Life_Eater","GLOBAL",0)
SetGlobalTimer("CbLife_Eater_Returns","GLOBAL",FOUR_DAYS)
END
IF
Global("CbPlayer1Has_Life_Eater","GLOBAL",1)
THEN
RESPONSE #100
SetGlobal("CbPlayer1Has_Life_Eater","GLOBAL",2)
SetGlobalTimer("CbPlayer1_Life_Eater_TimerOne","GLOBAL",SEVEN_DAYS)
END
IF
HasItem("CBHBLFET",Player1)
PartyHasItemIdentified("CBHBLFET")
Global("CbPlayer1Has_Life_Eater","GLOBAL",0)
!Global("CbPlayer2Has_Life_Eater","GLOBAL",1)
!Global("CbPlayer3Has_Life_Eater","GLOBAL",1)
!Global("CbPlayer4Has_Life_Eater","GLOBAL",1)
!Global("CbPlayer5Has_Life_Eater","GLOBAL",1)
!Global("CbPlayer6Has_Life_Eater","GLOBAL",1)
THEN
RESPONSE #100
SetGlobal("CbPlayer1Has_Life_Eater","GLOBAL",1)
END
Like you said, the "HasItem" at the top of the script block makes sure it always does the inventory search, no matter what the other variables are set to.
But once some variables do get set there are even more.
If you set Global("CbPlayer1Has_Life_Eater","GLOBAL",5) I am counting two extra item checks on player1, and two extra party wide checks.
So if you give all your characters one weapon, you'd get 48 single player inventory checks, and 12 party wide inventory checks.
- Spellhold Studios
- → Viewing Profile: Posts: aiqa
- Guidelines