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

tmod.tmodTank


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
class tmodTank extends VehicleClasses.VehicleTank config(tribesmodSettings);

simulated function bool canArmorOccupy(VehiclePositionType position, Character character)
{
    if (character.armorClass == None)
    {
        warn(character.name $ "'s armor class is none");
        return true;
    }

    if(character.ArmorClass == class'EquipmentClasses.ArmorHeavy')
        return true;
    else
        return true;
    
}

defaultproperties
{
     Health=1500.000000
     boostStrength=16000000.000000
     treadLength=230.000000
     throttleToVelocityFactor=35.000000
     treadGainFactor=0.090000
     treadVehicleGravityScale=2.000000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: po 8.1.2018 22:01:56.000 - Creation time: st 23.5.2018 00:10:47.919 - Created with UnCodeX