.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 2: The Ascension Wars (http://forum.shrapnelgames.com/forumdisplay.php?f=55)
-   -   Modding Question: Two players as the same nation (http://forum.shrapnelgames.com/showthread.php?t=17626)

Argitoth February 2nd, 2004 06:55 AM

Modding Question: Two players as the same nation
 
Hey, you think it would be easy to completely copy a nation so people can play the same one?

Saber Cherry February 2nd, 2004 07:04 AM

Re: Modding Question: Two players as the same nation
 
Yes... aside from national pretenders. But some of the capitol-only units may pose a problem, as some capitol sites seem hard-coded to only allow a specific nation to recruit those units...

PDF February 2nd, 2004 09:24 AM

Re: Modding Question: Two players as the same nation
 
In fact some units are hardcoded to sites themselves (ie site X allows recruiting of unit Y).
Maybe one can bypass the problem by adding the wanted sites to the changed nation with #startsite command, but I dunno if there's some hardcoded control to force "unique" sites to be unique indeed...
Have a try ! http://forum.shrapnelgames.com/images/icons/icon7.gif

Gandalf Parker February 2nd, 2004 03:01 PM

Re: Modding Question: Two players as the same nation
 
There is no "copy all" for a nation so you would have to do all the units. For the ones that are tied to a site you should be able to replace a recruitable unit with whatever unit the site gives. The only problem I can see is if you are trying to replace a nation with many units into a slot held by a nation with only a few units. And if there are extra slots left over you might want to fill those with duplicates of something just for fairness.

PDF February 2nd, 2004 04:24 PM

Re: Modding Question: Two players as the same nation
 
Hum, I thought of making it the easy way :
You want nation X to use nation Y units, so it goes. First note all the units and commanders/hero IDs of nation Y then :

file switchnationYX.dm http://forum.shrapnelgames.com/images/icons/icon7.gif

#selectnation X
#clearrec
#clearsites
#addrecunit xxx (xxx= id of 1st unit available to nation Y)
#addrecunit xxy (2nd unit of Y)
..etc..
#addreccom ccc (same for commanders and heroes than for units)
..etc..
#addreccom ccz
#startsite "first site of nation X"
...
#startsite "Last site of nation X"
Also add the correct #defcom1/2, #defunit1/2, #startcom and #startunit defining the province defense units and commanders and the starting units, then change somewhat the name, color and description of nation X - see modding pdf file ...)

It *should* work if my genius didn't fail http://forum.shrapnelgames.com/image...s/rolleyes.gif http://forum.shrapnelgames.com/images/icons/icon10.gif !

[ February 02, 2004, 14:31: Message edited by: PDF ]


All times are GMT -4. The time now is 10:40 AM.

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