mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-24 21:11:03 +00:00
Forced for Extended Menu
This commit is contained in:
parent
d6b3e8eb65
commit
ccd63d4eec
1 changed files with 44 additions and 0 deletions
|
@ -1268,6 +1268,50 @@ qboolean NPC_ParseParms( const char *NPCName, gentity_t *NPC )
|
||||||
|
|
||||||
if ( !Q_stricmp( token, "}" ) )
|
if ( !Q_stricmp( token, "}" ) )
|
||||||
{
|
{
|
||||||
|
//Override scale due to TBDC
|
||||||
|
if(g_TeamBeefDirectorsCut->value)
|
||||||
|
{
|
||||||
|
if(!Q_stricmp( NPCName, "STOfficer" ))
|
||||||
|
{
|
||||||
|
NPC->s.modelScale[0] = NPC->s.modelScale[1] = NPC->s.modelScale[2] = TBDC_SCALE_STOFFICER /100.0f;
|
||||||
|
}
|
||||||
|
else if(!Q_stricmp( NPCName, "STOfficerAlt" ))
|
||||||
|
{
|
||||||
|
NPC->s.modelScale[0] = NPC->s.modelScale[1] = NPC->s.modelScale[2] = TBDC_SCALE_STOFFICERALT /100.0f;
|
||||||
|
}
|
||||||
|
else if(!Q_stricmp( NPCName, "STCommander" ))
|
||||||
|
{
|
||||||
|
NPC->s.modelScale[0] = NPC->s.modelScale[1] = NPC->s.modelScale[2] = TBDC_SCALE_STOFFICERALT /100.0f;
|
||||||
|
}
|
||||||
|
else if(!Q_stricmp( NPCName, "Imperial" ))
|
||||||
|
{
|
||||||
|
NPC->s.modelScale[0] = NPC->s.modelScale[1] = NPC->s.modelScale[2] = TBDC_SCALE_IMPERIAL /100.0f;
|
||||||
|
}
|
||||||
|
else if(!Q_stricmp( NPCName, "ImpOfficer" ))
|
||||||
|
{
|
||||||
|
NPC->s.modelScale[0] = NPC->s.modelScale[1] = NPC->s.modelScale[2] = TBDC_SCALE_IMPERIALOFFICER /100.0f;
|
||||||
|
}
|
||||||
|
else if(!Q_stricmp( NPCName, "ImpCommander" ))
|
||||||
|
{
|
||||||
|
NPC->s.modelScale[0] = NPC->s.modelScale[1] = NPC->s.modelScale[2] = TBDC_SCALE_IMPERIALCOMMANDER /100.0f;
|
||||||
|
}
|
||||||
|
else if(!Q_stricmp( NPCName, "RebornAcrobat" ))
|
||||||
|
{
|
||||||
|
NPC->s.modelScale[0] = NPC->s.modelScale[1] = NPC->s.modelScale[2] = TBDC_SCALE_REBORNACROBAT /100.0f;
|
||||||
|
}
|
||||||
|
else if(!Q_stricmp( NPCName, "Reborn" ))
|
||||||
|
{
|
||||||
|
NPC->s.modelScale[0] = NPC->s.modelScale[1] = NPC->s.modelScale[2] = TBDC_SCALE_REBORN /100.0f;
|
||||||
|
}
|
||||||
|
else if(!Q_stricmp( NPCName, "RebornForceUser" ))
|
||||||
|
{
|
||||||
|
NPC->s.modelScale[0] = NPC->s.modelScale[1] = NPC->s.modelScale[2] = TBDC_SCALE_REBORNFORCEUSER /100.0f;
|
||||||
|
}
|
||||||
|
else if(!Q_stricmp( NPCName, "RebornFencer" ))
|
||||||
|
{
|
||||||
|
NPC->s.modelScale[0] = NPC->s.modelScale[1] = NPC->s.modelScale[2] = TBDC_SCALE_REBORNBOSS /100.0f;
|
||||||
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
//===MODEL PROPERTIES===========================================================
|
//===MODEL PROPERTIES===========================================================
|
||||||
|
|
Loading…
Reference in a new issue