DRD Team

Wave is not starting!

Wave is not starting!

Posted: Sun Jun 11, 2017 12:24

by Radioactive_Ninja

So, I decided to try and make a map for Stronghold (deadline), I used the editing reference and the script example to make it, however I can't seem to make wave 1 start, I've been looking all over the web to try and find a solution, but I cannot find anything, any help?

// Prison Stuff
PrisonSpot = 678; // There should be multiple teleport spots with this tid
// (Not a series of tids as in older versions!)
// Set to 0 (or don't set it at all as it is the default) if map doesn't use a prison
PrisonExit = 699;

PrisonCamStart = 691; // This is the tid of the first camera for the jail. The next 5 tids should also be cameras.
// These will be set as the cameras for the CT_1 through CT_6 textures.

PrisonTeleporterLineId = 99;

PrisonTeleporterThrustAngle = 0; // Angle the teleporter thrusts when it is off
PrisonExitThrustAngle = 128; // Angle prison exit thrusts when there are players still in game

TeleporterOnLight = 99; // This will be activated when prison teleporter is on
TeleporterOffLight = 98; // This will be activated when prison teleporter is off

// Corner A, corner b, first patrol node
// You define a zone by setting two map spots to form the opposite corners of a rectangle that will be
// the zone that monsters spawn in. The difference in height between the mapspots will also be taken into
// account to define the height of the rectangle (useful for flying enemies). The angle the monsters face
// is the angle of the first mapspot given here.
AddZone( 30, 31, 1 );

RadioName[0] = RADIO_RANDOM; // RADIO_RANDOM is default for all indexes, so this line isn't strictly needed
// RadioName[1] = RADIO_CLOUD;

// First argument is ID. Positive values correspond to the beginning of that number wave. 0 is not usable.
// Second argument tells who gives the message
WaveMessage( 2, 0, "This has only just\nstarted." );
WaveMessage( 2, 0, "get a \cishotgun \cffrom the\nsupply room!" );

AddMedicSpot ( 100 );
AddAmmoSpot ( 101 );
AddPowerupSpot ( 102 );
AddWeaponSpot ( 103 );
// There should be only one mapspot for each of these tids
// AddWeaponSpot ( 104 ); // Put another entry if you have more than one spawn point