Is there any place where we can share our commands, events and custom gametypes or just post them in this thread?
Here is what I made yesterday, just some simple weapon/vehicle spawn commands:
Example use:
Code:
/givehog 1 -> gives player 1 a hog and puts him in the drivers seat
/giverox 1 -> gives player 1 a rocket lauchner if he has less that 4 weapons
/spawnhog 1 -> spawns a hog at players 1's location
/spawnrox 1 -> spawns a rocket launcher at player 1's location
Commands:
Code:
givehog #n 'spawn vehi "vehicles\warthog\mp_warthog" #n; venter #n' 4
giverhog #n 'spawn vehi "vehicles\rwarthog\rwarthog" #n; venter #n' 4
giveturret #n 'spawn vehi "vehicles\c gun turret\c gun turret_mp" #n; venter #n' 4
giveghost #n 'spawn vehi "vehicles\ghost\ghost_mp" #n; venter #n' 4
giveshee #n 'spawn vehi "vehicles\banshee\banshee_mp" #n; venter #n' 4
givetank #n 'spawn vehi "vehicles\scorpion\scorpion_mp" #n; venter #n' 4
giverox #n 'spawn weap "weapons\rocket launcher\rocket launcher" #n; wadd #n' 4
givesnipe #n 'spawn weap "weapons\sniper rifle\sniper rifle" #n; wadd #n' 4
givefrg #n 'spawn weap "weapons\plasma_cannon\plasma_cannon" #n; wadd #n' 4
giveshotgun #n 'spawn weap "weapons\shotgun\shotgun" #n;wadd #n;ammo #n 24' 4
givepistol #n 'spawn weap "weapons\pistol\pistol" #n; wadd #n' 4
giveneedler #n 'spawn weap "weapons\needler\mp_needler" #n; wadd #n' 4
giveprifle #n 'spawn weap "weapons\plasma rifle\plasma rifle" #n; wadd #n' 4
givear #n 'spawn weap "weapons\assault rifle\assault rifle" #n; wadd #n' 4
giveflamer #n 'spawn weap "weapons\flamethrower\flamethrower" #n; wadd #n' 4
giveppistol #n 'spawn weap "weapons\plasma pistol\plasma pistol" #n; wadd #n' 4
spawnshee #n 'spawn vehi "vehicles\banshee\banshee_mp" #n' 4
spawntank #n 'spawn vehi "vehicles\scorpion\scorpion_mp" #n' 4
spawnhog #n 'spawn vehi "vehicles\warthog\mp_warthog" #n' 4
spawnrhog #n 'spawn vehi "vehicles\rwarthog\rwarthog" #n' 4
spawnturret #n 'spawn vehi "vehicles\c gun turret\c gun turret_mp" #n' 4
spawnghost #n 'spawn vehi "vehicles\ghost\ghost_mp" #n' 4
spawnvehicles #n 'spawnshee #n;spawntank #n;spawnhog #n;spawnrhog #n;spawnturret #n;spawnghost #n' 4
spawnrox #n 'spawn weap "weapons\rocket launcher\rocket launcher" #n' 4
spawnsnipe #n 'spawn weap "weapons\sniper rifle\sniper rifle" #n' 4
spawnfrg #n 'spawn weap "weapons\plasma_cannon\plasma_cannon" #n' 4
spawnshotgun #n 'spawn weap "weapons\shotgun\shotgun" #n' 4
spawnpistol #n 'spawn weap "weapons\pistol\pistol" #n' 4
spawnneedler #n 'spawn weap "weapons\needler\mp_needler" #n' 4
spawnprifle #n 'spawn weap "weapons\plasma rifle\plasma rifle" #n' 4
spawnar #n 'spawn weap "weapons\assault rifle\assault rifle" #n' 4
spawnflamer #n 'spawn weap "weapons\flamethrower\flamethrower" #n' 4
spawnppistol #n 'spawn weap "weapons\plasma pistol\plasma pistol" #n' 4
spawnweapons #n 'spawnrox #n;spawnsnipe #n;spawnfrg #n;spawnshotgun #n;spawnpistol #n;spawnneedler #n;spawnprifle #n;spawnar #n;spawnflamer #n;spawnppistol #n' 4
spawnhp #n 'spawn eqip "powerups\health pack" #n' 4
spawncamo #n 'spawn eqip "powerups\active camouflage" #n' 4
spawnos #n 'spawn eqip "powerups\over shield" #n' 4
spawnsticky #n 'spawn eqip "weapons\plasma grenade\plasma grenade" #n' 4
spawnfrag #n 'spawn eqip "weapons\frag grenade\frag grenade" #n' 4
spawnnades #n 'spawnfrag #n;spawnfrag #n;spawnfrag #n;spawnfrag #n;spawnsticky #n;spawnsticky #n;spawnsticky #n;spawnsticky #n;' 4
spawnpus #n 'spawnhp #n;spawncamo #n;spawnos #n' 4
spawnall #n 'spawnweapons #n;spawnpus #n;spawnnades #n;spawnvehicles #n' 4
And now a question. I want to make a simple gun game. Where you start with the weakest weapon and for every kill you get a better one.
This is hiw far I am right now. Not tested if it works though:
Code:
event_spawn $mode:Accumulate $map:bloodgulch $kills<1 'nades $n 0 0;wdel $n 0;wait 50; giveppistol $n;w8 2;say $n "Welcome to Gun Game. Kill players to earn better weapons."'
event_kill $mode:Accumulate $map:bloodgulch $kills=1 'nades $n 0 0;wdel $n 0;wait 50; giveprifle $n;w8 1;say * "$name has earned a Plasma Rifle."'
event_spawn $mode:Accumulate $map:bloodgulch $kills=1 'nades $n 0 0;wdel $n 0;wait 50; giveprifle $n'
event_kill $mode:Accumulate $map:bloodgulch $kills=2 'nades $n 0 0;wdel $n 0;wait 50; givear $n;w8 1;say * "$name has earned an AR."'
event_spawn $mode:Accumulate $map:bloodgulch $kills=2 'nades $n 0 0;wdel $n 0;wait 50; givear $n'
event_kill $mode:Accumulate $map:bloodgulch $kills=3 'nades $n 0 0;wdel $n 0;wait 50; giveshotgun $n;ammo $n 24;w8 1;say * "$name has earned a Shotgun."'
event_spawn $mode:Accumulate $map:bloodgulch $kills=3 'nades $n 0 0;wdel $n 0;wait 50; giveshotgun $n;ammo $n 24'
event_kill $mode:Accumulate $map:bloodgulch $kills=4 'nades $n 0 0;wdel $n 0;wait 50; givepistol $n;w8 1;say * "$name has earned a Pistol."'
event_spawn $mode:Accumulate $map:bloodgulch $kills=4 'nades $n 0 0;wdel $n 0;wait 50; givepistol $n'
event_kill $mode:Accumulate $map:bloodgulch $kills=5 'nades $n 0 0;wdel $n 0;wait 50; giveflamer $n;w8 1;say * "$name has earned a Flamer."'
event_spawn $mode:Accumulate $map:bloodgulch $kills=5 'nades $n 0 0;wdel $n 0;wait 50; giveflamer $n'
event_kill $mode:Accumulate $map:bloodgulch $kills=6 'nades $n 0 0;wdel $n 0;wait 50; giverox $n;w8 1;say * "$name has earned a Rocket Launcher."'
event_spawn $mode:Accumulate $map:bloodgulch $kills=6 'nades $n 0 0;wdel $n 0;wait 50; giverox $n'
event_kill $mode:Accumulate $map:bloodgulch $kills=7 'nades $n 0 0;wdel $n 0;wait 50; givesnipe $n;w8 1;say * "$name has earned a Sniper Rifle."'
event_spawn $mode:Accumulate $map:bloodgulch $kills=7 'nades $n 0 0;wdel $n 0;wait 50; givesnipe $n'
event_kill $mode:Accumulate $map:bloodgulch $kills=8 'nades $n 0 0;wdel $n 0;wait 50; givefrg $n;w8 1;say * "$name has earned a FRG."'
event_spawn $mode:Accumulate $map:bloodgulch $kills=8 'nades $n 0 0;wdel $n 0;wait 50; givefrg $n'
event_kill $mode:Accumulate $map:bloodgulch $kills=9 'nades $n 0 0;wdel $n 0;wait 50; giveneedler $n;w8 1;say * "$name has earned a Needler jajajaja."'
event_spawn $mode:Accumulate $map:bloodgulch $kills=9 'nades $n 0 0;wdel $n 0;wait 50; giveneedler $n'
My question: Is there any way to despawn all weapons from the map? So that players only have what the server gives them and can't pickup the weapons that spawn on the map by default? The only thing that comes to my mind is replacing all weapons by a shotgun and then use the disable command to disable the shotgun. But that's not really what I want.
Bookmarks