Posted by Aristeus on January 15, 1998 at 15:28:11:
Greetings,
I had previously posted this, but it disappeared(see "What the?" below &
responses). Anyway, I'm trying to create a hall-of-mirrors, and I need
to find a command to get the saber # from resource/misc/sabers.dat or
else the material for the saber(saber[color]0.mat or saber[color]1.mat)
from the currently wielded saber for the effect to work. I've got the
body taken care of with GetThingModel(player), but the saber itself seems
to be handled by jk.exe.
Is there a command that can retrieve either of these? All of the other
weapons have 3do elements of their own, but the saber just has Kyle's hand
and the handle, so I can use jkSetSaberInfo(player, side mat, tip mat, v1,
v2, v3, wall_hit, flesh_hit, saber_hit); [I put that in for those of you
who haven't seen the command before. So far as I can tell, (v1, v2, v3) are
the equivalent of jkSetWaggle in x,y,z format]. But this only works if I
want to force the player to use a specific saber color. I'd rather duplicate
the effect using the saber he/she chose in the first place.
Thank you for any replies.