Well, title has written
How do I remove knife when SD/DM/TDM/ZM,
and remove wrench when Cons.?
Please help me ASAP!!! Thanks for your help!!
Enjoy your CS2D
[TW2D]Razgriz Y0u allways have t0 hav atleast 1 meele wep00n.
Use teh search functi0n beforr p0stin! Admin/mod comment
no 1337 crap please. read the rules. PartyPooPer has written
Y0u allways have t0 hav atleast 1 meele wep00n.
Use teh search functi0n beforr p0stin!
I lol'd Y0u da m4sta
But you can't.. Admin/mod comment
no 1337 crap please. read the rules. 1
buy a stripper holding a Knife or wrench
you can't strip knife and wrench but you can set their damage to 0
mp_wpndmg
mp_wpndmg knife 0
mp_wpndmg wrench 0 Five has written
1
buy a stripper holding a Knife or wrench
LOL
What i found is if you have a machete in your inventory aswell as a knife you can strip the knife, BUT as soon as you drop/strip the machete The knife "Re-Equips" itself. why DC dont make fists as default weapon? as i think it is impossible to strip all weapons from a player. In an older version of the game was a bug with "spawnplayer" that spawned the player without any weapons.. But that was ugly. we can make fists as weapon 100 Never!
Knife is cool! Stop hating the knife, it will never work! Or DC could do unarmed so the player cant attack it would be great for deathrun and RP Servers. TimeQuesT has written
as i think it is impossible to strip all weapons from a player. In an older version of the game was a bug with "spawnplayer" that spawned the player without any weapons.. But that was ugly.
Still possible. Requires some tricks. Teleport with team gate should do the trick. Making the fists as a weapon would be great for mods & what not but you can still have the knife as the default weapon for all standard CS2D game mods. That way every ones happy.
This would also make CS2D more flexible mod wise. There would also be no need for any new player sprites just use the knife pose but with a blank skin & some sounds. The knife could also have a drop model too just rename the player held model "knife" to "knife_d" for example.
It would be very simple to make & its not like its one of the retarded ideas out there that would be a pain in the ass to code.
Also the knife can be stripped in a way ... just search for HaRes drop knife lua in the scripts section. The only problem with it is that there is no drop knife model so you can pick it back up again until you re spawn. What about saying and equiping?
1
2
3
4
5
6
7
8
9
addhook("say","hole")
function hole(id,txt)
	if(txt=="!knife") then
		parse("equip "..id.." 50")
	
	elseif(txt=="!wrench") then
		parse("equip "..id.." 74")
	end
end
hope you like it ::) i saw in some citylife that when the admin arrest player, the arrested player will be fully stripped, the knife and wrench will be gone, but i don't know what code was that, i try to find the codes edited 1×, last 09.08.11 12:27:42 pm
spawn_hook(id)
parse('strip '.. id ..' 74')
end
HARD?! DC Admin Offline
it's a bad idea. it's an invalid game state to have no weapon at all. it will lead to bugs and strange game behavior. don't do it. the game might explode! DC has written
the game might explode!
I'm yet to see software spontaneously combust. Do it and then take a screenshot, please.