![]() |
Re: Space Empires V Editor 1.0 released
Quote:
Thanks for finding this! |
Re: Space Empires V Editor 1.0 released
Quote:
I think you should focus on component design first http://forum.shrapnelgames.com/images/smilies/happy.gif (and then tech areas ! with a nice tree representation) http://forum.shrapnelgames.com/image...es/biggrin.gif |
Re: Space Empires V Editor 1.0 released
Fyron,
Thanx for the response. I'll take a look at the moon offset / same as idea. The idea of creating planets in SE with 10+ moons (like those in our own solar system) has always intrigued me. I like the idea of colonizing the moons, building cargo facilities and filling them with weapons platforms for planetary defense. However, this makes no sense if the moons are in a different sector. An editor tool for the SEV map files (similar to DevNull's facilities editor) would be very useful as the text files are pretty complicated. Thanx, skigrinder |
Re: Space Empires V Editor 1.0 released
Elsemeravin: I'm trying to fix the error you (and others) have gotten with regional settings. However, I can't seem to reproduce the error on my computer. What are your regional settings (i.e. what did you change to make the problem go away, and what was the old value that was causing the problem)?
|
Re: Space Empires V Editor 1.0 released
In the national setting from configuration panel, go to customise button (right of national name), then change the decimal separator (sorry I don't remember the exact name for the english version), and change from '.' to ','.
Then apply. |
Re: Space Empires V Editor 1.0 released
ok, got it. Man, what a pain in the ***. Turns out I was correctly NOT using regional settings when parsing the formula, BUT C# was using them anyway when doing a Convert. So, it was doing very strange things with . and , characters when the regional settings were different.
The fix was to just set the app settings to en-US Number Formatting. Figuring out how to DO that, however, was a real pain in the ***. Ah well, it should work now. Just in case any other C# programmers want to know how to force an application to use US number formatting no matter what the user's regional settings are, here's some code http://forum.shrapnelgames.com/images/smilies/happy.gif <font class="small">Code:</font><hr /><pre> CultureInfo currentCultureInfo = Thread.CurrentThread.CurrentCulture; CultureInfo cultureInfo = (CultureInfo)currentCultureInfo.Clone(); NumberFormatInfo nfi = new CultureInfo( "en-US", false ).NumberFormat; cultureInfo.NumberFormat = nfi; Thread.CurrentThread.CurrentCulture = cultureInfo; </pre><hr /> Wouldn't be nearly so annoyingly difficult to figure out if the system didn't make the original settings read-only so that I had to clone them. Sheesh. |
Re: Space Empires V Editor 1.0 released
Now that you solved this problem what about the component editor ? http://forum.shrapnelgames.com/image...ies/stupid.gif http://forum.shrapnelgames.com/image...es/biggrin.gif
|
Re: Space Empires V Editor 1.0 released
http://www.shrapnelcommunity.com/thr...o=&fpart=1
He beat you to it by about 6 minutes.. http://forum.shrapnelgames.com/images/smilies/wink.gif |
Re: Space Empires V Editor 1.0 released
Quote:
|
Re: Space Empires V Editor 1.0 released
Quote:
"Now that the component editor is done, what about the tech tree editor ?" http://forum.shrapnelgames.com/images/smilies/happy.gif http://forum.shrapnelgames.com/image...es/biggrin.gif |
All times are GMT -4. The time now is 12:42 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.