[merged] Rivermod

By on March 6, 2012 5:05:49 AM from Elemental Forums Elemental Forums

Heavenfall

Join Date 07/2008
+436

 

This mod has been merged into the Stormworld mod pack. This topic will not be updated.

 

 

 

When the first beta was released, I jumped on the idea of modding the rivers to be more varied. It has been an uphill struggle with a lot of hurdles I had to overcome (too many to mention really).

Last week I made a significant breakthrough that allowed me to actually have rivers appear in the game "dynamically". The long story short is that the solution is using "stamps" which were actually present in E:wom to a very small degree. In E:wom, there was a spell called Curgen's Inferno that summoned a volcano on the map, and this was from inside a stamp. I also knew that Frogboy had mentioned stamps being important for how maps were generated in FE. So I started out by first building a spell that summoned a stamp. Then I changed that stamp around until it was actually summoning a river. Then I changed the stamp to not be summoned, but appear in the game by chance instead. Then I started tweaking how the river works and looks.

Anyway, enough talkie talkie. Here's the stuff in action: http://www.youtube.com/watch?v=bun87Db0d-M

Unfortunately, the example took a horridly long time to do without access to the workshop. I'm hoping that when we get the workshop, there will be tools that allow us to do this sort of thing more easily. In this post http://forums.elementalgame.com/411769 there is a screenshot of some sort of stamp creator that should help greatly in achieving this.

Edit: Assuming that the workshop is fairly decent, I plan on bringing more types of rivers into the game. Off-hand, I'd like to have a poison river (see above), magma river, river of blood, and some sort of corrupted river. Those are rivers I would expect to see in a fantasy world destroyed by magic.

Locked Post 24 Replies +1 Karma
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
jshores
March 6, 2012 1:37:29 PM from Elemental Forums Elemental Forums

Cool ideas. How would you give the different rivers unique characteristics, and what ideas do you have for that?

Reason for Karma (Optional)
Successfully updated karma reason!
March 6, 2012 2:13:46 PM from Elemental Forums Elemental Forums

The rivers will primarily be for looks, but they will also have world resources the player can build on. For example you can build a magma forge on a "magma river with bedrock", giving better cutting attack and a little bit of fire damage to the connected city. Poison river means a little bit of poison damage, and a few extra potions to buy. River of blood will have some health bonuses to the connected city, maybe some extra constitution, but also some regeneration. I have no solid ideas for the corrupted river yet.

But basically, I want them to be more flavour than "power". It will also allow specific factions to be particularly good at using one type of river resource, eg Greenskin would use the poison river well, and an undead faction would probably love the corrupted river, and the living stone would love the magma river.

Reason for Karma (Optional)
Successfully updated karma reason!
March 6, 2012 2:40:59 PM from Elemental Forums Elemental Forums

Amazing as always. Thanks for sharing your discoveries with the community.

Reason for Karma (Optional)
Successfully updated karma reason!
March 6, 2012 4:53:26 PM from Elemental Forums Elemental Forums

Awesome. If they can also be used for "power" stuff even better. Me having trouble with silly UnitStats while you solve custom rivers stuff. 

river of blood

 some sort of corrupted river

 

 

Reason for Karma (Optional)
Successfully updated karma reason!
March 7, 2012 12:07:31 AM from Elemental Forums Elemental Forums

Wow, can't wait!

Reason for Karma (Optional)
Successfully updated karma reason!
March 14, 2012 4:04:21 PM from Elemental Forums Elemental Forums
Reason for Karma (Optional)
Successfully updated karma reason!
March 14, 2012 9:20:12 PM from Elemental Forums Elemental Forums

Those look kick ass!

Reason for Karma (Optional)
Successfully updated karma reason!
March 14, 2012 9:32:45 PM from Elemental Forums Elemental Forums

river of blood looks cool!

Reason for Karma (Optional)
Successfully updated karma reason!
March 14, 2012 10:36:03 PM from Elemental Forums Elemental Forums

HF we have something else in common.... Power Metal! lol

 

nice work

Reason for Karma (Optional)
Successfully updated karma reason!
March 15, 2012 2:03:15 AM from Elemental Forums Elemental Forums

Perhaps Corrupted rivers hold powerful dark creatures that can be tamed by Empires and slaughtered to make vile poisons by Kingdoms?

Reason for Karma (Optional)
Successfully updated karma reason!
March 15, 2012 2:37:51 AM from Elemental Forums Elemental Forums

The way I see the corrupted river is that it's a place where evolution is turned up 1 000 000 000 times, so one day you have a fish that can breathe that walks out of it and another day there's an insect that can't breathe that just dies as soon as it's born. Anyway, the corrupted river is basically a "change agent", so it will add a trait to units trained in connected city that makes them deal random effects on melee attacks.

 

Reason for Karma (Optional)
Successfully updated karma reason!
March 15, 2012 7:53:04 AM from Elemental Forums Elemental Forums

Of those three, the blood river certainly looks the most awesome. The corrupted river doesn't seem to... er.. it seems too "flat"? I like it but compared to the others it's less impressive (the white trees are more likely to catch my eyes than the river itself). Probably it's just me though.

Nice job!

Reason for Karma (Optional)
Successfully updated karma reason!
March 15, 2012 8:14:07 AM from Elemental Forums Elemental Forums

I agree, the corrupted river needs more texture work.

Reason for Karma (Optional)
Successfully updated karma reason!
March 15, 2012 10:38:32 AM from Elemental Forums Elemental Forums
Perhaps the hero can suffer some penalty/effect when crossing the river: Corrupted river - Curse or even a random Dark spell Magma river - Fire damage River of blood - maybe Bersek effect Poison river - Poisoned or Disease For example: to cross a magma river without get burning the hero have to cast Protection from Fire spell...
Reason for Karma (Optional)
Successfully updated karma reason!
March 15, 2012 11:03:25 AM from Elemental Forums Elemental Forums

Would it not make sense to effect any nearby cities too? IE sitting beside a magma river may limit agriculture production but increase forge work, rivers of blood may cause unrest but give alchemy boost or something? There's no point having complete negatives otherwise they'll be come ignored by the player.

Reason for Karma (Optional)
Successfully updated karma reason!
March 15, 2012 11:09:43 AM from Elemental Forums Elemental Forums

Quoting fsemprini,
Perhaps the hero can suffer some penalty/effect when crossing the river:

Corrupted river - Curse or even a random Dark spell
Magma river - Fire damage
River of blood - maybe Bersek effect
Poison river - Poisoned or Disease

For example: to cross a magma river without get burning the hero have to cast Protection from Fire spell...

You cannot cross the rivers, unfortunately. Doing so opens up a whole list of broken graphics. The only place you can cross a river is if there is a bridge, or at a world resource on top of a river.

Reason for Karma (Optional)
Successfully updated karma reason!
March 15, 2012 12:05:09 PM from Elemental Forums Elemental Forums

These rivers are really amazing! Expecially the corrupted and magma look cool. I don't like the river of blood though, it looks really bland and the red trees look really weird. But all in all, great work!

Reason for Karma (Optional)
Successfully updated karma reason!
March 17, 2012 9:23:48 AM from Elemental Forums Elemental Forums

Heaven, do you have any tips, tricks or other secrets for making the River Tool in the Map Edit actually work right?

Reason for Karma (Optional)
Successfully updated karma reason!
March 17, 2012 9:40:49 AM from Elemental Forums Elemental Forums
Very cool! The more variety that can be added to the game, the better. Have you investigated the possibility of modding in new wildlands? How about a Land of the Dead bordered by the River Styx? New wildlands would make for an awesome mod, although I suppose you'd have to spend a ton of time on artwork.
Reason for Karma (Optional)
Successfully updated karma reason!
March 17, 2012 10:04:24 AM from Elemental Forums Elemental Forums

Quoting Aerion Istari,
Heaven, do you have any tips, tricks or other secrets for making the River Tool in the Map Edit actually work right?

River tool? I only edit xml.

Quoting ErikCurre,
Very cool! The more variety that can be added to the game, the better. Have you investigated the possibility of modding in new wildlands? How about a Land of the Dead bordered by the River Styx? New wildlands would make for an awesome mod, although I suppose you'd have to spend a ton of time on artwork.

I may do a wildland per river type somewhere down the line, assuming they can be modded in.

Reason for Karma (Optional)
Successfully updated karma reason!
March 17, 2012 10:36:38 AM from Elemental Forums Elemental Forums

Quoting Heavenfall,

Quoting Aerion Istari, reply 18Heaven, do you have any tips, tricks or other secrets for making the River Tool in the Map Edit actually work right?

River tool? I only edit xml.

Man, if you can edit the map XML and end up with something that makes sense, you're a God! 

Reason for Karma (Optional)
Successfully updated karma reason!
March 17, 2012 10:53:30 AM from Elemental Forums Elemental Forums

I designed the tiles in the E:wom editor. Other than that, it is more a matter of understading the XML, and then applying it.

Reason for Karma (Optional)
Successfully updated karma reason!
March 17, 2012 7:25:17 PM from Elemental Forums Elemental Forums

I do go into the XML and clean up bad rivers and a few things like that, but no way I'm spending the time to design a map with an XML editor!

Reason for Karma (Optional)
Successfully updated karma reason!
March 18, 2012 5:07:22 AM from Elemental Forums Elemental Forums

I've been thinking about how to best allow the players to actually use the rivers, ie a magma forge for example.

The modifiers that I want to use don't work from world resources - ie stuff like "apply trait to trained units" or "apply stats to trained units", or "give stats to defending units". So I can't just put them in the improvement and link it to the closest city, that won't work.

The other option is that each world resource from these rivers, for example a magma forge, unlocks a spell and gives you one perpetual cast - like rations worked in E:wom, this magma forge produces +1 global "magma forge resource", and the spell uses 1 of that resource every turn. In essence, for every magma forge, you can cast one such spell. It would have a cooldown too, to prevent the player shuffling it between cities just as units finish training.

But the downside of that solution is that the spell isn't dispelled if the world resource is lost. So I have to put a limit on the spell - say 100 turns duration. That creates micro for the player, and also there is no warning when it expires (other than the resource appearing in the resource bar).

The plus side is that this kind of solution is extremely easy for the AI to use.

 

 

Reason for Karma (Optional)
Successfully updated karma reason!
Stardock Forums v1.0.0.0    #101114  walnut1   Server Load Time: 00:00:00.0000281   Page Render Time: