Errors of beginners (Full Version)

All Forums >> [New Releases from Matrix Games] >> Distant Worlds Series >> Design and Modding



Message


dirzi1 -> Errors of beginners (8/27/2017 1:30:29 PM)

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.




darkriot -> RE: Errors of beginners (8/27/2017 2:35:53 PM)

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




dirzi1 -> RE: Errors of beginners (8/27/2017 3:17:10 PM)

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.




darkriot -> RE: Errors of beginners (8/27/2017 4:10:26 PM)

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




dirzi1 -> RE: Errors of beginners (8/27/2017 4:20:30 PM)


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)




Sabranan -> RE: Errors of beginners (8/28/2017 4:57:41 AM)

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.




dirzi1 -> RE: Errors of beginners (8/28/2017 9:54:15 AM)

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.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.015625