summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modLoader/main.gsc31
-rw-r--r--modLoader/mods.gsc8
2 files changed, 27 insertions, 12 deletions
diff --git a/modLoader/main.gsc b/modLoader/main.gsc
index a460923..4c228c0 100644
--- a/modLoader/main.gsc
+++ b/modLoader/main.gsc
@@ -21,26 +21,27 @@ modLoader(p, l)
flag_wait( "initial_blackscreen_passed" ); //
////////////////////////////////////////////////////////////////////////
- // Player has 9 lifes in afterlife
- // catHas9Lifes(p, 9);
-
+ /*
+ * General Mods
+ */
+
// Player is invincible
// godMode(p);
// Unlimited ammo
// thread unlimitedAmmo(p);
-
- // Sets the player camera to third person
- // playThirdPerson(p, true);
-
+
// Set initial player points
// setPlayerPoints(p, 500);
- // Mod sets a custom perk limit
- // thread setPerkLimit(l, 12);
-
// Mod that sets the box price
// setBoxPrice(l, 950);
+
+ // Mod sets a custom perk limit
+ // thread setPerkLimit(l, 12);
+
+ // Sets the player camera to third person
+ // playThirdPerson(p, true);
// Mod that adds a zombie counter to the bottom of the screen
// thread zombieCounter(p, l, 0, 190);
@@ -53,7 +54,14 @@ modLoader(p, l)
// thread zombieCounter(p, l, 100, 190);
// Gives all the perks available in the map to the player
- // perkaholic(p, l, true);
+ // thread perkaholic(p, l, true);
+
+ /*
+ * MotD Mods
+ */
+
+ // Player has 9 lifes in afterlife
+ // catHas9Lifes(p, 9);
}
init()
@@ -80,3 +88,4 @@ onPlayerSpawned()
modLoader(self, level);
}
}
+
diff --git a/modLoader/mods.gsc b/modLoader/mods.gsc
index f6f8b58..489db9e 100644
--- a/modLoader/mods.gsc
+++ b/modLoader/mods.gsc
@@ -105,7 +105,12 @@ setBoxPrice(l, price)
*/
setPlayerPoints(p, points)
{
- p.score = points;
+ if (l.round_number == 1)
+ {
+ l waittill("start_of_round");
+ p.score = points;
+ }
+
}
/*
@@ -432,3 +437,4 @@ useCrosshairs(p)
p.dot = drawCounter(p.dot, 0, 0, "default", 1.7);
p.dot.label = &"+";
}
+