[ZM] Starting Points 25,000 and Every Five Rounds to be Rewarded 3,500 Points!
BO2 Modding Support & Discussion
1
Posts
1
Posters
26
Views
1
Watching
-
To add this script first copy n' paste this code into Notepad++ then save it as a ".txt" after edit the change ".txt" to ".gsc" -- if you don't know how to do that open up a random folder look for "View" at the top and click it. A drop down menu should appear and you'll see "Show" at the bottom, click it and you'll see "File name extension" and should be able to change ".txt" to ".gsc"
--You can name the file whatever you want, just make sure it ends with ".gsc"
After the File name extension change add the ".gsc" to the Plutonium folders by:
Win + R and Run "%localappdata%" then search for "Plutonium" and go the folders as shown: Local/Plutonium/storage/t6/scripts/zm#include common_scripts\utility; #include maps\mp\_utility; init() { level thread onPlayerConnect(); level thread onRoundStartBonus(); // Global round start tracking } // Give every player 25,000 when they spawn for the first time onPlayerConnect() { for (;;) { level waittill("connected", player); player thread giveStartingPoints(); } } giveStartingPoints() { self endon("disconnect"); level endon("game_ended"); self waittill("spawned_player"); if (!isDefined(self.got_starting_points)) { self.got_starting_points = true; self.score = 25000; self IPrintLnBold("Starting Points: 25,000"); } } // Reward +3,500 at the start of every 5th round onRoundStartBonus() { level endon("game_ended"); for (;;) { level waittill("start_of_round"); roundNumber = level.round_number; // Check if this round is a multiple of 5 (5, 10, 15, etc.) if (roundNumber % 5 == 0) { foreach (player in level.players) { if (isDefined(player)) { player.score += 3500; player IPrintLnBold("Round " + roundNumber + ": Bonus +3,500 Points!"); } } } } }