Planetbase

Planetbase

View Stats:
taimat715 Jun 16, 2017 @ 2:25pm
Blank XML for challenges with instructions
Some parts might be missing but i've got most of it. I omitted some of the components and strucutres as I have not tested them yet. I made this to make designing challenges easy for myself because I enjoy re-inventing the rules of a game. So here's the fruit of my labor. Just move stuff out of the commented areas to turn them on.

<?xml version="1.0" encoding="utf_8"?> <!-- Group_id= TXT. the name of the grouping for your challenges, order= #. where this particular challenge lies in that group difficulty= #. 1. Accessible, 2. Challenging, 3.Overwhleming, 4.suicide requires= TXT (optional component) name of another copmleted challenge required for this one, I.E. "mining_station_alpha") --> <challenge group_id="sample" order="1" difficulty="1"> <!-- planet_class= CHAR. D - desert, F - frozen, M - moon, S - storm latitude= #. random value positive or negative. Best to probably stay within 99 and -99 longitude= #. Same as above. savegame= T/F. in case a savegame is associated with this challenge (existing colony) --> <starting_location planet_class="D" latitude="15" longitude="86" savegame="false"/> <!-- Define the Colony Ship crew --> <starting_specializations> <starting_specialization type="Worker" amount="1"/> <starting_specialization type="Engineer" amount="1"/> <starting_specialization type="Biologist" amount="1"/> <starting_specialization type="Medic" amount="1"/> <starting_specialization type="Guard" amount="1"/> <starting_specialization type="Driller" amount="0"/> <starting_specialization type="Constructor" amount="0"/> <starting_specialization type="Carrier" amount="0"/> </starting_specializations> <!-- Initial resources. May be located in the recycled ship? (needs testing) Only required when not loading a savegame --> <starting_resources> <starting_resource type="Meal" amount="20"/> <starting_resource type="Metal" amount="20"/> <starting_resource type="Bioplastic" amount="5"/> <starting_resource type="Spares" amount="10"/> <starting_resource type="Semiconductors" amount="0"/> </starting_resources> <!-- Modifications to the usual gameplay rules of the game --> <gameplay_modifiers> <!-- Specifies the risk of specific disasters. param: None, Low or High --> <gameplay_modifier type="SandstormRisk" param="None"/> <gameplay_modifier type="MeteorRisk" param="None"/> <gameplay_modifier type="SolarFlareRisk" param="None"/> <gameplay_modifier type="BlizzardRisk" param="None"/> <gameplay_modifier type="ThunderstormRisk" param="None"/> <gameplay_modifier type="AtmosphereDensity" param="None"/> <gameplay_modifier type="LightAmount" param="None"/> <!-- Get trader ships to arrive faster on this challenge. Normal frequency is 1.0. param: Frequency in the range [0.1, 10] --> <gameplay_modifier type="ShipFrequency" param="1.0"/> <!-- Restricts what trading ships come to the base. param: Comma separated list of ship types, allowed values are: RawMaterial, Medical, Food, Industrial, Electronics--> <gameplay_modifier type="RestrictedTradingShips" param="RawMaterial, Medical, Food, Industrial, Electronics"/> <!-- Allow traders to always sell bots, usually they stop doing so if your have more bots than colonists --> <gameplay_modifier type="InfiniteTraderBots"/> <!-- Restricts what colonists come inside ships param: Comma separated list of colonist types, allowed values are: Worker, Engineer, Biologist, Medic, Guard--> <gameplay_modifier type="RestrictedColonistShips" param="Worker, Engineer, Biologist, Medic, Guard"/> <!-- Specifies the min prestige for intruders to come to the base. param= amount in the range [1, 1000] --> <gameplay_modifier type="IntruderMinPrestige" param="200"/> <!-- Specifies the min prestige for intruders to come to the base. param= amount in the range [1, 50] --> <gameplay_modifier type="ExtraIntruders" param="2"/> <!-- Modifies the frequency of all sandstorms, solar flares and blizzards. Normal frequency is 1.0. param= Frequency in the range [0.1, 10] --> <gameplay_modifier type="DisasterFrequency" param="1.0"/> <!-- Allow trader ships only, and not all types --> <!-- <gameplay_modifier type="DisableColonistShips"/> <gameplay_modifier type="DisableVisitorShips"/> <gameplay_modifier type="DisableTradingShips"/> --> <!-- Get visitors to come even if the player doesn't have the required prestige --> <!-- <gameplay_modifier type="DisableVisitorRequirements"/> --> <!-- Prevents traders from selling techs --> <!-- <gameplay_modifier type="DisableTraderTechs"/> --> <!-- Disables all intruders --> <!-- <gameplay_modifier type="DisableIntruders"/> --> <!-- Prevents the player from recycling the colony ship. --> <!-- <gameplay_modifier type="DisableColonyShipRecycling"/> --> <!-- Prevents Workers from mining. --> <!-- <gameplay_modifier type="DisableWorkerMining"/> --> <!-- Disable structures that are not relevant for this challenge --> <!-- <gameplay_modifier type="DisableStructure" param="Signpost"/> <gameplay_modifier type="DisableStructure" param="Bar"/> <gameplay_modifier type="DisableStructure" param="Lab"/> <gameplay_modifier type="DisableStructure" param="RadioAntenna"/> <gameplay_modifier type="DisableStructure" param="Pyramid"/> <gameplay_modifier type="DisableStructure" param="Monolith"/> <gameplay_modifier type="DisableStructure" param="SickBay"/> <gameplay_modifier type="DisableStructure" param="ProcessingPlant"/> <gameplay_modifier type="DisableStructure" param="ControlCenter"/> <gameplay_modifier type="DisableStructure" param="LandingPad"/> <gameplay_modifier type="DisableStructure" param="Starport"/> <gameplay_modifier type="DisableStructure" param="Mine"/> <gameplay_modifier type="DisableStructure" param="Factory"/> --> <!-- Disable components that are not relevant for this challenge --> <!-- <gameplay_modifier type="DisableComponent" param="BotWorkshop"/> <gameplay_modifier type="DisableComponent" param="SecurityConsole"/> <gameplay_modifier type="DisableComponent" param="RadioConsole"/> <gameplay_modifier type="DisableComponent" param="MetalProcessor"/> --> <!-- Disable warning that pops up when out of medical supplies --> <!-- <gameplay_modifier type="DisableNoMedicalSuppliesWarning"/> --> <!-- Allow the player to build any structures. No params will disable for all strucutres --> <gameplay_modifier type="DisableStructureRequirements"/> <!-- <gameplay_modifier type="DisableStructureRequirements" param="Signpost"/> <gameplay_modifier type="DisableStructureRequirements" param="Bar"/> <gameplay_modifier type="DisableStructureRequirements" param="Lab"/> <gameplay_modifier type="DisableStructureRequirements" param="RadioAntenna"/> <gameplay_modifier type="DisableStructureRequirements" param="Pyramid"/> <gameplay_modifier type="DisableStructureRequirements" param="Monolith"/> <gameplay_modifier type="DisableStructureRequirements" param="SickBay"/> <gameplay_modifier type="DisableStructureRequirements" param="ProcessingPlant"/> <gameplay_modifier type="DisableStructureRequirements" param="ControlCenter"/> <gameplay_modifier type="DisableStructureRequirements" param="LandingPad"/> <gameplay_modifier type="DisableStructureRequirements" param="Starport"/> <gameplay_modifier type="DisableStructureRequirements" param="Mine"/> <gameplay_modifier type="DisableStructureRequirements" param="Factory"/> --> <!-- Unlocks a tech from the start. param: tech name in English, with no spaces, ie: GoliathTurbine --> <!-- <gameplay_modifier type="UnlockTech" param="ConstructorBot"/> <gameplay_modifier type="UnlockTech" param="DrillerBot"/> <gameplay_modifier type="UnlockTech" param="GoliathTurbine"/> --> </gameplay_modifiers> <!-- Parameters to tweak environment and create a variation of the original planet --> <environment_modifiers> <!-- hours of day and night. value= [4 : 24]. Default fluctuates between 8 and 12 hours --> <environment_modifier type="DayHours" value="8"/> <environment_modifier type="NightHours" value="8"/> <!-- Intensity of the fog during the day, night, sunrise or sunset. value: Number in the range [0, 0.1] --> <environment_modifier type="FogIntensityDay" value="0.00125"/> <environment_modifier type="FogIntensityNight" value="0.00125"/> <environment_modifier type="FogIntensityTwilight" value="0.00225"/> <!-- Changes the environment map for this challenge value: Number in the range [1, 4], indicates which planet to take the environment map from --> <environment_modifier type="EnvironmentMapIndex" value="1"/> <!-- Changes the sun for this challenge value: Number in the range [1, 4], indicates which planet to take the sun from --> <environment_modifier type="SunIndex" value="1"/> <!-- Changes the backdrops for this challenge value: Number in the range [1, 4], indicates which planet to take the backdrops from --> <environment_modifier type="BackdropsIndex" value="1"/> <!-- Color of the directional sun light during the day, night, sunrise or sunset. value: Color ie. 255,255,255 --> <!-- <environment_modifier type="LightColorDay" value="255,255,0"/> <environment_modifier type="LightColorTwilight" value="150,0,0"/> <environment_modifier type="LightColorNight" value="25,50,100"/> --> <!-- Color of the ambient sun light during the day, night, sunrise or sunset. value: Color ie. 255,255,255 --> <!-- <environment_modifier type="AmbientColorDay" value="200,200,255"/> <environment_modifier type="AmbientColorTwilight" value="64,64,128"/> <environment_modifier type="AmbientColorNight" value="64,64,128"/> --> <!-- Color of the horizon (lower part of the sky) during the day, night, sunrise or sunset. value: Color ie. 255,255,255 --> <!-- <environment_modifier type="HorizonColorDay" value="200,200,255"/> <environment_modifier type="HorizonColorTwilight" value="64,64,128"/> <environment_modifier type="HorizonColorNight" value="64,64,128"/> --> <!-- Color of the sky during the day, night, sunrise or sunset. value: Color ie. 255,255,255 --> <!-- <environment_modifier type="SkyColorDay" value="200,200,255"/> <environment_modifier type="SkyColorTwilight" value="64,64,128"/> <environment_modifier type="SkyColorNight" value="64,64,128"/> --> <!-- removes any planets on the horizon --> <!-- <environment_modifier type="RemoveSatellites"/> --> </environment_modifiers> <!-- Parameters to tweak terrain and create a variation of the original planet --> <terrain_modifiers> <!-- Specifies how many meteor craters there will be in the terrain. value: Number in the range [0, 1] --> <terrain_modifier type="CraterDensity" value="0.25"/> <!-- Specifies how many lakes there will be in the planet. value: Number in the range [0, 1] --> <terrain_modifier type="LiquidAmount" value="0.0"/> <!-- Specifies how many lakes there will be in the planet. value: Number in the range [0, 1]. A 0,0,0 value will be colorless. --> <terrain_modifier type="LiquidColor" value="0,0,0"/> <!-- Multiplies the terrain height of everything, it makes mountains higher or lower. value: Number in the range [0, 2] --> <!-- <terrain_modifier type="HeightMultiplier" value="1.2"/> --> <!-- Moves the whole terrain up or down, it generates more or less mountains. value: Number greater than 0. Even small values will have a large effect. --> <!-- <terrain_modifier type="HeightOffset" value="-0.175"/> --> <!-- Makes distant terrain higher or lower. value: Number. Reasonable values are in the range [-0.1, 0.1] --> <!-- <terrain_modifier type="DistantHeightOffset" value="-0.5"/> --> <!-- Scales the backdrops (the mountains behind the heightmap) in the environment value: 3D vector: ie: 2.0,2.0,2.0 --> <!-- <terrain_modifier type="BackdropScale" value="1,1.5,1"/> --> <!-- Changes the color of one of the textures, by multiplying it by another color param: Flat1, Flat2, Slope, Foundations, DetailRocks, CentralRocks, SideRocks value: Color. i.e: 255,0,0 --> <!-- <terrain_modifier type="TintTexture" param ="Flat1" value="245, 245, 255"/> <terrain_modifier type="TintTexture" param ="Flat2" value="235, 235, 255"/> <terrain_modifier type="TintTexture" param ="Slope" value="235, 235, 255"/> <terrain_modifier type="TintTexture" param ="Foundations" value="235, 235, 255"/> <terrain_modifier type="TintTexture" param ="DetailRocks" value="235, 235, 255"/> <terrain_modifier type="TintTexture" param ="CentralRocks" value="235, 235, 255"/> <terrain_modifier type="TintTexture" param ="SideRocks" value="235, 235, 255"/> --> <!-- HslTransformTexture Changes the color of one of the textures, by applying a Hue, Saturation, Lighness transform param: Flat1, Flat2, Slope or Foundations value: HSL Values. i.e: 10,5,-7 --> <!-- <terrain_modifier type="HslTransformTexture" param ="Flat1" value="10,5,-7"/> <terrain_modifier type="HslTransformTexture" param ="Flat2" value="10,5,-7"/> <terrain_modifier type="HslTransformTexture" param ="Slope" value="10,5,-7"/> <terrain_modifier type="HslTransformTexture" param ="Foundations" value="10,5,-7"/> --> </terrain_modifiers> <!-- Objectives for the challenge --> <objectives> <!-- <objective type="AccumulateResources" param="Ore" value="0"/> <objective type="AccumulateResources" param="Coins" value="500"/> <objective type="ReachPopulation" value="0"/> <objective type="ReachBots" value="0"/> <objective type="ReachPrestige" value="0"/> <objective type="ReachWelfare" value="0"/> <!-- max = 100 --> <!-- Build a certain amount of structures. param: indicates the type of structure. value: indicates the amount. size: indicates the size of the structures to be built, 0 means any size, values in the range [1, 5] indicate a particular size. --> <!-- <objective type="BuildStructures" param="RadioAntenna" value="0"/> <objective type="BuildStructures" param="Signpost" value="0"/> <objective type="BuildStructures" param="Bar" value="0"/> <objective type="BuildStructures" param="Lab" value="0"/> <objective type="BuildStructures" param="Pyramid" value="0"/> <objective type="BuildStructures" param="Monolith" value="0"/> <objective type="BuildStructures" param="SickBay" value="0"/> <objective type="BuildStructures" param="ProcessingPlant" value="0"/> <objective type="BuildStructures" param="ControlCenter" value="0"/> <objective type="BuildStructures" param="LandingPad" value="0"/> <objective type="BuildStructures" param="Starport" value="0"/> <objective type="BuildStructures" param="Mine" value="0"/> <objective type="BuildStructures" param="Factory" value="0"/> --> <!-- Build a certain number of Components --> <!-- <objective type="BuildComponents" param="RadioConsole" value="3"/> <objective type="BuildComponents" param="BotWorkshop" value="3"/> <objective type="BuildComponents" param="SecurityConsole" value="3"/> <objective type="BuildComponents" param="MetalProcessor" value="3"/> --> <!-- survive for a certain number of days --> <!-- <objective type="SurviveTime" value="20"/> --> <!-- complete objectives within the time limit --> <!-- <objective type="TimeLimit" value="30"/> --> <!-- This will fail the challenge if a particular character dies. param: indicates the character name, must be exact. --> <!-- <objective type="KeepCharacterAlive" value="nobody"/> --> <!-- Reach a certain number of characters of a particular specialization. param:: indicates specialization, allowed values are: Worker, Engineer, Biologist, Medic, Guard, Carrier, Constructor, Driller. value: indicates the amount. --> <!-- <objective type="ReachSpecialization" param="Worker" value="10"/> <objective type="ReachSpecialization" param="Engineer" value="10"/> <objective type="ReachSpecialization" param="Biologist" value="10"/> <objective type="ReachSpecialization" param="Medic" value="10"/> <objective type="ReachSpecialization" param="Guard" value="10"/> <objective type="ReachSpecialization" param="Carrier" value="10"/> <objective type="ReachSpecialization" param="Constructor" value="10"/> <objective type="ReachSpecialization" param="Driller" value="10"/> --> </objectives> </challenge>


Last edited by taimat715; Jun 16, 2017 @ 2:30pm
< >
Showing 1-7 of 7 comments
taimat715 Jun 16, 2017 @ 2:31pm 
edit this with notepad++ for best results
ChristoLife Oct 8, 2022 @ 5:21am 
Hello, I loved Dawn of man and now I'm back on Planetbase, I would have liked to create a scenario with the same possibility of having several starting maps as in the initial game, but I don't see how. I didn't find any explanation in the discussions.

What should be changed in this line of the challenge: <starting_location planet_class="F" latitude="0" longitude="-163" savegame="false"/>
thanks
taimat715 Oct 31, 2022 @ 2:35pm 
oh man... haven't been back to this particular comment in uh... a while heh. I have no idea what I did lol
Geauxboy Nov 3, 2022 @ 9:53am 
So does this still work? I wouldn't mind making my own challenges. I hope the link posted above is still somewhat up to date too.
ChristoLife Nov 6, 2022 @ 4:42pm 
No problemo, I found an explanation for that,
thanks
ChristoLife Nov 10, 2022 @ 10:29am 
how to integrate the map "red base, martians" in a challenge, i tried to change the colours of the planet D but it doesn't look the same
I have looked in a save of the challenge "the martians" there is nothing usable,
thanks
< >
Showing 1-7 of 7 comments
Per page: 1530 50