Jump to content

How to restrict ships from carrying cavalry and siege weapons?


AIEND
 Share

Recommended Posts

I mean, how to increase the space occupied by cavalry and siege.
At present, a siege/chariot/cavalry only occupies one position like an infantry, and a ship can carry 30 infantry or 30 rams, I feel this is outrageous, how to make cavalry and siege occupy more What about the cabin.

  • Like 2
Link to comment
Share on other sites

1 hour ago, AIEND said:

I mean, how to increase the space occupied by cavalry and siege.
At present, a siege/chariot/cavalry only occupies one position like an infantry, and a ship can carry 30 infantry or 30 rams, I feel this is outrageous, how to make cavalry and siege occupy more What about the cabin.

The Garrisonable component controls the amount of space each entity occupies in a GarrisonHolder.

  • Thanks 3
Link to comment
Share on other sites

4小时前,回复说:

Garrisonable 组件控制每个实体在 GarrisonHolder 中占据的空间量。

Do I need to add another piece of code to the unit template? What is the format?

  • Like 1
Link to comment
Share on other sites

@AIEND 看 template_unit_champion_elephant

<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_champion">
  <Cost>
    <Population>3</Population>
    <BuildTime>36</BuildTime>
    <Resources>
      <food>300</food>
      <metal>200</metal>
    </Resources>
  </Cost>

<Population> tag controls how much population space is taken by this unit. You can change it to 1 or 5. (控制每只大象占的人口数。默认是3,意思是每只大象等于三个普通人)

Link to comment
Share on other sites

2 小时前,Sevda 说:

@AIEND 看 template_unit_champion_elephant


 
  
    
    
    
      
      
    
  

<Population> tag controls how much population space is taken by this unit. You can change it to 1 or 5. (控制每只大象占的人口数。默认是3,意思是每只大象等于三个普通人)

It should have nothing to do with that, even if I changed the Population of the elephant to 5, it still takes up the same space in the warship as the infantry.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...