Package zombie.characters
Class IsoPlayer
java.lang.Object
zombie.iso.IsoObject
zombie.iso.IsoMovingObject
zombie.characters.IsoGameCharacter
zombie.characters.IsoLivingCharacter
zombie.characters.IsoPlayer
- All Implemented Interfaces:
fmod.fmod.IFMODParameterUpdater
,Serializable
,Mover
,IActionStateChanged
,ILuaGameCharacter
,ILuaGameCharacterAttachedItems
,ILuaGameCharacterClothing
,ILuaGameCharacterDamage
,ILuaGameCharacterHealth
,ILuaVariableSource
,Talker
,ChatElementOwner
,IAnimatable
,IAnimationVariableMap
,IAnimationVariableSource
,IAnimEventCallback
,IClothingItemListener
,IHumanVisual
,Thumpable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.characters.IsoGameCharacter
IsoGameCharacter.BodyLocation, IsoGameCharacter.CharacterTraits, IsoGameCharacter.LightInfo, IsoGameCharacter.Location, IsoGameCharacter.PerkInfo, IsoGameCharacter.TorchInfo, IsoGameCharacter.XP, IsoGameCharacter.XPMultiplier
Nested classes/interfaces inherited from class zombie.iso.IsoMovingObject
IsoMovingObject.TreeSoundManager
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.IsoObjectFactory, IsoObject.OutlineShader, IsoObject.VisionResult
-
Field Summary
Modifier and TypeFieldDescriptionstatic int
boolean
boolean
boolean
boolean
boolean
boolean
byte
boolean
boolean
boolean
boolean
float
float
float
float
static String
boolean
float
boolean
boolean
boolean
boolean
static boolean
boolean
int
boolean
final Vector2
long
float
static final short
float
float
boolean
boolean
float
float
final NetworkPlayerAI
static final boolean
float
static int
int
short
int
final Vector2
static final IsoPlayer[]
boolean
int
int
int
float
int
boolean
fmod.fmod.BaseSoundListener
boolean
int
boolean
float
int
float
float
float
Fields inherited from class zombie.characters.IsoLivingCharacter
bareHands, bCollidedWithPushable, bDoShove, targetOnGround
Fields inherited from class zombie.characters.IsoGameCharacter
actionContext, advancedAnimator, amputations, Asleep, attackVars, bagsWorn, beard, blockTurning, bumpNbr, bUpdateEquippedTextures, callOut, clientIgnoreCollision, doDirtBloodEtc, doRenderShadow, emitter, forceNullOverride, hair, hitList, invRadioFreq, IsVisibleToPlayer, knockbackAttackMod, lastAutomaticShoot, legsSprite, networkCharacter, overridePrimaryHandModel, overrideSecondaryHandModel, primaryHandModel, realdir, realState, realx, realy, realz, ReanimatedCorpse, ReanimatedCorpseID, removedFromWorldMS, RENDER_OFFSET_X, RENDER_OFFSET_Y, s_maxPossibleTwist, savedVehicleRunning, savedVehicleSeat, savedVehicleX, savedVehicleY, secondaryHandModel, shootInARow, speedMod, StateMachineParams, Traits, upKillCount, vocalEvent
Fields inherited from class zombie.iso.IsoMovingObject
bOutline, def, last, lx, ly, lz, MAX_ZOMBIES_EATING, noDamage, nx, ny, outlineColor, treeSoundMgr, x, y, z
Fields inherited from class zombie.iso.IsoObject
AttachedAnimSprite, bAlphaForced, bmod, bNeverDoneAlpha, container, Damage, dir, doNotSync, gmod, highlightFlags, keyId, lastRendered, lastRenderedRendered, LowLightingQualityHack, MAX_WALL_SPLATS, name, NoPicking, OBF_Blink, OBF_Highlighted, OBF_HighlightRenderOnce, offsetX, offsetY, OutlineOnMouseover, overlaySprite, overlaySpriteColor, partialThumpDmg, rerouteCollide, rerouteMask, rmod, sheetRope, sheetRopeHealth, sprite, spriteName, square, sx, sy, table, tintb, tintg, tintr, wallBloodSplats
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
actionStateChanged
(ActionContext sender) void
addMechanicsItem
(String itemid, VehiclePart part, Long milli) void
addWorldSoundUnlessInvisible
(int radius, int volume, boolean bStressHumans) static boolean
static boolean
boolean
void
void
int
calculateCritChance
(IsoGameCharacter target) boolean
boolean
boolean
checkCanSeeClient
(IsoPlayer remoteChr) boolean
checkCanSeeClient
(UdpConnection remoteConnection) void
boolean
createPlayerStats
(ByteBufferWriter b, String adminUsername) boolean
DoAttack
(float chargeDelta) boolean
float
doBeatenVehicle
(float vehicleSpeed) boolean
doContext
(IsoDirections dir) void
DoFootstepSound
(String type) void
dressInClothingItem
(String itemGUID) void
dressInNamedOutfit
(String outfitName) float
float
getAimVector
(Vector2 vec) float
getCell()
int
Deprecated.getClosestZombieToOtherZombie
(IsoZombie closestTo) getContextDoorOrWindowOrWindowFrame
(IsoDirections assumedDir) static boolean
float
getDamageFromHitByACar
(float vehicleSpeed) getDeferredMovement
(Vector2 out_result) int
static int
int
float
getGlobalMovementMod
(boolean bDoNoises) float
float
double
static IsoPlayer
float
float
void
getItemVisuals
(ItemVisuals itemVisuals) int
double
float
static IsoPlayer
getLocalPlayerByOnlineID
(short ID) float
getMechanicsItem
(String itemId) int
getMoodleLevel
(MoodleType type) getMouseAimVector
(Vector2 vec) float
int
int
short
float
int
getPing()
float
float
Return the amount of temperature given by clothes wearstatic int
int
float
getRelevantAndDistance
(float x, float y, float RelevantRange) float
float
int
long
int
float
float
float
float
Deprecated.float
static String
getUsername
(Boolean canShowFirstname) float
static boolean
float
Hit
(BaseVehicle vehicle, float speed, boolean isHitFromBehind, float hitDirX, float hitDirY) void
hitConsequences
(HandWeapon weapon, IsoGameCharacter wielder, boolean bIgnoreDamage, float damage, boolean bRemote) boolean
hopFence
(IsoDirections dir, boolean bTest) void
static void
invokeOnPlayerInstance
(Runnable callback) The IsoPlayer.instance thread-safe invoke.boolean
isAccessLevel
(String level) boolean
boolean
IsAiming()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isDeaf()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isInTrees2
(boolean ignoreBush) boolean
boolean
boolean
isLocal()
boolean
boolean
boolean
isMaskClicked
(int x, int y, boolean flip) boolean
boolean
isNoClip()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
static boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isVehicleCollisionActive
(BaseVehicle testVehicle) boolean
boolean
void
Kill
(IsoGameCharacter killer) void
void
load
(ByteBuffer input, int WorldVersion, boolean IS_DEBUG_SAVE) void
MoveUnmodded
(Vector2 dir) void
void
OnAnimEvent
(AnimLayer sender, AnimEvent event) void
onCullStateChanged
(ModelManager modelManager, boolean isCulled) Callback from ModelManager.Add/Remove functions.void
OnDeath()
void
void
boolean
void
pressedAttack
(boolean calcAttackVars) boolean
boolean
pressedMovement
(boolean ignoreBlock) void
void
void
void
render
(float x, float y, float z, ColorInfo col, boolean bDoChild, boolean bWallLightingPass, Shader shader) void
static void
Reset()
void
save()
void
void
save
(ByteBuffer output, boolean IS_DEBUG_SAVE) void
setAccessLevel
(String newLvl) void
setAllChatMuted
(boolean allChatMuted) void
setAllowRun
(boolean allowRun) void
setAllowSprint
(boolean allowSprint) void
setAsleepTime
(float AsleepTime) void
setAttackAnimThrowTimer
(long dt) void
setAttackFromBehind
(boolean attackFromBehind) void
setAttackType
(String attackType) void
setAuthorizeMeleeAction
(boolean enabled) void
setAuthorizeShoveStomp
(boolean enabled) void
setBannedAttacking
(boolean b) void
setbChangeCharacterDebounce
(boolean bChangeCharacterDebounce) void
setbCouldBeSeenThisFrame
(boolean bCouldBeSeenThisFrame) void
setBlockMovement
(boolean blockMovement) void
setbSeenThisFrame
(boolean bSeenThisFrame) void
setCanHearAll
(boolean b) void
setCanSeeAll
(boolean b) void
setClearSpottedTimer
(int ClearSpottedTimer) void
setClimbOverWallStruggle
(boolean climbOverWallStruggle) void
setClimbOverWallSuccess
(boolean climbOverWallSuccess) static void
setCoopPVP
(boolean enabled) void
setDialogMood
(int DialogMood) void
setDisplayName
(String displayName) void
setDragCharacter
(IsoSurvivor DragCharacter) void
setDragObject
(IsoMovingObject DragObject) void
setFactionPvp
(boolean pvp) void
static void
setFollowDeadCount
(int aFollowDeadCount) void
setFollowID
(int followID) void
setForceAim
(boolean forceAim) void
setForceOverrideAnim
(boolean forceOverride) void
setForceRun
(boolean forceRun) void
setForceSprint
(boolean forceSprint) void
setForname
(String Forname) void
setGhostMode
(boolean aGhostMode) void
setHeartDelay
(float heartDelay) void
setHeartDelayMax
(int heartDelayMax) void
setHoursSurvived
(double hrs) void
setIgnoreAutoVault
(boolean ignoreAutoVault) void
setIgnoreContextKey
(boolean ignoreContextKey) void
setIgnoreInputsForDirection
(boolean ignoreInputsForDirection) void
setInitiateAttack
(boolean initiate) static void
setInstance
(IsoPlayer newInstance) void
setJoypadIgnoreAimUntilCentered
(boolean ignore) void
setJustMoved
(boolean val) void
setLastAngle
(Vector2 lastAngle) void
setLastSpotted
(Stack<IsoMovingObject> LastSpotted) static void
setLocalPlayer
(int index, IsoPlayer newPlayerObj) void
setMaxWeightDelta
(float maxWeightDelta) void
setMeleeHitSurface
(String material) void
void
setMoodleCantSprint
(boolean b) void
setMoveSpeed
(float moveSpeed) void
setNetworkTeleportEnabled
(boolean b) void
setNoClip
(boolean noClip) void
setOffSetXUI
(int offSetXUI) void
setOffSetYUI
(int offSetYUI) void
setOnlineID
(short value) void
setPathfindRunning
(boolean newvalue) void
setPerformingAnAction
(boolean val) void
setPing
(int ping) void
setPlayerMoveDir
(Vector2 aPlayerMoveDir) setPlayerStats
(ByteBuffer bb, String adminUsername) void
setPosition
(float ax, float ay, float az) void
setSeeNonPvpZone
(boolean seeNonPvpZone) void
setShowMPInfos
(boolean b) void
setShowTag
(boolean show) void
setSleepingPillsTaken
(int sleepingPillsTaken) If you've take more than 10 sleeping pills you lose some health If you're drunk, 1 pills = 2void
setSteamID
(long steamID) void
setSurname
(String Surname) void
setTagColor
(ColorInfo tagColor) void
setTagPrefix
(String newTag) void
setTicksSinceSeenZombie
(int TicksSinceSeenZombie) void
setTimeSinceLastStab
(float timeSinceLastStab) void
setTransactionID
(Integer transactionID) Deprecated.void
setUsername
(String newUsername) void
setVehicle4TestCollision
(BaseVehicle vehicle) void
setVehicleHitLocation
(BaseVehicle vehicle) void
setWaiting
(boolean Waiting) void
setWearingNightVisionGoggles
(boolean b) boolean
boolean
void
void
void
boolean
boolean
boolean
void
update()
void
void
void
static void
void
boolean
Methods inherited from class zombie.characters.IsoLivingCharacter
AttemptAttack, isCollidedWithPushableThisFrame, isDoShove, setDoShove
Methods inherited from class zombie.characters.IsoGameCharacter
addBasicPatch, addBlood, addBlood, addDirt, addHole, addHole, addHoleFromZombieAttacks, addKnownMediaLine, addLineChatElement, addLineChatElement, addLineChatElement, addLineChatElement, addVisualDamage, Anger, ApplyInBedOffset, applyTraits, attackFromWindowsLunge, autoDrink, avoidDamage, BetaAntiDepress, BetaBlockers, burnCorpse, CacheEquipped, calcHitDir, calcHitDir, calculateBaseSpeed, Callout, Callout, CanAttack, canClimbDownSheetRope, canClimbDownSheetRopeInCurrentSquare, canClimbSheetRope, CanSee, canSprint, changeState, checkIsNearWall, checkUpdateModelTextures, clearAttachedItems, ClearEquippedCache, clearKnownMediaLines, clearVariable, ClearVariable, clearVariables, clearWornItems, climbDownSheetRope, climbOverFence, climbSheetRope, climbThroughWindow, climbThroughWindow, climbThroughWindow, climbThroughWindow, climbThroughWindowFrame, closeWindow, clothingItemChanged, compareMovePriority, containsVariable, createKeyRing, dbgGetAnimTrack, dbgGetAnimTrackName, dbgGetAnimTrackTime, dbgGetAnimTrackWeight, die, DirectionFromVector, DoDeath, DoDeath, DoFloorSplat, DoFootstepSound, doHitByVehicle, DoSneezeText, DoSwingCollisionBoneCheck, drawDebugTextBelow, drawDirectionLine, DrawSneezeText, dressInPersistentOutfit, dressInPersistentOutfitID, dressInRandomOutfit, Dressup, dropHandItems, dropHeavyItems, Eat, Eat, endPlaybackGameVariables, enterVehicle, exert, faceLocation, faceLocationF, facePosition, faceThisObject, faceThisObjectAlt, fallenOnKnees, FireCheck, forceAwake, getAbsoluteExcessTwist, getActionStateName, getActiveLightItems, getAdvancedAnimator, getAge, getAlreadyReadPages, getAnimAngle, getAnimAngleRadians, getAnimAngleStepDelta, getAnimAngleTwistDelta, getAnimationDebug, getAnimationPlayer, getAnimationPlayerRecorder, getAnimationStateName, getAnimVector, getAttachedItem, getAttachedItems, getAttachedLocationGroup, getAttackedBy, getAttackTargetSquare, getAutoWalkDirection, getBarricadeStrengthMod, getBarricadeTimeMod, getBed, getBedType, getBeenMovingFor, getBeenSprintingFor, getBetaDelta, getBetaEffect, getBloodImpactX, getBloodImpactY, getBloodImpactZ, getBloodSplat, getBodyDamage, getBodyDamageRemote, getBodyLocationGroup, getBodyPartClothingDefense, getBrain, getBumpedChr, getBumpFallType, getBumpType, getCharacterActions, getCharacterTraits, getChatElement, getChopTreeSpeed, getClickSound, getClothingItem_Back, getClothingItem_Feet, getClothingItem_Hands, getClothingItem_Head, getClothingItem_Legs, getClothingItem_Torso, getClothingWetness, getCurrentActionContextStateName, getCurrentBuilding, getCurrentBuildingDef, getCurrentRoomDef, getCurrentState, getCurrentStateName, getDangerLevels, getDebugMonitor, getDefaultState, getDeferredAngleDelta, getDeferredRotationWeight, getDepressDelta, getDepressEffect, getDescriptor, getDieCount, getDirectionAngle, getDotWithForwardDirection, getDotWithForwardDirection, getEmitter, getEnemyList, getEquipedRadio, getExcessTwist, getFallTime, getFamiliarBuildings, getFatigueMod, getFatiqueMultiplier, getFinder, getFireKillRate, getFireSpreadProbability, getFMODParameters, getFollowingTarget, getForceWakeUpTime, getForwardDirection, getFullName, getGameCharacterAIBrain, getGameVariables, getHaloTimerCount, getHammerSoundMod, getHealth, getHitChancesMod, getHitReaction, getHittingMod, getHungerMultiplier, getHurtSound, getHyperthermiaMod, getIgnoreMovement, getInf, getInventory, getInventoryWeight, getIsNPC, getKnownRecipes, getLastBump, getLastChatMessage, getLastFallSpeed, getLastHeardSound, getLastHitCount, getLastHourSleeped, getLastKnownLocation, getLastKnownLocationOf, getLastLocalEnemies, getLastSpokenLine, getLastZombieKills, getLeaveBodyTimedown, getLegsSprite, getLevelMaxForXp, getLevelUpLevels, getLevelUpLevels, getLevelUpMultiplier, getLightfootMod, getLightInfo2, getLlx, getLly, getLlz, getLocalEnemyList, getLocalGroupList, getLocalList, getLocalNeutralList, getLocalRelevantEnemyList, getLookAngleRadians, getLookVector, getLowDangerInVicinity, getLrx, getLry, getMaintenanceMod, getMapKnowledge, getMaxChatLines, getMaxTwist, getMaxWeight, getMaxWeightBase, getMeleeCombatMod, getMeleeDelay, getMetalBarricadeStrengthMod, getModel, getModelInstance, getMomentumScalar, getMoodles, getMoveDelta, getMoveForwardVec, getNextAnimationTranslationLength, getNextWander, getNimbleMod, getNumSurvivorsInVicinity, getOrCreateSleepingEventData, getOrCreateVariable, getOutfitName, getPacingMod, getPainDelta, getPainEffect, getPath2, getPathFindBehavior2, getPathIndex, getPathTargetX, getPathTargetY, getPathTargetZ, getPatience, getPatienceMax, getPatienceMin, getPerkInfo, getPerkLevel, getPerkList, getPersistentOutfitID, getPreviousActionContextStateName, getPreviousStateName, GetPrimaryEquippedCache, getPrimaryHandItem, getPrimaryHandType, getRandomDefaultOutfit, getReadyModelData, getReanimAnimDelay, getReanimAnimFrame, getReanimateTimer, getRecoilDelay, getRecoveryMod, getReduceInfectionPower, getRemoteID, getRunSpeedModifier, getSafety, getSayLine, GetSecondaryEquippedCache, getSecondaryHandItem, getSecondaryHandType, getShoulderTwist, getShovingMod, getSleepingTabletDelta, getSleepingTabletEffect, getSlowFactor, getSlowTimer, getSneakSpotMod, getSpeakColour, getSpeakTime, getSpeedMod, getSprintMod, getSpriteDef, getStaggerTimeMod, getStateMachine, getStateMachineParams, getStats, getSurroundingAttackingZombies, getSurvivorKills, getSurvivorMap, getTalkerType, getTargetTwist, getTeleport, getTemperature, getTempo, getTextureCreator, getThirstMultiplier, getThreatLevel, getTimeSinceLastSmoke, getTimeThumping, getTotalBlood, getTraits, getTwist, getUID, getUsedItemsOn, getUseHandWeapon, getUserNameHeight, getVariable, getVariable, GetVariable, getVariableBoolean, getVariableBoolean, getVariableFloat, getVariableString, getVehicle, getVeryCloseEnemyList, getWaterSource, getWeaponLevel, getWeightMod, getWeldingSoundMod, getWornItem, getWornItems, getXp, getXpForLevel, getZombieKills, hasActiveModel, hasAnimationPlayer, hasEquipped, hasEquippedTag, hasFootInjury, hasHitReaction, HasItem, hasItems, hasPath, hasTimedActions, HasTrait, helmetFall, helmetFall, Hit, Hit, initAttachedItems, initLightInfo2, InitSpriteParts, initSpritePartsEmpty, initWornItems, isAboveTopOfStairs, isAimAtFloor, isAiming, isAlive, isAllowConversation, isAnimationRecorderActive, isAnimForecasted, isAsleep, isAttachedItem, isAttackAnim, IsAttackRange, IsAttackRange, isAttackWasSuperAttack, isAutoWalk, isbDoDefer, isBehind, isBeingSteppedOn, isbFalling, isbOnBed, isBuildCheat, isBumpDone, isBumped, isBumpFall, isBumpStaggered, isbUseParts, isCanShout, isClimbing, isClimbingThroughWindow, isClosingWindow, isCriticalHit, isCurrentState, isDead, isDeathDragDown, isDoDeathSound, isDriving, isEquipped, isEquippedClothing, isFacingLocation, isFacingObject, isFallOnFront, isFarmingCheat, isFemale, isForceShove, isGodMod, isHandItem, isHealthCheat, isHeavyItem, isHideWeaponModel, isHitFromBehind, isIgnoreMovementForDirection, isIgnoreStaggerBack, isInARoom, isInTrees, isInTreesNoBush, isInvincible, isInvisible, isItemInBothHands, isKnockedDown, isKnownMediaLine, isKnownPoison, isLastCollidedN, isLastCollidedW, isMechanicsCheat, isMovablesCheat, isMoving, isMuzzleFlash, isNPC, isOnDeathDone, isOnFire, isOnKillDone, isPathing, isPersistentOutfitInit, isPlayingDeathSound, isPrimaryEquipped, isPrimaryHandItem, isProne, isRangedWeaponEmpty, isReading, isReanim, isRecipeKnown, isRecipeKnown, isRunning, isSceneCulled, isSeatedInVehicle, isSecondaryHandItem, isShowAdminTag, isSitOnGround, isSkipResolveCollision, isSneaking, isSpeaking, IsSpeaking, isSprinting, isStrafing, isSuperAttack, isTeleporting, isTimedActionInstantCheat, isUnderVehicle, isUnlimitedCarry, isUnlimitedEndurance, isUsingWornItems, isVariable, isVisibleToNPCs, isZombie, isZombieAttacking, isZombieAttacking, learnRecipe, level0, LevelPerk, LevelPerk, loadChange, LoseLevel, MoveForward, NPCGetAiming, NPCGetRunning, NPCSetAiming, NPCSetAttack, NPCSetJustMoved, NPCSetMelee, NPCSetRunning, onMouseLeftClick, openWindow, PainMeds, pathToCharacter, pathToLocation, pathToLocationF, pathToSound, PlayAnim, PlayAnimUnlooped, PlayAnimWithSpeed, playbackRecordCurrentStateSnapshot, playbackSetCurrentStateSnapshot, playBloodSplatterSound, playDeadSound, playEmote, playHurtSound, playSound, playSoundLocal, postUpdateEquippedTextures, postUpdateModelTextures, processHitDamage, QueueAction, readInventory, ReadLiterature, ReduceHealthWhenBurning, releaseAnimationPlayer, reloadOutfit, removeAttachedItem, removeFromHands, removeKnownMediaLine, removeWornItem, removeWornItem, renderObjectPicker, renderServerGUI, renderShadow, reportEvent, resetBeardGrowingTime, resetBodyDamageRemote, resetEquippedHandsModels, resetHairGrowingTime, resetModel, resetModelNextFrame, saveChange, Say, Say, SayDebug, SayDebug, SayRadio, SayShout, SayWhisper, Seen, sendStopBurning, serverRemoveItemFromZombie, setAge, setAimAtFloor, setAllowConversation, setAlreadyReadPages, setAnimated, setAnimForecasted, setAsleep, setAttachedItem, setAttachedItems, setAttackAnim, setAttackedBy, setAttackTargetSquare, setAttackWasSuperAttack, setAutoWalk, setAutoWalkDirection, setAvoidDamage, setbClimbing, setbDoDefer, setBed, setBedType, setBeenMovingFor, setBeenSprintingFor, setBetaDelta, setBetaEffect, setbFalling, setBloodImpactX, setBloodImpactY, setBloodImpactZ, setBloodSplat, setbOnBed, setBuildCheat, setBumpDone, setBumpedChr, setBumpFall, setBumpFallType, setBumpStaggered, setBumpType, setbUseParts, setCanShout, setClickSound, setClothingItem_Back, setClothingItem_Feet, setClothingItem_Hands, setClothingItem_Head, setClothingItem_Legs, setClothingItem_Torso, setCriticalHit, setDangerLevels, setDeathDragDown, setDebugMonitor, setDefaultState, setDefaultState, setDelayToSleep, setDepressDelta, setDepressEffect, setDescriptor, setDieCount, setDir, setDirectionAngle, setDoDeathSound, setFallOnFront, setFallTime, setFarmingCheat, setFemale, setFireKillRate, setFireSpreadProbability, setFollowingTarget, setForceShove, setForceWakeUpTime, setForwardDirection, setForwardDirection, setGodMod, setHaloNote, setHaloNote, setHaloNote, setHealth, setHealthCheat, setHideWeaponModel, setHitFromBehind, setHitReaction, setHurtSound, setIgnoreAimingInput, setIgnoreMovement, setIgnoreStaggerBack, setInventory, setInvincible, setInvisible, setIsAiming, setIsNPC, setKnockedDown, setLastBump, setLastChatMessage, setLastCollidedN, setLastCollidedW, setLastFallSpeed, setLastHeardSound, setLastHitCount, setLastHourSleeped, setLastLocalEnemies, setLastSpokenLine, setLastZombieKills, setLeaveBodyTimedown, setLegsSprite, setLevelUpMultiplier, setLlx, setLly, setLlz, setLrx, setLry, setMaxTwist, setMaxWeight, setMaxWeightBase, setMechanicsCheat, setMeleeDelay, setMetabolicTarget, setMetabolicTarget, setMomentumScalar, setMovablesCheat, setMoveDelta, setMoveForwardVec, setMoving, setNextWander, setNPC, setNumSurvivorsInVicinity, setOnDeathDone, setOnFire, SetOnFire, setOnKillDone, setPainDelta, setPainEffect, setPath2, setPathIndex, setPathing, setPatience, setPatienceMax, setPatienceMin, setPerkLevelDebug, setPersistentOutfitID, setPersistentOutfitID, setPlayingDeathSound, setPrimaryHandItem, setRangedWeaponEmpty, setReading, setReanim, setReanimAnimDelay, setReanimAnimFrame, setReanimateTimer, setRecoilDelay, setReduceInfectionPower, setRemoteID, setRunning, setSafety, setSayLine, setSceneCulled, setSecondaryHandItem, setShowAdminTag, setSitOnGround, setSleepingTabletDelta, setSleepingTabletEffect, setSlowFactor, setSlowTimer, setSneaking, setSpeakColour, setSpeakColourInfo, setSpeaking, setSpeakTime, setSpeedMod, setSprinting, setStaggerTimeMod, setStateMachineLocked, setSuperAttack, setSurvivorKills, setTeleport, setTemperature, setTextureCreator, setTimedActionInstantCheat, setTimeOfSleep, setTimeSinceLastSmoke, setTimeThumping, setTurnDelta, setUnlimitedCarry, setUnlimitedEndurance, setUseHandWeapon, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, SetVariable, setVehicle, setVisibleToNPCs, setWornItem, setWornItem, setWornItems, setXp, setZombieKills, shouldBecomeCorpse, shouldBecomeZombieAfterDeath, shouldBeTurning90, shouldBeTurningAround, shouldWaitToStartTimedAction, SleepingTablet, smashCarWindow, smashWindow, splatBlood, splatBloodFloor, splatBloodFloorBig, SpreadFire, SpreadFireMP, StartAction, startEvent, startMuzzleFlash, startPlaybackGameVariables, StartTimedActionAnim, StartTimedActionAnim, StopAllActionQueue, StopAllActionQueueAiming, StopAllActionQueueRunning, StopAllActionQueueWalking, StopBurning, stopEvent, stopOrTriggerSound, StopTimedActionAnim, testDefense, testDotSide, Throw, updateEmitter, updateEquippedRadioFreq, updateEvent, updateLightInfo, updateRecoilVar, updateSpeedModifiers, updateTextObjects, writeInventory, zeroForwardDirectionX, zeroForwardDirectionY
Methods inherited from class zombie.iso.IsoMovingObject
canHaveMultipleHits, collideWith, compareToY, Despawn, DistTo, DistTo, distToNearestCamCharacter, DistToProper, DistToSquared, DistToSquared, DoCollideNorS, DoCollideWorE, doStairs, ensureOnTile, getBuilding, getBumpedType, getCollidedObject, getCollideType, getCurrentSquare, getCurrentZone, getDistanceSq, getEatingZombies, getFacingPosition, getFeelersize, getFeelerTile, getFuturWalkedSquare, getGlobalMovementMod, getHitDir, getHitForce, getHitFromAngle, getID, getIDCount, getImpulsex, getImpulsey, getLastCollideTime, getLastSquare, getLastTargettedBy, getLimpulsex, getLimpulsey, getLx, getLy, getLz, getMasterRegion, getMovementLastFrame, getNoDamage, getNx, getNy, getPathFindIndex, getPosition, getScreenX, getScreenY, getScriptModule, getScriptnx, getScriptny, getSquare, getStateEventDelayTimer, getThumpTarget, getTimeSinceZombieAttack, getVectorFromDirection, getVectorFromDirection, getWeight, getWeight, getWidth, getX, getY, getZ, isbAltCollide, isCharacter, isCloseKilled, isCollidable, isCollided, isCollidedE, isCollidedN, isCollidedS, isCollidedThisFrame, isCollidedW, isCollidedWithDoor, isCollidedWithVehicle, isDestroyed, isEatingOther, isFirstUpdate, isOnFloor, isShootable, isSolid, isZombiesDontAttack, Move, onMouseRightClick, onMouseRightReleased, removeFromSquare, separate, setbAltCollide, setCloseKilled, setCollidable, setCollidedE, setCollidedN, setCollidedObject, setCollidedS, setCollidedThisFrame, setCollidedW, setCollidedWithDoor, setCollideType, setCurrent, setDestroyed, setEatingZombies, setFeelersize, setFirstUpdate, setHitDir, setHitForce, setHitFromAngle, setID, setIDCount, setImpulsex, setImpulsey, setLast, setLastCollideTime, setLastTargettedBy, setLimpulsex, setLimpulsey, setLx, setLy, setLz, setMovementLastFrame, setMovingSquareNow, setNoDamage, setNx, setNy, setOnFloor, setPathFindIndex, setScriptModule, setScriptnx, setScriptny, setShootable, setSolid, setStateEventDelayTimer, setThumpTarget, setTimeSinceZombieAttack, setWeight, setWidth, setX, setY, setZ, setZombiesDontAttack, spotted
Methods inherited from class zombie.iso.IsoObject
addChild, addSecondaryContainer, addSheetRope, addToWorld, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, canAddSheetRope, checkAmbientSound, checkHaveElectricity, cleanWallBlood, clearAttachedAnimSprite, Collision, countAddSheetRope, createContainersFromSpriteProperties, customHashCode, Damage, debugPrintout, destroyFence, DirtySlice, doFindExternalWaterSource, DoSpecialTooltip, DoTooltip, factoryClassFromFileInput, factoryFromFileInput, factoryFromFileInput, factoryFromFileInput_OLD, factoryGetClassID, FindExternalWaterSource, FindExternalWaterSource, FindWaterSourceOnSquare, getAlpha, getAlpha, getAttachedAnimSprite, getChildSprites, getChunk, getContainer, getContainerByEitherType, getContainerByIndex, getContainerByType, getContainerCount, getContainerIndex, getCustomColor, getDamage, getDir, getFacingPositionAlt, getFactoryVehicle, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getKeyId, getLastRendered, getLastRenderedRendered, getMaskClickedY, getModData, getMovingObjectIndex, getName, getNew, getNew, getObjectIndex, getObjectRenderEffects, getObjectRenderEffectsToApply, getOffsetX, getOffsetY, getOutlineHighlightCol, getOutlineHighlightCol, getOutlineThickness, getOverlaySprite, getOverlaySpriteColor, getPipedFuelAmount, getProperties, getRenderEffectMaster, getRenderYOffset, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getScriptName, getSpecialObjectIndex, getSprite, getSpriteGridObjects, getSpriteName, getStaticMovingObjectIndex, getSurfaceNormalOffset, getSurfaceOffset, getSurfaceOffsetNoTable, getTable, getTargetAlpha, getTargetAlpha, getTextureName, getThumpableFor, getThumpCondition, getTile, getType, getUsesExternalWaterSource, GetVehicleSlowFactor, getWaterAmount, getWaterMax, getWindRenderEffects, getWorldObjectIndex, hasExternalWaterSource, hasModData, HasTooltip, hasWater, haveSheetRope, haveSpecialTooltip, Hit, HitByVehicle, isAlphaAndTargetZero, isAlphaAndTargetZero, isAlphaZero, isAlphaZero, isBlink, isExistInTheWorld, isFloor, isHighlighted, isHoppable, isItemAllowedInContainer, isMaskClicked, isMovedThumpable, isNoPicking, isNorthHoppable, isOutlineHighlight, isOutlineHighlight, isOutlineHlAttached, isOutlineHlAttached, isOutlineHlBlink, isOutlineHlBlink, isOutlineOnMouseover, isRemoveItemAllowedFromContainer, isSpriteInvisible, isStairsNorth, isStairsObject, isStairsWest, isTableSurface, isTableTopObject, isTaintedWater, isTargetAlphaZero, load, loadFromRemoteBuffer, loadFromRemoteBuffer, loadState, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeRenderEffect, removeSheetRope, renderAttachedAndOverlaySprites, renderFloorTile, renderFxMask, renderWallTile, renderWallTileOnly, replaceItem, reset, reuseGridSquare, save, saveState, sendObjectChange, sendObjectChange, sendObjectChange, Serialize, setAlpha, setAlpha, setAlphaAndTarget, setAlphaAndTarget, setAlphaToTarget, setAttachedAnimSprite, setBlink, setChildSprites, setContainer, setCustomColor, setCustomColor, setDamage, setDefaultCondition, setDir, setHighlightColor, setHighlightColor, setHighlighted, setHighlighted, setKeyId, setLastRendered, setLastRenderedRendered, setMovedThumpable, setName, SetName, setNoPicking, setOffsetX, setOffsetY, setOutlineHighlight, setOutlineHighlight, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHlAttached, setOutlineHlAttached, setOutlineHlBlink, setOutlineHlBlink, setOutlineOnMouseover, setOutlineThickness, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySpriteColor, setPipedFuelAmount, setRenderEffect, setRenderEffect, setRenderYOffset, setRerouteCollide, setRerouteMask, setSpecialTooltip, setSprite, setSprite, setSpriteFromName, setSquare, setTable, setTaintedWater, setTargetAlpha, setTargetAlpha, setType, setUsesExternalWaterSource, setWaterAmount, softReset, syncIsoObject, syncIsoObjectSend, TestCollide, TestPathfindCollide, TestVision, Thump, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColor, transmitModData, transmitUpdatedSprite, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, UnCollision, unsetOutlineHighlight, useItemOn, useWater, WeaponHit, writeToRemoteBuffer
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.chat.ChatElementOwner
getSquare, getX, getY, getZ
Methods inherited from interface zombie.core.skinnedmodel.visual.IHumanVisual
isFemale, isZombie
-
Field Details
-
DEATH_MUSIC_NAME
-
isTestAIMode
public static boolean isTestAIMode -
NoSound
public static final boolean NoSound- See Also:
-
assumedPlayer
public static int assumedPlayer -
numPlayers
public static int numPlayers -
MAX
public static final short MAX- See Also:
-
players
-
remoteSneakLvl
public int remoteSneakLvl -
remoteStrLvl
public int remoteStrLvl -
remoteFitLvl
public int remoteFitLvl -
canSeeAll
public boolean canSeeAll -
canHearAll
public boolean canHearAll -
MoodleCantSprint
public boolean MoodleCantSprint -
lastRemoteUpdate
public long lastRemoteUpdate -
spottedByPlayer
public boolean spottedByPlayer -
attackStarted
public boolean attackStarted -
targetedByZombie
public boolean targetedByZombie -
lastTargeted
public float lastTargeted -
TimeSinceOpenDoor
public float TimeSinceOpenDoor -
bRemote
public boolean bRemote -
TimeSinceLastNetData
public int TimeSinceLastNetData -
accessLevel
-
tagPrefix
-
showTag
public boolean showTag -
factionPvp
public boolean factionPvp -
OnlineID
public short OnlineID -
OnlineChunkGridWidth
public int OnlineChunkGridWidth -
bJoypadMovementActive
public boolean bJoypadMovementActive -
bJoypadIgnoreAimUntilCentered
public boolean bJoypadIgnoreAimUntilCentered -
bJoypadIgnoreChargingRT
public boolean bJoypadIgnoreChargingRT -
mpTorchCone
public boolean mpTorchCone -
mpTorchDist
public float mpTorchDist -
mpTorchStrength
public float mpTorchStrength -
PlayerIndex
public int PlayerIndex -
serverPlayerIndex
public int serverPlayerIndex -
useChargeDelta
public float useChargeDelta -
JoypadBind
public int JoypadBind -
ContextPanic
public float ContextPanic -
numNearbyBuildingsRooms
public float numNearbyBuildingsRooms -
isCharging
public boolean isCharging -
isChargingLT
public boolean isChargingLT -
L3Pressed
public boolean L3Pressed -
R3Pressed
public boolean R3Pressed -
maxWeightDelta
public float maxWeightDelta -
CurrentSpeed
public float CurrentSpeed -
MaxSpeed
public float MaxSpeed -
bDeathFinished
public boolean bDeathFinished -
isSpeek
public boolean isSpeek -
isVoiceMute
public boolean isVoiceMute -
playerMoveDir
-
soundListener
public fmod.fmod.BaseSoundListener soundListener -
username
-
dirtyRecalcGridStack
public boolean dirtyRecalcGridStack -
dirtyRecalcGridStackTime
public float dirtyRecalcGridStackTime -
runningTime
public float runningTime -
timePressedContext
public float timePressedContext -
chargeTime
public float chargeTime -
useChargeTime
public float useChargeTime -
bPressContext
public boolean bPressContext -
closestZombie
public float closestZombie -
lastAngle
-
SaveFileName
-
bBannedAttacking
public boolean bBannedAttacking -
sqlID
public int sqlID -
bleedingLevel
public byte bleedingLevel -
networkAI
-
replay
-
-
Constructor Details
-
IsoPlayer
-
IsoPlayer
-
-
Method Details
-
setOnlineID
public void setOnlineID(short value) -
getDeferredMovement
- Overrides:
getDeferredMovement
in classIsoGameCharacter
-
getTurnDelta
public float getTurnDelta()- Overrides:
getTurnDelta
in classIsoGameCharacter
-
setPerformingAnAction
public void setPerformingAnAction(boolean val) -
isPerformingAnAction
public boolean isPerformingAnAction() -
isAttacking
public boolean isAttacking()- Overrides:
isAttacking
in classIsoGameCharacter
-
shouldBeTurning
public boolean shouldBeTurning()- Overrides:
shouldBeTurning
in classIsoGameCharacter
-
invokeOnPlayerInstance
The IsoPlayer.instance thread-safe invoke. Calls the supplied callback if the IsoPlayer.instance is non-null. Performs this in a thread-safe manner. It is intended that, should any thread intend to use the IsoPlayer.instance, and does not want another thread to change the ptr in the meanwhile, it should call invokeOnPlayerInstance(Runnable callback) eg. IsoPlayer.invokeOnPlayerInstance(()-> { IsoPlayer.instance.doStuff(); } -
getInstance
-
setInstance
-
hasInstance
public static boolean hasInstance() -
getStaticTraits
-
getFollowDeadCount
public static int getFollowDeadCount() -
setFollowDeadCount
public static void setFollowDeadCount(int aFollowDeadCount) -
getAllFileNames
-
getUniqueFileName
-
getAllSavedPlayers
-
isServerPlayerIDValid
-
getPlayerIndex
public static int getPlayerIndex() -
allPlayersDead
public static boolean allPlayersDead() -
getPlayers
-
allPlayersAsleep
public static boolean allPlayersAsleep() -
getCoopPVP
public static boolean getCoopPVP() -
setCoopPVP
public static void setCoopPVP(boolean enabled) -
TestZombieSpotPlayer
-
getPathSpeed
public float getPathSpeed() -
isGhostMode
public boolean isGhostMode() -
setGhostMode
public void setGhostMode(boolean aGhostMode) -
isSeeEveryone
public boolean isSeeEveryone() -
zombiesSwitchOwnershipEachUpdate
public boolean zombiesSwitchOwnershipEachUpdate() -
getPlayerMoveDir
-
setPlayerMoveDir
-
MoveUnmodded
- Overrides:
MoveUnmodded
in classIsoMovingObject
-
nullifyAiming
public void nullifyAiming() -
isAimKeyDown
public boolean isAimKeyDown() -
getActionContext
- Specified by:
getActionContext
in interfaceIAnimatable
- Overrides:
getActionContext
in classIsoGameCharacter
-
GetAnimSetName
- Specified by:
GetAnimSetName
in interfaceIAnimatable
- Overrides:
GetAnimSetName
in classIsoGameCharacter
-
IsInMeleeAttack
public boolean IsInMeleeAttack() -
load
- Overrides:
load
in classIsoGameCharacter
- Throws:
IOException
-
save
- Overrides:
save
in classIsoGameCharacter
- Throws:
IOException
-
save
- Throws:
IOException
-
save
- Throws:
IOException
-
load
- Throws:
IOException
-
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorld
in classIsoGameCharacter
-
UpdateRemovedEmitters
public static void UpdateRemovedEmitters() -
Reset
public static void Reset() -
setVehicle4TestCollision
-
isSaveFileInUse
public boolean isSaveFileInUse() -
removeSaveFile
public void removeSaveFile() -
isSaveFileIPValid
public boolean isSaveFileIPValid() -
getObjectName
- Overrides:
getObjectName
in classIsoMovingObject
-
getJoypadBind
public int getJoypadBind() -
isLBPressed
public boolean isLBPressed() -
getControllerAimDir
-
getMouseAimVector
-
getAimVector
-
getGlobalMovementMod
public float getGlobalMovementMod(boolean bDoNoises) - Overrides:
getGlobalMovementMod
in classIsoGameCharacter
-
isInTrees2
public boolean isInTrees2(boolean ignoreBush) - Overrides:
isInTrees2
in classIsoGameCharacter
-
getMoveSpeed
public float getMoveSpeed()- Overrides:
getMoveSpeed
in classIsoGameCharacter
-
setMoveSpeed
public void setMoveSpeed(float moveSpeed) -
getTorchStrength
public float getTorchStrength()- Overrides:
getTorchStrength
in classIsoGameCharacter
-
getInvAimingMod
public float getInvAimingMod() -
getAimingMod
public float getAimingMod() -
getReloadingMod
public float getReloadingMod() -
getAimingRangeMod
public float getAimingRangeMod() -
isPathfindRunning
public boolean isPathfindRunning() -
setPathfindRunning
public void setPathfindRunning(boolean newvalue) -
isBannedAttacking
public boolean isBannedAttacking() -
setBannedAttacking
public void setBannedAttacking(boolean b) -
getInvAimingRangeMod
public float getInvAimingRangeMod() -
render
public void render(float x, float y, float z, ColorInfo col, boolean bDoChild, boolean bWallLightingPass, Shader shader) - Overrides:
render
in classIsoGameCharacter
-
renderlast
public void renderlast()- Overrides:
renderlast
in classIsoGameCharacter
-
doBeatenVehicle
public float doBeatenVehicle(float vehicleSpeed) -
update
public void update()- Overrides:
update
in classIsoGameCharacter
-
updateEnduranceWhileSitting
public void updateEnduranceWhileSitting() -
postupdate
public void postupdate()- Overrides:
postupdate
in classIsoGameCharacter
-
isSolidForSeparate
public boolean isSolidForSeparate()- Overrides:
isSolidForSeparate
in classIsoMovingObject
-
isPushableForSeparate
public boolean isPushableForSeparate()- Overrides:
isPushableForSeparate
in classIsoMovingObject
-
isPushedByForSeparate
- Overrides:
isPushedByForSeparate
in classIsoMovingObject
-
updateMovementRates
public void updateMovementRates() -
pressedAttack
public void pressedAttack(boolean calcAttackVars) -
setAttackAnimThrowTimer
public void setAttackAnimThrowTimer(long dt) -
isAttackAnimThrowTimeOut
public boolean isAttackAnimThrowTimeOut() -
calculateCritChance
-
isAimControlActive
public boolean isAimControlActive() -
getClosestZombieToOtherZombie
-
getClosestZombieDist
Deprecated. -
hitConsequences
public void hitConsequences(HandWeapon weapon, IsoGameCharacter wielder, boolean bIgnoreDamage, float damage, boolean bRemote) - Overrides:
hitConsequences
in classIsoGameCharacter
-
getUseableVehicle
-
isNearVehicle
-
getNearVehicle
- Overrides:
getNearVehicle
in classIsoGameCharacter
-
getCell
-
calculateContext
public void calculateContext() -
isSafeToClimbOver
-
doContext
-
getContextDoorOrWindowOrWindowFrame
-
hopFence
-
canClimbOverWall
-
climbOverWall
-
AttemptAttack
public boolean AttemptAttack() -
DoAttack
public boolean DoAttack(float chargeDelta) - Overrides:
DoAttack
in classIsoLivingCharacter
-
DoAttack
-
getPlayerNum
public int getPlayerNum() -
updateLOS
public void updateLOS() -
getSeeNearbyCharacterDistance
public float getSeeNearbyCharacterDistance() -
checkCanSeeClient
-
checkCanSeeClient
-
getTimeSurvived
-
IsUsingAimWeapon
public boolean IsUsingAimWeapon() -
getSleepingPillsTaken
public int getSleepingPillsTaken() -
setSleepingPillsTaken
public void setSleepingPillsTaken(int sleepingPillsTaken) If you've take more than 10 sleeping pills you lose some health If you're drunk, 1 pills = 2- Parameters:
sleepingPillsTaken
-
-
isOutside
public boolean isOutside()- Specified by:
isOutside
in interfaceILuaGameCharacter
- Overrides:
isOutside
in classIsoGameCharacter
-
getLastSeenZomboidTime
public double getLastSeenZomboidTime() -
getPlayerClothingTemperature
public float getPlayerClothingTemperature()Return the amount of temperature given by clothes wear- Returns:
- temperature
-
getPlayerClothingInsulation
public float getPlayerClothingInsulation() -
getActiveLightItem
-
isTorchCone
public boolean isTorchCone() -
getTorchDot
public float getTorchDot() -
getLightDistance
public float getLightDistance() -
pressedMovement
public boolean pressedMovement(boolean ignoreBlock) -
pressedCancelAction
public boolean pressedCancelAction() -
pressedAim
public boolean pressedAim() -
isDoingActionThatCanBeCancelled
public boolean isDoingActionThatCanBeCancelled()- Overrides:
isDoingActionThatCanBeCancelled
in classIsoGameCharacter
-
getSteamID
public long getSteamID() -
setSteamID
public void setSteamID(long steamID) -
isTargetedByZombie
public boolean isTargetedByZombie() -
isMaskClicked
public boolean isMaskClicked(int x, int y, boolean flip) - Overrides:
isMaskClicked
in classIsoGameCharacter
-
getOffSetXUI
public int getOffSetXUI() -
setOffSetXUI
public void setOffSetXUI(int offSetXUI) -
getOffSetYUI
public int getOffSetYUI() -
setOffSetYUI
public void setOffSetYUI(int offSetYUI) -
getUsername
-
getUsername
-
setUsername
-
updateUsername
public void updateUsername() -
getOnlineID
public short getOnlineID()- Specified by:
getOnlineID
in interfaceIAnimatable
-
isLocalPlayer
public boolean isLocalPlayer() -
setLocalPlayer
-
getLocalPlayerByOnlineID
-
isOnlyPlayerAsleep
public boolean isOnlyPlayerAsleep() -
OnDeath
public void OnDeath()- Overrides:
OnDeath
in classIsoGameCharacter
-
isNoClip
public boolean isNoClip() -
setNoClip
public void setNoClip(boolean noClip) -
setAuthorizeMeleeAction
public void setAuthorizeMeleeAction(boolean enabled) -
isAuthorizeMeleeAction
public boolean isAuthorizeMeleeAction() -
setAuthorizeShoveStomp
public void setAuthorizeShoveStomp(boolean enabled) -
isAuthorizeShoveStomp
public boolean isAuthorizeShoveStomp() -
isBlockMovement
public boolean isBlockMovement() -
setBlockMovement
public void setBlockMovement(boolean blockMovement) -
startReceivingBodyDamageUpdates
-
stopReceivingBodyDamageUpdates
-
getNutrition
-
getFitness
-
getParameterCharacterMovementSpeed
-
setMeleeHitSurface
-
setMeleeHitSurface
-
setVehicleHitLocation
-
DoFootstepSound
- Overrides:
DoFootstepSound
in classIsoGameCharacter
-
setJoypadIgnoreAimUntilCentered
public void setJoypadIgnoreAimUntilCentered(boolean ignore) -
canSeePlayerStats
public boolean canSeePlayerStats() -
createPlayerStats
-
setPlayerStats
-
isAllChatMuted
public boolean isAllChatMuted() -
setAllChatMuted
public void setAllChatMuted(boolean allChatMuted) -
getAccessLevel
-
isAccessLevel
-
setAccessLevel
-
addMechanicsItem
-
setPosition
public void setPosition(float ax, float ay, float az) -
getZombieRelevenceScore
-
getVisual
- Specified by:
getVisual
in interfaceILuaGameCharacter
- Overrides:
getVisual
in classIsoGameCharacter
-
getHumanVisual
- Specified by:
getHumanVisual
in interfaceIHumanVisual
-
getItemVisuals
- Overrides:
getItemVisuals
in classIsoGameCharacter
-
getItemVisuals
- Specified by:
getItemVisuals
in interfaceIHumanVisual
- Overrides:
getItemVisuals
in classIsoGameCharacter
-
dressInNamedOutfit
- Specified by:
dressInNamedOutfit
in interfaceILuaGameCharacterClothing
- Overrides:
dressInNamedOutfit
in classIsoGameCharacter
-
dressInClothingItem
- Overrides:
dressInClothingItem
in classIsoGameCharacter
-
onWornItemsChanged
public void onWornItemsChanged()- Overrides:
onWornItemsChanged
in classIsoGameCharacter
-
actionStateChanged
- Specified by:
actionStateChanged
in interfaceIActionStateChanged
- Overrides:
actionStateChanged
in classIsoGameCharacter
-
getLastAngle
-
setLastAngle
-
getDialogMood
public int getDialogMood() -
setDialogMood
public void setDialogMood(int DialogMood) -
getPing
public int getPing() -
setPing
public void setPing(int ping) -
getDragObject
-
setDragObject
-
getAsleepTime
public float getAsleepTime() -
setAsleepTime
public void setAsleepTime(float AsleepTime) -
getSpottedList
-
getTicksSinceSeenZombie
public int getTicksSinceSeenZombie() -
setTicksSinceSeenZombie
public void setTicksSinceSeenZombie(int TicksSinceSeenZombie) -
isWaiting
public boolean isWaiting() -
setWaiting
public void setWaiting(boolean Waiting) -
getDragCharacter
-
setDragCharacter
-
getHeartDelay
public float getHeartDelay() -
setHeartDelay
public void setHeartDelay(float heartDelay) -
getHeartDelayMax
public float getHeartDelayMax() -
setHeartDelayMax
public void setHeartDelayMax(int heartDelayMax) -
getHoursSurvived
public double getHoursSurvived()- Specified by:
getHoursSurvived
in interfaceILuaGameCharacter
- Overrides:
getHoursSurvived
in classIsoGameCharacter
-
setHoursSurvived
public void setHoursSurvived(double hrs) -
getMaxWeightDelta
public float getMaxWeightDelta() -
setMaxWeightDelta
public void setMaxWeightDelta(float maxWeightDelta) -
getForname
-
setForname
-
getSurname
-
setSurname
-
isbChangeCharacterDebounce
public boolean isbChangeCharacterDebounce() -
setbChangeCharacterDebounce
public void setbChangeCharacterDebounce(boolean bChangeCharacterDebounce) -
getFollowID
public int getFollowID() -
setFollowID
public void setFollowID(int followID) -
isbSeenThisFrame
public boolean isbSeenThisFrame() -
setbSeenThisFrame
public void setbSeenThisFrame(boolean bSeenThisFrame) -
isbCouldBeSeenThisFrame
public boolean isbCouldBeSeenThisFrame() -
setbCouldBeSeenThisFrame
public void setbCouldBeSeenThisFrame(boolean bCouldBeSeenThisFrame) -
getTimeSinceLastStab
public float getTimeSinceLastStab() -
setTimeSinceLastStab
public void setTimeSinceLastStab(float timeSinceLastStab) -
getLastSpotted
-
setLastSpotted
-
getClearSpottedTimer
public int getClearSpottedTimer() -
setClearSpottedTimer
public void setClearSpottedTimer(int ClearSpottedTimer) -
IsRunning
public boolean IsRunning() -
InitSpriteParts
public void InitSpriteParts() -
IsAiming
public boolean IsAiming() -
getTagPrefix
-
setTagPrefix
-
getTagColor
-
setTagColor
-
getTransactionID
Deprecated. -
setTransactionID
Deprecated. -
getDisplayName
-
setDisplayName
-
isSeeNonPvpZone
public boolean isSeeNonPvpZone() -
setSeeNonPvpZone
public void setSeeNonPvpZone(boolean seeNonPvpZone) -
isShowTag
public boolean isShowTag() -
setShowTag
public void setShowTag(boolean show) -
isFactionPvp
public boolean isFactionPvp() -
setFactionPvp
public void setFactionPvp(boolean pvp) -
isForceAim
public boolean isForceAim() -
setForceAim
public void setForceAim(boolean forceAim) -
toggleForceAim
public boolean toggleForceAim() -
isForceSprint
public boolean isForceSprint() -
setForceSprint
public void setForceSprint(boolean forceSprint) -
toggleForceSprint
public boolean toggleForceSprint() -
isForceRun
public boolean isForceRun() -
setForceRun
public void setForceRun(boolean forceRun) -
toggleForceRun
public boolean toggleForceRun() -
isDeaf
public boolean isDeaf() -
isForceOverrideAnim
public boolean isForceOverrideAnim() -
setForceOverrideAnim
public void setForceOverrideAnim(boolean forceOverride) -
getMechanicsItem
-
isWearingNightVisionGoggles
public boolean isWearingNightVisionGoggles() -
setWearingNightVisionGoggles
public void setWearingNightVisionGoggles(boolean b) -
OnAnimEvent
- Specified by:
OnAnimEvent
in interfaceIAnimEventCallback
- Overrides:
OnAnimEvent
in classIsoGameCharacter
-
onCullStateChanged
Callback from ModelManager.Add/Remove functions.NOTE: Do not call this directly, it is intended for use by the ModelManager only.
- Overrides:
onCullStateChanged
in classIsoGameCharacter
- Parameters:
modelManager
- Event sender.isCulled
- Whether or not this object is culled from the visible scene or not.
-
isTimedActionInstant
public boolean isTimedActionInstant()- Specified by:
isTimedActionInstant
in interfaceILuaGameCharacter
- Overrides:
isTimedActionInstant
in classIsoGameCharacter
-
isSkeleton
public boolean isSkeleton()- Specified by:
isSkeleton
in interfaceIHumanVisual
-
addWorldSoundUnlessInvisible
public void addWorldSoundUnlessInvisible(int radius, int volume, boolean bStressHumans) - Specified by:
addWorldSoundUnlessInvisible
in interfaceILuaGameCharacter
- Overrides:
addWorldSoundUnlessInvisible
in classIsoGameCharacter
-
getMoodleLevel
-
isAttackStarted
public boolean isAttackStarted() -
isBehaviourMoving
public boolean isBehaviourMoving()- Overrides:
isBehaviourMoving
in classIsoGameCharacter
-
isJustMoved
public boolean isJustMoved() -
setJustMoved
public void setJustMoved(boolean val) -
isPlayerMoving
public boolean isPlayerMoving()- Overrides:
isPlayerMoving
in classIsoGameCharacter
-
getTimedActionTimeModifier
public float getTimedActionTimeModifier()- Overrides:
getTimedActionTimeModifier
in classIsoGameCharacter
-
isLookingWhileInVehicle
public boolean isLookingWhileInVehicle() -
setInitiateAttack
public void setInitiateAttack(boolean initiate) -
isIgnoreInputsForDirection
public boolean isIgnoreInputsForDirection() -
setIgnoreInputsForDirection
public void setIgnoreInputsForDirection(boolean ignoreInputsForDirection) -
isIgnoreContextKey
public boolean isIgnoreContextKey() -
setIgnoreContextKey
public void setIgnoreContextKey(boolean ignoreContextKey) -
isIgnoreAutoVault
public boolean isIgnoreAutoVault() -
setIgnoreAutoVault
public void setIgnoreAutoVault(boolean ignoreAutoVault) -
isAllowSprint
public boolean isAllowSprint() -
setAllowSprint
public void setAllowSprint(boolean allowSprint) -
isAllowRun
public boolean isAllowRun() -
setAllowRun
public void setAllowRun(boolean allowRun) -
getAttackType
-
setAttackType
-
clearNetworkEvents
public void clearNetworkEvents() -
isCanSeeAll
public boolean isCanSeeAll() -
setCanSeeAll
public void setCanSeeAll(boolean b) -
isNetworkTeleportEnabled
public boolean isNetworkTeleportEnabled() -
setNetworkTeleportEnabled
public void setNetworkTeleportEnabled(boolean b) -
isCheatPlayerSeeEveryone
public boolean isCheatPlayerSeeEveryone() -
getRelevantAndDistance
public float getRelevantAndDistance(float x, float y, float RelevantRange) -
isCanHearAll
public boolean isCanHearAll() -
setCanHearAll
public void setCanHearAll(boolean b) -
getAlreadyReadBook
-
setMoodleCantSprint
public void setMoodleCantSprint(boolean b) -
setAttackFromBehind
public void setAttackFromBehind(boolean attackFromBehind) -
isAttackFromBehind
public boolean isAttackFromBehind() -
getDamageFromHitByACar
public float getDamageFromHitByACar(float vehicleSpeed) -
Hit
public float Hit(BaseVehicle vehicle, float speed, boolean isHitFromBehind, float hitDirX, float hitDirY) - Specified by:
Hit
in interfaceILuaGameCharacterDamage
- Overrides:
Hit
in classIsoGameCharacter
-
Kill
- Overrides:
Kill
in classIsoGameCharacter
-
shouldDoInventory
public boolean shouldDoInventory()- Overrides:
shouldDoInventory
in classIsoGameCharacter
-
becomeCorpse
public void becomeCorpse()- Overrides:
becomeCorpse
in classIsoGameCharacter
-
preupdate
public void preupdate()- Overrides:
preupdate
in classIsoGameCharacter
-
getHitReactionNetworkAI
- Overrides:
getHitReactionNetworkAI
in classIsoGameCharacter
-
getNetworkCharacterAI
- Overrides:
getNetworkCharacterAI
in classIsoGameCharacter
-
setFitnessSpeed
public void setFitnessSpeed() -
isLocal
public boolean isLocal()- Overrides:
isLocal
in classIsoGameCharacter
-
isClimbOverWallSuccess
public boolean isClimbOverWallSuccess() -
setClimbOverWallSuccess
public void setClimbOverWallSuccess(boolean climbOverWallSuccess) -
isClimbOverWallStruggle
public boolean isClimbOverWallStruggle() -
setClimbOverWallStruggle
public void setClimbOverWallStruggle(boolean climbOverWallStruggle) -
isVehicleCollisionActive
- Overrides:
isVehicleCollisionActive
in classIsoGameCharacter
-
isShowMPInfos
public boolean isShowMPInfos() -
setShowMPInfos
public void setShowMPInfos(boolean b)
-