Okay girl... there are good news and bad news
Bad news is that I'm at work and can't use
weidu here, so you would have to wait much later until I get home, or maybe tomorrow
But since you've been around the thread like a hawk searching for its prey
Good news is that you're going to learn a bit more (at this rate you will release your own mod soon eh?)
Open your baldur.bcs at Near Infinity, notice the options Compile and Find, these are in the same row of the Save option.
Press Compile, it should take you here:
TakeItemReplace("NPSW04","LI%NPSW04A","Valygar")
Remove the LI%
Keep pressing Compile and every time it leads you to a line that refers to something ITEM related remove the LI% (if LI% is in a line with Global or something else that has no item in it, don't touch LI%)
After a while your script should Compile without pointing any errors, then save it.
Next go to the option Find, and select "in this script only"
Put this in the box: !InParty("Kiyone")
And search, it should point you to this part:
IF
!InParty("Kiyone")
OR(6)
PartyHasItem("KiyoArm3")
PartyHasItem("KiyoArm2")
PartyHasItem("KiyoArm1")
PartyHasItem("KiyoBow3")
PartyHasItem("KiyoBow2")
PartyHasItem("KiyoBow1")
THEN
RESPONSE #100
TakePartyItemAll("KiyoArm3")
TakePartyItemAll("KiyoArm2")
TakePartyItemAll("KiyoArm1")
TakePartyItemAll("KiyoBow3")
TakePartyItemAll("KiyoBow2")
TakePartyItemAll("KiyoBow1")
END
IF
!InParty("Kova")
OR(6)
PartyHasItem("KovaArm5")
PartyHasItem("KovaArm2")
PartyHasItem("KovaArm1")
PartyHasItem("KovaDag3")
PartyHasItem("KovaDag2")
PartyHasItem("KovaDag5")
THEN
RESPONSE #100
TakePartyItemAll("KovaArm5")
TakePartyItemAll("KovaArm2")
TakePartyItemAll("KovaArm1")
TakePartyItemAll("KovaDag3")
TakePartyItemAll("KovaDag2")
TakePartyItemAll("KovaDag5")
END
IF
OR(3)
NumItemsPartyGT("KovaDag3",1)
NumItemsPartyGT("KovaDag2",1)
NumItemsPartyGT("KovaDag5",1)
THEN
RESPONSE #100
TakePartyItemAll("KovaDag3")
TakePartyItemAll("KovaDag2")
TakePartyItemAll("KovaDag5")
END
IF
OR(3)
NumItemsPartyGT("KovaArm5",1)
NumItemsPartyGT("KovaArm2",1)
NumItemsPartyGT("KovaArm1",1)
THEN
RESPONSE #100
TakePartyItemAll("KovaArm5")
TakePartyItemAll("KovaArm2")
TakePartyItemAll("KovaArm1")
END
IF
OR(3)
NumItemsPartyGT("KiyoArm3",1)
NumItemsPartyGT("KiyoArm2",1)
NumItemsPartyGT("KiyoArm1",1)
THEN
RESPONSE #100
TakePartyItemAll("KiyoArm3")
TakePartyItemAll("KiyoArm2")
TakePartyItemAll("KiyoArm1")
END
IF
OR(3)
NumItemsPartyGT("KiyoBow3",1)
NumItemsPartyGT("KiyoBow2",1)
NumItemsPartyGT("KiyoBow1",1)
THEN
RESPONSE #100
TakePartyItemAll("KiyoBow3")
TakePartyItemAll("KiyoBow2")
TakePartyItemAll("KiyoBow1")
END
IF
OR(2)
NumItemsPartyGT("KyRing2",1)
NumItemsPartyGT("KyRing1",1)
THEN
RESPONSE #100
TakePartyItemAll("KyRing2")
TakePartyItemAll("KyRing1")
END
IF
OR(2)
NumItemsPartyGT("KvRing2",1)
NumItemsPartyGT("KvRing1",1)
THEN
RESPONSE #100
TakePartyItemAll("KvRing2")
TakePartyItemAll("KvRing1")
END
IF
!InParty("Kova")
OR(2)
PartyHasItem("KvRing2")
PartyHasItem("KvRing1")
THEN
RESPONSE #100
TakePartyItemAll("KvRing2")
TakePartyItemAll("KvRing1")
END
IF
!InParty("Kiyone")
OR(2)
PartyHasItem("KyRing2")
PartyHasItem("KyRing1")
THEN
RESPONSE #100
TakePartyItemAll("KyRing2")
TakePartyItemAll("KyRing1")
END
I'm not a modder or coder, but whoever did this deserves a serious beating!
Delete all of this, probably responsible for most of your lag.
Compile and Save.
Then Find the part that reads like this:
IF
GlobalTimerExpired("CauseDarkness","GLOBAL")
Global("DarkestDay_DarkTimer","GLOBAL",1)
THEN
RESPONSE #100
Weather(RAIN)
SetGlobalTimer("CauseDarkness","GLOBAL",600)
SetGlobal("DarkestDay_DarkTimer","GLOBAL",0)
RESPONSE #100
Weather(SNOW)
SetGlobalTimer("CauseDarkness","GLOBAL",600)
SetGlobal("DarkestDay_DarkTimer","GLOBAL",0)
END
Do not delete this part, but start deleting everything that is UNDER this part (its a huge amount of things), until you reach this:
IF
Delay(400)
CombatCounter(0)
OR(6)
HasItemEquipedReal("SoulArm3",Player1)
HasItemEquipedReal("SoulArm3",Player2)
HasItemEquipedReal("SoulArm3",Player3)
HasItemEquipedReal("SoulArm3",Player4)
HasItemEquipedReal("SoulArm3",Player5)
HasItemEquipedReal("SoulArm3",Player6)
THEN
RESPONSE #10
DisplayStringHeadOwner("SoulArm3",110983) // No such index
RESPONSE #10
DisplayStringHeadOwner("SoulArm3",110984) // No such index
RESPONSE #10
DisplayStringHeadOwner("SoulArm3",110985) // No such index
RESPONSE #10
DisplayStringHeadOwner("SoulArm3",110986) // No such index
RESPONSE #10
DisplayStringHeadOwner("SoulArm3",110987) // No such index
RESPONSE #10
DisplayStringHeadOwner("SoulArm3",110988) // No such index
RESPONSE #10
DisplayStringHeadOwner("SoulArm3",110989) // No such index
RESPONSE #10
DisplayStringHeadOwner("SoulArm3",110990) // No such index
RESPONSE #10
DisplayStringHeadOwner("SoulArm3",110991) // No such index
RESPONSE #10
DisplayStringHeadOwner("SoulArm3",110992) // No such index
END
The above is the last part you should delete.
Compile and save.
Run your game and see how it goes
That should solve most of your lags, there IS still a ton of things that could be deleted or improved in your baldur.bcs, but lets do that only in last case ok.
Maybe you do something wrong in the process that can screw up you baldur.bcs, then remember that you have a copy of you baldur.bcs attached to your own message above that you can use to start again
If this works.. you own me a dinner
Edited by Himself, 17 June 2008 - 07:46 AM.