Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OnRoundStart()
- {
- \\The last number in this line is how many kills are needed for the boss to spawn.
- VariableInt.Set("killsForBoss", 70);
- \\The numbers in these three lines control where the boss will spawn.
- \\-3972.0,167.0,3802.0
- \\-3938.0,167.0,2966.0
- \\-4080.0,167.0,2437.0
- VariableFloat.Set("bossX", -3972.0);
- VariableFloat.Set("bossY", 167.0);
- VariableFloat.Set("bossZ", 3802.0);
- \\The number in this sets what type of titan the boss is.
- \\0=Normal, 1=Abberant, 2=Jumper, 3=Crawler, 4=Punk
- VariableInt.Set("bossType", 2);
- \\The number in this sets the size of the boss.
- VariableFloat.Set("bossSize", 5.0);
- \\The number in this sets the boss's HP.
- VariableInt.Set("bossHP", 5000);
- VariableInt.Set("titansDead", 0);
- }
- OnTitanDie("t","p")
- {
- VariableInt.Add("titansDead", 1);
- If(Int.Equals(VariableInt("titansDead"),VariableInt("killsForBoss")))
- {
- Titan.SpawnTitanAt(VariableInt("bossType"), VariableFloat("bossSize"), 10000, 1, VariableFloat("bossX"), VariableFloat("bossY"), VariableFloat("bossZ"));
- Titan.SpawnTitanAt(4, VariableFloat("bossSize"), VariableInt("bossHP"), 1, -3938.0, 167.0, 2966.0);
- Titan.SpawnTitanAt(VariableInt("bossType"), VariableFloat("bossSize"), 10000, 1, VariableFloat("bossX"), 167.0, 2437.0);
- Game.PrintMessage("<size=20><color=#ff3333>The_Ruggenham_Creatures_have_spawned!</color> <color=#ffffaa>Secure_the_City!</color></size>");
- }
- }
- OnChatInput("input")
- {
- If(String.Equals(VariableString("input"),"/med"))
- {
- Game.PrintMessage("<size=16><color=#ffaaaa>ATTENTION!</color> There's_a_medbay_around! Look_for_the_red_cross_and_<color=#aaffaa>touch_a_bed</color> <color=#ffffaa>Shout_MEDIC_for_a_revive!</color></size>");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement