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
alexx
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?
1. OK It work, I've found G_CheckForDismember, it work
2. I mean for all weapons
thxx
alexx
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.
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..
You'll need to add that somewhere to the clientspawn function in g_client.c