Matrix Games Forums

To End All Wars: Mountain InfantryPandora: Eclipse of Nashira Announced! Deal of the Week: Command Ops goes half price!New Fronts are opening up for Commander: The Great WarCharacters of World War 1Sign of for the Pike and Shot Beta!More Games are Coming to Steam! Return to the Moon on October 31st! Commander: The Great War iPad Wallpapers Generals of the Great War
Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Random order of characters

 
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 Series >> Design and Modding >> Random order of characters Page: [1]
Login
Message << Older Topic   Newer Topic >>
Random order of characters - 6/16/2014 12:36:54 AM   
Solarius Scorch


Posts: 163
Joined: 5/25/2013
From: Cracow, Poland
Status: offline
The modding guide says, under Appearance Order:

quote:

The order that this character appears in the game relative to other characters.
A value of "?" means that the character appears in random order.
A value of "-" means that the character is only generated by a game event – this character will never appear randomly during the game.
A value of zero (0) means that the character is present at the start of the game.


However, when I gave "?" to all my characters (to ensure randomness), the game started giving me all characters in the file (or at least most of them) at game start. This is well over 20 people, available straight away.

What am I doing wrong? :(

_____________________________

Forever Future 1.7 for Call to Power - the biggest mod for the best Civilization-like game ever!
Post #: 1
RE: Random order of characters - 6/16/2014 3:28:03 AM   
ehsumrell1


Posts: 2026
Joined: 8/17/2010
From: The Briar Patch Nebula
Status: offline

quote:

ORIGINAL: Solarius Scorch

The modding guide says, under Appearance Order:

quote:

The order that this character appears in the game relative to other characters.
A value of "?" means that the character appears in random order.
A value of "-" means that the character is only generated by a game event – this character will never appear randomly during the game.
A value of zero (0) means that the character is present at the start of the game.


However, when I gave "?" to all my characters (to ensure randomness), the game started giving me all characters in the file (or at least most of them) at game start. This is well over 20 people, available straight away.

What am I doing wrong? :(

I find the best way to handle characters is a combination of methodology Solarius. Try this as example:

' Intelligence Agents

1, John Doe, 6, John Doe.png, Human, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?
1, Jim Doe, 6, Jim Doe.png, Human, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?
1, Jane Doe, 6, Jane Doe.png, Human, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?
?, Jeff Doe, 6, Jeff Doe.png, Human, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?
?, Jack Doe, 6, Jack Doe.png, Human, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?
?, Jill Doe, 6, John Doe.png, Human, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?

Placing a few characters with a "1" instead of "?" ensures you still have some randomization and
you also will have some different characters each game. You also can put a fews "2", "3" and "4"'s
in there. This should help reduce the larger number of characters at start. I have 520 characters
in Igard's upcoming Star Trek,The Picard Era mod and have no problems with characters or their
randomization or starting amounts. Hope this helps!



_____________________________

Shields are useless in "The Briar Patch"...

(in reply to Solarius Scorch)
Post #: 2
RE: Random order of characters - 6/16/2014 5:38:49 PM   
Solarius Scorch


Posts: 163
Joined: 5/25/2013
From: Cracow, Poland
Status: offline
So the only way is to alter it a bit and pray to Omnissiah that it works? :)

I am grateful for your help ehsumrell1, I'm sure your explanation couldn't be any clearer. However, the fact that we can't control this as well as the modding guide says is... disappointing.

Very well, I'll try this approach. But modding DW is never as straightforward as nearly every other game I happened to mod, especially since it's supposed to be moddable.

_____________________________

Forever Future 1.7 for Call to Power - the biggest mod for the best Civilization-like game ever!

(in reply to ehsumrell1)
Post #: 3
RE: Random order of characters - 7/9/2014 1:46:43 AM   
ArchMike

 

Posts: 22
Joined: 8/25/2012
Status: offline
I ran into the same problems : all my characters with ? as appearance order were present at the beginning of the game.

After some testings, it happens that you need to write '?' and not ?.

Edit: Actually, the modding guide specifies "?". It might have to do with the fact that I'm using Win 7 French, but my theme crashes when I use "?". However, it works fine with '?'

Double edit : After more testings, I realized the game just ignore the lines that start with '. When I use '?', this character line is just ignored.




< Message edited by ArchMike -- 7/9/2014 1:58:29 PM >

(in reply to Solarius Scorch)
Post #: 4
RE: Random order of characters - 7/9/2014 1:00:57 PM   
Solarius Scorch


Posts: 163
Joined: 5/25/2013
From: Cracow, Poland
Status: offline

quote:

ORIGINAL: ArchMike

I ran into the same problems : all my characters with ? as appearance order were present at the beginning of the game.

After some testings, it happens that you need to write '?' and not ?.

Edit: Actually, the modding guide specifies "?". It might have to do with the fact that I'm using Win 7 French, but my theme crashes when I use "?". However, it works fine with '?'

Double edit : After more testings, I realized the game just ignore the lines that start with '. When I use '?', this character line is just ignored.



Miraculously, it seems to work for me too.

Thank you, thank you!

_____________________________

Forever Future 1.7 for Call to Power - the biggest mod for the best Civilization-like game ever!

(in reply to ArchMike)
Post #: 5
RE: Random order of characters - 7/9/2014 3:32:13 PM   
ArchMike

 

Posts: 22
Joined: 8/25/2012
Status: offline
After more testing...

'?' does not work : the character line is just ignored when it starts with '
"?" : game crashes
“?” : symbol copied right from the modding guide. Game crashes.

So I went back with ?

Instead of a character file with 99 characters, I put 5 character in it.

2 characters : 0
3 characters : ?

I fired several games and their appearance was indeed random. I had presumed that a random appearance would not include a starting position. I was wrong : a character can randomly be assigned an appearance order of zero (0).

When I got a game where I had only 2 characters right from the beginning, I played for 20 minutes to see if I would get a one of my random character through play. I edited my empire money account and I spammed troop recruits. Eventually, one of my customized troop general spawned.

Conclusion : ? must be used for random order. That random order includes starting appearance. Races with a large number of characters have an advantage.

Solutions :

- Change the code so that a random appearance cannot include starting position
- Use numeric appearance position (like in Shadows)


(in reply to Solarius Scorch)
Post #: 6
RE: Random order of characters - 7/9/2014 6:52:20 PM   
Solarius Scorch


Posts: 163
Joined: 5/25/2013
From: Cracow, Poland
Status: offline
Many thanks for your work Mike, this is indeed quite insightful. While not exactly a solution, at least we can describe the problem properly now.

(And just between us, this is an awful game design, and certainly not for the first time. Really, really sloppy for a game that has been in development for so long and waaaaay higher price than any other PC game I know. Shame!)

EDIT: I wrote a bug report, it's here.

< Message edited by Solarius Scorch -- 7/9/2014 8:00:07 PM >


_____________________________

Forever Future 1.7 for Call to Power - the biggest mod for the best Civilization-like game ever!

(in reply to ArchMike)
Post #: 7
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Distant Worlds Series >> Design and Modding >> Random order of characters 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.063