.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

ATF: Armored Task Force- Save $8.00
War Plan Pacific- Save $8.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old September 3rd, 2009, 10:41 PM
Corporal Kindel's Avatar

Corporal Kindel Corporal Kindel is offline
Private
 
Join Date: Jul 2009
Posts: 26
Thanks: 1
Thanked 0 Times in 0 Posts
Corporal Kindel is on a distinguished road
Default Some basic mod questions

I want to do the mod thing. I have visual studio 2005 installed on my computer and I downloaded SDL and installed it successfully. Eventually I want to get a halfway decent graphics program that I can use that for creating more TGA files, but for now it’s not a priority.

I have a few ideas for mods, eventually I want to add another magic path, but I realize this will be extremely difficult. For now though, I just want to experiment with an extremely simple mod to get my feet wet so to speak. What I want to do is just add a bunch of new names to the names table. I’m kind of getting sick of having 5 or 6 leaders named Catavillonius or something like that. I just want to add 400 or 500 basic names like Andy, Jim, Twerp, etc. I read through part of modding manual and skimmed the rest, so I have a basic rudimentaty idea of modding. I opened some of the TRS files, I can’t seem to locate the files where the names are embedded/listed. I did a control print screen and pasted it, most of the files are either the graphics files and the TRS files which I tried to open with visual studio. I can’t seem to find the names file, just a bunch of army”x” files which I take are national units etc. that are setup in a byte/hex location manner/value (I don’t know).

Anyway, If someone could point me in the right direction as far as adding new names I’d appreciate it. The tables and info on page 17 of the modding manual just doesn’t cover this topic enough.

ps: I tried to post a .bmp paint pic of the print-screen, but it keeps exceeding the allocated size of 78 somthing kbs, that's too small an amount.
Reply With Quote
  #2  
Old September 3rd, 2009, 11:41 PM
Burnsaber's Avatar

Burnsaber Burnsaber is offline
Colonel
 
Join Date: Jun 2007
Location: Finland
Posts: 1,617
Thanks: 179
Thanked 304 Times in 123 Posts
Burnsaber is on a distinguished road
Default Re: Some basic mod questions

Mods in dom3 are just text files that are named in to .dm files by giving the extension in name. Easy way to create to an empty .dm file is to copy a .dm file of some mod you have already, and paste that copy somewhere. Then change the name and of the copied file and delete all of its contents. Ta'Da! Empty .dm file.

So I take it that you want to see the in-game name lists? Don't know if that is possible, at least not without code diving. Adding names to a name list is very simple, thought. If you want to get started, the Mytheology (just do a forum search for Mytheology) mod by Psientist has added about 60 names to both male and female indy name lists, you could start from there. The mod commands for adding adding name are extraordinary simple, so that is a good point to start. Here is a sample command that adds 3 names to the indy male name list.

Code:
#selectnametype 100
#addname "Dude the Dudelicious"
#addname "Guy"
#addname "Commander Thickwood"
#end
As for your dreams about adding a new magic path, I must say that is not possible. You'd have to overwrite all mages and spells of a excisting path and even then the result won't likely be useful, since the path would maintain its old icon and name. The modding tools are quite limited in dom3, so you'll have to get used to either compromising a lot, or using clever hacks.

P.S: I usually don't bother posting images on the forums. I upload them to imageshack or xs.to and use the [IMG] tags to link to the picture.
Reply With Quote
  #3  
Old September 4th, 2009, 02:50 AM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: Some basic mod questions

If you want to upload images it's usually a good idea to have them in .png format anyway due to the low filesize without loss of quality.
Reply With Quote
  #4  
Old September 4th, 2009, 08:59 PM
Corporal Kindel's Avatar

Corporal Kindel Corporal Kindel is offline
Private
 
Join Date: Jul 2009
Posts: 26
Thanks: 1
Thanked 0 Times in 0 Posts
Corporal Kindel is on a distinguished road
Default Re: Some basic mod questions

Thanks for the replies guys . Yeah, I figured it would be either impossible or next-to-impossible to do what I really want to do, namely adding a magic path . I'll probably never find the time to really delve into the code to the extent that's needed to do that modification. Oh well, it's not at the top of my list of things-to-do right away anyway.

As far as the name lists, thanks, that info was very good. I've already fleshed out a large notepad (.dm) doc with blank spots enough for about ten thousand names. It's gonna be a very large scale name-adding mod to cover the largest maps to insure that no duplicate names get generated. I just plan on leisurly adding 50 to 80 or so names every day until it's done, taking my time. I'm in no big rush to do it all at once. I do plan on adding a lot of colorful names but most are just gonna be short and sweet like George, Jim, Bob, Don, Dork, etcetera.

I do have a couple more general name questions though. I was hoping to find the list of basic names used by the nations in Dom3 so I don't inadvertantly duplicate one. Do you know if there's a master list anywhere? I'm very familiar with the maverni names, but I haven't used any other nation yet, except as an opponent.

I also have no idea what some of the nation's names are. For example, which nations are Rus, Gath, Deep ones (I assume R'lyeh for deep ones) and Rephaim? I need to have some idea of the national leader names so I can keep my custom-National-leader- names on topic so to speak.

Also, I'm guessing the custom name tables (127 and 128) are only used when creating (modding) new nations, otherwise these are never used, correct?

Last question is related to how the name mechanism works during a game of Dom 3. I've noticed some AI leader with the same name as my own guys, so I'm wondering how that works exactly. For example, using Maverni, I'm guessing that all the names in the maverni lists (tables) are used when recruiting new leaders, when this table is exhausted, does the game then switch to the Misc male & misc female table before recycling back to the beginning of the maverni table (after exhausting the misc tables)? Or does it skip the misc tables completely and just cycle back to the start of the maverni table? Or does it work some other way altogether?

Thanks for any replies,
rk
Reply With Quote
  #5  
Old September 5th, 2009, 02:21 AM
Burnsaber's Avatar

Burnsaber Burnsaber is offline
Colonel
 
Join Date: Jun 2007
Location: Finland
Posts: 1,617
Thanks: 179
Thanked 304 Times in 123 Posts
Burnsaber is on a distinguished road
Default Re: Some basic mod questions

Quote:
Originally Posted by Corporal Kindel View Post
As far as the name lists, thanks, that info was very good. I've already fleshed out a large notepad (.dm) doc with blank spots enough for about ten thousand names. It's gonna be a very large scale name-adding mod to cover the largest maps to insure that no duplicate names get generated. I just plan on leisurly adding 50 to 80 or so names every day until it's done, taking my time. I'm in no big rush to do it all at once. I do plan on adding a lot of colorful names but most are just gonna be short and sweet like George, Jim, Bob, Don, Dork, etcetera.
Sounds good, I'd use that kind of mod.

Quote:
Originally Posted by Corporal Kindel View Post
I do have a couple more general name questions though. I was hoping to find the list of basic names used by the nations in Dom3 so I don't inadvertantly duplicate one. Do you know if there's a master list anywhere? I'm very familiar with the maverni names, but I haven't used any other nation yet, except as an opponent.
Like I said, the base game name lists aren't accessible other than code diving and few people are skilled in that part.
Well, creating a couple of duplicate names won't be that big of deal. It will just mean a very slightly increased chance of duplicate names, if you are doubtfull if the name is already in the game, you could just add an suffix, like "the Strong" and so forth.


Quote:
Originally Posted by Corporal Kindel View Post
I also have no idea what some of the nation's names are. For example, which nations are Rus, Gath, Deep ones (I assume R'lyeh for deep ones) and Rephaim? I need to have some idea of the national leader names so I can keep my custom-National-leader- names on topic so to speak.
Deep Ones are Atlantis and R'lyeh names, IIRC. Gath list has names for Hinnom, Ashdod and Gath, the desert giant nations. Rus is a list of names for Bogarus.

Quote:
Originally Posted by Corporal Kindel View Post
Also, I'm guessing the custom name tables (127 and 128) are only used when creating (modding) new nations, otherwise these are never used, correct?
Correct.

Quote:
Originally Posted by Corporal Kindel View Post
Last question is related to how the name mechanism works during a game of Dom 3. I've noticed some AI leader with the same name as my own guys, so I'm wondering how that works exactly. For example, using Maverni, I'm guessing that all the names in the maverni lists (tables) are used when recruiting new leaders, when this table is exhausted, does the game then switch to the Misc male & misc female table before recycling back to the beginning of the maverni table (after exhausting the misc tables)? Or does it skip the misc tables completely and just cycle back to the start of the maverni table? Or does it work some other way altogether?
The mechanic is simple. All units take their name from one of the lists upon creation. That's it. That's why there appears so many duplicate names in large names since the name is just randomaly taken from the list with no regard for the names previously created. Units never change name lists, not for any reason. If you were playing Maverni only your national commanders were getting Maverni names, indpendent commander got indy names. Hopefully that explanation wasn't too confusing.
__________________
I have now officially moved to the Dom3mods forums and do not actively use this account any more. You can stll contact me by PM's, since my account gives e-mail notifications on such occasions.

If you need to ask something about modding, you can contact me here.

See this thread for the latest info concerning my mods.
Reply With Quote
  #6  
Old September 6th, 2009, 03:14 AM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Some basic mod questions

Hinnom actually uses the Rephaite names, as does Ashdod.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 08:31 AM.


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