Cloak rune is like the ring of shadows except when the owner shots or is shot they are seen.
vweps and ring of shadows work fine together, but with cloak rune the owner should become hidden (with eyes.mdl) instead you see this below
which seems to be using the default quakeworld skin instead of the eyes.mdl
the current vweps.c for tw 6 is here
currently the cloak rune code incombat.cis:
Code: Select all
// ThunderWalker: De-cloak if hurt
if (targ.twrune & Cloaking_Rune)
{
if (targ.floyd == 1)
{
sound (targ, CHAN_ITEM, "tw/twcloak2.wav", 1, ATTN_NORM);
targ.floyd = 2;
}
setmodel (targ, "progs/player.mdl");
targ.bippy = time + 4.5;
targ.gene = time + 6.5;
targ.jimmy = 2;
}
// react to the damage
oldself = self;
self = targ;
if (self.th_pain)
{
self.th_pain (attacker, take);
}
self = oldself;
Code: Select all
// ThunderWalker: Handles whether you should be visible or not with cloaking rune
if (self.twrune & Cloaking_Rune)
{
if (time > self.bippy)
{
if (time < self.gene)
{
stuffcmd (self, "bf\n");
}
if (self.jimmy == 2)
{
sound (self, CHAN_ITEM, "tw/twcloak.wav", 1, ATTN_NORM);
self.jimmy = 1;
}
setmodel (self, "progs/eyes.mdl");
self.floyd = 1;
}
Doc one of our coders tried adding two different codes to fix this but both were not able to correct the problem.
First try: This one removed the weapon models but you still saw the player with the base skin
Code: Select all
if (self.model == "progs/eyes.mdl");
{
self.vw_index = 0;
return;
}
Code: Select all
if (self.floyd == 1)
{
self.vw_index = 0;
return;
}
All the latest TW 6 code is available here