Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Help with custom nobles  (Read 1179 times)

Vattic

  • Bay Watcher
  • bibo ergo sum
    • View Profile
Help with custom nobles
« on: May 01, 2010, 05:12:01 am »

I'm in the progress of making humans playable but I've come up against a problem. Most of the nobles have the same names and functions as the dwarven ones, I removed the monarch, duke, count, baron, mayor and replaced them with a warlord, there should be one per site. I can't get him to replace the expedition leader when the population gets high enough.

I get the impression that I can't have an unelected dwarf seize control like this unless he already exists off site. There is no monarch to appoint him therefore there is no warlord in existence to take control.

Does anyone else have any experience with this? Help would be appreciated.
« Last Edit: May 01, 2010, 05:15:42 am by Vattic »
Logged
6 out of 7 dwarves aren't Happy.
How To Generate Small Islands

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: Help with custom nobles
« Reply #1 on: May 01, 2010, 05:47:08 am »

Did you remember to define your civilization triggers?

Vattic

  • Bay Watcher
  • bibo ergo sum
    • View Profile
Re: Help with custom nobles
« Reply #2 on: May 01, 2010, 06:11:11 am »

I have, but I'll post the relevant parts of my raws.

So I have the trigger, low population requirement for testing purposes.
Code: [Select]
[LAND_HOLDER_TRIGGER:1:10:0:0]
Then the two nobles in question.
Code: [Select]
[POSITION:WARLORD]
[NAME:warlord:warlords]
[SPOUSE_FEMALE:warlord's bride:warlord's brides]
MALE] This tag produces an error
[SITE]
[NUMBER:1]
[SUCCESSION:BY_HEIR]
[LAND_HOLDER:1]
[RESPONSIBILITY:LAW_MAKING]
[RESPONSIBILITY:RECEIVE_DIPLOMATS]
[RESPONSIBILITY:MILITARY_GOALS]
[RESPONSIBILITY:MEET_WORKERS]
[REQUIRES_POPULATION:10] Not sure if necessary, seems to make no difference if I include it or not
[PRECEDENCE:10]
[RULES_FROM_LOCATION]
[MENIAL_WORK_EXEMPTION]
[MENIAL_WORK_EXEMPTION_SPOUSE]
[PUNISHMENT_EXEMPTION]
[SLEEP_PRETENSION]
[FLASHES]
[BRAG_ON_KILL]
[CHAT_WORTHY]
[DO_NOT_CULL]
[KILL_QUEST]
[EXPORTED_IN_LEGENDS]
[COLOR:4:0:1]
[ACCOUNT_EXEMPT]
[DUTY_BOUND]
[DEMAND_MAX:5]
[MANDATE_MAX:3]
[REQUIRED_BOXES:5]
[REQUIRED_CABINETS:3]
[REQUIRED_RACKS:3]
[REQUIRED_STANDS:3]
[REQUIRED_OFFICE:2500]
[REQUIRED_BEDROOM:2500]
[REQUIRED_DINING:2500]
[REQUIRED_TOMB:2500]

[POSITION:EXPEDITION_LEADER]
[NAME:expedition leader:expedition leaders]
[SITE]
[NUMBER:1]
[RULES_FROM_LOCATION]
[REPLACED_BY:WARLORD]
[RESPONSIBILITY:MEET_WORKERS]
[RESPONSIBILITY:RECEIVE_DIPLOMATS]
[RESPONSIBILITY:MILITARY_GOALS]
[PRECEDENCE:110]
[DO_NOT_CULL]
[ACCOUNT_EXEMPT]
[DUTY_BOUND]

Cheers.
Logged
6 out of 7 dwarves aren't Happy.
How To Generate Small Islands

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: Help with custom nobles
« Reply #3 on: May 01, 2010, 06:15:37 am »

Ok, well your MALE] tag REALLY jumps out at me because it needs to be [MALE]
As in, it needs a [ in front of it. Unless you removed it because it produced an error with the full tag, and if so that would be because toady don't use such a tag in vanilla raws, so might have got lazy and not added one.

Apart from that, I will keep looking, but I thought I should say that before I forget.

Vattic

  • Bay Watcher
  • bibo ergo sum
    • View Profile
Re: Help with custom nobles
« Reply #4 on: May 01, 2010, 06:18:56 am »

I removed the opening bracket because it produces an error. I only included it originally because it lists it on the wiki as a valid tag alongside it's sister [FEMALE].

Cheers for your help.
Logged
6 out of 7 dwarves aren't Happy.
How To Generate Small Islands

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: Help with custom nobles
« Reply #5 on: May 01, 2010, 06:20:20 am »

Guess toady didn't add what he didn't want.
Anyway, try removing [SUCCESSION:BY_HEIR]
You can't expect the leader to turn into a warlord, when he isn't the warlords son now...

Vattic

  • Bay Watcher
  • bibo ergo sum
    • View Profile
Re: Help with custom nobles
« Reply #6 on: May 01, 2010, 06:55:08 am »

I will try it, unfortunately I can't let you know if it works in a hurry as every time I make a change I have to set a fort up and wait for a year to make sure it isn't working. It's a real headache.

One thing I will say though is that the duke, baron and count pass their titles on to their children and they get replaced by each other. Do they already exist off site or are they generated on the fly when you reach the land requirements? I get the impression it will only allow me to bring in a warlord from elsewhere if the civ has a monarch to appoint him.

I could always get around this by renaming the expedition leader as "warlord" but I don't want him making mandates and demands from right at the start. I could make it so you can appoint the warlord when the population is high enough or get them to elect him like the mayor but neither fits well.

Cheers again.
Logged
6 out of 7 dwarves aren't Happy.
How To Generate Small Islands

Knight Otu

  • Bay Watcher
  • ☺4[
    • View Profile
Re: Help with custom nobles
« Reply #7 on: May 01, 2010, 07:02:03 am »

I removed the opening bracket because it produces an error. I only included it originally because it lists it on the wiki as a valid tag alongside it's sister [FEMALE].

Cheers for your help.
The needed tag is [GENDER:MALE], as seen in the elven positions.

I'll try out whether I can see the problems with the replacement.
Logged
Direforged Original
Random Raw Scripts - Randomly generated Beasts , Vermin, Hags, Vampires, and Civilizations
Castle Otu

Vattic

  • Bay Watcher
  • bibo ergo sum
    • View Profile
Re: Help with custom nobles
« Reply #8 on: May 01, 2010, 07:15:13 am »

I checked the dwarves for gender specific position tokens and found nothing, didn't think to check the elves. Thanks for clearing that up Knight Otu, I've corrected the information on the wiki in light of this.

There are a few things more I'm going to try myself but if you can figure out what's not working I'd be very happy.

Slightly off topic but do either of you know what tokens allow the monarch to come and live at your fort? Perhaps he doesn't do that any more.
Logged
6 out of 7 dwarves aren't Happy.
How To Generate Small Islands

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: Help with custom nobles
« Reply #9 on: May 01, 2010, 07:19:34 am »

I think anybody without the [SITE] tag will go to the best site they can find, so its a lack of tag that draws them, rather then a specific one.

Apart from that, did you get your war lord to show up?

Vattic

  • Bay Watcher
  • bibo ergo sum
    • View Profile
Re: Help with custom nobles
« Reply #10 on: May 01, 2010, 07:38:44 am »

That's certainly a possibility, though diplomats don't have the [SITE] token, could be the high precedence.

Unfortunately still waiting for some migrants to show up.
Logged
6 out of 7 dwarves aren't Happy.
How To Generate Small Islands

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: Help with custom nobles
« Reply #11 on: May 01, 2010, 07:40:44 am »

Toady does some strange things with hes raws, but I don't think he would do that.
I shall meditate on this, and come back when I have found a solution, but as a stab into a misty blue darkness, I would guess [RULES_FROM_LOCATION] could shed some light on our situation.  :P

Vattic

  • Bay Watcher
  • bibo ergo sum
    • View Profile
Re: Help with custom nobles
« Reply #12 on: May 01, 2010, 08:21:21 am »

I have now tried removing [SUCCESSION:BY_HEIR] from the warlord as suggested and ran the fort for a year. Population:16 and still no warlord.

Luckily things are going faster now, I realised I could raise the cap on my FPS and one season takes about five minutes. Less waiting around will help.
Logged
6 out of 7 dwarves aren't Happy.
How To Generate Small Islands

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: Help with custom nobles
« Reply #13 on: May 01, 2010, 08:28:20 am »

Ok, so that didn't do it, let us move on. Give me a second and I'll figure this out.

Vattic

  • Bay Watcher
  • bibo ergo sum
    • View Profile
Re: Help with custom nobles
« Reply #14 on: May 01, 2010, 04:04:45 pm »

I've read something on the bug tracker that might be relevant. In vanilla; once you have a mayor and meet the requirements for one of the landed nobles you must wait. During the liaison's next visit he will meet your mayor and let you pick a dwarf to become the baron, count or duke depending on which requirements you've met. Unlike 40d the landed nobles don't arrive from off site. I think this might be part of the problem, I have no mayor for the liaison to visit. Still though, I don't know which tokens let the mayor do this while the expedition leader can't.

I have ran a vanilla fort for 3 years now, lowered the pop requirement for the mayor to 10 and the land holder requirements for the baron are at 20:20:20. I've got my mayor but still no baron so I can't confirm what I read on the bug tracker. Perhaps there is some bug?
Logged
6 out of 7 dwarves aren't Happy.
How To Generate Small Islands
Pages: [1] 2