Results 1 to 5 of 5

Thread: How would I go about creating a new building?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default How would I go about creating a new building?

    So I'm a total noob, is there any guide that would help me understand how to create lets say a new building for the empire that lets me recruit dwarf miners?

  2. #2
    Commissar Caligula_'s Avatar The Ecstasy of Potatoes
    Join Date
    Dec 2013
    Location
    The alcoves in the Koningin Astridpark
    Posts
    5,871

    Default Re: How would I go about creating a new building?

    I'd recommend either downloading a mod that adds new buildings, and seeing how they did it.
    Or downloading the Assembly Kit via Steam - Tools and clicking the Help - Search All and searching a particular building to see all the instances it appears and reverse engineering it.

    Good luck, I don't have a clue how to do it so I can't help ya.



  3. #3

    Default Re: How would I go about creating a new building?

    Quote Originally Posted by DCyDe View Post
    that lets me recruit dwarf miners?
    You'll probably need to add in a whole new "dwarf miner" unit specific to the Empire.

    By comparison, adding the building should be simple enough. I think you only need an entry for the building itself, one or more entries for the building chain (ie if the building has multiple tiers), and whatever entries you want for the building's effects (non-hero recruitment is not an effect; unit recruitment is done by assigning the unit to the building or building chain).

    I'll also echo Caligula's suggestion to poke around a mod which already achieves your target, particularly if it's limited in scope (ie a mod which adds just one new building, or just one new unit). And, the Global Search tool in DaVE is very powerful.

  4. #4

    Default Re: How would I go about creating a new building?

    Quote Originally Posted by Millimidget View Post
    I think you only need an entry for the building itself, one or more entries for the building chain (ie if the building has multiple tiers), and whatever entries you want for the building's effects (non-hero recruitment is not an effect; unit recruitment is done by assigning the unit to the building or building chain).
    I'm wrong. It's probably about 5-6 tables you'll need to add entries to, and recruitment is indeed assigned by one of the building tables (building_units_allowed).

    As for your real question, there's no guide I know of. Most modding guides focus on adding new units, and I can't say I've seen one written well enough for a new modder to readily follow.

  5. #5
    Commissar Caligula_'s Avatar The Ecstasy of Potatoes
    Join Date
    Dec 2013
    Location
    The alcoves in the Koningin Astridpark
    Posts
    5,871

    Default Re: How would I go about creating a new building?

    Oh yea I forgot. Animations are locked to each faction, so there's a table somewhere you have to edit to allow the Empire to use Dwarf animations. I can't remember where it is though but at least now you know the existence of it.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •