Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: need help weapon modding  (Read 863 times)

lorem ipsum

  • Bay Watcher
  • legendary dabbler
    • View Profile
need help weapon modding
« on: June 20, 2014, 03:28:22 pm »

I created a weapon called a glaive, but no civ will use it in adventurer mode. I added the weapon tag to the civilization pages but none of them ever start with one
here are the raws:
Spoiler (click to show/hide)
any help would be appreciated
Logged
[DOES_NOT_EXIST]

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: need help weapon modding
« Reply #1 on: June 20, 2014, 04:55:38 pm »

Where did you add the weapon raws? Is it in its own file, or is it within an already existing file?

Did you generate a new world, and are you sure that you added the permission to the entities correctly?
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: need help weapon modding
« Reply #2 on: June 20, 2014, 05:28:57 pm »

[ITEM:ITEM_WEAPON_GLAIVE:FORCED]

Put that in your entity file, gen a new world, and it should work.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

lorem ipsum

  • Bay Watcher
  • legendary dabbler
    • View Profile
Re: need help weapon modding
« Reply #3 on: June 20, 2014, 06:54:33 pm »

[ITEM:ITEM_WEAPON_GLAIVE:FORCED]

Put that in your entity file, gen a new world, and it should work.
In the file for the weapon or the file for civs?
Logged
[DOES_NOT_EXIST]

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: need help weapon modding
« Reply #4 on: June 20, 2014, 07:38:52 pm »

[ITEM:ITEM_WEAPON_GLAIVE:FORCED]

Put that in your entity file, gen a new world, and it should work.

You do not need FORCED or any other token like that for anything except armor and its ilk (pants etc). All weapons are always used.

Urist Da Vinci

  • Bay Watcher
  • [NATURAL_SKILL: ENGINEER:4]
    • View Profile
Re: need help weapon modding
« Reply #5 on: June 20, 2014, 08:15:26 pm »

I created a weapon called a glaive, but no civ will use it in adventurer mode. I added the weapon tag to the civilization pages but none of them ever start with one
here are the raws:
Code: [Select]
[ITEM_WEAPON:ITEM_WEAPON_GLAIVE]
[NAME:glaive:glaives]
[SIZE:480]
[SKILL:SPEAR]
[TWO_HANDED:47500]
[MINIMUM_SIZE:5000]
[MATERIAL_SIZE:1]
[ATTACK:EDGE:20000:5000:slice:slices:NO_SUB:1250]
[ATTACK_EDGE:30:8000:stab:stabs:NO_SUB:1000]
[ATTACK_BLUNT:9000:6000:strike:strikes:shaft:1250]
any help would be appreciated

1. Use code tags rather than spoiler quotes for quoting raws - it is easier to use.

2. You are missing colons ":" after the second and third attacks - you have underlines instead.