Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
EET native support
Browse files Browse the repository at this point in the history
via cpmvars
  • Loading branch information
K4thos committed Aug 24, 2015
1 parent 7ef24dc commit edb002c
Show file tree
Hide file tree
Showing 388 changed files with 30,331 additions and 27,741 deletions.
1,305 changes: 1,305 additions & 0 deletions bgeespawn/lib/eet_cpmvars.tpa

Large diffs are not rendered by default.

1,278 changes: 1,278 additions & 0 deletions bgeespawn/lib/liam_bgee_vars.tpa

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions bgeespawn/readme.txt
@@ -1,6 +1,6 @@
BGEE Leveled Spawns Mod
by AstroBryGuy (http://forum.baldursgate.com/profile/14405/AstroBryGuy)
Version 0.3
Version 0.4

BGEE Leveled Spawns replaces the default spawns with spawns that scale in difficulty with the average level of the party. Each spawn point will spawn groups of 1-6 creatures, depending on party level and creature strength.

Expand Down Expand Up @@ -68,7 +68,7 @@ COMPATIBILITY

BGEE Leveled Spawns Mod is coded using WeiDU and does not overwrite any files. It should be compatible with most other (WeiDU) mods.

The mod is compatible ONLY with BGEE.
The mod is compatible ONLY with BGEE and EET.

+++++++++++++++Please do not translate below here ++++++++++++++++++++++++

Expand Down Expand Up @@ -109,7 +109,8 @@ This mod is not developed, supported, or endorsed by BioWare, Black Isle Studios


HISTORY


Version 0.4: Added native Baldur's Gate: Enhanced Edition (EET) support
Version 0.3: Added notes regarding game defaults, update spawn trigger reset timings to include selection equivalent to game default, updating spawning probability values to give more options at high probabilities
Version 0.2: Install bug fixes, update spawn trigger reset timings.
Version 0.1: Initial public release
156 changes: 78 additions & 78 deletions bgeespawn/scripts/AY01230.baf
@@ -1,235 +1,235 @@
IF
Global("AYSpawnRandomBeenSetAR01230","AR0123",0)
Global("AYSpawnRandomBeenSetAR01230","%Undercity%",0)
THEN
RESPONSE #NOSPAWN
SetGlobal("AYSpawnRandomBeenSetAR01230","AR0123",1)
SetGlobal("AYSpawnResetAR01230","AR0123",1)
SetGlobal("AYSpawnRandomBeenSetAR01230","%Undercity%",1)
SetGlobal("AYSpawnResetAR01230","%Undercity%",1)
RESPONSE #GOSPAWN
Continue()
END

IF
RandomNum(4,1)
Global("AYSpawnRandomSetAR01230_3","AR0123",0)
Global("AYSpawnRandomBeenSetAR01230","AR0123",0)
Global("AYSpawnRandomSetAR01230_3","%Undercity%",0)
Global("AYSpawnRandomBeenSetAR01230","%Undercity%",0)
THEN
RESPONSE #100
SetGlobal("AYSpawnRandomSetAR01230_3","AR0123",1)
SetGlobal("AYSpawnRandomBeenSetAR01230","AR0123",1)
SetGlobal("AYSpawnRandomSetAR01230_3","%Undercity%",1)
SetGlobal("AYSpawnRandomBeenSetAR01230","%Undercity%",1)
END

IF
RandomNum(4,2)
Global("AYSpawnRandomSetAR01230_2","AR0123",0)
Global("AYSpawnRandomBeenSetAR01230","AR0123",0)
Global("AYSpawnRandomSetAR01230_2","%Undercity%",0)
Global("AYSpawnRandomBeenSetAR01230","%Undercity%",0)
THEN
RESPONSE #100
SetGlobal("AYSpawnRandomSetAR01230_2","AR0123",1)
SetGlobal("AYSpawnRandomBeenSetAR01230","AR0123",1)
SetGlobal("AYSpawnRandomSetAR01230_2","%Undercity%",1)
SetGlobal("AYSpawnRandomBeenSetAR01230","%Undercity%",1)
END

IF
RandomNum(4,3)
Global("AYSpawnRandomSetAR01230_1","AR0123",0)
Global("AYSpawnRandomBeenSetAR01230","AR0123",0)
Global("AYSpawnRandomSetAR01230_1","%Undercity%",0)
Global("AYSpawnRandomBeenSetAR01230","%Undercity%",0)
THEN
RESPONSE #100
SetGlobal("AYSpawnRandomSetAR01230_1","AR0123",1)
SetGlobal("AYSpawnRandomBeenSetAR01230","AR0123",1)
SetGlobal("AYSpawnRandomSetAR01230_1","%Undercity%",1)
SetGlobal("AYSpawnRandomBeenSetAR01230","%Undercity%",1)
END

IF
RandomNum(4,4)
Global("AYSpawnRandomSetAR01230_0","AR0123",0)
Global("AYSpawnRandomBeenSetAR01230","AR0123",0)
Global("AYSpawnRandomSetAR01230_0","%Undercity%",0)
Global("AYSpawnRandomBeenSetAR01230","%Undercity%",0)
THEN
RESPONSE #100
SetGlobal("AYSpawnRandomSetAR01230_0","AR0123",1)
SetGlobal("AYSpawnRandomBeenSetAR01230","AR0123",1)
SetGlobal("AYSpawnRandomSetAR01230_0","%Undercity%",1)
SetGlobal("AYSpawnRandomBeenSetAR01230","%Undercity%",1)
END

IF
Range([PC],60)
LevelPartyLT(2)
Global("AYSpawnResetAR01230","AR0123",0)
Global("AYSpawnRandomSetAR01230_3","AR0123",1)
Global("AYSpawnResetAR01230","%Undercity%",0)
Global("AYSpawnRandomSetAR01230_3","%Undercity%",1)
THEN
RESPONSE #100
SetGlobal("AYSpawnResetAR01230","AR0123",1)
SetGlobal("AYSpawnResetAR01230","%Undercity%",1)
CreateCreature("ZOMBIE_C",[2586.1956],0) // ~Zombie~
CreateCreature("ZOMBIE_C",[2586.1956],0) // ~Zombie~
SetGlobalTimer("AYSpawnTimerAR01230","AR0123",AY_SPAWN_TIMER)
SetGlobalTimer("AYSpawnTimerAR01230","%Undercity%",AY_SPAWN_TIMER)
END

IF
Range([PC],60)
LevelPartyGT(1)
LevelPartyLT(3)
Global("AYSpawnResetAR01230","AR0123",0)
Global("AYSpawnRandomSetAR01230_3","AR0123",1)
Global("AYSpawnResetAR01230","%Undercity%",0)
Global("AYSpawnRandomSetAR01230_3","%Undercity%",1)
THEN
RESPONSE #100
SetGlobal("AYSpawnResetAR01230","AR0123",1)
SetGlobal("AYSpawnResetAR01230","%Undercity%",1)
CreateCreature("ZOMBIE_C",[2586.1956],0) // ~Zombie~
CreateCreature("ZOMBIE_C",[2586.1956],0) // ~Zombie~
CreateCreature("ZOMBIE_C",[2586.1956],0) // ~Zombie~
CreateCreature("ZOMBIE_C",[2586.1956],0) // ~Zombie~
SetGlobalTimer("AYSpawnTimerAR01230","AR0123",AY_SPAWN_TIMER)
SetGlobalTimer("AYSpawnTimerAR01230","%Undercity%",AY_SPAWN_TIMER)
END

IF
Range([PC],60)
LevelPartyGT(2)
Global("AYSpawnResetAR01230","AR0123",0)
Global("AYSpawnRandomSetAR01230_3","AR0123",1)
Global("AYSpawnResetAR01230","%Undercity%",0)
Global("AYSpawnRandomSetAR01230_3","%Undercity%",1)
THEN
RESPONSE #100
SetGlobal("AYSpawnResetAR01230","AR0123",1)
SetGlobal("AYSpawnResetAR01230","%Undercity%",1)
CreateCreature("ZOMBIE_C",[2586.1956],0) // ~Zombie~
CreateCreature("ZOMBIE_C",[2586.1956],0) // ~Zombie~
CreateCreature("ZOMBIE_C",[2586.1956],0) // ~Zombie~
CreateCreature("ZOMBIE_C",[2586.1956],0) // ~Zombie~
CreateCreature("ZOMBIE_C",[2586.1956],0) // ~Zombie~
CreateCreature("ZOMBIE_C",[2586.1956],0) // ~Zombie~
SetGlobalTimer("AYSpawnTimerAR01230","AR0123",AY_SPAWN_TIMER)
SetGlobalTimer("AYSpawnTimerAR01230","%Undercity%",AY_SPAWN_TIMER)
END

IF
Range([PC],60)
LevelPartyLT(2)
Global("AYSpawnResetAR01230","AR0123",0)
Global("AYSpawnRandomSetAR01230_2","AR0123",1)
Global("AYSpawnResetAR01230","%Undercity%",0)
Global("AYSpawnRandomSetAR01230_2","%Undercity%",1)
THEN
RESPONSE #100
SetGlobal("AYSpawnResetAR01230","AR0123",1)
SetGlobal("AYSpawnResetAR01230","%Undercity%",1)
CreateCreature("SKELET_C",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_C",[2586.1956],0) // ~Skeleton~
SetGlobalTimer("AYSpawnTimerAR01230","AR0123",AY_SPAWN_TIMER)
SetGlobalTimer("AYSpawnTimerAR01230","%Undercity%",AY_SPAWN_TIMER)
END

IF
Range([PC],60)
LevelPartyGT(1)
LevelPartyLT(3)
Global("AYSpawnResetAR01230","AR0123",0)
Global("AYSpawnRandomSetAR01230_2","AR0123",1)
Global("AYSpawnResetAR01230","%Undercity%",0)
Global("AYSpawnRandomSetAR01230_2","%Undercity%",1)
THEN
RESPONSE #100
SetGlobal("AYSpawnResetAR01230","AR0123",1)
SetGlobal("AYSpawnResetAR01230","%Undercity%",1)
CreateCreature("SKELET_C",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_C",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_C",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_C",[2586.1956],0) // ~Skeleton~
SetGlobalTimer("AYSpawnTimerAR01230","AR0123",AY_SPAWN_TIMER)
SetGlobalTimer("AYSpawnTimerAR01230","%Undercity%",AY_SPAWN_TIMER)
END

IF
Range([PC],60)
LevelPartyGT(2)
Global("AYSpawnResetAR01230","AR0123",0)
Global("AYSpawnRandomSetAR01230_2","AR0123",1)
Global("AYSpawnResetAR01230","%Undercity%",0)
Global("AYSpawnRandomSetAR01230_2","%Undercity%",1)
THEN
RESPONSE #100
SetGlobal("AYSpawnResetAR01230","AR0123",1)
SetGlobal("AYSpawnResetAR01230","%Undercity%",1)
CreateCreature("SKELET_C",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_C",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_C",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_C",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_C",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_C",[2586.1956],0) // ~Skeleton~
SetGlobalTimer("AYSpawnTimerAR01230","AR0123",AY_SPAWN_TIMER)
SetGlobalTimer("AYSpawnTimerAR01230","%Undercity%",AY_SPAWN_TIMER)
END

IF
Range([PC],60)
LevelPartyLT(2)
Global("AYSpawnResetAR01230","AR0123",0)
Global("AYSpawnRandomSetAR01230_1","AR0123",1)
Global("AYSpawnResetAR01230","%Undercity%",0)
Global("AYSpawnRandomSetAR01230_1","%Undercity%",1)
THEN
RESPONSE #100
SetGlobal("AYSpawnResetAR01230","AR0123",1)
SetGlobal("AYSpawnResetAR01230","%Undercity%",1)
CreateCreature("SKELET_B",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_B",[2586.1956],0) // ~Skeleton~
SetGlobalTimer("AYSpawnTimerAR01230","AR0123",AY_SPAWN_TIMER)
SetGlobalTimer("AYSpawnTimerAR01230","%Undercity%",AY_SPAWN_TIMER)
END

IF
Range([PC],60)
LevelPartyGT(1)
LevelPartyLT(3)
Global("AYSpawnResetAR01230","AR0123",0)
Global("AYSpawnRandomSetAR01230_1","AR0123",1)
Global("AYSpawnResetAR01230","%Undercity%",0)
Global("AYSpawnRandomSetAR01230_1","%Undercity%",1)
THEN
RESPONSE #100
SetGlobal("AYSpawnResetAR01230","AR0123",1)
SetGlobal("AYSpawnResetAR01230","%Undercity%",1)
CreateCreature("SKELET_B",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_B",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_B",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_B",[2586.1956],0) // ~Skeleton~
SetGlobalTimer("AYSpawnTimerAR01230","AR0123",AY_SPAWN_TIMER)
SetGlobalTimer("AYSpawnTimerAR01230","%Undercity%",AY_SPAWN_TIMER)
END

IF
Range([PC],60)
LevelPartyGT(2)
Global("AYSpawnResetAR01230","AR0123",0)
Global("AYSpawnRandomSetAR01230_1","AR0123",1)
Global("AYSpawnResetAR01230","%Undercity%",0)
Global("AYSpawnRandomSetAR01230_1","%Undercity%",1)
THEN
RESPONSE #100
SetGlobal("AYSpawnResetAR01230","AR0123",1)
SetGlobal("AYSpawnResetAR01230","%Undercity%",1)
CreateCreature("SKELET_B",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_B",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_B",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_B",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_B",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_B",[2586.1956],0) // ~Skeleton~
SetGlobalTimer("AYSpawnTimerAR01230","AR0123",AY_SPAWN_TIMER)
SetGlobalTimer("AYSpawnTimerAR01230","%Undercity%",AY_SPAWN_TIMER)
END

IF
Range([PC],60)
LevelPartyLT(2)
Global("AYSpawnResetAR01230","AR0123",0)
Global("AYSpawnRandomSetAR01230_0","AR0123",1)
Global("AYSpawnResetAR01230","%Undercity%",0)
Global("AYSpawnRandomSetAR01230_0","%Undercity%",1)
THEN
RESPONSE #100
SetGlobal("AYSpawnResetAR01230","AR0123",1)
SetGlobal("AYSpawnResetAR01230","%Undercity%",1)
CreateCreature("SKELET_A",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_A",[2586.1956],0) // ~Skeleton~
SetGlobalTimer("AYSpawnTimerAR01230","AR0123",AY_SPAWN_TIMER)
SetGlobalTimer("AYSpawnTimerAR01230","%Undercity%",AY_SPAWN_TIMER)
END

IF
Range([PC],60)
LevelPartyGT(1)
LevelPartyLT(3)
Global("AYSpawnResetAR01230","AR0123",0)
Global("AYSpawnRandomSetAR01230_0","AR0123",1)
Global("AYSpawnResetAR01230","%Undercity%",0)
Global("AYSpawnRandomSetAR01230_0","%Undercity%",1)
THEN
RESPONSE #100
SetGlobal("AYSpawnResetAR01230","AR0123",1)
SetGlobal("AYSpawnResetAR01230","%Undercity%",1)
CreateCreature("SKELET_A",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_A",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_A",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_A",[2586.1956],0) // ~Skeleton~
SetGlobalTimer("AYSpawnTimerAR01230","AR0123",AY_SPAWN_TIMER)
SetGlobalTimer("AYSpawnTimerAR01230","%Undercity%",AY_SPAWN_TIMER)
END

IF
Range([PC],60)
LevelPartyGT(2)
Global("AYSpawnResetAR01230","AR0123",0)
Global("AYSpawnRandomSetAR01230_0","AR0123",1)
Global("AYSpawnResetAR01230","%Undercity%",0)
Global("AYSpawnRandomSetAR01230_0","%Undercity%",1)
THEN
RESPONSE #100
SetGlobal("AYSpawnResetAR01230","AR0123",1)
SetGlobal("AYSpawnResetAR01230","%Undercity%",1)
CreateCreature("SKELET_A",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_A",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_A",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_A",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_A",[2586.1956],0) // ~Skeleton~
CreateCreature("SKELET_A",[2586.1956],0) // ~Skeleton~
SetGlobalTimer("AYSpawnTimerAR01230","AR0123",AY_SPAWN_TIMER)
SetGlobalTimer("AYSpawnTimerAR01230","%Undercity%",AY_SPAWN_TIMER)
END

IF
Expand All @@ -242,25 +242,25 @@ IF
!Range("SKELET_C",60)

!Range("ZOMBIE_C",60)
Global("AYSpawnResetAR01230","AR0123",1)
GlobalTimerExpired("AYSpawnTimerAR01230","AR0123")
Global("AYSpawnResetAR01230","%Undercity%",1)
GlobalTimerExpired("AYSpawnTimerAR01230","%Undercity%")
THEN
RESPONSE #100
SetGlobal("AYSpawnResetAR01230","AR0123",0)
SetGlobal("AYSpawnRandomBeenSetAR01230","AR0123",0)
SetGlobal("AYSpawnRandomSetAR01230_3","AR0123",0)
SetGlobal("AYSpawnRandomSetAR01230_2","AR0123",0)
SetGlobal("AYSpawnRandomSetAR01230_1","AR0123",0)
SetGlobal("AYSpawnRandomSetAR01230_0","AR0123",0)
SetGlobal("AYSpawnResetAR01230","%Undercity%",0)
SetGlobal("AYSpawnRandomBeenSetAR01230","%Undercity%",0)
SetGlobal("AYSpawnRandomSetAR01230_3","%Undercity%",0)
SetGlobal("AYSpawnRandomSetAR01230_2","%Undercity%",0)
SetGlobal("AYSpawnRandomSetAR01230_1","%Undercity%",0)
SetGlobal("AYSpawnRandomSetAR01230_0","%Undercity%",0)
END

IF
Range([PC],60)
Global("AYSpawnResetAR01230","AR0123",0)
Global("AYSpawnResetAR01230","%Undercity%",0)
THEN
RESPONSE #100
SetGlobal("AYSpawnResetAR01230","AR0123",1)
SetGlobal("AYSpawnResetAR01230","%Undercity%",1)
CreateCreature("SKELET_A",[2586.1956],0) // ~Skeleton~
SetGlobalTimer("AYSpawnTimerAR01230","AR0123",AY_SPAWN_TIMER)
SetGlobalTimer("AYSpawnTimerAR01230","%Undercity%",AY_SPAWN_TIMER)
END

0 comments on commit edb002c

Please sign in to comment.