Brad Wardell's Blog


GalCiv IV: Supernova Dev Journal #27 - Localization

Published on Monday, October 2, 2023 By Brad Wardell In GalCiv IV Dev Journals
One of Stardock's big challenges has been localizing our games.
 
GalCiv IV has over 180,000 words in it.  That's a lot to translate.  But that's not really the biggest issue.  The biggest issue is that we are constantly adding new text to the game which makes it hard for our linguistics team to keep up.
 
We typically use Trados for this sort of thing.  It's very powerful but it is not fast.  So I decided to write my own app called GC4TranslatorUI.  Fancy eh?
 
 
 
The format of our strings
 
The English files do have different names than the Chinese files.  Under the covers, they're just XML files like this:
 
    <StringTable>
        <Label>Race_Arcean_Dec</Label>
        <String>Arcean's stoic nature makes them unlikely to be [HS=HS_Ideology]ideological[/HS]. Instead they revere the military and Arcean soldiers gain additional [HS=HS_Approval]Approval[/HS] and are never pacifists.</String>
    </StringTable>
Where your app needs to match the labels together.
 
Due to finding Trados so slow, we are using this app which I'll walk you through how to use:
 
Step 1: The app is called GCTranslatorUI.exe and in the root of the Github project.  Load it.
 
It should look like this:
 
Step 2: Load the English source directory:
 
It's located here.
Your dialog should look something like this:
 
Step 3:  Choose Chinese as the language you want to use:
 
Step 4: Translate
 
I size the window to make it comfortable to use.  You will notice on the left side we have the priority of the translation.  (Normal, High).  We will also be adding additional strings.
 
Right now, all of the text has been machine (AI) translated.  So this would be a good way to get your linguists to take a look to and see what looks right and what doesn't.  You can see the English next to the Chinese on this screen.  If something needs to be changed, double click the entry and type in the correct translation.
 
Example:
Here is text that hasn't been translated.   The English source file is ModifierText.xml and the Chinese file it's to be translated into is AdditionalStrings_3.xml.   I double click on it and translate it.
 
 
 
This particular example highlights the issues with translation because what I actually wanted here was Sectors (not clusters) so even the English side is wrong.   But even if it were sectors, we mean sectors as in space sectors in a Sci-Fi context.  So even an AI translation would likely get it wrong.
 
Stardock is handling English, French, Russian, German, Chinese professionally (though the community has been super helpful with French, thank you!)
 
Eventually, we will have a large set of languages available to play the game in.  It's just a matter of how fast we are able to get to them.  But if the community wants to help, we welcome it.  
 
I didn't know Github at all when I started this. It's been a blast.  I've had ChatGPT teach me so I don't end up asking my engineers a bunch of newbie questions.  Link to ChatGPT: http://chat.openai.com
 

______________________________________________________

[confluence title=""]https://stardock.atlassian.net/wiki/spaces/SUP/pages/1471414278/GalCiv+IV+Supernova+Dev+Journal+Links[/confluence]

Frogboy's October 1 weekend madness

Published on Sunday, October 1, 2023 By Brad Wardell In Galactic Civilizations IV

Just some tweaks we put in this weekend that should show up for the next beta release:

 

  • Hostile civ spawn events (Snathi, etc.) will no longer occur to civs with the Pacifist trait.
  • Research district base benefit increased from 3% to 5%
  • Manufacturing district base benefit increased from 3% to 5%
  • Life Support module added for ship design, increases range by +8.
  • Fixed a bug that allowed the AI to stupidly declare war without much of a military simply because they were pissed off.
  • Fixed a bug that allowed the AI to end transports with insufficient escorts
  • Updated the planet window and unit list to fix problems with accessing data and citizens on the screen. Improved the layout and fonts.
  • Disease related events blocked from triggering if the player is a synthetic civ).
  • Endcap Technologies: These are technologies that are unlocked if you get the corresponding endcap cultural progression trait. They are very expensive so that researching them is only viable late game.
  • Post-Sentience tech now increases citizen diligence by 0.2 per turn
  • Technological singularity now creases the research on the CAPITAL WORLD by 1% every turn. (this is very powerful for tall empires)
  • Consensus end cap tech now provides the player a +0.1 diplomacy buff per turn until everyone loves you.
  • Dream of Utopia end cap tech now results with the capital world of the civ generating +5 more influence per turn every turn. Note that this is a very expensive end game tech.
  • Glorious legacy end cap technology results on every planet generating an additional 5% more influence per turn. Again, these are techs that requires completing a cultural progression tree category and then researching the extremely expensive tech.
  • Coordinated travel end cap technology results in every ship getting +0.1 more moves per turn every turn (max of 100 additional moves per turn).
  • Individual Divinity end cap technology results in all citizens getting a +0.1 buff to every stat every turn.
  • Cultural Influence tech restore to Synthetic races so that galactic challenges will work (hat tip: Manhattan)
  • New Tech: Interstellar Cartography. Increases moves cap by +1. Requires Starbase Modules tech to research.
  • Exotic Agriculture requires the Farmer species trait
  • Anomaly detection now provides +1 to moves
  • Ship maint decrease when ships in orbit removed
  • Ships that start their turn in friendly territory now get a 50% buff to their moves that turn.
  • Base ship movement reduced from 3 to 2 now that ships get a 50% buff in friendly territory.
  • Capital Mainframe research bonus increased from 20% to 25%
  • Supply Depot requires Xeno Industrialization now
  • Altarian focus changed from Pacifism to Egalitarianism.
  • Cultural Progression trait changes:
  • Sovereign Identity gives all planets a 20% buff to planetary resistance (to culture flipping)

Cheers!

GalCiv IV BETA v1.9 localization

Published on Wednesday, September 27, 2023 By Brad Wardell In GalCiv IV Localization

 

Our localization teams are hard at work across the world.   And the community has done some great work too.

However it is clear that we are not going to get all 185,000 words fully translated in time for release.  It takes about 60 days for the linguists we work with to edit and translate.

That said, we are fairly far along.   Stay tuned!

GalCiv IV: Supernova Dev Journal #26 - The Animals of AI

Published on Monday, September 25, 2023 By Brad Wardell In GalCiv IV Dev Journals

When utilizing Stardock's AlienGPT, one might naturally ponder the question: which animals are the most sought-after choices for building a civilization around? Well, here's the answer.

 

 

Nearly 40% of users opt for cats, followed by foxes, fish, dogs, snakes, and more.

Animal Number of Mentions Percentage (%)
cat 1445 30.90
fox 331 7.08
fish 320 6.84
dog 319 6.82
snake 258 5.52
bird 251 5.37
tiger 219 4.68
wolf 190 4.06
rabbit 170 3.63
monkey 151 3.23
bear 139 2.97
elephant 133 2.84
shark 125 2.67
lion 102 2.18
giraffe 102 2.18
turtle 97 2.07
horse 84 1.80
sheep 83 1.77
dolphin 82 1.75
whale 76 1.62

______________________________________________________

[confluence title=""]https://stardock.atlassian.net/wiki/spaces/SUP/pages/1471414278/GalCiv+IV+Supernova+Dev+Journal+Links[/confluence]

Weekend at Frogboy's Sept 2023

Published on Sunday, September 24, 2023 By Brad Wardell In Galactic Civilizations IV

Lots of cool stuff going in this weekend.

Lots of new planetary improvements

New executive orders

 

Let's go over it.

In no particular order..

  • Drath homeworld gets a backdrop

  • Removed references to empires in flavor text, replaced with civilizations.

New Executive Orders:

  • Mitosis

  • Swarm

  • Planetary Clairvoyance

New updated Planetary Improvements:

  • Colonial Generator now called Planetary Generator. Can be built on homeworld.

Unique improvements for Ammonia based species:

  • Network Nexus

  • Irradiated Foundry

  • Contagion Source

  • Golgi

  • Amoebic Incubator

  • Knowledge Melding Hub

Unique improvements for insectroid (consuming) species:

  • Work Instruction Chamber

  • Cerebral Chamber

  • Harmonious Antennae

  • Hatchery

  • Work Hive

  • Mother Hive

Planetary Improvement Updates

  • Many improvements are no longer available to insectoids or Amoebas.

  • Updated graphics for Planetary Generator and Industrial Center

  • Civilization capital no longer auto-placed. 

  • Resource income from planetary mines (like Thulium mines) greatly increased at level 2 and 3.

  • Level up bonus for districts generally reduced from 2% to 1%.

  • Possibility Engine icon replaced and cost increased while research bonus reduced from 100% to 50% (yea this was seriously OP)

Leader Backstory changes:

  • Ammonia (Amoebas) get their own backstories

  • Insectoids (like Festron) get their own backstories

  • Synthetic (like Yor) get their own backstories

  • Amoebas no longer have ridiculous backstories like arranged marriages

  • Insectoids (like Festron) no longer get ridiculous backstories like missing twin

  • Silicon based civs no longer get ridiculous backstories like wanting to be a chef

New late game flavor text for asking for peace and such.

  • AI speech to you changes more based on the current status of the galaxy.

Cultural Progression Tree:

  • Approval boost from Eureka is temporary and reduced to 5%.

  • Sovereign Identity stat buff reduced from 200% to 50%.

  • Big Brother stat buff removed.

  • Big Brother diligence buff set to 100%.

  • Legacy citizen stat buffs removed

  • Legacy provides a 200% buff to resolve

  • Utopia citizen stat buffs removed

  • Utopia buffs Social stat by 200%

  • Singularity trait stat buffs removed

  • Singularity trait doubles Intelligence of citizens

  • Sanctuary trait buffs reduced from 300% (4X) to 25%

  • Terror Star trait buffs removed. (just unlocks the Terror Star tech to research)

  • Hive Miind buff reduced like the Sanctuary ones.

Technologies:

  • Synthetic Species get their own technologies

  • Aggressive civs get their own technologies

  • Ammonia (like Cosmic Contaminate) get their own technologies

  • Greedy civs get their own technologies

  • Radiated civs get their own technologies

Ship Components

  • Sensor ranges for high end sensors reduced slightly

Word on the street:

  • Different species now get different word on the street summaries on their planets.

Star names:

  • Took out some goofy star names (hat tip: Astasia)

Research costs

  • Tech Inflation multplier further increased from 2.5% to 5%

  • Specific tech tree research cost now given a slight exponential growth (^1.02 power).

Map Generation:

  • Slightly more stars on occasional and abundant and common settings

  • Planet balancing for more satisfying starts.

Planets and Stars:

  • Festron home world planet class increased from 20 to 24, Resources on it reduced

  • Contaminate home star system now comes with 3 high quality planets since everyone else is gonna hate them.

Policies:

  • Festron and Contaminate civs (and similar) blocked from various policies

Balance

  • Balance pass on the conversion between citizen stats and their output.

  • Workers no longer provide research benefits.

  • Ammonia based species base stats reduced because they basically amoebas. They make it up in quantity.

  • Various events that don't make any sense for a particular species not blocked. (The Yor do not mutate)

AI

  • The Fleet Commander AI will not counter the Primary Strategic AI’s order to leave for battle against a distant foe if it doesn’t believe its fleet is ready. (stop sending out tiny fleets!)

  • Balance pass on AI shipyard manufacturing priorities.

Various Bug fixes:

  • Lots of small bug fixes

  • Fixed bug where trading screen wouldn’t recognize you already have the tech

  • Fixed bug where techs wouldn’t always show what they unlock

 

Mooorre:

  • Distance between star systems reduced from 4 to 3 to speed up relative movement.
  • Rebalanced star count settings (now that they're working as designed)
  • Fusion Power Plant tech cost increased from 50 to 100
  • Life Support tech AI priority greatly increased
  • Tiny map size increased from 36 to 48 tiles radius.
  • Reduced the turtling the AI does when it's not at war
  • Fixed the buggy Siege ship behaivor
  • AI is much more likely to target their primary enemy units
  • Further reduce AI nagging for stuff
  • AI less likely to construct siege ships
  • Balance pass on AI research choices
  • Fixed map geneator bug that was resulting in inconsistent star quantities (note this may increase map generation time some)

and lastly

  • Pacing pass on tech speeds to make it more consistent on different map sizes.

GalCiv IV: Supernova Dev Journal #25 - A Galaxy for Everyone

Published on Thursday, September 14, 2023 By Brad Wardell In GalCiv IV Dev Journals

Greetings!

We are coming to the finish line for GalCiv IV: Supernova!

Our once reasonable scope has, of course, exploded over the Summer as we got our hands into making this the best space 4X game we've ever made!

The next major BETA update, 1.90 will be focusing on making the game more appealing to a much wider group of people.

Galactapedia

Galactapedia Image 1

Galactapedia Image 2

Galactapedia Image 3

 

This feature is expected to expand significantly in the coming weeks. We're excited about its potential and are hopeful to integrate capabilities allowing modders to add their own entries.

 

Modding

Speaking of modders...

Modding Image 1

Modding Image 2

 

We are gearing up to unveil the GalCiv Workshop. It will start by supporting uploads of civs and ships.

 

Workshop Image

 

Design your ship, hit a button, and upload. The same goes for your custom civilizations. Moreover, in various places, you'll have the option to pick from a range of ships. In beta 1.9, we're interested in your feedback on where additional integration points could be located.

Stay tuned for updates on code modding!

______________________________________________________

[confluence title=""]https://stardock.atlassian.net/wiki/spaces/SUP/pages/1471414278/GalCiv+IV+Supernova+Dev+Journal+Links[/confluence]

Help us localize GalCiv IV to more languages

Published on Wednesday, September 6, 2023 By Brad Wardell In GalCiv IV Localization

GalCiv III Language Support and Translation

Introduction:
Greetings!

For those of you who played GalCiv III, you might recall that its language support was somewhat limited. Given the sheer volume of text in the game, coupled with our small studio size in America, our linguistic reach was a bit narrow...to put it mildly.

With GalCiv IV, we want to try to make sure we can get to as many people as possible and for that, we need your help.

Languages We Aim to Support for the Next Release:

  • German
  • French
  • Russian
  • Polish
  • Brazilian Portuguese
  • Italian
  • Spanish
  • Simplified Chinese
  • Japanese
  • Korean

Translation Resources:
For the community and anyone interested in the localization process, check out our Github repository:
GalCiv IV Localization Repository[github.com]

File Importance Ranking:
We would like to guide the translators and enthusiasts on the most crucial files for the game:

  • AbilityStatText.xml
  • AbilityText.xml
  • AdvisorRecommendationText.XML
  • FactionText.xml
  • UIText.xml


Please note: We first update the English version and swiftly move to the translations.

Translation Process Overview:

  • First Pass - Automated AI Translation
  • Second Pass - AI Proofreading
  • Third Pass - Human Translators


Bear in mind, while human translators ensure quality, they might not always be aficionados of space strategy games.

Thanks for your support! Also, for those looking for contract work on this, we are looking for more translators. For volunteers who are interested in helping here and there, we will be looking at the checkins to add people to the game's credits.

Cheers!

GalCiv IV: Supernova Dev Journal #24 - AIs Drinking Coffee on Planets

Published on Monday, August 28, 2023 By Brad Wardell In GalCiv IV Dev Journals

Generally speaking, in GalCiv games there has been three types of players:

The first player is the relatively new or casual player who finds the AI ridiculously hard and will post "The AI is cheating" (the AI doesn't cheat unless you make the settings super high).  They say this because the AI is able to expand fairly quickly because it is quite good at scouting (the AI tends to build a lot more scouts than players) and finding planets. It has no idea where the planets are.

The second player plays the game fairly normally and is eventually able to win at levels up to and including the "Bright" difficulty where the AI is given a bit of help in the form of a slight money boost.  These are people who tend to like the game the most because they see the AI playing fairly intelligently and each game is quite different.

The last player is the player who has figured out all the tricks with their Civ setup.  They know which traits to pick and will make their custom civilization pretty amazing.  They also know every weakness the AI has and can exploit that.  These players can crush the AI even on Godlike.

Now, for the first type of player, we are doing more to slow down the AI on expanding on lower difficulty levels.  They can't, for instance, rush starship construction.

For this discussion, it's the second and third type of player we want to discuss.  And for that, we have to get into the sausage factory that is how terrible the AI is at managing planets. 

WHY is the AI so bad at managing planets?  The answer has been because of performance.  Turn times.  We've always had to really be careful on how sophisticated we make the AI's planet work (like we can't let it look ahead because that's an N^2 algorithm). 

We've stuck with the same basic AI algorithms for planet stuff since GalCiv II.  

BUT not anymore.  It's 2023 and there's enough CPU power (and we've gotten enough time back thanks to other optimizations we're working on) that we could totally rewrite it.  This will show up in 1.8.

Let's take a look at the old AI.  Here is earth after 130 turns.

You will see a lot of obvious issues here (and we're not even counting the bad citizen setup which we'll have to get into later).

Look in particular at the terrible Shipyard production. 

Now let's look at the new AI:

So what has changed?

A few things.

  1. The AI is now quite good at destroying an existing district or low performing improvement and putting a new one on it.
  2. The AI is quite good at terraforming.
  3. The AI is now good at measuring not what the native qualities of a region on a planet are but also the effects of the other buildings (a very expensive operation).  So the AI will happily ignore a +1 to wealth if  the civilization needs food or if it's going to get a big research bonus by putting something there.
  4. The AI is now much more intelligent about when to upgrade its districts. 

Thus, in this example:

  • Shipyard production jumps from 37 to 90.  
  • Manufacturing levels have gone from level 1 to level 3
  • The AI has destroyed some districts to for in high end buildings (look at all the unbuilt special improvements in the top right in the top right)
  • The AI is willing to build housing and food as its needs require it.
  • Look at the the placement of the Starport? That's a level 5 Starport versus not building one at all because it didn't want to destroy any existing tiles to build it.
  • It built a prison and a recycling center because the planet needed to reduce crime and pollution.

The knock on effects of this remain to be seen.  But this will be available shortly.

 

______________________________________________________

[confluence title=""]https://stardock.atlassian.net/wiki/spaces/SUP/pages/1471414278/GalCiv+IV+Supernova+Dev+Journal+Links[/confluence]

 

728 pages 1 2 3 4 5 6 7 8 9 10 Next