Class RandomizedVehicleStoryBase
java.lang.Object
zombie.randomizedWorld.RandomizedWorldBase
zombie.randomizedWorld.randomizedVehicleStory.RandomizedVehicleStoryBase
- Direct Known Subclasses:
RVSAmbulanceCrash,RVSBanditRoad,RVSBurntCar,RVSCarCrash,RVSCarCrashCorpse,RVSChangingTire,RVSConstructionSite,RVSCrashHorde,RVSFlippedCrash,RVSPoliceBlockade,RVSPoliceBlockadeShooting,RVSTrailerCrash,RVSUtilityVehicle
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatprotected booleanprotected intprotected intprotected intprotected intprotected intprotected intprotected intFields inherited from class zombie.randomizedWorld.RandomizedWorldBase
debugLine, maximumDays, minimumDays, minimumRooms, name, unique -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSmashedOverlay(BaseVehicle baseVehicle, BaseVehicle baseVehicle2, int int1, int int2, boolean boolean1, boolean boolean2) booleancallVehicleStorySpawner(IsoMetaGrid.Zone zone, IsoChunk chunk, float float1) static booleandoRandomStory(IsoMetaGrid.Zone zone, IsoChunk chunk, boolean boolean1) getCenterOfChunk(IsoMetaGrid.Zone zone, IsoChunk chunk) intintintintintgetName()booleangetPolylineSpawnPoint(IsoMetaGrid.Zone zone, IsoChunk chunk, float[] floatArray) booleangetRectangleSpawnPoint(IsoMetaGrid.Zone zone, IsoChunk chunk, float[] floatArray) booleangetSpawnPoint(IsoMetaGrid.Zone zone, IsoChunk chunk, float[] floatArray) static voidinitAllRVSMapChance(IsoMetaGrid.Zone zone, IsoChunk chunk) initSpawnDataForChunk(IsoMetaGrid.Zone zone, IsoChunk chunk) booleaninitVehicleStorySpawner(IsoMetaGrid.Zone zone, IsoChunk chunk, boolean boolean1) booleanisChunkLoaded(int int1, int int2) booleanisFullyStreamedIn(int int1, int int2, int int3, int int4) booleanisValid(IsoMetaGrid.Zone zone, IsoChunk chunk, boolean boolean1) voidrandomizeVehicleStory(IsoMetaGrid.Zone zone, IsoChunk chunk) voidvoidsetChance(int int1) voidsetMaximumDays(int int1) voidsetMinimumDays(int int1) voidspawnElement(VehicleStorySpawner vehicleStorySpawner, VehicleStorySpawner.Element element) Methods inherited from class zombie.randomizedWorld.RandomizedWorldBase
addBloodSplat, addItemOnGround, addItemOnGround, addRandomItemOnGround, addRandomItemsOnGround, addRandomItemsOnGround, addTentNorthSouth, addTentWestEast, addTileObject, addTileObject, addTrailer, addTrailOfBlood, addTraitOfBlood, addVehicle, addVehicle, addVehicle, addVehicleFlipped, addVehicleFlipped, addWeapon, addZombiesOnSquare, addZombiesOnVehicle, alignCorpseToSquare, createBodyFromZombie, createRandomDeadBody, createRandomDeadBody, createRandomDeadBody, createRandomDeadBody, createRandomDeadBody, createRandomZombie, createRandomZombie, createRandomZombieForCorpse, createSkeletonCorpse, getLivingRoomOrKitchen, getRandomRoom, getRandomSpawnSquare, getRandomSquareForCorpse, getRoom, getSq, is1x2AreaClear, is2x1AreaClear, is2x1or1x2AreaClear, is2x2AreaClear, isTimeValid, isUnique, removeAllVehiclesOnZone, setAttachedItem, setDebugLine, setUnique, spawnCarOnNearestNav
-
Field Details
-
horizontalZone
protected boolean horizontalZone -
zoneWidth
protected int zoneWidth -
baseChance
public static final float baseChance- See Also:
-
minX
protected int minX -
minY
protected int minY -
maxX
protected int maxX -
maxY
protected int maxY -
minZoneWidth
protected int minZoneWidth -
minZoneHeight
protected int minZoneHeight
-
-
Constructor Details
-
RandomizedVehicleStoryBase
public RandomizedVehicleStoryBase()
-
-
Method Details
-
initAllRVSMapChance
-
doRandomStory
-
getMinZoneWidth
public int getMinZoneWidth() -
getMinZoneHeight
public int getMinZoneHeight() -
randomizeVehicleStory
-
getCenterOfChunk
-
isValid
-
initSpawnDataForChunk
-
getSpawnPoint
-
getRectangleSpawnPoint
-
getPolylineSpawnPoint
-
isFullyStreamedIn
public boolean isFullyStreamedIn(int int1, int int2, int int3, int int4) -
isChunkLoaded
public boolean isChunkLoaded(int int1, int int2) -
initVehicleStorySpawner
-
callVehicleStorySpawner
-
spawnElement
public void spawnElement(VehicleStorySpawner vehicleStorySpawner, VehicleStorySpawner.Element element) -
addSmashedOverlay
public BaseVehicle[] addSmashedOverlay(BaseVehicle baseVehicle, BaseVehicle baseVehicle2, int int1, int int2, boolean boolean1, boolean boolean2) -
getChance
public int getChance() -
setChance
public void setChance(int int1) -
getMinimumDays
public int getMinimumDays() -
setMinimumDays
public void setMinimumDays(int int1) -
getMaximumDays
public int getMaximumDays()- Overrides:
getMaximumDaysin classRandomizedWorldBase
-
setMaximumDays
public void setMaximumDays(int int1) - Overrides:
setMaximumDaysin classRandomizedWorldBase
-
getName
- Overrides:
getNamein classRandomizedWorldBase
-
getDebugLine
- Overrides:
getDebugLinein classRandomizedWorldBase
-
registerCustomOutfits
public void registerCustomOutfits()
-