Sid Meier's Civilization VI

Sid Meier's Civilization VI

30 个评价
Hills Bonus Attack Range
   
奖励
收藏
已收藏
取消收藏
Type: Mod
文件大小
发表于
更新日期
5.639 KB
2021 年 4 月 7 日 下午 4:26
2022 年 7 月 30 日 下午 3:44
2 项改动说明 ( 查看 )

订阅以下载
Hills Bonus Attack Range

描述
Yes, my paint skills are crappy and so is the logo.

Mod that gives ranged units a +1 bonus attack range, when standing on Hills.
This was done by adding to each land based unit, with a ranged attack, a class ability (Ex. Like the anti-cavalry class bonus).


Let me know if you find any bugs (Ex. Units that should receive the bonus and are not, or vice versa.).

**30/07/2022**
Mod updated to be compatible with mods that add new units. (Optimization suggested by steam user Junky).
18 条留言
We go together 2023 年 4 月 26 日 下午 2:31 
Well, if you ever get back into Civ6 modding? I have an idea of a slice of life update to improve the mod.
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2967632702
Pings on hills that have the effect saying "+1 RAN" being autobuilt into the hills, if an building or improvement takes away the hills being, well, hills. the marker will go away. If the obstruction is removed it appears again.
Of course it might require an autoping script, and I don't know if that's possible vanilla.
56Múmia  [作者] 2023 年 4 月 24 日 下午 1:48 
I honestly wouldn't know, i've been away from civ6 modding for over a year now.
Just take a look at my code (it should be very similar to what you want) and adapt to what you need,

At least the range should work.

You basically should have to create a new class with the bonuses and then assign it to the units you want.

Stuff that i added (like the new class) should have a prefix/sufix "JMG" so you can cleary see what is new.
We go together 2023 年 4 月 23 日 下午 2:00 
@56Mumia: I was thinking forests / rainforests could add +3 to range for ranged units and +5 defense. Would that be possible to make?
Duke Anax 2023 年 3 月 30 日 下午 9:21 
Nice mod, so simple so obvious so good. I whish Watchtowers would do the same.
56Múmia  [作者] 2022 年 10 月 2 日 下午 6:15 
Hey Olafr_the_Viking, i'm glad you like the mod.
Thank you for sharing the incompatibility so it can help anyone having the same problem.
Olafr_the_Viking 2022 年 10 月 1 日 下午 9:55 
I found the incompatibilty, and want to share it with other users; it was the "Enhanced Civil Infrastructure" mod (that one has a work-around to open up for building canals on hills), it seemingly alters hills in such a way that this mod breaks. And this mod is SO much better, so it is an easy choice. Looking out for hills on the battlefield to get that sweet range bonus to for example reach the city with siege equipment is one reason, buffing slingers to make slingers far more fun is another, planning the attack movement of troops based on where and if there are any hills present, and seeing the AI sometimes using it really well (shooting me from afar), is just some examples of how this fabulous mod works. This mod is essentially a must have for me now, it is actually one of my favorite Civ 6 mods and features - so it is an easy choice to kick the other one, and ensure this gem still functions.
Olafr_the_Viking 2022 年 10 月 1 日 下午 2:40 
Hello! I am trying to get this mod to work again, but it seems to have stopped working somehow for me. It might be an incompatibility in my mod list, but it used to work ok with the same mods, and I have not been able to locate the culprit yet. Anyone else having had such issues with this mod lately?
Junky 2022 年 7 月 31 日 上午 2:49 
Thanks. Appreciate that you mentioned me.
56Múmia  [作者] 2022 年 7 月 30 日 下午 3:46 
Hi Junky, thank you for your suggestion.
The mod has been updated.
Junky 2022 年 7 月 10 日 下午 12:29 
I recommend to use this sql for compatibility with all other mods that add units:

INSERT OR REPLACE INTO TypeTags (Type, Tag) SELECT
UnitType, 'CLASS_LAND_RANGED_JMG'
FROM Units WHERE PromotionClass IN ('PROMOTION_CLASS_RANGED', 'PROMOTION_CLASS_SIEGE','PROMOTION_CLASS_RECON','PROMOTION_CLASS_MELEE','PROMOTION_CLASS_SUPPORT') AND Range > 0;