Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UTMultiTeam.UTMT_Pawn

UTMultiTeam.UTMT_Pawn

Variables Summary
boolbUseOriginalRedAndBlueSkins
class<DamageType>ChangeTeamDamageClass
class<UTCustomChar_Data>CustomCharClass
array<class<Actor>>MultiTransInEffects
array<LinearColor>MultiTranslocateColor
array<class<Actor>>MultiTransOutEffects
MaterialInterfaceShieldBeltMultiTeamMaterial
array<ReplacementMaterial>SkinReplacementMaterials

Structures Summary
ReplacementMaterial
MaterialName, ReplacementMaterial

Functions Summary
function DoSkinning ()))
function DoTranslocateOut (Vector PrevLocation, int TeamNum))
functionMaterialInterface GetReplacementSkinMaterial (MaterialInterface Mat))
functionMaterialInterface GetShieldMaterialInstance (bool bTeamGame))
function NotifyTeamChanged ()))
function PlayerChangedTeam ()))
function PlayTeleportEffect (bool bOut, bool bSound))
event PostRenderFor (PlayerController PC, Canvas Canvas, vector CameraPosition, vector CameraDir))
functionbool ReSkinningAllowed ()))
function SetOverlayMaterial (MaterialInterface NewOverlay))
function SetTeamShieldMaterialInstanceColor (MaterialInterface ShieldMaterial))
function SpawnTransEffect (int TeamNum))


Variables Detail

bUseOriginalRedAndBlueSkins Source code

var bool bUseOriginalRedAndBlueSkins;
If this is set, then the red and blue teams will not be transformed as per the TeamInfo transform data (see UTMT_TeamInfo), but their original skins will be used instead.

ChangeTeamDamageClass Source code

var class<DamageType> ChangeTeamDamageClass;

CustomCharClass Source code

var class<UTCustomChar_Data> CustomCharClass;

MultiTransInEffects Source code

var array<class<Actor>> MultiTransInEffects;

MultiTranslocateColor Source code

var array<LinearColor> MultiTranslocateColor;

MultiTransOutEffects Source code

var array<class<Actor>> MultiTransOutEffects;

ShieldBeltMultiTeamMaterial Source code

var MaterialInterface ShieldBeltMultiTeamMaterial;

SkinReplacementMaterials Source code

var array<ReplacementMaterial> SkinReplacementMaterials;
Replace these skins, if they are used on a model, with the correct materials. This is used for replacing the Iron Guard first person arm materials with instances of the root character material used by all other character models.


Structures Detail

ReplacementMaterial Source code

struct ReplacementMaterial
{
var string MaterialName;
var MaterialInterface ReplacementMaterial;
};



Functions Detail

DoSkinning Source code

simulated function DoSkinning ( ) )
Here we replace the base materials of players for those with color changing parameters.

DoTranslocateOut Source code

function DoTranslocateOut ( Vector PrevLocation, int TeamNum) )
Same as the function in UTPawn, but uses the MultiTransOutEffects array. Edit: 1-4-2008 Brian Alexander Changes: removed ASSSERT and replaced with if ( MultiTransoutEffects[TeamNum] == None )

GetReplacementSkinMaterial Source code

simulated function MaterialInterface GetReplacementSkinMaterial ( MaterialInterface Mat) )

GetShieldMaterialInstance Source code

simulated function MaterialInterface GetShieldMaterialInstance ( bool bTeamGame) )

NotifyTeamChanged Source code

simulated function NotifyTeamChanged ( ) )

PlayerChangedTeam Source code

function PlayerChangedTeam ( ) )

PlayTeleportEffect Source code

function PlayTeleportEffect ( bool bOut, bool bSound) )
Same as the function in UTPawn, but uses the MultiTranslocateColor array.

PostRenderFor Source code

simulated event PostRenderFor ( PlayerController PC, Canvas Canvas, vector CameraPosition, vector CameraDir) )
Same as in UTPawn, except that it looks at the current gametype's HUDType class for GetColor() to colorise the beacons.

ReSkinningAllowed Source code

simulated function bool ReSkinningAllowed ( ) )

@return True if we are allowed to perform reskinning using shaders, i.e. we are not using the original red and blue skins.

SetOverlayMaterial Source code

simulated function SetOverlayMaterial ( MaterialInterface NewOverlay) )

SetTeamShieldMaterialInstanceColor Source code

simulated function SetTeamShieldMaterialInstanceColor ( MaterialInterface ShieldMaterial) )

SpawnTransEffect Source code

function SpawnTransEffect ( int TeamNum) )
Same as the function in UTPawn, but uses the MultiTransInEffects array. Edit: 1-4-2008 Brian Alexander Changes: removed if (MultiTransInEffects.Length >= TeamNum) and replaced with if ( MultiTransInEffects[TeamNum] != none)


Defaultproperties

defaultproperties
{
	bUseOriginalRedAndBlueSkins=True
	MultiTranslocateColor(0)=(R=20.000000,G=0.000000,B=0.000000,A=1.000000)
	MultiTranslocateColor(1)=(R=0.000000,G=0.000000,B=20.000000,A=1.000000)
	MultiTranslocateColor(2)=(R=0.000000,G=20.000000,B=0.000000,A=1.000000)
	MultiTranslocateColor(3)=(R=20.000000,G=20.000000,B=0.000000,A=1.000000)
	CustomCharClass=Class'UTGame.UTCustomChar_Data'
	ChangeTeamDamageClass=Class'UTMultiTeam.UTMT_DmgType_ChangedTeam'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Fri 23/12/2011 20:31:25.981 - Created with UnCodeX