Skip to content

Commit

Permalink
[jaPRO/1flagctf] Make the neutralflag green (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
taysta authored May 15, 2024
1 parent 1635da6 commit 7bf6b93
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
Binary file modified assets/japro/models/flags/n_flag.md3
Binary file not shown.
Binary file added assets/japro/models/map_objects/mp/flan.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions assets/japro/shaders/japro.shader
Original file line number Diff line number Diff line change
Expand Up @@ -510,4 +510,16 @@ hud/ctf/jpflagtaken
clampmap hud/ctf/flagtaken.tga
blendFunc blend
}
}

models/map_objects/mp/flan
{
q3map_nolightmap
q3map_onlyvertexlighting
cull twosided
{
map models/map_objects/mp/flan
blendFunc GL_ONE GL_ZERO
rgbGen lightingDiffuse
}
}
2 changes: 1 addition & 1 deletion codemp/cgame/cg_players.c
Original file line number Diff line number Diff line change
Expand Up @@ -5284,7 +5284,7 @@ static void CG_PlayerPowerups( centity_t *cent, refEntity_t *torso ) {
// neutralflag
if ( powerups & ( 1 << PW_NEUTRALFLAG ) ) {
CG_PlayerFlag( cent, cgs.media.neutralFlagModel );//loda
trap->R_AddLightToScene( cent->lerpOrigin, 200 + (rand()&31), 1.0, 0.2f, 0.2f );
trap->R_AddLightToScene( cent->lerpOrigin, 200 + (rand()&31), 0.2, 1.0f, 0.2f );
}

// haste leaves smoke trails
Expand Down

0 comments on commit 7bf6b93

Please sign in to comment.