Jump to content
Sign in to follow this  
Lion.Kanzen

Making my own template for buildings.

Recommended Posts

I'm trying my own test buildings but I fail with building templates so I will trying a one can be civil only but is quite different from others.

be me, I'm very oudated making buildings templates or mods (non related to art)

Chracteristics.

  • expand territory as civic centre. but I need test the radius from myselft must be some quite little than a colony. 
  • little hp and capture points.
  • farm bonus - add a bonus to each farm around
  • some building can be placed around
  • how assign icon to be builder by villager or citizen?
  • add tech to this building.
  • restriction limit between them.
  • a little health radius to heal nearby units.
  • restrict their numbers  at last 15.
  • give bonus to gather to quarries and mines after research.
  • how related to art file, I mean 3D appearance?
  • Like 3

Share this post


Link to post
Share on other sites

you can use the civic center template as a base
 

the hp of a template is in

<Health>
   <Max>3000</Max>
   <SpawnEntityOnDeath>decay|rubble/rubble_stone_6x6</SpawnEntityOnDeath>
</Health>

for adding to a villager build panel you need to add this in the template

<Builder>
    <Entities datatype="tokens">
      structures/{civ}_your_building
    </Entities>
  </Builder>

for the tech you need find this lines

 <ProductionQueue>
    <BatchTimeModifier>0.8</BatchTimeModifier>
    <Entities datatype="tokens">
      units/{civ}_support_female_citizen
    </Entities>
    <Technologies datatype="tokens">
      phase_town_{civ}
      phase_city_{civ}
      unlock_spies
      spy_counter
    </Technologies>
  </ProductionQueue>


the bonus and the health radius are auras and added like this
 

</Armour>
  <Auras datatype="tokens">
    structures/wonder_pop_1
    structures/wonder_pop_2
  </Auras>
  <BuildRestrictions>

the 3d model is set here
 

<VisualActor>
    <Actor>structures/{civ}/your_actor.xml</Actor>
    <FoundationActor>structures/fndn_6x6.xml</FoundationActor>
  </VisualActor>

I do not remember where is the max number of entites

  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites

@borg- here is. I'm developing the concept of  poverty and rural for those can't live near of civic center city. concept from Pharaoh and Caesar city builders.

 

instead let them build in neutral territory they can populate a neighborhood around a water supply.

  • Like 3

Share this post


Link to post
Share on other sites
2 minutes ago, borg- said:

Do you want to add water as a new resource or just a building?

adding many things if is possible a expert (someone better than me) making the whole building.

image.png.1b416c3600cbbdeb8f37fe39d6afe17d.png

you can build this after phase 2 in neutral territory, this represent the power to have a water supply to colonize some provincials areas, "but be careful stranger, the enemy can destroy or capture this easily." 

Share this post


Link to post
Share on other sites
4 minutes ago, Lion.Kanzen said:

adding many things if is possible a expert (someone better than me) making the whole building.

 image.png.1b416c3600cbbdeb8f37fe39d6afe17d.png

you can build this after phase 2 in neutral territory, this represent the power to have a water supply to colonize some provincials areas, "but be careful stranger, the enemy can destroy or capture this easily." 

Ok. I'm going to sleep now. I'll make these templates for you tomorrow.

Is it only for specific civilization or will it be for all?

Edited by borg-

Share this post


Link to post
Share on other sites
2 minutes ago, borg- said:

Ok. I'm going to sleep now. I'll make these templates for you tomorrow.

Is it only for specific civilization or will it be for all?

generic as the outpost.

  • Like 1

Share this post


Link to post
Share on other sites

You guys no there are already well actors in the game right ? :)

As for the water you need to make a round plane and export it separately. The material is player_water.xml. for the texture you can put null_white.dds.

Share this post


Link to post
Share on other sites
12 minutes ago, Stan` said:

You guys no there are already well actors in the game right ? :)

As for the water you need to make a round plane and export it separately. The material is player_water.xml. for the texture you can put null_white.dds.

is more big... is a reservoir, but nice description.

Resultado de imagen para roman water reservoirResultado de imagen para water tank old

a water tank made by stone. this will supply quarries, mines and farming.

Quote

Each settlement of men depends on a sufficient water supply. This applies especially for the arid and semiarid climate in the regions around the Mediterranean and the Near East where water is extremely scarce in summer. But in these regions the first cultures rose. In the following the main elements of municipal water supply will be presented as well as their artificial development by men including the combination of different methods. Examples will be presented from prehistory up to Roman times.
 

Local Supply

The water demand of the first small settlements and villages probably was covered by local sources. Subsurface water could be used from perennial flowing rivers (i.e. Nile, Euphrates, Tigris etc.) or lakes. Naturally this water is and not seldom was contaminated. On the other hand water from springs often is much purer, cooler and it tastes better. Therefore it seems to be understandable that springs were mythically venerated, especially when they appeared in very dry regions. In general such springs were framed and a fountain-house had been constructed including a basin in order to enable the drawing of water by people. As examples the Gihon-spring in Jerusalem and the Castalia in Delphi may be mentioned. Fig 1 shows such a fountain-house in Sikyon. 

http://www.romanaqueducts.info/webteksten/waterinantiquity.htm

Edited by Lion.Kanzen
  • Like 2

Share this post


Link to post
Share on other sites

Cistern is a good conxept. now I got it.

Quote

The second alternative is the storage of precipitation in cisterns, which are proved having been constructed in the whole region around the Mediterranean and the Near East since the 3rd Mill. B.C.. E.g. every house in Jerusalem had its own cistern. Very often they were cut pear-shaped into the natural rock with a small inlet being covered by stones or wooden plates. In Hellenistic and Roman times the number of cisterns built of stones increased. Not seldom the walls had been plastered in order to avoid seepage losses. Fig. 5 shows a cross-section of a cistern in Humeima / Auara (Jordan).

Spoiler

fig 5. Model of the other Nabataean cisterns in Humeima / Auara, Jordan. Inside the settlement about 10 other cisterns were present, all but one of circular shape, with capacities up to 200 m3, for private use and built by individual families, according to Oleson (Oleson 1995, SHAJ V pag 712)

 

 

Share this post


Link to post
Share on other sites

You need <Root>true</Root> In <TerritoryInfluence>.

The <VisualActor> is missing too.

Must be garrasion on?

Generate resources?

 

Edited by borg-

Share this post


Link to post
Share on other sites
Just now, borg- said:

Send me the model and the textures pls.

I'm not tested the actor yet.

I was work on concept sketch first. and the icon but you can use farmstead as place holder.

Share this post


Link to post
Share on other sites

@Lion.Kanzen had some other things missing. Here is the template fixed and athen water supply template.

To add to other civilizations, just change the name of the template, example: brit_water_supply and also <Civ>brit</Civ>.

For that can be built,  you need to add "structures / {civ} _water_supply" to the "unit_infantry" template. If you wish for women then do the same.

eaeaeae.png

template_structure_civic_water_supply.xml athen_water_supply.xml

Edited by borg-
  • Like 1

Share this post


Link to post
Share on other sites

what you thing about radious territory size...? is some kind of big..

but hou must can build a farmaland 4 farms and a real farmstead.

 

the other test is must be easy to capture.

how many units are needed to make an easy rush?

Edited by Lion.Kanzen

Share this post


Link to post
Share on other sites
2 minutes ago, Lion.Kanzen said:

what you thing about radious territory size...? is some kind of big..

but hou must can build a farmaland 4 farms and a real farmstead.

 

tge other test is must be easy to capture.

This is quite easy to capture, since garrison off.

I think the radious may be smaller, so there are more than 4 farms. Maybe 35 should be better.

  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, borg- said:

This is quite easy to capture, since garrison off.

I think the radious may be smaller, so there are more than 4 farms. Maybe 35 should be better.

I ask here not to do so many post with my small questions.
How to do so that you can build a certain building near another?
In other words, it can only be built if it is near the building in question

  • Like 2

Share this post


Link to post
Share on other sites
1 hour ago, Trinketos said:

I ask here not to do so many post with my small questions.
How to do so that you can build a certain building near another?
In other words, it can only be built if it is near the building in question

the inverse idea  to building restriction to meters?

Edited by Lion.Kanzen
  • Like 1

Share this post


Link to post
Share on other sites
3 hours ago, Trinketos said:

I ask here not to do so many post with my small questions.
How to do so that you can build a certain building near another?
In other words, it can only be built if it is near the building in question

Try:       <Distance>
               <FromClass>CivilCentre</FromClass>
               <MaxDistance>200</MaxDistance>
             </Distance>

Change the class according to the building template.

  • Thanks 1

Share this post


Link to post
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.

Sign in to follow this  

×
×
  • Create New...