Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Errors of beginners

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Design and Modding >> Errors of beginners Page: [1]
Login
Message << Older Topic   Newer Topic >>
Errors of beginners - 8/27/2017 1:30:29 PM   
dirzi1

 

Posts: 4
Joined: 8/27/2017
Status: offline
Good day, ladies and gentlemen.
The Modding Guide says, that "MOST ITEMS OPTIONAL". So, logically, if I want to add a new race, I need to place in my mod (theme) folder the following...

- /characters/MyNewRace.txt
- /designTemplates/MyNewRace/(I have just copied the humans template file so far)
- /images/units/races (2 png-files, race_22 and race_22a)
- /images/units/ships/family22 (all we need is there)
- /images/units/troops (Troop_22.png, ect.)
- /Policy/MyNewRace.txt
- /races/MyNewRace.txt
- raceBiases.txt

And that's all, as I understand?
O'kay, but I have an error "More bias values than races at line 12 file (...) raceBiases.txt". Here is a file:
'#, Name,	 0,  1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22

 0, Ketarov,	10, 10,  0,  0,  0,  0,  0,  0,  0,  0,  5,  5,  0,  0,  0,  5,  0,  0,  0, 10,  0,  0,	 0
 1, Atuuk,	10, 10,  0,  0,  0,  0,  0,  0,  0,  0,  5,  5,  0,  0,  0,  5,  0,  0,  0, 10,  0,  0,	 0
 2, Gizurean,	 0,  0, 10, 10,-10,-10,  5,-10,  5,  5,-10,-10,-10, 10,  5,  0,-10, 10,-10,  0, 10,-10,-10
 3, Dhayut,	 0,  0, 10, 10,-10,-10,  5,-10,  5,  5,-10,-10,-10, 10,  5,  0,-10, 10,-10,  0, 10,-10,-10
 4, Human,	 0,  0,-10,-10, 10,  0,  0,  0,  0,  0,  0,  0,  0,-10,  0,  0, 10,-10, 10,  0,-10,  0, 10
 5, Quameno,	 0,  0,-10,-10,  0, 10,  0, 10,  0,  0,  0,  0, 10,-10,  0,  0,  0,-10,  0,  0,-10,  0,	 0
 6, Mortalen,	 0,  0,  5,  5,  0,  5, 10,  5, 10, 10,  0,  0,  5,  5, 10,  0,  0,  5,  0,  0,  5,  0,  0
 7, Ackdarian,	 0,  0,-10,-10,  0, 10,  0, 10,  0,  0,  0,  0, 10,-10,  0,  0,  0,-10,  0,  0,-10,  0,  0
 8, Haakonish,	 0,  0,  5,  5,  0,  5, 10,  5, 10, 10,  0,  0,  5,  5, 10,  0,  0,  5,  0,  0,  5,  0,  0
 9, Naxxilian,	 0,  0,  5,  5,  0,  5, 10,  5, 10, 10,  0,  0,  5,  5, 10,  0,  0,  5,  0,  0,  5,  0,  0
10, Zenox,	 0,  0,-15,-10,  0,  0,  0,  0,  0,  0, 10, 10,  0,-15,  0, 10,  0,-15,  0,  0,-15,  0,  0
11, Teekan,	 0,  0,-10,-10,  0,  0,  0,  0,  0,  0, 10, 10,  0,-10,  0, 10,  0,-10,  0,  0,-10,  0,  0
12, Wekkarus,	 0,  0,-10,-10,  0, 10,  0, 10,  0,  0,  0,  0, 10,-10,  0,  0,  0,-10,  0,  0,-10,  0,  0
13, Boskara,	 0,  0, 10, 10,-10,-10,  5,-10,  5,  5,-10,-10,-10, 10,  5,  0,-10, 10,-10,  0, 10,-10,-10
14, Shandar,	 0,  0,  5,  5,  0,  5, 10,  5, 10, 10,  0,  0,  5,  5, 10,  0,  0,  5,  0,  0,  5,  0,  0
15, Ugnari,	 0,  0,-10,-10,  0,  0,  0,  0,  0,  0, 10, 10,  0,-10,  0, 10,  0,-10,  0,  0,-10,  0,  0
16, Kiadian,	 0,  0,-10,-10, 10,  0,  0,  0,  0,  0,  0,  0,  0,-10,  0,  0, 10,-10, 10,  0,-10,  0, 10
17, Sluken,	 0,  0, 10, 10,-10,-10,  5,-10,  5,  5,-10,-10,-10, 10,  5,  0,-10, 10,-10,  0, 10,-10,-10
18, Securan,	 0,  0,-10,-10, 10,  0,  0,  0,  0,  0,  0,  0,  0,-10,  0,  0, 10,-10, 10,  0,-10,  0, 10
19, Ikkuro,	10, 10,  0,  0,  0,  0,  0,  0,  0,  0,  5,  5,  0,  0,  0,  5,  0,  0,  0, 10,  0,  0,  0
20, Shakturi,	 0,  0, 10, 10,-10,-10,  5,-10,  5,  5,-10,-10,-10, 10,  5,  0,-10, 10,-10,  0, 10,-10,-10
21, Mechanoid,	 0,  0,-10,-10, 10,  0,  0,  0,  0,  0,  0,  0,  0,-10,  0,  0, 10,-10, 10,  0,-10,  0, 10
22, MyNewRace, 	 0,  0,-10,-10, 10,  0,  0,  0,  0,  0,  0,  0,  0,-10,  0,  0, 10,-10, 10,  0,-10,  0, 10


...And I do not understand at all, for Sunwell sake, what exactly is wrong in line 12 ("0, Ketarov...")!

Help me please to sort it out.

< Message edited by dirzi1 -- 8/27/2017 3:14:53 PM >


_____________________________

Sorry, but I'm from Mordor...
Post #: 1
RE: Errors of beginners - 8/27/2017 2:35:53 PM   
darkriot

 

Posts: 32
Joined: 7/5/2014
Status: offline
If the name of your race is mynewrace than #22 should be labeled mynewrace too, not myrace

(in reply to dirzi1)
Post #: 2
RE: Errors of beginners - 8/27/2017 3:17:10 PM   
dirzi1

 

Posts: 4
Joined: 8/27/2017
Status: offline
quote:

ORIGINAL: darkriot

If the name of your race is mynewrace than #22 should be labeled mynewrace too, not myrace

Sorry, the misspelling; this name - MyNewRace - is for for example; the real name is quite another.


_____________________________

Sorry, but I'm from Mordor...

(in reply to darkriot)
Post #: 3
RE: Errors of beginners - 8/27/2017 4:10:26 PM   
darkriot

 

Posts: 32
Joined: 7/5/2014
Status: offline
Oh then that is weird because other than that it should work. Maybe try to run it through Sabrans modding tool

(in reply to dirzi1)
Post #: 4
RE: Errors of beginners - 8/27/2017 4:20:30 PM   
dirzi1

 

Posts: 4
Joined: 8/27/2017
Status: offline

quote:

ORIGINAL: darkriot
Oh then that is weird because other than that it should work. Maybe try to run it through Sabrans modding tool

May be... But it does not start on my computer at the moment (win 8.1)

_____________________________

Sorry, but I'm from Mordor...

(in reply to darkriot)
Post #: 5
RE: Errors of beginners - 8/28/2017 4:57:41 AM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
The game works the same way as my tool in this regard, it'll use a mod's race folder if one is present, otherwise it'll just use the default races folder. But it is one or the other, it doesn't read from both and combine them (you wouldn't be able to release a mod that removes the default races otherwise).

From your description I'm guessing you "only" have the one race file in the mod's races folder, so it's loading your one race and getting confused at the first race bias entry for obvious reasons.

Easy fix though, just copy the default races into your mod's races folder.

_____________________________


(in reply to dirzi1)
Post #: 6
RE: Errors of beginners - 8/28/2017 9:54:15 AM   
dirzi1

 

Posts: 4
Joined: 8/27/2017
Status: offline
quote:

Easy fix though, just copy the default races into your mod's races folder.

You're right, thank You for advice.

And I'll append - the cause of the slashes was also a mistake in the coding of bonus resources ("New Modding Guide for Distant Worlds: Shadows" led me astray); I corrected the values according to the current manual and all's ok.


_____________________________

Sorry, but I'm from Mordor...

(in reply to Sabranan)
Post #: 7
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Design and Modding >> Errors of beginners Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.703