Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Newb Question, Playable Goblins, All races have towns  (Read 787 times)

Alamander

  • Bay Watcher
    • View Profile
Newb Question, Playable Goblins, All races have towns
« on: March 20, 2012, 04:52:07 am »

What tags do I need to place/replace to make races playable in adventure mode (and where)? Also, I'd like to be able to give dwarves, elves and goblins towns. This has almost definitely been asked before, I know people have done it before, sorry in advance. I did have a look myself in the raws, and on the forums, but my searches seemed fruitless. Please help a first time raws modder! Actually, that's not true, I found toys in the raws and invented a few of my own.
 ;D

Edit:
Wait, is [CIV_CONTROLLABLE] part of what I'm after?
« Last Edit: March 20, 2012, 04:54:15 am by Alamander »
Logged

Yoink

  • Bay Watcher
    • View Profile
Re: Newb Question, Playable Goblins, All races have towns
« Reply #1 on: March 20, 2012, 07:07:25 am »

Well, to make a race (goblins) playable as an adventurer, go into Entity_Default and add the tag [ADVENTURER_TIER:4]. Since there are 3 adventure-playable races in Vanilla, we'll make goblins number 4; as you add more playable races just increase the number by one each time.
Now, to give them towns, you need to find the tags like '[LIKES_SITE:DARK_FORTRESS]' and '[DEFAULT_SITE:DARK_FORTRESS]' and add(or replace the latter with) '[DEFAULT_SITE:CITY]'.
This can no doubt cause a boatload of strange occurences, given the differences between races and especially how detailed the new cities and towns are, but it should more-or-less work.
I'm not sure if there's any difference between leaving the original [DEFAULT_SITE] or [LIKES_SITE] tags in as well, I'm not much of a modder myself.

Hope I've helped some, someone with more experience could go into more detail. :) Oh, and '[CIV_CONTROLLABLE]' simply makes a race playable in Dwarf mode. Which can lead to all sorts of hijinks like when goblins don't have the appropriate noble positions and you cannot appoint a militia commander, or when you receive kidnapped members of other races as migrants and cannot assign labours to them... Endless Fun, eh?
Logged
Booze is Life for Yoink

To deprive him of Drink is to steal divinity from God.
you need to reconsider your life
If there's any cause worth dying for, it's memes.

Alamander

  • Bay Watcher
    • View Profile
Re: Newb Question, Playable Goblins, All races have towns
« Reply #2 on: March 22, 2012, 01:14:46 am »

Very nice, thank you very much! Works a treat, exactly what I was after. One thing that I figured out, your post should read [ADVENTURE_TIER4], not [ADVENTURER_TIER4], or it doesn't work. Thanks heaps!
Logged