View Full Version : Two questions
11-24-2004, 07:04 AM
OK my problem is now slved, but I've two question :
-Ive already have this work, but how make a weapon dismember the target when it die (it already dismember, but the part I want, like the head, ..., but I want dismember the arm, if I hit the arm, ...)
-How to remove black marks when hit a wall (in cgame I think)
Thx for your answers
11-24-2004, 11:11 AM
1. Check out the g_dismember code and work it back from there.
2. Do you mean for a certain weapon or for all weapons?
11-24-2004, 12:30 PM
1. OK It work, I've found G_CheckForDismember, it work
2. I mean for all weapons
11-24-2004, 03:47 PM
If you're just trying to remove black marks, and not sparks or explosions from the weapon impacting the wall, you're just dealing with .EFX files.
Dig around in the weapons wall imact or explosion .EFX files in one of the assetts pk3's for each weapon and find the BURNMARK shaders in the EFX file. They should be labeled as a DECAL. remove em from the file.
11-24-2004, 10:28 PM
ok thx you
but another question? where can I add a permanent force power (you must have it, and have only one level, always here)
What I must add? in w_force.c I think..
11-25-2004, 09:02 AM
You'll need to add that somewhere to the clientspawn function in g_client.c
vBulletin®, Copyright ©2000-2013, Jelsoft Enterprises Ltd.