Is there a way to make every unit a faction recruits subtract 1 food from their food supply?
Just like how certain buildings subtract food, except units.
Is there a way to make every unit a faction recruits subtract 1 food from their food supply?
Just like how certain buildings subtract food, except units.
DEI team did it, ask them. Likely a db table but I don't know which one I'm afraid.
Magnar Plays Magnar Mod: https://www.youtube.com/playlist?lis...r7s7EZQXeu3yaC
Magnar Tutorials: https://www.youtube.com/channel/UCtd..._n1Y7DrBtVK-1A
My Youtube Channel: https://www.youtube.com/channel/UCtd4sdZYB_n1Y7DrBtVK-1A
Also: this attrition has nothing to do with whether you're on harsh terrain or not. So you can still be traveling on a road in an enemy territory during winter, and you're still losing dudes.
That is interesting. So you are thinking of using the food resource as a limit to army stacks? Smart. No wonder my DEI campaigns are interesting.
If you need attrition in enemy territory, I created a mod that does just that! It kills off your men in enemy regions during winter and other bad weather, but keeps them alive during good seasons to simulate them living off the land and foraging.
http://steamcommunity.com/sharedfile.../?id=243519683
DeI is adding food consumption for armies. Unless there's some sort of script someone could come up, there's no way to do that through the DB.
To set food consumption for an army, DeI is simply using the campaign_stances tables (I believe, near 100% certain based on their description in the .95 preview). You add an effect for food consumption. It won't matter if it's a 1 unit army or a 20 unit army, however. The food cost will be the same. Stances are assigned their effects through the effect bundle for that stance. So, the individual effects are set through the effect_bundles_to_effect_junctions.
This should be an easy fix. The effect scope just has to be set so it draws the food from the faction and not the individual province when in the normal stance.do you know if DeI fixed the issue of armies not requiring food when in enemy provinces?
Right, made an account specificly for this as I'm trying to do this in one of my mods. Does anyone know how to set the scope correctly for this? So far all I tried either results in nothing happening or the cost being put on whoever owns the province instead of the army. So I'm kind of stuck. Can someone help me?
Last edited by Regoso; August 27, 2014 at 02:44 PM.
Mods Created by me:
ZOOM ALL THE WAY DOWN!!! For Rome 2_Amazonian Hoplites For Rome 2
Improved Mercenary Camps for Rome 2_Amazonian Roster Pack For Rome 2
Sparta Re-Made:Brutal Edition for Rome 2_Arachidamia's Battle Matrons For Rome 2
Hard Mode Activated for Rome 2
Draco Be Gone!!! For Rome 2
Draco Here But Not There.... For Rome 2
Well, I tried this_province_faction_all_regions with building_food_consumption, and that just made it worse (went to -400 food or something)
rom_payload_food + this_faction seems to work better, at least the amount of food doesn't change if I leave my region, but I now miraculously have 21 armies to feed instead of the 5 that I actually have (or well, 4 and a fleet), so somewhere it still goes wrong.
Mods Created by me:
ZOOM ALL THE WAY DOWN!!! For Rome 2_Amazonian Hoplites For Rome 2
Improved Mercenary Camps for Rome 2_Amazonian Roster Pack For Rome 2
Sparta Re-Made:Brutal Edition for Rome 2_Arachidamia's Battle Matrons For Rome 2
Hard Mode Activated for Rome 2
Draco Be Gone!!! For Rome 2
Draco Here But Not There.... For Rome 2
Well, made a profile specificly for this question as I'm trying to do this for a mod I'm making. However, I can't get the scope to be correct. Either nothing happens (despite the tooltip saying it costs x food) or it just goes to whoever owns the region which is especially fun in seaside regions since ownership there is quite weird (for example, in the save I'm using for testing at the moment I lose triple as much as I should because of navies that are just outside their own harbor.)
Anyways, which scope do I need for this? I've tried most of the logical ones by now and none of them do what I wanted.
Just looked into the Traits talents and toadies mod cuz it has some traits that alter food. They use rom_payload_food + this_faction. Though they do that on a general. Anyways, I suspect that that's the correct one, so I'l go search as to why I got 16 extra armies to feed.
I can't edit my previous post, so another update like this: it appears that the extra armies are at least in some way mine, the armies/flees from the other factions don't appear to influence it. However, it also constantly crashes if I try to go to the next turn, so that's just great...
thats odd ill take a look at getting it working as soon as im done with this dang spear unit which is impossible to balance
Mods Created by me:
ZOOM ALL THE WAY DOWN!!! For Rome 2_Amazonian Hoplites For Rome 2
Improved Mercenary Camps for Rome 2_Amazonian Roster Pack For Rome 2
Sparta Re-Made:Brutal Edition for Rome 2_Arachidamia's Battle Matrons For Rome 2
Hard Mode Activated for Rome 2
Draco Be Gone!!! For Rome 2
Draco Here But Not There.... For Rome 2
Well, screwed around some more. So far it randomly adds costs, with the boii there's nothing in your lands outside of your own forces at the start yet I'm still 2 food down for no clear reason. If I raise a fleet it doesn't immeadiatly update, however if I raise an army it does. Or if I change an army's stance. And it still crashes somewhere during the waiting for other factions (though the exact points differs, so I suppose it depends on what exactly the AI is doing).
bump, still stuck, anyone else managed to make some progress?