help with merging 'Gods of Old' with another mod?

Psychic_Llamas

Wizard in the Making
Joined
Nov 25, 2005
Messages
6,366
Location
Western Australia
I love the gods of old uber spells, and want them in the warhammer mod.

First off, i know this is completely un-FfH related, but there are so many talented modders here i figured i might as well give it a shot :p

I have attempted to start a *very* ambitious project (for my modding skills anyway) by merging the Gods of Old mod that came with vanilla civ, into the Warhammer mod.

All i really want to do is get the effects of each of the god spells (Earthquake, tsunami, meteor strike, blight, plague etc) to NOT rely on religion or great prophets. i want these spells to be able to be triggered by normal FfH magic mechanisms.

now, my first attempt was abysmal, i tried going through each file and comparing every line of text, and copying the gods of old code into the warhammer mod. needless to say this was extremely time consuming, and i eventually realised id have to begin messing with religions, which i have no idea how they work.

my second attempt was similarly abysmal, doing the same code comparisons and copy n pastes, but this time i tried to make all the code get directed to the Old Ones religion, which is the religion of the civ that i want to be able to use these spells. again it failed.

i feel like a fish out of water here, there MUST be an easyer way to do this, am i just being blind and dumb? or is what im trying to do impossible?

any help will be greatly appreciated.
 
any help will be greatly appreciated.

I've just taken a look at the code for these and they put a lot of nice features into it. For instance - they've got a Tsunami with a very wide area of effect, which causes less damage the further away you move from the centre. The effects themselves are simple enough (reduce population, damage/destroy improvements), but they're implemented nicely.

The main thing that makes the cut-and-paste tricky is that the code for each spell is broken up into several functions, though it should be possible to port *most* of the spell over into a FfH based spell system. Some of the effects etc will take some extra work.

How far did you actually get?
 
well i ported all the code across that i could find in the python and xml, only to end up with a BILLION xml and python errors on the start up. i didnt actually put any of the GOO spells into the FfH spell python file... i didnt even think of that...
 
I combined GoO with NextWar using the existing Mechs O' Potamia mod as a template and it was definitely a lot of work. Of course I tried balancing the gods a bit more, which added a lot of effort.

I haven't done any FfH modding, but I suspect that since it already has spells it should be relatively simple to get the actual spell code into the mod (all the god code is in one or two files, and it's all grouped together).

The spell effects and such are driven by the XML files, and I basically just copy/pasted that stuff wholesale so I don't know how which parts do what.

Probably not much help, but good luck!
 
I haven't done any FfH modding, but I suspect that since it already has spells it should be relatively simple to get the actual spell code into the mod (all the god code is in one or two files, and it's all grouped together).

Aye - use the FfH spell system. Then you just have to hack at the python a bit.
 
i feel like a fish out of water here, there MUST be an easyer way to do this ... any help will be greatly appreciated.

Yes, there is an easier way:

I started to merge GoO with Revolutions just after BTS came out. I scratched my head a bit, realized after awhile that what I _really_ wanted were religions with markedly different features... which turned out to be relatively easy.

Probably not the sort of help you were looking for. :)

This might be closer: How about you pick a GoO "spell" and post the relevant python, along with any progress you've made adapting it. I, and probably others, will take a stab at helping you with it.
 
This might be closer: How about you pick a GoO "spell" and post the relevant python, along with any progress you've made adapting it. I, and probably others, will take a stab at helping you with it.

thanks for the offer Tarquelne, ill definately take you up on that :) ill make a fresh start as soon as i can :)

i think ill make it compatable with just plain old FfH first off so others can use it how they see fit for FfH, then it will be a simple matter of copy and pasting it into warhammer :)

im going to do Earthquake first as thats the most interesting one IMHO :p
 
I requested Woodelf move this thread to the Warhammer forum. Psychic Llamas is a long time friend of FfH, so no hard feelings, but I dont want this to become the place where people post asking for help with other mods.
 
Back
Top Bottom