summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d
diff options
context:
space:
mode:
Diffstat (limited to 'TemplePushing.c4s/CliffPushing.c4d/Rules.c4d')
-rw-r--r--TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/MagicSpawnpoints.c4d/MagicSpawnpoint.c4d/Script.c11
-rw-r--r--TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/MagicSpawnpoints.c4d/Names.txt2
-rw-r--r--TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/MagicSpawnpoints.c4d/Script.c5
-rw-r--r--TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/Spawnpoints.c4d/Script.c5
-rw-r--r--TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/Spawnpoints.c4d/Spawnpoint.c4d/Script.c7
5 files changed, 9 insertions, 21 deletions
diff --git a/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/MagicSpawnpoints.c4d/MagicSpawnpoint.c4d/Script.c b/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/MagicSpawnpoints.c4d/MagicSpawnpoint.c4d/Script.c
index 4466a3a..1f93fc8 100644
--- a/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/MagicSpawnpoints.c4d/MagicSpawnpoint.c4d/Script.c
+++ b/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/MagicSpawnpoints.c4d/MagicSpawnpoint.c4d/Script.c
@@ -1,4 +1,4 @@
-/*-- Magic Spawnpoint --*/
+/*-- Spawnpoint --*/
#strict
@@ -8,7 +8,7 @@ func IsWaypoint() { return(1); }
global func PlaceSpawnpoint(id idObj, int iX, int iY, int timer)
{
- var spwn = CreateObject(MSPN, iX, iY, -1);
+ var spwn = CreateObject(SPNP, iX, iY, -1);
spwn->CreateContents(idObj);
if(timer)
spwn->LocalN("spawntimer") = timer;
@@ -17,8 +17,7 @@ global func PlaceSpawnpoint(id idObj, int iX, int iY, int timer)
protected func Initialize()
{
- if(Random(14)) WpID=SCRL;
- else WpID=OGBT;
+ WpID = [SCRL];
// Standardtimer = 1000 Frames
spawntimer = 1000;
SetClrModulation(RGBa(0,0,0,255));
@@ -36,7 +35,7 @@ protected func Timer()
// Kein Inhalt?
if(!Contents())
{
- return(CreateContents(WpID));
+ return(CreateContents(WpID[Random(GetLength(WpID))]));
}
// Tolle Effekt starten
angle += 10;
@@ -134,7 +133,7 @@ public func RejectEntrance(object pClonk)
return(1);
Collect(pObj, pClonk);
- CreateContents(WpID);
+ CreateContents(WpID[Random(GetLength(WpID))]);
Initialized();
if(Contained(pObj) == this()) RemoveObject(pObj);
else
diff --git a/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/MagicSpawnpoints.c4d/Names.txt b/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/MagicSpawnpoints.c4d/Names.txt
index 9d875f8..26991ea 100644
--- a/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/MagicSpawnpoints.c4d/Names.txt
+++ b/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/MagicSpawnpoints.c4d/Names.txt
@@ -1,2 +1,2 @@
-DE:Magischer Spawnpunktspawner
+DE:Magische Spawnpunktspawner
US:Magic Spawnpoint Spawner
diff --git a/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/MagicSpawnpoints.c4d/Script.c b/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/MagicSpawnpoints.c4d/Script.c
index d1e7b39..0de4e94 100644
--- a/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/MagicSpawnpoints.c4d/Script.c
+++ b/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/MagicSpawnpoints.c4d/Script.c
@@ -9,7 +9,6 @@ protected func Activate(iPlr) {
func Initialize()
{
SetGamma(RGB(5,5,10),RGB(80,80,150),RGB(200,200,255));
- RemoveAll(SPNP);
CreateObject(MSPN,550,282);
CreateObject(MSPN,603,205);
CreateObject(MSPN,682,282);
@@ -21,9 +20,5 @@ func Initialize()
CreateObject(MSPN,170,118);
CreateObject(MSPN,299,170);
CreateObject(MSPN,435,230);
- CreateObject(MSPN,1175,290);
- CreateObject(MSPN,105,380);
- CreateObject(MSPN,910,400);
- CreateObject(MSPN,560,610);
return(1);
} \ No newline at end of file
diff --git a/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/Spawnpoints.c4d/Script.c b/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/Spawnpoints.c4d/Script.c
index a762af8..f1c3a97 100644
--- a/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/Spawnpoints.c4d/Script.c
+++ b/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/Spawnpoints.c4d/Script.c
@@ -8,7 +8,6 @@ protected func Activate(iPlr) {
func Initialize()
{
- RemoveAll(MSPN);
CreateObject(SPNP,550,282);
CreateObject(SPNP,603,205);
CreateObject(SPNP,682,282);
@@ -20,9 +19,5 @@ func Initialize()
CreateObject(SPNP,170,118);
CreateObject(SPNP,299,170);
CreateObject(SPNP,435,230);
- CreateObject(SPNP,1175,290);
- CreateObject(SPNP,105,380);
- CreateObject(SPNP,910,400);
- CreateObject(SPNP,560,610);
return(1);
} \ No newline at end of file
diff --git a/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/Spawnpoints.c4d/Spawnpoint.c4d/Script.c b/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/Spawnpoints.c4d/Spawnpoint.c4d/Script.c
index 6172d25..c4ec93a 100644
--- a/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/Spawnpoints.c4d/Spawnpoint.c4d/Script.c
+++ b/TemplePushing.c4s/CliffPushing.c4d/Rules.c4d/Spawnpoints.c4d/Spawnpoint.c4d/Script.c
@@ -17,10 +17,9 @@ global func PlaceSpawnpoint(id idObj, int iX, int iY, int timer)
protected func Initialize()
{
- if(Random(4)) WpID = [FLNT,SCRL,SFLN,ROCK];
- else WpID = [EFLN,STFN,FBMP];
- // Standardtimer = 750 Frames
- spawntimer = 750;
+ WpID = [FLNT,SCRL,AXE1,TFLN,COKI,SFLN,PMON,PSTO,EFLN,FBMP,SWOR];
+ // Standardtimer = 600 Frames
+ spawntimer = 600;
SetClrModulation(RGBa(0,0,0,255));
}