Hi!
Would it be possible to make a non-weapon mod? To run around in the game without the knife. I guess it would, but is there someone out there that has done it already?
// Loffy
Just like ET, but without any weapons. Even knife is gone.
in g_client.c don’t assign weapons to the players
rtcw has g_knifeonly cvar afaik, check that source
I overloaded the g_knifeonly cvar in RtCW so that g_knifeonly 2 took away everyone’s weapon (inspired by this Penny Arcade strip.) I later expanded it so that higher values were a bitmask for certain weapons to give everyone (e.g. g_knifeonly 64 made everyone spawn with a venom.)
In ET, you should just be able to check whether g_knifeonly is 2 before calling ‘AddWeaponToPlayer( client, WP_KNIFE, 1, 0, qtrue );’, and update the other g_knifeonly bits in g_client.c and g_misc.c so that they’ll work with values other than 1.
@Loffy:
Just what type of gameplay do you have in mind?
May be some kind of adventure?
Hi!
Thanks for the replies.
There are two reasons behind this. A) It would be nice if a non-weapon character could be used, if I was going to show a 3D world to a non-gaming, adult audience. Let’s say I made a 3D representation of my hometown (or something similar), it would be nice just to be able to “walk around” in it without a knife in my hand. I don’t care, but non-games do. B) It would be cool to make a single player adventure, like Mario for Nintendo 64 or similar. Kind of “solve the riddle and move on”.
// Loffy
/me jumps of Goomba Loffys head and bounces to the castle on a timer with 6. que Fireworks
