Page 1 of 1

GunGame 5 Current level leader

PostPosted: Thu Nov 27, 2008 12:59 am
by Shadow_42_
I was wondering if someone could make a script for GunGame 5 so that when someone gets 10 levels from winning it will play a sound (something like "10 rounds remaining" I could make the sounds)

And I could maybe switch it from 10 to 5 or something and have multiple ones. like 10 round remaining then 5 rounds remaining.

Sorry if that doesn't make sense

PostPosted: Thu Nov 27, 2008 7:20 am
by Warren
I have this script completed as far as it can be for now.

I am awaiting a method of adding custom sounds via gungamelib. Once I can do so, I will post the script.

Of course we could add sounds normally, but it would be a lot cleaner if we wait until this is possible, as most aspects of GunGame5 Custom Addons should be handled through gungamelib.

PostPosted: Thu Nov 27, 2008 10:18 pm
by Shadow_42_
ok I understand

PostPosted: Thu Dec 04, 2008 5:14 pm
by bytethegroove
this is a great idea.....maybe even like last 10 levels...last 5levels....then when on knife level...

PostPosted: Thu Dec 04, 2008 6:24 pm
by Warren
We already have a warning for when players get on knife and hegrenade level.
../cfg/gungame5/gg_en_config.cfg wrote://=========================================================
// LEADER WEAPON WARNING
//=========================================================
// This variable controls whether or not a sound will be played at the start
// of a round announcing that a player is on either the "hegrenade" or "knife"
// level.
//
// Options: 0 = Disabled
// 1 = Enabled

gg_leaderweapon_warning 1