AddToPackageMap -> exec directive

This commit is contained in:
Shtoyan 2022-02-25 16:55:54 +04:00
parent 665e19303b
commit ff332c3140

View File

@ -1,6 +1,12 @@
class NicePack extends Mutator
dependson(NiceStorageServer)
config(NicePack);
#exec OBJ LOAD FILE=NicePackA.ukx
#exec OBJ LOAD FILE=NicePackSM.usx
#exec OBJ LOAD FILE=NicePackSnd.uax
#exec OBJ LOAD FILE=NicePackT.utx
// Should we scale health off all zeds to 6-player level?
var config bool bScaleZedHealth;
// Should we replace all pickups with their Nice versions when available?
@ -157,10 +163,6 @@ function PreBeginPlay()
super.PreBeginPlay();
foreach AllActors(Class'ZombieVolume', ZV)
ZV.MinDistanceToPlayer = minimalSpawnDistance;
AddToPackageMap("NicePackA.ukx");
AddToPackageMap("NicePackSM.usx");
AddToPackageMap("NicePackSnd.uax");
AddToPackageMap("NicePackT.utx");
}
simulated function PostBeginPlay()