Sid Meier's Civilization VI

Sid Meier's Civilization VI

33 arvostelua
EpsTweak for Healing on Promotion
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
2.644 KB
2.7.2020 klo 9.47
1 muutos ( näytä )
Tarvitset lisäosan käyttääksesi tätä esinettä.

Tilaa ladataksesi
EpsTweak for Healing on Promotion

Kuvaus
EpsTweak is a series of small mods that tweak the balance of Civ 6. Rather than put all of them into one hefty package, I've split them into small fragments to allow you to make your own custom rulesets.


I've always disliked units healing 50 HP on promotion (even in Civ 5). It skews much of the game's combat in detrimental ways: Players at a tech disadvantage have a much harder time killing a single unit, corps and armies become nigh unkillable by anything other than other corps and armies, healing abilities like the Medic become so irrelevant most people forget they even exist, and most of the tactics revolving around sieges boil down to "can you out-heal the defenders?"

So here's an experimental script mod that reduces the amount of HP a unit heals when it is Promoted from 50 to 20. To make up for the fact that most military units have lost a lot of durability as a result, Promoting now also grants 1 free Movement Point after the heal.
11 kommenttia
Eps  [tekijä] 15.2.2022 klo 2.40 
Alternatively, you can try to find to event in question in a lua file inside your game folder, under "Base" or "DLC". Most of the UI and scenario scripting lies there in the open as simple lua files.
Eps  [tekijä] 15.2.2022 klo 2.30 
Figuring out what parameters each event uses takes a bit of reverse engineering. I start by passing it a function with 8 parameters that just prints out those 8 parameters.
Eps  [tekijä] 15.2.2022 klo 2.28 
I got the list of events from civfanatics way back when. Don't believe this is quite the thread I used [forums.civfanatics.com], but it's also a good list.
Ripz 14.2.2022 klo 21.42 
thats executed after the movement loss from promotion, right? i'd need to get the current movement beforehand, save it in a variable, and then apply it there, right? probably would need to add a new event listener function for that but no idea what event i'd have to add it to. is there a list of events somewhere for modders to reference? i tried looking for an api online somewhere before but had no luck.

thanks for the reply btw.
Eps  [tekijä] 8.2.2022 klo 13.49 
That would require editing the LUA script. The OnUnitCommandStarted event to be exact.
Ripz 8.2.2022 klo 7.29 
any way i could edit it so promotions dont even effect movement?
kroill 23.10.2021 klo 23.09 
It's a pity, but this feature deprives Colombia of a unique feature. If it could be configured so that units do not receive a move point after healing, except Columbia, but continue to receive 20 health points after healing, then it would be great.
Eps  [tekijä] 11.5.2021 klo 0.22 
If it did it would be visible in the script as modifier ID's. I don't know why it's not updating for you?
Galindus 10.5.2021 klo 16.13 
EPS - I like this mod, and am trying to do a very small tweak to it, but it is not taking. I wanted to set the HP healing to 25 points vs. 20, and remove the free Movement point. Inside of the lua script, I have changed the variable "epsTweakPromoHealAmount = 25;" and changed the unit:changeMovesRemaining(0) on line 21. The changes aren't taking, and it is still doing only 20HP. I'm curious if the script is pulling the amounts from another place.
ashton2879 8.4.2021 klo 10.52 
Been using this mod for a while now and I agree it is a huge improvement. I don't think I can play without it. Thank you for the work you put in Eps.