.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios, Maps and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=146)
-   -   Utility: combineMods.py (http://forum.shrapnelgames.com/showthread.php?t=44889)

nordlys April 17th, 2010 06:41 AM

Re: combineMods.py
 
That's sad :( I was trying to make a single age mod with all the nations plus 10 mod nations, but it seems I am out of luck then :(

Why this arbitrary limit, anyway?

kennydicke April 17th, 2010 07:37 AM

Re: combineMods.py
 
"Programming ain't easy, but it sure is fun."

It's has to do with programming. I'm not versed enough to explain further.

Ragnarok-X April 17th, 2010 04:15 PM

Re: combineMods.py
 
I dont quite understand how to use it. I have python installed, from Civ 4. I now want to combine a mod (Sombre lateera mod) with the magic site mod. How would i go about doing this ?
When i open the .py files, notepad++ is used.

pyg April 17th, 2010 05:58 PM

Re: combineMods.py
 
Quote:

Originally Posted by Ragnarok-X (Post 740972)
I dont quite understand how to use it. I have python installed, from Civ 4. I now want to combine a mod (Sombre lateera mod) with the magic site mod. How would i go about doing this ?
When i open the .py files, notepad++ is used.

Well, the last time I used Windows it was called 3.1 so I'm not really sure. If you can get a *DOS terminal* or some such and change to your mod directory, then 'combineMods.py 3 lateera.dm sitemod.dm my_spiffy_new_modname'... I think (.dm names approximated). Really could use some help from savvy windows users out there... if you've used this script how do you do it?

Ragnarok-X April 17th, 2010 06:11 PM

Re: combineMods.py
 
In that case, creating a .bat should work...but it doesnt. When i run the batch, notepad still opens up the combinemods.py instead of actually doing something relevant.
Perhaps someone else will post. thanks for your time so far.

mehrunes_dagon April 18th, 2010 08:53 AM

Re: combineMods.py
 
1 Attachment(s)
Quote:

Originally Posted by pyg (Post 740095)
Quote:

Originally Posted by mehrunes_dagon (Post 740068)
spent many hours playtesting a middle-age combination

noticed that the script gave two units the same number, so AI player hired a powerful unit for zero gold. The units are

"Chaos Warrior Chariot"

"Keeper of Secrets"

and the mod is "chaos undivided"

Interesting. If they have the same ID number then one should just overwrite the other. It shouldn't be changing other aspects (at least cost) of the unit. Can you post the .dm into this thread so I can try and figure it out?

not sure which .dm you want me to post.

Attempting to give them all, together with the script

pyg April 18th, 2010 12:49 PM

Re: combineMods.py
 
Quote:

Originally Posted by mehrunes_dagon (Post 741065)

not sure which .dm you want me to post.

Attempting to give them all, together with the script

That was enough information for me to figure it out. It seems like some of my negative lookahead assertions were broken. I think it's fixed now and updated in the first post.

pyg May 14th, 2010 10:22 PM

Re: combineMods.py
 
With the help of lch I made a fairly major change to DMG/combineMods.py which gives some extra room for modding spells by overwriting unused national spells. Previously there were ~136 spell slots but by overwriting unused national spells EA mods can have ~252, MA ~225, and LA ~168. By removing all the default nations and playing with just mod nations you can now have ~353 spells. This hasn't been tested all that much but appears to work. More details here.


All times are GMT -4. The time now is 10:16 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.