[eMOD][v1.3] SwampTiles

So I created a new improvement called Pitch Pits... it can be only built on swamp tiles and adds +2 fire attack to all your units trained in that town. Here are some pictures of the work in progress (all that is left is to create cloth map icons).

Pitch Pit

and Swamp Garden

http://fallenenchantress.nexusmods.com/mods/34

It should be compatible with tentstyle and stormworld.

13,751 views 32 replies
Reply #1 Top

Awesome idea.  I was thinking about adding some grenadier or molotov cocktail type stuff to GinsuKnives.  Mind if I make a version that ties in with your mod?

Reply #3 Top

We can definitely tie these things together. All you need to add this to your end of the code

<ImprovementType InternalName="Pitch_Pit">

<UnlocksShopItem>**Your Moltov Cocktail InternalName**</UnlocksShopItem>

<UnlocksShopItem>**Your Grenadier Stuff InternalName**</UnlocksShopItem>

</ImprovementType>

That will tie it in with this pitch pit I've made at least with the shop. Not sure about the code for restricting training to a particular unit with a particular improvement in a city. I suppose I could add a resource called pitch.

Reply #4 Top

Great, thank you sir.  I'm not sure how to restrict the training in that way either, but I'll give it a shot (could have sworn I did it once for a test...)

 

 

 

Reply #5 Top

It's really a shame that they don't have random artic tiles that show up on the map... Then I could make something arctic adding to a cold attack ;)

Reply #6 Top

OK, maybe I didn't get it to work.  Well, in the spirit of not wasting five days trying to get the game to do something it absolutely doesn't want to do -- does anyone know of a a way to restrict the sale or unit assignment of a particular accessory to a given city improvement, i.e. make it exclusive to the city that owns the improvement?

 

@parrottmath -- I take it arctic tiles can't be modded in?

Reply #7 Top

They can be, but then stamps have to be made for them to show up... it is just a process to get them to show up.

Reply #8 Top

The sale has been taken care of by the code above. I'll see to the unit creation thing.

Reply #9 Top

The unit creation is not going to happen. It is on a global level... I think we can only change the item for sale at particular cities and that is unlocked by the improvement... thus having that code above should unlock those items. I can create a new resource called pitch and then force a requirement that those units need pitch to be created, but that is excessive.

Reply #10 Top

I could have used this in my current game... swamps everywhere.

Reply #11 Top

Quoting MisterAedan, reply 11
I could have used this in my current game... swamps everywhere.

This is definitely useful in a game full of swamps...maybe next time ;)

Reply #12 Top

Yeah, the pitch resource is excessive.  I modded up the first version of these last night.  Let's go with the sale item and take it from there.

Not sure what kind of modding features they're improving on in 1.1, but maybe it will open up more possibilities.  Thanks again for letting me piggy-back.

Reply #13 Top

parrot, what about, can u build on mountains? ... or next to mountains? is there a way to "get" a tile is next to mountain?

...

then u could make cold, cause some mountains are snowy.

or what about a frosty cave? like its so under the earth its always cold.... sorta a stretch but yeah...

... or the source of rivers, the underground waters coming out right at the source are really cold?

...

what about lightning damage, and poison damage? ... is there any other types? ...

anyway this mod is a great idea by itself ... i like that its an actual real life thing that adds fire thats not magic related.

... not sure how cold damage would be a real thing, but it is magic game so whatever.... poison is obvious, could be in a swamp too, then u gotta choose if u want fire or poison damage...  not sure about lightning damage... lightning rod works i guess lol, maybe tall trees and u build a metal pole next to them... idk...

Reply #14 Top

Quoting CaoMengde777, reply 14
parrot, what about, can u build on mountains? ... or next to mountains? is there a way to "get" a tile is next to mountain?

...

then u could make cold, cause some mountains are snowy.

or what about a frosty cave? like its so under the earth its always cold.... sorta a stretch but yeah...

... or the source of rivers, the underground waters coming out right at the source are really cold?

...

what about lightning damage, and poison damage? ... is there any other types? ...

anyway this mod is a great idea by itself ... i like that its an actual real life thing that adds fire thats not magic related.

... not sure how cold damage would be a real thing, but it is magic game so whatever.... poison is obvious, could be in a swamp too, then u gotta choose if u want fire or poison damage...  not sure about lightning damage... lightning rod works i guess lol, maybe tall trees and u build a metal pole next to them... idk...

These are great Ideas.... I see about making a swamp garden for toxic damage (not necessarily poison over time, but an extra toxic damage).

Lightning rods to harness that can be made from a tower building with a giant pole... I can see if this can be built on a mountain...

I look into the cave bit for caves, but given how mountains work and buildings... not sure how it will look. Cold damage is a real thing especially if you hit someone with a big stick of ice ;) it's cold and hurts.

Reply #15 Top

Stormworld uses a bunch of new terrains. You'll need to block them from these as well

ArcticTerrain_rivermod

ArcticTerrain_Forest

ArcticTerrain_rivermod_proximity_poisonriver

ArcticTerrain_rivermod_proximity_deathriver

BurningLands_Rivermod

BurningLands_Forest

BurningLands_Rivermod_proximity_magmariver

BurningLands_Rivermod_proximity_bloodriver

Reply #16 Top

Quoting Heavenfall, reply 16
Stormworld uses a bunch of new terrains. You'll need to block them from these as well

ArcticTerrain_rivermod

ArcticTerrain_Forest

ArcticTerrain_rivermod_proximity_poisonriver

ArcticTerrain_rivermod_proximity_deathriver

BurningLands_Rivermod

BurningLands_Forest

BurningLands_Rivermod_proximity_magmariver

BurningLands_Rivermod_proximity_bloodriver

Thanks I'll do that... I suppose I'd have to do this with the snaking mod as well and the river bridge mod.

Reply #17 Top

Oh yeah... yeah. Sorry about that. Those are the last ones I'm putting in.

 

Reply #18 Top

No biggy... It is a simple copy and paste and it can be included with your files alone. The extra barred terrain shouldn't effect the logging camp and pier stuff. Plus, you might need to change the logging camp to allow it to be built on the artic forest and burning land forest...

Reply #19 Top


For those that are curious it appears one cannot built any city improvements where land units may not travel. So building on moutains is a no no here as well as mountain sides. Also, whenever improvements are built, the game immediately makes the 2x2 area flat and so building things that you don't want to modify terrain doesn't look pretty...

I'll add a swamp garden for toxic damage (and maybe some + for food... bugs are tasty)

Reply #20 Top

Here is a quick edit for all of my improvements that allow snaking to happen...I'll update the rest of the files when 1.1 comes out so this is a hot fix.

https://dl.dropbox.com/u/75549875/Fallen%20Enchantress/StormworldCompatiblity/ParrottmathImprovementTypesStormworldCompatiblity.xml

put this in your mods directory.

Reply #21 Top


I've updated a new tile called swamp gardens... I combined the two new tiles together and they are now on nexus mods.

Swamp Gardens +2 to poison attack.

Pitch Pits +2 to fire attacks.

Reply #22 Top

displayname of the swamp garden is swamp_garden

Reply #23 Top

Quoting crimsongekko, reply 23
displayname of the swamp garden is swamp_garden

Thanks... fixed

 

Reply #24 Top

Parrot - I seem to be able to build swamp building on artic terrain tiles.

Reply #25 Top

Fixed... Actually you couldn't build on artic tiles because that was barred... not the arctic tiles that are in the game ;)