Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [h1] Holdfast Random Map Generator [/h1]
- [i] A mod that creates a new random map on every load of the level synced between all players on the server [/i]
- [i] Version: 0.8 [/i]
- This mod is currently [b] only available on the holdfast beta branch [/b]
- [hr][/hr]
- [h1] Major Features [/h1]
- [i] Biomes [/i]
- Like minecraft, the mod uses a biome system to influence the terrain. The biome will be placed in a pseudo-natural manner with heat and rainfall determining the biomes used. Each biome will have diffrent generation and objects assosiated with it. Current biomes are
- [list]
- [*] ice
- [*] Tundra
- [*] Boreal Forest
- [*] Woodland
- [*] Grassland
- [*] Seasonal Forest
- [*] Rainforest
- [*] Savanna
- [*] Desert
- [/list]
- [i] Terrain Generation and texturing [/i]
- Each biome will have slightly diffrent generation settings. For example an Ice Biome will have minimal hills and little height variation, in comparison a Tundra may have lots of small swooping hills and a Desert having much larger and more defined hills. The biomes contain a set of textures which are used with blending between biomes that are close to each other and steepness-based blending for hills.
- [i] Object Placement [/i]
- Each Biome has a set of Trees, Rocks, Bushes , details totally over 250 objects. Object placement occurs in 2 phases, a general object placement where low density foliage is added and a second pass where higher density objects are placed such as rock clusters, tree clusters or even aqueducts!
- [i] Points of interest [/i]
- To make linebattles more interesting, each map has a Random Chance to spawn "points of interest" that are located at equal distance from the two spawn points. The mod aims to emulate existing points of interest such as the Ruins on Tahir Desert or the Ship on island plains. These objects will have the terrain around them flatterned with various randomised prop groups spawning to provide cover.
- [i] Spawn Area [/i]
- Each spawn area is generated at runtime with various cover provided for the artillery crew on a raised spawn zone. The amount of cover and whether a mortar is present or not is randomised.
- [h1] Config Settings [/h1]
- The mod's biggest limitation currently is lack of config settings. However some values are changable. Due to the way map loading works, changes will only take affect on the NEXT LOAD of the map rather than the current load. Therefore for global settings you can swap to it before the event begins and then all future loading will work correctly with the custom settings . (If you are not using custom settings you can ignore this)
- Variable changes should the format:
- [code] mod_variable random_map:VARIABLE_NAME:Value #changes variable to the value for the next map (should be placed inside the map rotation) [/code]
- [code] mod_variable random_map_GLOBAL:VARIABLE_NAME:Value #changes the value for ALL rotations (should be placed outside the map rotation) [/code]
- Below is an example of all current ConfigVariables:
- mod_variable random_map_GLOBAL:KeyPointSafeRadius:40 #Prevents structures from spawning within this radius from spawn
- mod_variable random_map_GLOBAL:BorderSize:480 #Map size inside the borders. Eg 480x480 playable size
- mod_variable random_map_GLOBAL:BorderShouldSpawn:true #Should the mod spawn borders?
- mod_variable random_map_GLOBAL:IntrestPoints_NoChance:0.5 #Chance that interest points DONT spawn
- mod_variable random_map_GLOBAL:InterestPoints_CenterChance:0.4 #Chance that center point spawns
- mod_variable random_map_GLOBAL:InterestPoints_SideChacne:0.4 #Chance that each side point spawns
- mod_variable random_map_GLOBAL:InterestPoints_MinDis:70 #min distance from center to interest point
- mod_variable random_map_GLOBAL:InterestPoints_MaxDis:140 #maxdistance from center to interest point
- mod_variable random_map_GLOBAL:InterestPoints_CanSpawnCenterAndSide:true #can spawn central and side points at the same time
- mod_variable random_map_GLOBAL:SpawnZone_XMin:0.1 #min/max location of spawnpoints as a percentage of map size
- mod_variable random_map_GLOBAL:SpawnZone_XMax:0.5 #min/max location of spawnpoints as a percentage of map size
- mod_variable random_map_GLOBAL:SpawnZone_YMin:0.06 #min/max location of spawnpoints as a percentage of map size
- mod_variable random_map_GLOBAL:SpawnZone_YMax:0.16 #min/max location of spawnpoints as a percentage of map size
- mod_variable random_map_GLOBAL:InputSeed:100 #use a predefined seed
- mod_variable random_map_GLOBAL:BiomeImportSettings:Default #All biomes using realistic transitions
- mod_variable random_map_GLOBAL:BiomeImportSettings:GrassBased #Woodland, Grassland, SeasonalForest, Rainforest
- mod_variable random_map_GLOBAL:BiomeImportSettings:DesertBased #Woodland, Savanna, Desert
- mod_variable random_map_GLOBAL:BiomeImportSettings:SnowBased #Ice, Tundra, Woodland
- [hr][/hr]
- [h1] Install [/h1]
- Must be installed on both the Server and Client
- [code] mods_installed 2754382447 #Random Map Generator [/code]
- [code] load_mod 2754382447 #Random Map Generator [/code]
- [hr][/hr]
- [h1] Upcoming Features [/h1]
- - More custom setting support
- - Randomised biome settings
- - River system
- - Island System
- [hr][/hr]
- [h1] Help the Mod [/h1]
- If you have any ideas for props, structures or points of interest that should be implemented then comment them below. Extra props / points of interest are very easy to implement just using a drag-and-drop system in the SDK.
- Make sure to subscribe to the mod for updates.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement