mirror of
https://github.com/ENSL/NS.git
synced 2025-01-19 07:51:26 +00:00
o Updated IP model, size and texture
o Added glow to the IP when active git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@82 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
7b73f33193
commit
a72a491146
4 changed files with 6 additions and 1 deletions
Binary file not shown.
Binary file not shown.
|
@ -1693,6 +1693,7 @@ char* AvHNuke::GetKilledSound() const
|
|||
|
||||
|
||||
const float kInfantryPortalThinkTime = 1.0f;
|
||||
#define kInfantryPortalLightEffect EF_LIGHT
|
||||
|
||||
AvHInfantryPortal::AvHInfantryPortal() : AvHMarineBaseBuildable(TECH_INFANTRYPORTAL, BUILD_INFANTRYPORTAL, kwsInfantryPortal, AVH_USER3_INFANTRYPORTAL)
|
||||
{
|
||||
|
@ -1741,6 +1742,9 @@ void AvHInfantryPortal::SetHasBeenBuilt()
|
|||
|
||||
SetThink(&AvHInfantryPortal::PortalThink);
|
||||
this->pev->nextthink = gpGlobals->time + kInfantryPortalThinkTime;
|
||||
this->pev->effects |= kInfantryPortalLightEffect;
|
||||
//this->pev->
|
||||
|
||||
}
|
||||
|
||||
void AvHInfantryPortal::Precache()
|
||||
|
@ -1813,6 +1817,7 @@ void AvHInfantryPortal::ResetReinforcingPlayer(bool inSuccess)
|
|||
void AvHInfantryPortal::UpdateOnRecycle(void)
|
||||
{
|
||||
this->ResetReinforcingPlayer(false);
|
||||
this->pev->effects &= ~kInfantryPortalLightEffect;
|
||||
}
|
||||
|
||||
void AvHInfantryPortal::UpdateOnRemove(void)
|
||||
|
|
|
@ -560,7 +560,7 @@ bool AvHSHUGetDrawRingsForUser3(AvHUser3 inUser3, float& outScalar)
|
|||
break;
|
||||
|
||||
case AVH_USER3_INFANTRYPORTAL:
|
||||
theScalar = 1.0f;
|
||||
theScalar = 1.35f;
|
||||
theDrawRings = true;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue