Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0002689Dwarf FortressDwarf Mode -- Militarypublic2010-07-14 10:202010-08-20 08:09
Rhenaya 
 
nonetweakalways
newopen 
NotebookWindowsVista
0.31.10 
 
0002689: Problems with modded entities whose squad leaders have REPLACED_BY
using the replace tag for squad leader entities (for example to give commander/captain different needs with growing fort) lead to various problem in the military and nobles menu with the squads and their leaders.
 its not important bug, but still is one for the future with more complex (custom) entity positions, so i set priority to none.
military screen, modding, noble, position, raw file
related to 0000266resolved Toady One Multiple Militia captain positions available for militia commander 
Issue History
2010-07-14 10:20RhenayaNew Issue
2010-07-14 10:24FootkerchiefNote Added: 0010244
2010-07-14 12:05RhenayaNote Added: 0010250
2010-07-14 12:15FootkerchiefSummarycustom entites with replacing squad leaders lead to problems => Problems with modded entities whose squad leaders have REPLACED_BY
2010-07-14 12:16FootkerchiefNote Added: 0010251
2010-07-14 13:57RhenayaNote Added: 0010255
2010-07-14 15:38DwarfuNote Added: 0010258
2010-07-14 15:39DwarfuIssue Monitored: Dwarfu
2010-07-14 17:10RhenayaNote Added: 0010259
2010-07-14 20:50DwarfuNote Added: 0010288
2010-07-15 00:35RhenayaNote Added: 0010311
2010-07-16 19:25RhenayaNote Added: 0010459
2010-07-16 21:30RhenayaNote Deleted: 0010459
2010-08-04 08:08RhenayaTag Attached: military screen
2010-08-04 08:08RhenayaTag Attached: noble
2010-08-04 08:08RhenayaTag Attached: raw file
2010-08-04 08:08RhenayaTag Attached: position
2010-08-04 08:09RhenayaTag Attached: modding
2010-08-20 08:09RhenayaNote Added: 0011962
2014-08-08 12:26FootkerchiefRelationship addedrelated to 0000266

Notes
(0010244)
Footkerchief   
2010-07-14 10:24   
What kind of problems?
(0010250)
Rhenaya   
2010-07-14 12:05   
squad leader disappers, squad disappers, but still is as squad useable, etc. instead of just giving the squad leader the new "rank"
(0010251)
Footkerchief   
2010-07-14 12:16   
It would be helpful to upload the modded entity raws that are causing the problem. You can upload them to http://pastebin.com/ [^] and post the link here.
(0010255)
Rhenaya   
2010-07-14 13:57   
the full raws (but with new raws without the bug) are here: http://dffd.wimbli.com/file.php?id=2176 [^]

the old ones then here:
http://pastebin.com/9JG1Kb6f [^]

as you see i simply use the replace_by and population needed tags, and slightly different settings (only 1 outpost captain possible and the outpost commander got less room req.)

the idea was to make game a little more interesting for my drow mod to have a outpost at first but then move up to "house" and get more noble options. but as i said this gets really confusing in the noble/military screen if you have outpost com/cap assigned and then get the 20 pop and move "up"
(0010258)
Dwarfu   
2010-07-14 15:38   
Still looking this over, but one of your problems is that your
[POSITION:OUTPOST_CAPTAIN] has
[REPLACED_BY:OUTPOST_CAPTAIN].

That line is redundant and should be removed if there isn't an actual progression taking place or replaced with the correct position name if you meant it to be a promotion.
(0010259)
Rhenaya   
2010-07-14 17:10   
well i admit i just wrote the copy paste now fast :p it was all orderly formated while testing. as i have overwritten my old entity files with the ones without replaceing
(0010288)
Dwarfu   
2010-07-14 20:50   
I'll pretend I understood what you said.

Did making that change fix the problem?
(0010311)
Rhenaya   
2010-07-15 00:35   
yeah... the fix is "not using replace tag for squad leader posistions" :p

aka i dont use outpost captains and house captains dont have the pop req ;)
(0011962)
Rhenaya   
2010-08-20 08:09   
there seem to be other noble replace_by bugs:
http://www.bay12forums.com/smf/index.php?topic=64288.msg1499456 [^]