Star Trek Fan Games
http://bote2.square7.ch/forum/

additional playable races?
http://bote2.square7.ch/forum/viewtopic.php?f=12&t=3697
Page 1 of 2

Author:  0069twiggy [ 20 Aug 2010, 23:42 ]
Post subject:  additional playable races?

Will it be possible at some point to have more than 5 playable races? It would be nice to play as the Tholians or the Breen.

Author:  Matress_of_evil [ 21 Aug 2010, 01:17 ]
Post subject:  Re: additional playable races?

*Reserved post. Potential good news is on the way.*

Author:  mstrobel [ 21 Aug 2010, 01:29 ]
Post subject:  Re: additional playable races?

Yes. In fact, it's possible now.

Author:  Captain Bashir [ 21 Aug 2010, 03:03 ]
Post subject:  Re: additional playable races?

I believe that also means we need structural images for all the possible races people would want to play as a major race? Minor races that were conquered or absorbed by diplomacy, adopted the major race's technology. Captain Bashir

Author:  vjeko1701 [ 21 Aug 2010, 08:16 ]
Post subject:  Re: additional playable races?

Wait, you're serious?

Author:  starfleet.command [ 21 Aug 2010, 11:55 ]
Post subject:  Re: additional playable races?

I feel there will be even more new features....

Author:  Matress_of_evil [ 21 Aug 2010, 13:53 ]
Post subject:  Re: additional playable races?

Yes V, we are serious. I've actually already written a post on exactly how to do it, but I can't get it to work properly until we can trace the reason why my copy of the game won't load. That's why I reserved the post above. I've got it saved as a .txt file at the moment.

The change to the files that you need to make is actually really small.

Author:  starfleet.command [ 21 Aug 2010, 14:06 ]
Post subject:  Re: additional playable races?

thank you for your part (you and Mike) to let us know.

Author:  Captain Bashir [ 21 Aug 2010, 14:46 ]
Post subject:  Re: additional playable races?

Mike had said that there was going to be a new game release in August. So it's August 21st.... News? Anyone... Anyone... Anyone? Please excuse my drool. :drool: Anxious Bashir

Author:  Iceman [ 21 Aug 2010, 16:16 ]
Post subject:  Re: additional playable races?

Like Mike said somewhere else, there's really no secret. Just set the race to Empire.
Of course, all the accessory stuff needs to be changed too, like longer description, and the data files should be changed to reflect the new race. It's not _that_ simple, but it's not that hard either. Not that I've tried it already though. So I should say, it shouldn't be that hard.

Author:  Matress_of_evil [ 21 Aug 2010, 16:27 ]
Post subject:  Re: additional playable races?

Vjeko just tested it since my files are messed up. It works in that the minors become selectable and an Empire. But when you actually select them, you start playing as the Federation instead. Odd.

Author:  Iceman [ 21 Aug 2010, 17:00 ]
Post subject:  Re: additional playable races?

I'm guessing because the data files weren't changed to reflect the new race. Notice that every table has an entry for all the empires. Not all of them have a Default entry though, IIRC. Default is what is used for minors I guess, and I'd venture situations like these.

Author:  vjeko1701 [ 21 Aug 2010, 18:05 ]
Post subject:  Re: additional playable races?

Solved it.

Author:  mstrobel [ 21 Aug 2010, 18:21 ]
Post subject:  Re: additional playable races?

Out of curiosity, what was the problem?

Author:  vjeko1701 [ 21 Aug 2010, 18:26 ]
Post subject:  Re: additional playable races?

All playable Empires had to be defined before all other races in the Civilizations.xml I wasn't completely sure that that was the problem, so I didn't post it before, but now I am.

Proof:

Spoiler: show
Attachment:
colors.png
colors.png [ 894.67 KiB | Viewed 10126 times ]

Author:  Matress_of_evil [ 21 Aug 2010, 18:30 ]
Post subject:  Re: additional playable races?

The problem that I had was missing files. Vjeko had referenced some new planet textures that I didn't have.

As for the minor races problem, it was the ordering of the races, Mike. The Empires MUST be listed at the start of the Civilizations.xml file. You can't simply change a minor from a minor to an Empire, you've physically got to move their entry to the top of the file with the other Empires as well.

Edit - Vjeko posted whilst I was typing this. Even more proof:

Spoiler: show
Image

Author:  mstrobel [ 21 Aug 2010, 18:30 ]
Post subject:  Re: additional playable races?

Ah yes, that old rule. I'd forgotten about that. It was meant to be temporary just to make my life easier for a little while :).

Author:  vjeko1701 [ 21 Aug 2010, 18:32 ]
Post subject:  Re: additional playable races?

And using this page, you can give your new empires whatever color you want.

http://msdn.microsoft.com/en-us/library ... olors.aspx

this will make modders very happy

Author:  mstrobel [ 21 Aug 2010, 18:34 ]
Post subject:  Re: additional playable races?

vjeko1701 wrote:
And using this page, you can give your new empires whatever color you want.

http://msdn.microsoft.com/en-us/library ... olors.aspx

this will make modders very happy

I'm impressed that you found that :). You should also be able to use the hex form that you normally use in HTML (#rrggbb). Technically you could also specify the alpha channel (#aarrggbb), but you shouldn't, and I probably override it to fully opaque anyway.

Author:  vjeko1701 [ 21 Aug 2010, 18:35 ]
Post subject:  Re: additional playable races?

hehehehe, I wanted to suggest that to you. Cool.

EDIT: It's not that impressive, I have some experience in C# programming. I just recognized the colors used in the xmls and it was easy to find the list of them on the net.

Author:  Matress_of_evil [ 21 Aug 2010, 18:38 ]
Post subject:  Re: additional playable races?

Can we suggest the addition of a scroll bar if there are more Empires than can be displayed? :mischief:

Spoiler: show
Image

Author:  mstrobel [ 21 Aug 2010, 18:40 ]
Post subject:  Re: additional playable races?

vjeko1701 wrote:
EDIT: It's not that impressive, I have some experience in C# programming. I just recognized the colors used in the xmls and it was easy to find the list of them on the net.
Yeah, but Microsoft uses those same color names in a few of their frameworks, and you just happened to stumble across the precise Color structure used in Supremacy (System.Windows.Media.Color).

In addition to the hex format, you can use ScRGB values (where the channels are normalized to values between 0.0-1.0). Just write it out as "sc#scR,scG,scB", where scX are each between 0.0-1.0 (and keep the "sc#" prefix as-is).

Author:  mstrobel [ 21 Aug 2010, 18:41 ]
Post subject:  Re: additional playable races?

Matress, I hate you.

Author:  vjeko1701 [ 21 Aug 2010, 18:45 ]
Post subject:  Re: additional playable races?

hehehehehehehehehehehehe, I was actually my experiment. Few more images of it:

Spoiler: show
Attachment:
omg.png
omg.png [ 960.58 KiB | Viewed 10117 times ]


Spoiler: show
Attachment:
untitled.png
untitled.png [ 901.23 KiB | Viewed 10117 times ]



That was I got to the conclusion that all empires have to be before other races in the Civilizations.xml

Author:  mstrobel [ 21 Aug 2010, 18:48 ]
Post subject:  Re: additional playable races?

Hmm, looks like the contested territory coloring isn't working properly (or it looks stranger than I remember). I'll have to revisit that.

Author:  vjeko1701 [ 21 Aug 2010, 18:49 ]
Post subject:  Re: additional playable races?

It would look properly if all the races had their own color. I wouldn't worry about it. I doubt that many people would come to an idea like this.


On the above image there are just too much races contesting over the same space, and only one of them is colored. Under normal circumstances it looks great.

Author:  Matress_of_evil [ 21 Aug 2010, 18:51 ]
Post subject:  Re: additional playable races?

You can hate me as much as you like Mike, just vent it into making the game even better.

...But Vjeko did make the image. :razz:

Author:  mstrobel [ 21 Aug 2010, 18:57 ]
Post subject:  Re: additional playable races?

vjeko1701 wrote:
It would look properly if all the races had their own color. I wouldn't worry about it. I doubt that many people would come to an idea like this.


On the above image there are just too much races contesting over the same space, and only one of them is colored. Under normal circumstances it looks great.

Ah, yes, that makes sense. I should probably only use distinct colors for the contested territory brush, i.e., filter out the duplicates. Easy enough.

Author:  vjeko1701 [ 21 Aug 2010, 20:02 ]
Post subject:  Re: additional playable races?

If you hate Matress, you should have homicidal thoughts about me:

Spoiler: show
Attachment:
crazy.png
crazy.png [ 897.13 KiB | Viewed 10104 times ]

Author:  mstrobel [ 21 Aug 2010, 20:19 ]
Post subject:  Re: additional playable races?

I'd be interested in seeing how abysmal the multiplayer performance is with 30 human-controlled empires...

Page 1 of 2 All times are UTC [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/