So, this script is put in a mod folder in autorun.cfg. When you run that mod, you will always start a map with a weapon (and every five seconds 1 pt of ammo of that weapon will be added) as long as you press ONCE the numpad star. Of course you can bind to other keys but, if you press MORE than once, then the loop will intensify and FPS will DROP.
Code: Select all
set NoWeapStart "wait 2"
set ShotgunStart "give shotgun; wait 5000; vstr ShotgunStart"
set GrenadeStart "give grenade launcher; wait 5000; vstr GrenadeStart"
set RocketStart "give rocket launcher; wait 5000; vstr RocketStart"
set LightningStart "give lightning gun; wait 5000; vstr LightningStart"
set RailStart "give railgun; wait 5000; vstr RailStart"
set PlasmaStart "give plasma gun; wait 5000; vstr PlasmaStart"
set BfgStart "give bfg10k; wait 5000; vstr BfgStart"
set GrapplingStart "give grappling hook; wait 5000; vstr GrapplingStart"
set sv_starterweap "vstr ShotgunStart"
bind kp_star "wait; vstr starterweap; wait"
- NoWeapStart (aka. no starter weapon)
- ShotgunStart (the default)
- GrenadeStart
- RocketStart
- LightningStart
- RailStart
- PlasmaStart
- BfgStart
- GrapplingStart
However I might still test it in my spare time.