1.0 release:
- Swap around some assets and code with Doom Tournament. - Searchlight moved to here. - Computer map and Armor bonus moved to DT. - Armor absorption priority code moved to DT. - Added Unreal crosshairs. - Fix incorrect Autocannon flash color. - Ported over Translocator ally telefrag prevention. - Fixed razor blades emitting no effects when hitting a non-bleeding enemy. - Misc. cleanup.
This commit is contained in:
parent
d784eb7a04
commit
28d0912eda
57 changed files with 49 additions and 109 deletions
|
|
@ -202,6 +202,15 @@ Class UTranslocator : UnrealWeapon
|
|||
invoker.FireEffect();
|
||||
// squeeze down new z if ceiling is in the way
|
||||
if ( (newpos.z+height > moduleceilingz) ) newpos.z = max(modulefloorz,moduleceilingz-height);
|
||||
// temporarily disable telefragging for all allies
|
||||
bool oldnotele[MAXPLAYERS];
|
||||
for ( int i=0; i<MAXPLAYERS; i++ )
|
||||
{
|
||||
if ( !playeringame[i] || !players[i].mo ) continue;
|
||||
oldnotele[i] = players[i].mo.bNOTELEFRAG;
|
||||
if ( !IsFriend(players[i].mo) ) continue;
|
||||
players[i].mo.bNOTELEFRAG = true;
|
||||
}
|
||||
if ( Warp(self,newpos.x,newpos.y,newpos.z,flags:WARPF_ABSOLUTEPOSITION|WARPF_TESTONLY) && TeleportMove(newpos,true) )
|
||||
{
|
||||
A_PlaySound("flak/click",CHAN_WEAPON);
|
||||
|
|
@ -210,6 +219,11 @@ Class UTranslocator : UnrealWeapon
|
|||
player.fov = min(175,player.desiredfov+60);
|
||||
}
|
||||
else A_PlaySound("transloc/return",CHAN_WEAPON);
|
||||
for ( int i=0; i<MAXPLAYERS; i++ )
|
||||
{
|
||||
if ( !playeringame[i] || !players[i].mo ) continue;
|
||||
players[i].mo.bNOTELEFRAG = oldnotele[i];
|
||||
}
|
||||
if ( bBroken )
|
||||
{
|
||||
UTMainHandler.DoFlash(self,Color(255,255,255,255),50);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue