RimMerit – 邊緣軍功
Introduction:
This mod was made entirely with ChatGPT 4.1 vibe coding.
This mod was made entirely with ChatGPT 4.1 vibe coding.
This mod was made entirely with ChatGPT 4.1 vibe coding.
Vibe coding on Wikipedia[en.wikipedia.org]
Yes, vibe coding. I honestly don’t know how to code — I just really wanted to make this mod, so I relied on ChatGPT for the entire process.
If that makes you nervous, please don’t download it.
I did my best to avoid heavy tick scanning and mostly used spaced tick timers (250, 2000), so it shouldn’t impact performance too much.
Now let’s get to the point—
Here’s a demonstration of how I made this mod: https://youtu.be/NMmOMIaov4Y
RimMerit – Military Merit System:
Now, every time you kill an enemy, you earn Merit Points. These points can be used to promote ranks, participate in training, engage in wars, and more.
But remember: Merit Points are only tracked after the colonist enlists via the Merit Board. You can find the Merit Board under the "Misc" tab.
Named Kill: If the system can identify which soldier made the kill, it is classified as a Named Kill.
Team Kill: If the system cannot identify the killer, the kill is classified as a Team Kill.
Merit distribution will only happen after all enemies on the map are cleared.
So if enemies keep coming, Merit distribution will be delayed (you don’t want to hold a ceremony in the middle of a war… right?).
This has the benefit of avoiding performance issues from calculating Merit after every single kill. Instead, the system does one calculation only when the battlefield is clear and performance load is lower (I really hate performance-hungry mods — I have a performance cleanliness obsession).
Merit Distribution – Named Kill:
When distributing Merit, high-ranking officers and sergeants are recognized for their leadership in achieving victory.
So the total Merit from a Named Kill will be divided as follows:
12% to Generals
12% to Senior Master Sergeants
10% to Field Officers
10% to Master Sergeants
8% to Junior Officers
8% to Junior Sergeants
40% to the soldier who made the kill
(Total: 100%)
Merit Distribution – Team Kill:
Similarly, Merit from a Team Kill will be divided as:
12% to Generals
12% to Senior Master Sergeants
10% to Field Officers
10% to Master Sergeants
8% to Junior Officers
8% to Junior Sergeants
(Total: 60%; the remaining 40% is lost)
Kills made by any soldier ranked Major or Senior Master Sergeant and above are always treated as Team Kills
(to discourage high-ranking personnel from charging the frontlines).
Merit points do not carry over between ranks — you’ll have to earn new merit after every promotion.
Once they reach Private First Class, colonists can choose to train further and become Non-Commissioned Officers (NCOs) or Commissioned Officers.
Or they can just stay where they are and become veteran soldiers who keep gaining merit.
Soldiers/NCOs get combat-oriented bonuses (NCOs will get higher bonuses in the future)
Officers lean toward command skills and will receive battlefield abilities (coming soon)
Others require formal training.
For example, promoting from Second Lieutenant to Captain just requires enough merit.
But promoting from Captain to Major requires both merit and prior training in a Major’s Program.
Training consumes all the soldier’s current merit. The higher their merit, the greater the success rate — but training outcomes are also affected by the quality of the team.
Winning a war may grant additional merit or medals, but losing could result in death… so choose wisely.
There are 4 types: Offensive, Defensive, Utility, and Specialist, each giving different stat bonuses.
Only 3 medals are available for now — more coming soon!
Each ceremony requires preparation time, which depends on the material and quality of the Merit Board.
For example:
After finishing NCO training, a Private First Class must select “Promote to Corporal” > “Schedule Ceremony”.
The ceremony might require 20 in-game hours to prepare.
If not completed within 1 in-game day, you’ll have to prepare it again.
A ceremony requires:
A Chairperson (highest-ranking officer in the colony)
A Recipient
Optional Witnesses
Only after the ceremony is completed will promotions and medals take effect.
Current rank
Total merit
Enlistment & promotion history
Medals earned (and their effects)
War participation records
Modifying Rank Icons and Titles:
Players are welcome to create their own expansion mods.
You can replace the files inside TexturesArmyRanks to use rank icons from your preferred country.
You can also edit the contents of Languages…KeyedRimMerit_Rank_Name.xml to change the rank names as you like.
Both parts have been fully set up — just replace the images and text, and everything will remain 100% compatible.
Hope you enjoy the mod!
This message is for English-speaking players:
All of the English translations in this mod were done using ChatGPT.
If you have better wording suggestions or more natural phrasing based on native English usage, feel free to share your updated xml file with me.
I’ll gladly update the mod — and on behalf of all English-speaking players, thank you for your contribution!
I don’t understand English very well, so bugs reported in Chinese will be prioritized.
This is my first-ever mod, so please go easy on me. Thank you!
Revisions:
Old revisions of this mod are available below. Click the link to download.