View Issue Details

IDProjectCategoryView StatusLast Update
0002689Dwarf FortressDwarf Mode -- Militarypublic2010-08-20 08:09
ReporterRhenaya Assigned To 
PrioritynoneSeveritytweakReproducibilityalways
Status newResolutionopen 
PlatformNotebookOSWindowsOS VersionVista
Product Version0.31.10 
Summary0002689: Problems with modded entities whose squad leaders have REPLACED_BY
Descriptionusing 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.
Additional Information its not important bug, but still is one for the future with more complex (custom) entity positions, so i set priority to none.
Tagsmilitary screen, modding, noble, position, raw file

Relationships

related to 0000266 resolvedToady One Multiple Militia captain positions available for militia commander 

Activities

user6

2010-07-14 10:24

  ~0010244

What kind of problems?

Rhenaya

2010-07-14 12:05

reporter   ~0010250

squad leader disappers, squad disappers, but still is as squad useable, etc. instead of just giving the squad leader the new "rank"

user6

2010-07-14 12:16

  ~0010251

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.

Rhenaya

2010-07-14 13:57

reporter   ~0010255

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"

user11

2010-07-14 15:38

  ~0010258

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.

Rhenaya

2010-07-14 17:10

reporter   ~0010259

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

user11

2010-07-14 20:50

  ~0010288

I'll pretend I understood what you said.

Did making that change fix the problem?

Rhenaya

2010-07-15 00:35

reporter   ~0010311

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 ;)

Rhenaya

2010-08-20 08:09

reporter   ~0011962

there seem to be other noble replace_by bugs:
http://www.bay12forums.com/smf/index.php?topic=64288.msg1499456

Add Note

Note

Issue History

Date Modified Username Field Change
2010-07-14 10:20 Rhenaya New Issue
2010-07-14 10:24 user6 Note Added: 0010244
2010-07-14 12:05 Rhenaya Note Added: 0010250
2010-07-14 12:15 user6 Summary custom entites with replacing squad leaders lead to problems => Problems with modded entities whose squad leaders have REPLACED_BY
2010-07-14 12:16 user6 Note Added: 0010251
2010-07-14 13:57 Rhenaya Note Added: 0010255
2010-07-14 15:38 user11 Note Added: 0010258
2010-07-14 17:10 Rhenaya Note Added: 0010259
2010-07-14 20:50 user11 Note Added: 0010288
2010-07-15 00:35 Rhenaya Note Added: 0010311
2010-08-04 08:08 Rhenaya Tag Attached: military screen
2010-08-04 08:08 Rhenaya Tag Attached: noble
2010-08-04 08:08 Rhenaya Tag Attached: raw file
2010-08-04 08:08 Rhenaya Tag Attached: position
2010-08-04 08:09 Rhenaya Tag Attached: modding
2010-08-20 08:09 Rhenaya Note Added: 0011962
2014-08-08 12:26 user6 Relationship added related to 0000266