Jump to content

Home

Saber touch questions


ArkAngel

Recommended Posts

Hi all, I am working on a little project :), and I was wondering is it possible to use the saber burning a person to trigger an event? Eg. I touch person A with my saber, I trigger an event.

I tried looking around in the w_saber.c code, and so far all I found is this:

 

else if (self->client->ps.saberIdleWound < level.time)

{ //just touching, do minimal damage and only check for it every 200ms (mainly to cut down on network traffic for hit events)

dmg = SABER_NONATTACK_DAMAGE;

idleDamage = qtrue;

 

is this the part I should edit?

 

And another question how do I disable the activation of sabers, as in the player will have the saber, but he cannot on it.

 

Thanks for the help in advance....

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...