AIEND Posted April 8, 2022 Report Share Posted April 8, 2022 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. 2 Quote Link to comment Share on other sites More sharing options...
Freagarach Posted April 8, 2022 Report Share Posted April 8, 2022 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. 3 Quote Link to comment Share on other sites More sharing options...
AIEND Posted April 8, 2022 Author Report Share Posted April 8, 2022 4小时前,回复说: Garrisonable 组件控制每个实体在 GarrisonHolder 中占据的空间量。 Do I need to add another piece of code to the unit template? What is the format? 1 Quote Link to comment Share on other sites More sharing options...
Yekaterina Posted April 8, 2022 Report Share Posted April 8, 2022 @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,意思是每只大象等于三个普通人) Quote Link to comment Share on other sites More sharing options...
AIEND Posted April 8, 2022 Author Report Share Posted April 8, 2022 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. Quote Link to comment Share on other sites More sharing options...
Stan` Posted April 8, 2022 Report Share Posted April 8, 2022 See http://docs.wildfiregames.com/entity-docs/a25.html#component.Garrisonable 1 1 Quote Link to comment Share on other sites More sharing options...
Freagarach Posted April 8, 2022 Report Share Posted April 8, 2022 3 hours ago, AIEND said: Do I need to add another piece of code to the unit template? What is the format? https://docs.wildfiregames.com/entity-docs/trunk.html 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.