Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Help with nobles  (Read 686 times)

dbay

  • Bay Watcher
    • View Profile
Help with nobles
« on: October 23, 2010, 11:28:41 pm »

Hey all, long time player first time poster.
I'm pretty new to modding. What I'm trying to accomplish is have a noble position I can assign to whichever dwarf is my current favourite, declaring him or her the high emperor. Partly because I felt like it, but mostly because I'm experimenting with creating noble positions.
So, everything works in all respects but one: I can't figure out how to give her spouse a special sprite. I'm using the Mayday graphics set, and I drew a special icon for the emperor/empress and the spouse. The Emperess gets the icon, but the spouse doesn't get his.
Here's what I put into the raw/graphics/graphics_mayday.txt file:
   [HIGH_EMPEROR:DORFS:11:1:AS_IS:DEFAULT]
   [HIGH_EMPEROR_CONSORT:DORFS:11:2:AS_IS:DEFAULT]
11:1 and 11:2 are the correct locations of the sprites, I triple checked. It looks like for the count, duke, king, etc. consort positions thats all that was done, just add '_CONSORT'

and in case it matters, here's the raw i made up for the emperor/empress herself from the entity_default file:
   [POSITION:HIGH_EMPEROR]
      [NAME_MALE:High Emperor:High Emperors]
      [NAME_FEMALE:High Empress:High Empresses
      [SITE]
      [NUMBER:1]
      [APPOINTED_BY:EXPEDITION_LEADER]
      [APPOINTED_BY:MAYOR]
      [RESPONSIBILITY:TAME_EXOTICS]
      [SQUAD:10:bodyguard:bodyguards]
      [SPOUSE_MALE:Prince Consort:Princes Consort]
      [SPOUSE_FEMALE:Princess Consort:Princesses Consort]
      [SUCCESSION:BY_HEIR]
      [PRECEDENCE:1]
      [DO_NOT_CULL]
      [COLOR:5:0:0]
      [DUTY_BOUND]
      [PUNISHMENT_EXEMPTION]
      [DEMAND_MAX:10]

so... if anyone can figure out how to get the hubbie to use this awesome sprite I drew, that'd be great. Seriously, its a cool sprite. I'm proud of it.