Console command question

Hi guys,

 

im pretty new to the game and am quite busy creating my own custom factions while fiddling around a bit with the command console.

 

My only issue is, that i simply cant figure out where to find the <player index> of the various races for the e.g. dipstate command.

 

Browsing the Internet and the local search engine hasnt helped so far.

 

Thx in advance.

Hixt

 

 

13,070 views 6 replies
Reply #1 Top

I remember this came by on a dev stream... they didn't know how either.

Reply #2 Top

As I understand it, you are player 0, and then it follows the turn order as 1,2,3,..

This would be for major factions.  I have no idea about minors.

Reply #3 Top

Quoting erischild, reply 2

As I understand it, you are player 0, and then it follows the turn order as 1,2,3,..

This would be for major factions.  I have no idea about minors.
End of erischild's quote

 

Can you elaborate on the command itself? I tried using " dipstate Friendly player0 player1 " without the " etc. but i only get the usual "invalid player indices".

 

Thx in advance

Hixt

Reply #4 Top

leave the "player" out and just use the numbers, the 4 dip states as the 1st parameter are indicated in the help dipstate command(case sensitive apparently), i did a very basic test and the player indices are in order from the opponent select screen in galaxy generation, the player as 0 and then 1,2,3 etc in the order so if you have random for more than 1 race you will not be able to tell, i am sure minors are after the majors but unsure of how they would be ordered, i didn't bother myself

Example

dipstate Enemy 0 1

this would make the human player and the 1st opponent that was listed on galaxy creation at war, another example if you wanted the 3rd major listed on creation at war with the let's say 7th then it would be

dipstate Enemy 3 7

You would most likely have to test for the minors to find their indices since there seems to be no way to display the relation so you might want to create a list of the order of opponents on that part of creation for this purpose and save just before testing out indices higher than the number of majors in order to find the minor's indices, hope this helps

edit: slightly more clarification for minor finding

Reply #5 Top

just an afterthought, the minors might be ordered after the majors in the same order they are listed in the xml based on which are actually in a given game, although i figure testing would produce better immediate results than comparing which are in your game and the xml order in which they are listed

Reply #6 Top

Quoting Moogle65535, reply 4

leave the "player" out and just use the numbers, the 4 dip states as the 1st parameter are indicated in the help dipstate command(case sensitive apparently), i did a very basic test and the player indices are in order from the opponent select screen in galaxy generation, the player as 0 and then 1,2,3 etc in the order so if you have random for more than 1 race you will not be able to tell, i am sure minors are after the majors but unsure of how they would be ordered, i didn't bother myself

Example

dipstate Enemy 0 1

this would make the human player and the 1st opponent that was listed on galaxy creation at war, another example if you wanted the 3rd major listed on creation at war with the let's say 7th then it would be

dipstate Enemy 3 7

You would most likely have to test for the minors to find their indices since there seems to be no way to display the relation so you might want to create a list of the order of opponents on that part of creation for this purpose and save just before testing out indices higher than the number of majors in order to find the minor's indices, hope this helps

edit: slightly more clarification for minor finding
End of Moogle65535's quote

 

Thx a lot :).