Question about post-battle loot, and why I have way too much

正在查看此主题的用户

MarkQuinn

Sergeant at Arms
I made a personal mod which compiled all of my favorite community work into a single module.  The mod adds a ton of new horses using every horse retexture I could find.  One of my favorite features of this mod is my addition of about 20 to 30 horses per each mounted soldier (I use TroopEditor to do this).  Now, if 10 Swadian knights are charging (for example) there's a very good chance that many of them will be riding a unique looking horse.  The battles are much more interesting this way, but it also comes with a problem.  For some reason, when I win a battle against any kind of mounted army, my post-battle look is absolutely filled with horses.  A ton of them.  Many More than I can carry.  When I defeat a few steppe bandits, I become wealthy pretty quickly.  I should note this is with all characters, regardless of my looting skill.

The M&B Item Editor has a listing for "abundance", but I think that only deals with how common an item is at the shops.  Lowering abundance didn't help me with my post-battle loot problem.

Also, I'm not sure why this is happening with the horses only.  I've also added a ton of third party weapons and armor to each of my heavily customized units, but no problems.  Those seem to be "dropped" at a proper ratio.  It's the horses I'm getting a ton of.

Aside from reducing the number of horses for each mounted unit type (which I really don't want to do) can anyone think of anything else I might try, or maybe explain why this is happening?  Many thanks.
 
You need to add the flag itp_unique to the item, then it is not lootable.
However that is if you use the module system, I don't know if it is possible with the item editor.
 
Thanks Wookie.  Yes, ItemEditor does have a flag for unique.  Will I still be able to purchase these items in town, though?

Thanks again.  I'm off to try and fix this now.
 
Sorry, If it is purchasable in a town, then it is lootable on the field, you can't have either-or  :sad:
Oh, did it work by the way?
 
Yes, thank you, making the horses unique kept them from being lootable on the field.  But I was wrong about something.  I recall fighting raiders and receiving dozens and dozens of great swords after the fight, every time.  Again, that shouldn't happen and must have been the result of me adding too many items per inventory. 

The only solution I can figure out is rather radical, and will require a lot of work.  I was toying around with copying everything from item_kinds1 and then pasting them at the bottom.  Then, on the top half, I'd make each item unique.  The bottom half I would leave alone.  This would ensure that I don't get this oversaturation of loot after a battle, but the items will still be purchasable at the markets.  The downside of this is I won't have ANY loot with which to sell and fund my armies as they get big, having to rely instead on the small sum of money received after each battle.  To counter this, I might make a brand new generic item called "Sack of Loot" or something like that.  Only one soldier type per army would receive this (perhaps a leader of some sort) could carry it.  It would have decent money value but nothing over the top.  We'll see.  It's all a lot of work and I might just forget about it and roleplay that all the horses and weapons I'm looting are just goods stolen by the bandits.  Or if I beat a kingdom's army, all those extra horses could belong to the folks who support the army in the field.  I just wish there was a way to make it so you can determine if a specific unit is lootable or not.
 
The sack of loot idea is a good one, It gave me an idea to make random miscellaneous items like 'trolls head' that you can just sell for money, or use for quests..
 
后退
顶部 底部