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
Modifier and TypeFieldDescriptionstatic final float
protected boolean
protected int
protected int
protected int
protected int
protected int
protected int
protected int
Fields inherited from class zombie.randomizedWorld.RandomizedWorldBase
debugLine, maximumDays, minimumDays, minimumRooms, name, unique
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddSmashedOverlay
(BaseVehicle baseVehicle, BaseVehicle baseVehicle2, int int1, int int2, boolean boolean1, boolean boolean2) boolean
callVehicleStorySpawner
(IsoMetaGrid.Zone zone, IsoChunk chunk, float float1) static boolean
doRandomStory
(IsoMetaGrid.Zone zone, IsoChunk chunk, boolean boolean1) getCenterOfChunk
(IsoMetaGrid.Zone zone, IsoChunk chunk) int
int
int
int
int
getName()
boolean
getPolylineSpawnPoint
(IsoMetaGrid.Zone zone, IsoChunk chunk, float[] floatArray) boolean
getRectangleSpawnPoint
(IsoMetaGrid.Zone zone, IsoChunk chunk, float[] floatArray) boolean
getSpawnPoint
(IsoMetaGrid.Zone zone, IsoChunk chunk, float[] floatArray) static void
initAllRVSMapChance
(IsoMetaGrid.Zone zone, IsoChunk chunk) initSpawnDataForChunk
(IsoMetaGrid.Zone zone, IsoChunk chunk) boolean
initVehicleStorySpawner
(IsoMetaGrid.Zone zone, IsoChunk chunk, boolean boolean1) boolean
isChunkLoaded
(int int1, int int2) boolean
isFullyStreamedIn
(int int1, int int2, int int3, int int4) boolean
isValid
(IsoMetaGrid.Zone zone, IsoChunk chunk, boolean boolean1) void
randomizeVehicleStory
(IsoMetaGrid.Zone zone, IsoChunk chunk) void
void
setChance
(int int1) void
setMaximumDays
(int int1) void
setMinimumDays
(int int1) void
spawnElement
(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:
getMaximumDays
in classRandomizedWorldBase
-
setMaximumDays
public void setMaximumDays(int int1) - Overrides:
setMaximumDays
in classRandomizedWorldBase
-
getName
- Overrides:
getName
in classRandomizedWorldBase
-
getDebugLine
- Overrides:
getDebugLine
in classRandomizedWorldBase
-
registerCustomOutfits
public void registerCustomOutfits()
-