I've tried for hours on end. And finally want help with civ.

SlySlySly

Warlord
Joined
Feb 8, 2017
Messages
293
Location
Denver
Ok, so here's the whole story. I decided to start making a custom civilization. I began based on the Punt mod, by stripping it to the bare bones and managed to make a workable start. Though there are things I just couldn't get done. I don't have a PC so the whole mod buddy thing and lack of certain tools are making this much harder.
I'm working on a made up nation, actually my nationstates.com one. Anyway, here is the basic info on it:

Civilization: Raitorozu - People's Republic of Raitorozu
Ability: Jizen - +3 Amenities in city center
Unit: Seringudezu - Replaces Destroyer, higher attack, vision, and movement
Building: Rozupagoda - Replaces shrine, Provides normal faith plus 2 science, 1 Amenity, and 2 housing

Leader: Akane Yuuköa - President of Raitorozu
Ability: Kagaku-Sha - +50% boost to campus districts' output, +2 science from all trade routes
Agenda: (I couldn't figure this out so I used Technophile, a default one. But I have a better idea, so I'll share that) Kakushintekina Jogi - Innovative Ruler, likes civilizations with a high science output and happy people, dislikes civilizations low in science and have barbarians/rebels near there cities. (barbarians and rebels are technically the same right? the idea is that you control the lands around you as well as your people, make sense?)

I managed to sort of get this base stuff in. It's a bit clunky but now comes the part I can't really do. First of all, bug fixing the code and making it all work. I haven't managed to get the trade boost thing working. Also, all the files other than the base ones I already have are not there. (Ones I have are in file) I could never get templates for the images I would need to make. As well as that there are the things like mod info and artdef that I honestly couldn't figure out. I was hoping I could also get a custom music set in it, but that isn't needed.

Anyway, if anyone is willing to help me out and set it up, I would be eternally grateful. I can get the art and music if you could tell me what I would need to do to make it the right format. Thanks so much in advance, please comment and let me know if you might help me out! :3
 

Attachments

Last edited:
Music Files!

I put together a little folder! Most aren't mine, but the ancient theme is. I don't know if anyone has figured out the music system yet but I was really hoping to be able to have custom music. It's a bit too big though... So I'll upload it to media fire and add a link if anyone actually decides to help me get this civilization up and running!
 
bug fixing the code and making it all work
I can handle this.

Spoiler Logs. Don't care about this. All fixed in attachment. :
Code:
[770144.283] Status: UpdateDatabase - Loading Raitorozu_Buildings.xml
[770144.284] Status: UpdateDatabase - Loading Raitorozu_Civilizations.xml
[770144.285] Status: UpdateDatabase - Loading Raitorozu_Leaders.xml
[770144.287] Status: UpdateDatabase - Loading Raitorozu_Units.xml
[770144.288] Warning: UpdateDatabase - Error Loading XML.
[770144.288] ERROR: Failed to release save point.
[770144.308] Warning: Error when calling IComponentHandler::ApplyComponent.
[770144.308] Status: Applying Component - Raitorozu_LocalizedText
[770144.308] Status: Creating database save point.
[770144.308] Status: LocalizedText - Loading Raitorozu_Config.xml
[770144.309] Warning: LocalizedText - Error Loading XML.
[770144.309] Status: LocalizedText - Loading Raitorozu_DiplomacyText.xml
[770144.310] Status: LocalizedText - Loading Raitorozu_PediaText.xml
[770144.311] Status: LocalizedText - Loading Raitorozu_text.xml
[770144.312] Warning: LocalizedText - Error Loading XML.
[770144.312] Status: Successfully released save point.
[770144.312] Status: Applied component to game.
[770144.339] Status: Modding Framework - Finished Apply Components
[770144.339] ERROR: Failed to apply enabled components.
Code:
[770144.287] [Gameplay] ERROR: Database::XMLSerializer (Raitorozu_Units.xml): Duplicate column names detected in <Row>. Name: Combat, Value: 100
[770144.288] [Gameplay]: In XMLSerializer while updating table Units from file Raitorozu_Units.xml.
[770144.288] [Gameplay] ERROR: FOREIGN KEY constraint failed
[770144.288] [Gameplay] ERROR: FOREIGN KEY constraint failed
[770144.288] [Gameplay]: Validating Foreign Key Constraints...
[770144.292] [Gameplay] ERROR: Invalid Reference on CivilizationTraits.TraitType - "TRAIT_KAGAKU" does not exist in Traits
[770144.304] [Gameplay] ERROR: Invalid Reference on TraitModifiers.TraitType - "TRAIT_KAGAKU" does not exist in Traits
[770144.307] [Gameplay]: Failed Validation.
[770144.308] [Localization] ERROR: no such table: Players
[770144.308] [Localization]: In Query - insert into Players('Domain', 'CivilizationType', 'LeaderType', 'CivilizationName', 'CivilizationIcon', 'LeaderName', 'LeaderIcon', 'CivilizationAbilityName', 'CivilizationAbilityDescription', 'CivilizationAbilityIcon', 'LeaderAbilityName', 'LeaderAbilityDescription', 'LeaderAbilityIcon', 'Portrait') values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);
[770144.308] [Localization]: In XMLSerializer while updating table Players from file Raitorozu_Config.xml.
[770144.312] [Localization] ERROR: UNIQUE constraint failed: LocalizedText.Language, LocalizedText.Tag
[770144.312] [Localization]: While executing - 'insert into LocalizedText('Language', 'Tag', 'Text') values (?, ?, ?);'
[770144.312] [Localization]: In XMLSerializer while inserting row into table insert into LocalizedText('Language', 'Tag', 'Text') with  values (en_US, LOC_CIVILIZATION_RAITOROZU_DESCRIPTION, Raitorozu Civilization, ).
[770144.312] [Localization]: In XMLSerializer while updating table LocalizedText from file Raitorozu_text.xml.
[770144.312] [Localization] ERROR: UNIQUE constraint failed: LocalizedText.Language, LocalizedText.Tag
Created .modinfo. Bug free and syntax corrected. Inserted some entries you forgot. Beautified code (awful tabulation and empty lines you did :spank:).

Spoiler Text files corected :
You shouldn't use enter in descriptions. Game returns weird symbols instead. The solution is to use [newline] functtion. I assumed you placed your newline sings where you wanted them to appear in-game (not for coding clarity) and replaced them with [newline]. Note that text files could require some more aesthetical care from you.

Leader chooseable. Game starts.

Things I have NOT done:
  • checked any in-game functionality (ability/agendas etc.)
    • only noticed that no uniques are tied to civ, need further revision
  • read part of your post which said about in-game functionalities :D
  • anything related to art / icons
  • music :band:
 

Attachments

Last edited:
I can handle this.

Spoiler Logs. Don't care about this. All fixed in attachment. :
Code:
[770144.283] Status: UpdateDatabase - Loading Raitorozu_Buildings.xml
[770144.284] Status: UpdateDatabase - Loading Raitorozu_Civilizations.xml
[770144.285] Status: UpdateDatabase - Loading Raitorozu_Leaders.xml
[770144.287] Status: UpdateDatabase - Loading Raitorozu_Units.xml
[770144.288] Warning: UpdateDatabase - Error Loading XML.
[770144.288] ERROR: Failed to release save point.
[770144.308] Warning: Error when calling IComponentHandler::ApplyComponent.
[770144.308] Status: Applying Component - Raitorozu_LocalizedText
[770144.308] Status: Creating database save point.
[770144.308] Status: LocalizedText - Loading Raitorozu_Config.xml
[770144.309] Warning: LocalizedText - Error Loading XML.
[770144.309] Status: LocalizedText - Loading Raitorozu_DiplomacyText.xml
[770144.310] Status: LocalizedText - Loading Raitorozu_PediaText.xml
[770144.311] Status: LocalizedText - Loading Raitorozu_text.xml
[770144.312] Warning: LocalizedText - Error Loading XML.
[770144.312] Status: Successfully released save point.
[770144.312] Status: Applied component to game.
[770144.339] Status: Modding Framework - Finished Apply Components
[770144.339] ERROR: Failed to apply enabled components.
Code:
[770144.287] [Gameplay] ERROR: Database::XMLSerializer (Raitorozu_Units.xml): Duplicate column names detected in <Row>. Name: Combat, Value: 100
[770144.288] [Gameplay]: In XMLSerializer while updating table Units from file Raitorozu_Units.xml.
[770144.288] [Gameplay] ERROR: FOREIGN KEY constraint failed
[770144.288] [Gameplay] ERROR: FOREIGN KEY constraint failed
[770144.288] [Gameplay]: Validating Foreign Key Constraints...
[770144.292] [Gameplay] ERROR: Invalid Reference on CivilizationTraits.TraitType - "TRAIT_KAGAKU" does not exist in Traits
[770144.304] [Gameplay] ERROR: Invalid Reference on TraitModifiers.TraitType - "TRAIT_KAGAKU" does not exist in Traits
[770144.307] [Gameplay]: Failed Validation.
[770144.308] [Localization] ERROR: no such table: Players
[770144.308] [Localization]: In Query - insert into Players('Domain', 'CivilizationType', 'LeaderType', 'CivilizationName', 'CivilizationIcon', 'LeaderName', 'LeaderIcon', 'CivilizationAbilityName', 'CivilizationAbilityDescription', 'CivilizationAbilityIcon', 'LeaderAbilityName', 'LeaderAbilityDescription', 'LeaderAbilityIcon', 'Portrait') values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);
[770144.308] [Localization]: In XMLSerializer while updating table Players from file Raitorozu_Config.xml.
[770144.312] [Localization] ERROR: UNIQUE constraint failed: LocalizedText.Language, LocalizedText.Tag
[770144.312] [Localization]: While executing - 'insert into LocalizedText('Language', 'Tag', 'Text') values (?, ?, ?);'
[770144.312] [Localization]: In XMLSerializer while inserting row into table insert into LocalizedText('Language', 'Tag', 'Text') with  values (en_US, LOC_CIVILIZATION_RAITOROZU_DESCRIPTION, Raitorozu Civilization, ).
[770144.312] [Localization]: In XMLSerializer while updating table LocalizedText from file Raitorozu_text.xml.
[770144.312] [Localization] ERROR: UNIQUE constraint failed: LocalizedText.Language, LocalizedText.Tag
Created .modinfo. Bug free and syntax corrected. Inserted some entries you forgot. Beautified code (awful tabulation and empty lines you did :spank:).

Spoiler Text files corected :
You shouldn't use enter in descriptions. Game returns weird symbols instead. The solution is to use [newline] functtion. I assumed you placed your newline sings where you wanted them to appear in-game (not for coding clarity) and replaced them with [newline]. Note that text files could require some more aesthetical care from you.

Leader chooseable. Game starts.

Things I have NOT done:
  • checked any in-game functionality (ability/agendas etc.)
    • only noticed that no uniques are tied to civ, need further revision
  • read part of your post which said about in-game functionalities :D
  • anything related to art / icons
  • music :band:
OMG. Thank you so much! I can’t believe someone would do the for me! Now that I have the basics, I think I might be able to finish off the mod. Thanks a lot for this!



Sadly I don’t have my laptop right now for photoshop, so I can’t make the images, I could try gimp again but I can’t figure it out lol. Anyway, thanks so much, you have given me great honor.
 
Back
Top Bottom