View Full Version : Is it possible to. . .

Norin Radd
06-17-2002, 04:29 AM
make a mod that let's players in MP choose their own sabers. By this I mean different players on a server each having their own sabers of choice. With all the sabers being designed, I was just wondering if it could be done.:D

06-17-2002, 06:05 AM
yes it can be done

06-17-2002, 04:12 PM
how exactly?
last time i looked at the code, when the player switches to saber the server registers him as having WP_SABER weapon, with predefined model...
you can choose your hilt, but all the other players would have the same hilts from your point of view

06-17-2002, 04:38 PM
well you could create a userinfo cvar like the model one but for the hilt.
transmit it to the server in the clientinfo string ...
and finally before drawing the model on screen just intercept the model wich is going to be drawn and change it.

I tried to do that and everything is easy except the last part.
because the model is somtimes displayed as a ghoul2 glm or as a simple md3...
and i think the server can mess things up with trap_linkentity....
i think it can display directly things on your screen so...
(not sure .)