User Tools

Site Tools


scripting:books_of_scripts:creature_generator

Creature Generator

This script will generate creatures randomly within a certain range from a list of creature families you give it.

Clarification
UID numbers should be in the format - UID 184467####4187468629; (# replace with random number)
CreatureFamilies[] :
The number entered between the [] needs to be increased by one for each new family added.
The definition entered between the “” can be obtained from the decompiled names file.

NewThing Marker;
Player -1;
UID 18446790104187468629;
DefinitionType "MARKER_CREATURE_GENERATOR";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent TRUE;
StartCTCPhysicsStandard;
PositionX 55.339844;
PositionY 60.976074;
PositionZ 34.526314;
RHSetForwardX 0.0;
RHSetForwardY 0.999994;
RHSetForwardZ 0.0;
RHSetUpX 0.0;
RHSetUpY 0.0;
RHSetUpZ 0.999994;
EndCTCPhysicsStandard;
StartCTCEditor;
EndCTCEditor;
StartCTCCreatureGenerator;
CreatureFamilies[0] "NYMPH_ICE_FAMILY_01";
CreatureFamilies[1] "UNDEAD_FAMILY_02";
GenerationRadius 19.0;
SelfTriggerRadius 1.0;
SelfTrigger FALSE;
SelfTriggerResetInterval 0;
TriggerOnActivate TRUE;
ActiveCreatureLimit -1;
TotalGenerationLimit -1;
NumTriggers -1;
ScriptNameOfAllGeneratedCreatures "";
EndCTCCreatureGenerator;
StartCTCActivationReceptorCreatureGenerator;
DeactivateAfterSetTime TRUE;
FramesAfterActivationToDeactivate 150;
ActivateOnActivate FALSE;
TriggerOnActivate TRUE;
EndCTCActivationReceptorCreatureGenerator;
StartCTCActivationTrigger;
ReceptorUID 0;
EndCTCActivationTrigger;
StartCTCCreatureGeneratorCreator;
EndCTCCreatureGeneratorCreator;
Health 1.0;
EndThing;
scripting/books_of_scripts/creature_generator.txt · Last modified: 2006/01/15 02:57 (external edit)