.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios, Maps and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=146)
-   -   Modding Help (http://forum.shrapnelgames.com/showthread.php?t=42558)

Jazzepi March 16th, 2009 01:17 PM

Re: Modding Help
 
Quote:

Originally Posted by chrispedersen (Post 680306)
modding can be an exercise in patience.. I do suggest that after substantive changes, change the version number, unload the mod exit dominions, reload the mod.

That has fixed a lot of screwy behavior for me.

Actually, all you need to do is exit out of your current instance of dom, and restart it. At least that's all I do, and it works :9

I have the note pad open, and I save the mod, then I reload dominions. My experience has been that it some things are set at start, some things are set at making a new turn (like hitpoints) and some things are set when the nation is loaded. There's a noticeable pause when the game loads with a slightly different mod file and it's reading it in again.

Jazzepi

Jazzepi March 16th, 2009 01:52 PM

Re: Modding Help
 
Quote:

Originally Posted by Sombre (Post 680313)
There are no bugs relating to fort type settings afaik, so recheck what you typed against the mod manual and reload the mod I guess.

It's pretty clear there's an error here, to me. Something with how the "default" setting is interacting with the "forest" setting (among others).

My assumption was that default would only kick in when one of the other ones weren't defined, but this is clearly not the case. If I do this...

1 = Simple Hillfort
5 = Swamp City
32 = Ramparts
7 = Motte-and-Bailey
26 = Dead City

#startfort 5
#mountainfort 32
#forestfort 7
#defaultfort 26

Then dead cities should show up as a build option in every province except for mountains and forests. For some reason I get Simple Hillfort (1) in plains or wastes. Motte-and-baily (7) in forest/plains. Motte-and-Baily (7) in forest and Ramparts in mountains .

If I do this in the mod file...

#startfort 5
#defaultfort 26
#mountainfort 32
#forestfort 7

Hmm. That seems to work. I guess you just have to put the default fort directly after startfort.

I love undocumented requirements D:

Jazzepi

chrispedersen March 17th, 2009 02:06 PM

Re: Modding Help
 
if we have user docs on this.. could that be put in it?
As well as burnsabers...note on holy (only) being copied to be scripted?

Jazzepi March 17th, 2009 02:22 PM

Re: Modding Help
 
Quick question.

Is there a way to remove pretenders from those offered during nation creation? It seems all you can do is add custom pretenders (or pretenders from other nations), but not take away the "default" set of pretenders that come with a basic nation.

This seems to be the default set.

Oracle, Fountain of Blood, Wyrm, Titan, PoD, Master Lich, Manticore, Cyclops, Phoenix, Lich, Ghost King, Red/blue/green Dragon, freak lord, arch mage, crone, frost father, great sage, master druid, great enchantress, vampire Queen

Jazzepi

chrispedersen March 17th, 2009 02:32 PM

Re: Modding Help
 
Not real time effective, but there is a way.

Restrict the orginal pretender to an independent nation (like 25)
Copy the pretenders.
Restrict each copy to the nation you want to have them.
So you will have to make .. oh 20something copies for each pretender.

So copy1: nations 17, 67, 23
copy2: nations 18, 19,20 whatever.

Blech.

Jazzepi March 17th, 2009 04:37 PM

Re: Modding Help
 
Running into another strange problem. Tried to do some forum searching and came up with nothing.

Trying to add the Dracolich (unit #644)/ Bog Mummy (unit #645) to my pretender selection and no matter what I do I can't get him to come up as a choice. I've added two other pretenders that /DO NOT/ have multiple forms, so it has to be something with that.

I've tried to add both forms, I've tried adding one and not the other both ways, but nothing seems to work.

Jazzepi

Jazzepi March 24th, 2009 11:30 PM

Re: Modding Help
 
Question : When I'm making a graphic for a new unit sprite, is there any particular size that the canvas/image has to be? I looked a few of the extractions and they were of a large variety of sizes.

Jazzepi

Burnsaber March 25th, 2009 12:10 AM

Re: Modding Help
 
I haven't run into any trouble with canvas size. I think that the game automatically resizes them.

Nevertheless, I usually start my graphic work by taking a excisting and working graphic and then just erasing the unit. But that's mostly because my GIMP skills are weak (I can't even manage to enlarge the canvas if it's too small).

Sombre March 25th, 2009 04:51 AM

Re: Modding Help
 
It outlines the sizes to use in the modding manual.


All times are GMT -4. The time now is 04:25 PM.

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