Castle Story

Castle Story

View Stats:
Castle Story > General Discussions > Topic Details
Is there not a gamemode where enemies come at night or something?
So I see my options are either, endless harder waves of enemies that'll kill me (not good when I want to make a nice fort and keep it) or no enemies at all. (I know conquest is a thing but none of the custom maps have it.) Isn't there just an option like sanbox but with enemies still in it?
< >
Showing 1-11 of 11 comments
Shatojon  [developer] Sep 23, 2016 @ 6:47am 
Hey The Major,

You could create your own gamemode by modifying files - you could make the waves not as hard, or come slower - or even, only come when you decide they come by clicking the "next wave" button at the top left.

What we're going to do is create a new Invasion difficulty that doesn't spawn the next wave of Corruptrons until you trigger it by clicking on the arrow at the top left, near the next wave timer.

1- Go to Steam/SteamApps/common/Castle Story/Info/Lua/Gamemodes/Invasion/Presets

2- Copy "invasion_easy_xxx.json" - the xxx represent a bunch of numbers and letters. Make sure you're not copying _coopeasy (unless you actually want to do this for co-op shared control).

3- Rename the newly copied file something like invasion_sandbox.json - you don't need the bunch of numbers/letters like the original file.

4- Open invasion_sandbox.json in Notepad++ ( https://notepad-plus-plus.org/ )

5- Edit __DISPLAYNAME from "str_gm_gen_easy" to "Invasion Sandbox".

6- Edit __DESCRIPTION from "str_gm_gen_easy Settings" to "Waves will only spawn when you click the arrow at the top left!"

7- Set "waveDuration" from "420" to "999999999".

8- Save the file.

Now, whenever you start a new Invasion game, one of the difficulty settings will be called "Invasion Sandbox" - if you choose that one, the waves will take 99999999999 seconds to start, meaning they pretty much will never start unless you "skip wait" by clicking the arrow.

It'll look like this under the Preset options; http://i.imgur.com/7sgTxfk.png

That'll do essentially what you want. :)

Hope that helps.

**Edit**: 99999999999 might be a little too much, haha. It ends up with a ridiculously large number that hides the "skip button". But you get the idea. https://streamable.com/y1fy
Last edited by Shatojon; Sep 23, 2016 @ 6:48am
Originally posted by Shatojon:
Hey The Major,

You could create your own gamemode by modifying files - you could make the waves not as hard, or come slower - or even, only come when you decide they come by clicking the "next wave" button at the top left.

What we're going to do is create a new Invasion difficulty that doesn't spawn the next wave of Corruptrons until you trigger it by clicking on the arrow at the top left, near the next wave timer.

1- Go to Steam/SteamApps/common/Castle Story/Info/Lua/Gamemodes/Invasion/Presets

2- Copy "invasion_easy_xxx.json" - the xxx represent a bunch of numbers and letters. Make sure you're not copying _coopeasy (unless you actually want to do this for co-op shared control).

3- Rename the newly copied file something like invasion_sandbox.json - you don't need the bunch of numbers/letters like the original file.

4- Open invasion_sandbox.json in Notepad++ ( https://notepad-plus-plus.org/ )

5- Edit __DISPLAYNAME from "str_gm_gen_easy" to "Invasion Sandbox".

6- Edit __DESCRIPTION from "str_gm_gen_easy Settings" to "Waves will only spawn when you click the arrow at the top left!"

7- Set "waveDuration" from "420" to "999999999".

8- Save the file.

Now, whenever you start a new Invasion game, one of the difficulty settings will be called "Invasion Sandbox" - if you choose that one, the waves will take 99999999999 seconds to start, meaning they pretty much will never start unless you "skip wait" by clicking the arrow.

It'll look like this under the Preset options; http://i.imgur.com/7sgTxfk.png

That'll do essentially what you want. :)

Hope that helps.

**Edit**: 99999999999 might be a little too much, haha. It ends up with a ridiculously large number that hides the "skip button". But you get the idea. https://streamable.com/y1fy
Oh excellent then! Thanks for responding, I'll try that on my own (unlikely to succed) and if it doesn't work I'll wait for that update, it sounds awesome!
tom_mai78101 Sep 23, 2016 @ 11:31am 
Corruptrons coming at night?

@Shatojon Was that the original plan for a Night Time Survival Mode, where the Corruptrons are nocturnal creatures?
Shatojon  [developer] Sep 26, 2016 @ 8:02am 
I think that was the original idea. That'd be a question better suited to Germain! :)
tom_mai78101 Sep 26, 2016 @ 12:17pm 
Originally posted by Shatojon:
I think that was the original idea. That'd be a question better suited to Germain! :)

I hoped to see if there are any updates on this.
Ribyx Nov 27, 2016 @ 11:39am 
Is there any way to add the spawning wisp thingies that fly around the crystal in?
tom_mai78101 Nov 27, 2016 @ 2:13pm 
Originally posted by Kawaii doge-chan:
Is there any way to add the spawning wisp thingies that fly around the crystal in?
Yes, there is. It's been a while though.

  1. In your save folder, find "gameobject.json".
  2. CTRL+F and search for "Brix.Legacy.SpawnerCristal".
  3. The one with "_firefliesSpawned" are what the spawning wisp / souls are called in the game.
  4. "unitBasePrice" is the cost of blue crystals to have a firefly soul available.
  5. "unitPriceMultiplier" is the multiplier factor that increases the unit base price after subsequent level upgrade, or when an available firefly soul has spawned.
  6. "unitsPossibleToSpawn" means how many Bricktrons the player can spawn. The number represents how many firefly souls the player has reserved.

I may be wrong for those, but the gist is there.
Lingo Duo Feb 8, 2017 @ 11:49am 
Is there a way to do this but with unlimited resources?
tom_mai78101 Feb 8, 2017 @ 1:49pm 
Originally posted by 93rd_darkwither:
Is there a way to do this but with unlimited resources?
Not a developer, but I'm sure truly unlimited resources by game configuration is unsupported. You will eventually run out of Brimstones and Iron, even if you are able to farm the Stones from killing Corruptrons.
Last edited by tom_mai78101; Feb 8, 2017 @ 1:50pm
PaplooTheLearned Nov 30, 2017 @ 7:50pm 
I'd love to see the invasion-on-demand become a feature in sandbox mode that works on maps that support invasion. I often like to play sandbox 90% of the time, but like to have invasion waves when I'm ready for them. From some of the forum discussions, it sounds like I'm not the only one. :)
Shatojon  [developer] Dec 1, 2017 @ 8:34am 
Hey Paploo,

You could make your custom Invasion preset, just modify the "WaveDuration" to 999999999999, that way, the wave never starts until you click on the "skip to next wave" button. :)
< >
Showing 1-11 of 11 comments
Per page: 15 30 50

Castle Story > General Discussions > Topic Details
Date Posted: Sep 23, 2016 @ 5:15am
Posts: 11