Jump to content

XIII Century AD


wackyserious
 Share

Recommended Posts

8 minutes ago, Stan` said:

Well for them to work you need the wall length to be exactly the size of the palisade. Is it the case ?

Ohh now I see why, it must be the wall set tower..

070922 - Palisade.jpg

Also how do I remove the scaffolding foundation that automatically spawns when building tower, it seems to be coming from the parent template, how do I disable them in my wall set template?

Link to comment
Share on other sites

2 minutes ago, wackyserious said:

Also how do I remove the scaffolding foundation that automatically spawns when building tower, it seems to be coming from the parent template, how do I disable them in my wall set template?

Comes from the foundation actor.

Link to comment
Share on other sites

3 minutes ago, Stan` said:

Comes from the foundation actor.

What exactly to I have to do with the measurements of the tower?

  <Footprint>
    <Square width="1" depth="1"/>
    <Height>4</Height>
  </Footprint>

  <WallPiece>
    <Length>0.5</Length>
    <Orientation>1.5</Orientation>
  </WallPiece>

I see these two info but I don't exactly know how to match them and what to match them with?

Link to comment
Share on other sites

1 hour ago, wackyserious said:

Ohh now I see why, it must be the wall set tower..

070922 - Palisade.jpg

Also how do I remove the scaffolding foundation that automatically spawns when building tower, it seems to be coming from the parent template, how do I disable them in my wall set template?

I believe this disables the foundation actor, however I'm without the pc to test.
 

  <VisualActor>
    <Actor>structures/western/stone_low_curtain_wall_long.xml</Actor>
    <FoundationActor disable=""/>
  </VisualActor>

 

  • Thanks 2
Link to comment
Share on other sites

 

 

I am having errors in-game with the new special structure that I made for the West faction, can someone help check what's not right in my files? Thanks!

 xiiiad\simulation\data\auras\structures\west_guild_house_economic.json

Spoiler

{
    "type": "global",
    "affects": ["Trader"],
    "modifications": [
        { "value": "Trader/GainMultiplier", "multiply": 1.25 }
    ],
    "auraName": "Guilds",
    "auraDescription": "Provides +25% trade gain.",
    "stackable": true
}
 

xiiiad\simulation\templates\structures\west\guild_house.xml

Spoiler

<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_special">
  <Auras datatype="tokens">
    structures/west_guild_house_economic
  </Auras>
  <Footprint>
    <Square width="20.0" depth="16.0"/>
    <Height>8.0</Height>
  </Footprint>
  <Identity>
    <Civ>west</Civ>
    <SpecificName>Western Guild House</SpecificName>
    <Classes datatype="tokens">CivSpecific</Classes>
    <Icon>structures/tholos.png</Icon>
  </Identity>
  <Obstruction>
    <Static width="18.0" depth="14.0"/>
  </Obstruction>
  <VisualActor>
    <Actor>structures/western/guild_house.xml</Actor>
  </VisualActor>
</Entity>
 

xiiiad\simulation\templates\units\west\infantry_archer_b

Spoiler

<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_infantry_ranged_archer">
  <Builder>
    <Entities datatype="tokens">
      structures/west/tavern
      structures/west/guild_house
      structures/west/wallset_stone_low_curtain_wall
      structures/west/wallset_stone_high_curtain_wall
    </Entities>
  </Builder>
  <Identity>
    <Civ>west</Civ>
    <SelectionGroupName>units/west/infantry_archer_b</SelectionGroupName>
    <SpecificName>Serf Archer</SpecificName>
    <Icon>units/west_infantry_archer.png</Icon>
  </Identity>
  <Promotion>
    <Entity>units/west/infantry_archer_a</Entity>
  </Promotion>
  <VisualActor>
    <Actor>units/western/infantry_archer_b.xml</Actor>
  </VisualActor>
</Entity>
 

 

Link to comment
Share on other sites

1 hour ago, wackyserious said:

How do I define a train/build limit in entity templates?

You need to define it in `templates/special/player.xml`.

IIRC you need to put the generic name of the unit without spaces.

Edited by Grapjas
  • Thanks 1
Link to comment
Share on other sites

1 hour ago, Grapjas said:

You need to define it in `templates/special/player.xml`.

IIRC you need to put the generic name of the unit without spaces.

How about setting a prerequisite to add more numbers, like how Briton war dogs are limited to a certain amount and can have more if you build a certain structure?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...