MantisBT - Zandronum
View Issue Details
0003078Zandronum[All Projects] Suggestionpublic2017-04-19 23:412021-12-17 15:01
JaxOf7 
Kaminsky 
normalminorN/A
resolvedfixed 
 
3.13.1 
0003078: White Flag replacing
so replacing Team Flags works like this

Decorate
actor BlueFlag2 : BlueFlag replaces BlueFlag
{
Translation "0:255=[0,0,255]:[0,0,255]"
States
{
Spawn:
PLAY A 1
Loop
Carry:
PLAY H 1
Loop
}
}

Teaminfo
Team "Blue Team"
{
FlagItem "BlueFlag2"
}

And replacing Gamemode items works like this

actor PossessionStone2 : PossessionStone replaces PossessionStone
{
Translation "0:255=[255,255,255]:[255,255,255]"
states
{
Spawn:
PLAY A 1
Loop
}
}

(No carry state though, so more difficult to modify how Terminator and PossessionStone looks when carried)

However, replacing WhiteFlag does not go smoothly.

actor WhiteFlag2 : WhiteFlag replaces WhiteFlag
{
Translation "0:255=[0,0,255]:[0,0,255]"
States
{
Spawn:
PLAY A 1
Loop
Carry:
PLAY H 1
Loop
}
}

While this can be picked up and capped...
This doesn't show up on the player or the HUD when picked up.
And dying will make the flag disappear forever.

So, either:
1. Make a way to define the WhiteFlag actor within TeamInfo or something.
2. Make WhiteFlag replacements function more like Terminator/PossessionStone replacements.
No tags attached.
Issue History
2017-04-19 23:41JaxOf7New Issue
2021-07-31 04:11KaminskyNote Added: 0021662
2021-07-31 04:11KaminskyAssigned To => Kaminsky
2021-07-31 04:11KaminskyStatusnew => needs testing
2021-12-17 15:00KaminskyStatusneeds testing => resolved
2021-12-17 15:00KaminskyFixed in Version => 3.1
2021-12-17 15:00KaminskyResolutionopen => fixed
2021-12-17 15:01KaminskyTarget Version => 3.1

Notes
(0021662)
Kaminsky   
2021-07-31 04:11   
3.1 should now properly use any replacement actors in place of the "WhiteFlag" class.