Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Modding out goblin/troll clothing  (Read 1271 times)

LuckyLuigi

  • Bay Watcher
  • Never Ever Savescum
    • View Profile
Modding out goblin/troll clothing
« on: June 16, 2011, 09:45:55 am »

Hi,

Even with 200 dwarves I can't keep up with cleaning up the amount of clothes the non stop sieges bring to my map.
Can someone link me a clear explanation on how I can change the game to stop this ?

Thanks,
Louis
Logged
Check out Time Denee's brilliant DF comics of Bronzemurder and Oilfurnace.

Batdwarf Forever !

Girlinhat

  • Bay Watcher
  • [PREFSTRING:large ears]
    • View Profile
Re: Modding out goblin/troll clothing
« Reply #1 on: June 16, 2011, 09:50:35 am »

Open the entity_default.txt in the raws.  Should be very obvious under the EVIL civ, to remove the clothing tokens.  For trolls, remove the [EQUIPS] token in their creature_default.txt or in creature_underground.txt or creature_subterranean_next.txt - I forget exactly where trolls are in the raws.

LuckyLuigi

  • Bay Watcher
  • Never Ever Savescum
    • View Profile
Re: Modding out goblin/troll clothing
« Reply #2 on: June 16, 2011, 01:32:27 pm »

Allright, I restricted their armour to

[ARMOR:ITEM_ARMOR_BREASTPLATE:COMMON]
[ARMOR:ITEM_ARMOR_MAIL_SHIRT:COMMON]
[HELM:ITEM_HELM_HELM:COMMON]
[GLOVES:ITEM_GLOVES_GAUNTLETS:COMMON]
[SHOES:ITEM_SHOES_BOOTS:COMMON]
[PANTS:ITEM_PANTS_GREAVES:COMMON]
[SHIELD:ITEM_SHIELD_SHIELD]

and I removed [LEATHER] from ITEM_SHOES_BOOTS.

Trolls are in creature_standard.txt

To compensate, I'd like to give regular goblin iron armour at least (instead of copper) and elite goblin steel. I'm thinking this has something to do with [METAL_ARMOR_LEVELS] but I haven't been able to figure it out yet. Maybe make trolls more dangerous, or better armoured skin...hmmmm

Here goes lol.

EDIT : I see there is a seperate subforum for this. My bad posting in here.

EDIT : I guess it requires a world regen as the changes do not seem to take effect.

« Last Edit: June 17, 2011, 06:24:37 am by LuckyLuigi »
Logged
Check out Time Denee's brilliant DF comics of Bronzemurder and Oilfurnace.

Batdwarf Forever !