Please help me bring my scenario into A15c

Started by night777, September 12, 2016, 02:55:20 PM

Previous topic - Next topic

night777

Hi all and skilled modders and Rimworld developers Tynan & Co,

I formulated and developed a scenario that is among the most complex I have seen created for Rimworld. Its formulated for fun and to be a somewhat unique experience in this game, by not only having a Planet Killer timer but some light-story motivation tied into it and all of the pieces of the scenario work together to create a fun experience.

I created the scenario in A14 and was playtesting it when A15 came out. I hadn't uploaded it to the workshop yet. When I completed my playthrough, tweaked a few scenario settings, and clicked upload to workshop I get a problem. The problem is total failure to create the workshop page. I get "404: File Not Found" error in-game as soon as I attempt the upload. And yet I can open the scenario, see it in my Ludeon folder, and create a new colony under the scenario conditions.

Please help me put this scenario in the workshop. I'd like to give others the opportunity to play it and give me their feedback.

I have attached the scenario.

BTW I have tried the following fix:
1. I noticed the Planet Killer parameter in the scenario file was named Worldkiller in A14. So I updated the Worldkiller to the new form of the parameter, Planetkiller.
However this did not resolve the problem with the upload.

2. I attempted to paste the scenario parameters into a blank scenario file generated in A15. I also shed all mods to make it more simple. The scenario has no parameters related to any mod. The 404: File Not Found error persists.

I think there may have been other scenario parameters who's call tags (or whatever you call them) were modified, and what's happening is that one of the 50 different parameters along with Planet Killer also had its name tweaked. If that's the case, unless someone has noticed a parameter in the scenario operating with a new call tag. Or maybe if Tynan or another developer saw this post and happens to know which parameters were renamed along with Worldkiller - Planetkiller (for instance "start with red fox skin pants" may have changed its call tag, going from RedFoxPants to RdFoxPants, like Planetkiller became Worldkiller).

Please help me get this scenario into the workshop without having to click through every dang setting again!!

Off-Planet Elite Team Six Rescue! scenario file
http://www.fast-files.com/getfile.aspx?file=121300

Easy map start save file
http://www.fast-files.com/getfile.aspx?file=121299

(edit: the scenario may or may not work with just Core, I just remembered I opened it with my standard assortment of (simple, like furniture) mods)


P.S. I haven't played through the whole scenario in A15, but it loads up a new colony just fine. My main focus is in getting the scenario working for the workshop upload without having to reclick every setting in the scenario editor gui, because its a lot of clicks..

If there is a developer reading this and you may be able to recognize which parameter was changed off-hand please review the scenario parameters pasted here.


<scenario>
<name>OP Elite Team Six Rescue!</name>
<summary>You're leading Off-Planet Elite Team Six to save the inhabitants of a remote research colony marked for death by hostile mechanoids. Radar is picking up a Planet Killer class weapon en route to your position. Extreme difficulty Cass or Randy is recommended for Vets.</summary>
<description>Not everyone agreed that a remote research colony in semi-hostile space was going to be a good idea. But commercial interests want to know how the so-called "Jade Planet" came to be. Perhaps the unusual weather patterns generate the abundant jade.

Now we've encroached on hostile territory and the planet is being bombarded by a mechanoid faction. Toxic weapons and lightning missiles deployed by the hostile mechanoids are causing widespread sickness and fire.

Your rapid deployment means sufficient precautions weren't taken to entirely prevent toxic build up while traversing the alien atmosphere.

No trade ships will venture here.

Electrometallicexpansive properties discovered in silver over 2,500 years ago make it the optimal choice for bunker material during this emergency mission.

More supplies are enroute from the homeworld.

Lead Off-Planet Elite Team Six to rescue as many colonists as possible before the Planet Killer arrives.. </description>
<publishedFileId>750459148</publishedFileId>
<playerFaction>
<def>PlayerFaction</def>
<factionDef>PlayerColony</factionDef>
</playerFaction>
<parts>
<li Class="ScenPart_ConfigPage_ConfigureStartingPawns">
<def>ConfigPage_ConfigureStartingPawns</def>
<pawnCount>6</pawnCount>
</li>
<li Class="ScenPart_PlayerPawnsArriveMethod">
<def>PlayerPawnsArriveMethod</def>
<method>DropPods</method>
</li>
<li Class="ScenPart_ForcedHediff">
<def>ForcedHediff</def>
<chance>1</chance>
<context>PlayerStarter</context>
<hediff>ToxicBuildup</hediff>
<severityRange>0.1246667~0.2823333</severityRange>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>Silver</thingDef>
<count>40001</count>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>MealSurvivalPack</thingDef>
<count>60</count>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>GlitterworldMedicine</thingDef>
<count>40</count>
</li>
<li Class="ScenPart_GameStartDialog">
<def>GameStartDialog</def>
<text>A research colony established a few years ago on this planet in contested space has been marked for death by a hostile mechanoid faction.

Long range radar has detected a planet killer class mechanoid weapon will be in range after about a year's time.

Get inside right away and escape the toxic fallout! It'll pass soon enough.

Buy plasteel from the locals to build your ship.

Gather as many of the surviving colonists as you can and get off the planet before you and the rest are annihilated by the planet destroyer.

Quick! Build a bunker before toxic build-up cripples Off-Planet Elite Team Six!</text>
<closeSound>GameStartSting</closeSound>
</li>
<li Class="ScenPart_PawnFilter_Age">
<def>PawnFilter_Age</def>
<allowedAgeRange>24~40</allowedAgeRange>
</li>
<li Class="ScenPart_ForcedTrait">
<def>ForcedTrait</def>
<chance>0.99</chance>
<context>PlayerStarter</context>
<trait>Industriousness</trait>
<degree>1</degree>
</li>
<li Class="ScenPart_ForcedTrait">
<def>ForcedTrait</def>
<chance>0.99</chance>
<context>PlayerStarter</context>
<trait>SpeedOffset</trait>
<degree>1</degree>
</li>
<li Class="ScenPart_StatFactor">
<def>StatFactor</def>
<stat>ShootingAccuracy</stat>
<factor>1.07</factor>
</li>
<li Class="ScenPart_StatFactor">
<def>StatFactor</def>
<stat>PsychicSensitivity</stat>
<factor>0.9</factor>
</li>
<li Class="ScenPart_StartingResearch">
<def>StartingResearch</def>
<project>GunTurrets</project>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>Apparel_PowerArmor</thingDef>
<count>4</count>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>Apparel_PowerArmorHelmet</thingDef>
<count>4</count>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>Gun_ChargeRifle</thingDef>
<count>3</count>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>Gun_SniperRifle</thingDef>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>Weapon_GrenadeEMP</thingDef>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>Apparel_PersonalShield</thingDef>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>Apparel_Parka</thingDef>
<stuff>FoxRed_Leather</stuff>
<count>6</count>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>Apparel_Pants</thingDef>
<stuff>FoxRed_Leather</stuff>
<count>6</count>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>MeleeWeapon_Gladius</thingDef>
<stuff>Plasteel</stuff>
<count>2</count>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>Medicine</thingDef>
<count>40</count>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>Gun_Pistol</thingDef>
<count>4</count>
</li>
<li Class="ScenPart_CreateIncident">
<def>CreateIncident</def>
<incident>WandererJoin</incident>
<intervalDays>5</intervalDays>
<repeat>True</repeat>
</li>
<li Class="ScenPart_StartingResearch">
<def>StartingResearch</def>
<project>ShipComputerCore</project>
</li>
<li Class="ScenPart_StartingResearch">
<def>StartingResearch</def>
<project>ShipCryptosleep</project>
</li>
<li Class="ScenPart_StartingResearch">
<def>StartingResearch</def>
<project>ShipReactor</project>
</li>
<li Class="ScenPart_MapCondition">
<def>MapCondition_Planetkiller</def>
<durationDayS>66</durationDayS>
</li>
<li Class="ScenPart_StartingResearch">
<def>StartingResearch</def>
<project>ShipEngine</project>
</li>
<li Class="ScenPart_CreateIncident">
<def>CreateIncident</def>
<incident>Eclipse</incident>
<intervalDays>58</intervalDays>
</li>
<li Class="ScenPart_ForcedHediff">
<def>ForcedHediff</def>
<chance>1</chance>
<hediff>ToxicBuildup</hediff>
<severityRange>0.242~0.3593333</severityRange>
</li>
<li Class="ScenPart_CreateIncident">
<def>CreateIncident</def>
<incident>ShipChunkDrop</incident>
<intervalDays>5</intervalDays>
<repeat>True</repeat>
</li>
<li Class="ScenPart_CreateIncident">
<def>CreateIncident</def>
<incident>ResourcePodCrash</incident>
<intervalDays>13</intervalDays>
<repeat>True</repeat>
</li>
<li Class="ScenPart_DisableIncident">
<def>DisableIncident</def>
<incident>OrbitalTraderArrival</incident>
</li>
<li Class="ScenPart_CreateIncident">
<def>CreateIncident</def>
<incident>PoisonShipPartCrash</incident>
<intervalDays>28</intervalDays>
</li>
<li Class="ScenPart_CreateIncident">
<def>CreateIncident</def>
<incident>Flashstorm</incident>
<intervalDays>3</intervalDays>
</li>
<li Class="ScenPart_StartingResearch">
<def>StartingResearch</def>
<project>ComponentAssembly</project>
</li>
<li Class="ScenPart_StartingResearch">
<def>StartingResearch</def>
<project>ElectricSmelting</project>
</li>
<li Class="ScenPart_StartingResearch">
<def>StartingResearch</def>
<project>GeothermalPower</project>
</li>
<li Class="ScenPart_StartingResearch">
<def>StartingResearch</def>
<project>Stonecutting</project>
</li>
<li Class="ScenPart_StartingResearch">
<def>StartingResearch</def>
<project>MicroelectronicsBasics</project>
</li>
<li Class="ScenPart_ScatterThingsAnywhere">
<def>ScatterThingsAnywhere</def>
<thingDef>Jade</thingDef>
<count>17894</count>
</li>
<li Class="ScenPart_CreateIncident">
<def>CreateIncident</def>
<incident>PsychicEmanatorShipPartCrash</incident>
<intervalDays>42</intervalDays>
<repeat>True</repeat>
</li>
<li Class="ScenPart_CreateIncident">
<def>CreateIncident</def>
<incident>HeatWave</incident>
<intervalDays>17</intervalDays>
</li>
<li Class="ScenPart_CreateIncident">
<def>CreateIncident</def>
<incident>ColdSnap</incident>
<intervalDays>58</intervalDays>
</li>
<li Class="ScenPart_ScatterThingsNearPlayerStart">
<def>ScatterThingsNearPlayerStart</def>
<thingDef>Plasteel</thingDef>
<count>1150</count>
</li>
<li Class="ScenPart_CreateIncident">
<def>CreateIncident</def>
<incident>ToxicFallout</incident>
</li>
<li Class="ScenPart_CreateIncident">
<def>CreateIncident</def>
<incident>RefugeePodCrash</incident>
<intervalDays>14</intervalDays>
<repeat>True</repeat>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>Component</thingDef>
<count>50</count>
</li>
<li Class="ScenPart_CreateIncident">
<def>CreateIncident</def>
<incident>RaidEnemy</incident>
<intervalDays>60</intervalDays>
</li>
</parts>
</scenario>

Master Bucketsmith

Hey, just a side note: it would help a lot if you put all that code between code tags. [ code][ /code]

night777

There it is, thank you, still looking for help getting this scenario ported to A15!

Deimos Rast

#3
So I made you a thing.... ;D

Picture them there, standing on the hill at sunset, gunfire rippling through the still evening air, Team Six! But they are not alone - in fact they are surrounded by a horde of vicious, man eating...CHINCHILLAS. Wave after wave of the snarling, bloodthirsty chinchillas pour out of the walls of the canyons - Team Six crash landed into a Chinchilla Warren! Is this the end of our heroes? Will they be devoured by cute furry monstrosities?! Find out next week (or by playing this custom scenario)....
;D ;D ;D
Totally just messing with you. I copied and pasted everything you wrote in the OP; tested it and it loads fine.
To upload it to the Steam Workshop, you'll need to go into New Colony > TeamSix > Scenario Editor > Edit > Upload to Workshop
I set it so that it doesn't require any mods, let me know if that's a problem.
To install, put in your Scenarios folder (it's in the same directory as your Saves folder).

Cheers.

TeamSix Scenario

P.S. the file hosting site you used is kind of dodgy...
#StopPluginAbuse

night777

Quote from: Deimos Rast on September 12, 2016, 10:05:44 PM
So I made you a thing.... ;D

Picture them there, standing on the hill at sunset, gunfire rippling through the still evening air, Team Six! But they are not alone - in fact they are surrounded by a horde of vicious, man eating...CHINCHILLAS. Wave after wave of the snarling, bloodthirsty chinchillas pour out of the walls of the canyons - Team Six crash landed into a Chinchilla Warren! Is this the end of our heroes? Will they be devoured by cute furry monstrosities?! Find out next week (or by playing this custom scenario)....
;D ;D ;D
Totally just messing with you. I copied and pasted everything you wrote in the OP; tested it and it loads fine.
To upload it to the Steam Workshop, you'll need to go into New Colony > TeamSix > Scenario Editor > Edit > Upload to Workshop
I set it so that it doesn't require any mods, let me know if that's a problem.
To install, put in your Scenarios folder (it's in the same directory as your Saves folder).

Cheers.

TeamSix Scenario

P.S. the file hosting site you used is kind of dodgy...

Awesome I'll consider the 500 Days Chinchilla war as OPETS' first fan fiction :P

Thanks for the fix here.

Its uploaded on steam and I'm putting together its scenario page, I'll return to link it later on so you can see the result of your handy work.

I have a question. How did you manage this? Did you really just paste a new file together? That's so weird, how come when its returned to me it uploaded to the workshop just fine? Quirky system or did you make any modifications aside from clipping the mods required -- because I did the same exact thing in one of my attempts!


night777

Here's the steam workshop page http://steamcommunity.com/sharedfiles/filedetails/?id=763237011

Does anyone know how to get a custom thumbnail to display in the workshop? I see one scenario (plane crash) that has a custom thumbnail, so it must be possible.

Deimos Rast

Yeah, I don't know, I would ask the guy who did it successfully. I made and uploaded a scenario to see if I could figure it out, but nope.
#StopPluginAbuse

night777

Yeah, I don't see any option for the thumbnail neither. I left the author a comment asking for information.

Thanks again for helping me out Deimos Rast!