Jump to content

Outpost Attackers


Lion.Kanzen
 Share

Recommended Posts

1- how i can make Outpost attacks when units are garrisoned?

where and what i must Program or set. want only attack if are garrison soldiers

2- how i mod Palisades are available in all City Phases?

1. To just make it attack I'd say look at the other towers, how they do it. To make it only attack when there are soldiers garrisoned you might have to do some programming though.

2. Palisades should/will be available in all phases by default. So no need to mod that.

Link to comment
Share on other sites

1. To just make it attack I'd say look at the other towers, how they do it. To make it only attack when there are soldiers garrisoned you might have to do some programming though.

This is something I hope we can fix/change. A few buildings (like the Outpost) I'd like to not shoot arrows unless a dude is garrisoned inside. Currently, you cannot set DefaultArrowCount to 0.

Link to comment
Share on other sites

Thanks but ocurr a happens . with Attack animation don't appears an gets a errors but thanks i kill a rushers in my firsth game they destroys 2 outpost but all die XD. i a surviver second rush and a can defending the town best

thats balances best the romans disadvantage.

If you're talking about the projectile error, I've just committed a new model that will fix that.

Link to comment
Share on other sites

  • 5 weeks later...

1. To just make it attack I'd say look at the other towers, how they do it. To make it only attack when there are soldiers garrisoned you might have to do some programming though.

2. Palisades should/will be available in all phases by default. So no need to mod that.

Idk, my outposts don't seem to attack unless they're garrisoned, but this could be due to something that was changed after you wrote that. If thats not the case the code for my outposts is :


<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_civic">
<Armour>
<Hack>5.0</Hack>
<Pierce>5.0</Pierce>
<Crush>5.0</Crush>
</Armour>
<Attack>
<Ranged>
<Hack>0.0</Hack>
<Pierce>25.0</Pierce>
<Crush>0.0</Crush>
<MaxRange>55.0</MaxRange>
<MinRange>13.0</MinRange>
<ProjectileSpeed>75.0</ProjectileSpeed>
<PrepareTime>1200</PrepareTime>
<RepeatTime>2000</RepeatTime>
<Spread>1.5</Spread>
</Ranged>
</Attack>
<BuildingAI>
<GarrisonArrowMultiplier>1</GarrisonArrowMultiplier>
</BuildingAI>
<BuildRestrictions>
<Territory>own neutral</Territory>
<Category>House</Category>
</BuildRestrictions>
<Cost>
<BuildTime>40</BuildTime>
<Resources>
<wood>80</wood>
<stone>0</stone>
</Resources>
</Cost>
<Footprint>
<Square width="9.0" depth="9.0"/>
<Height>15.0</Height>
</Footprint>
<GarrisonHolder>
<Max>3</Max>
<EjectHealth>0.1</EjectHealth>
<List datatype="tokens">Support Infantry</List>
<BuffHeal>0</BuffHeal>
<LoadingRange>2</LoadingRange>
</GarrisonHolder>
<Health>
<Max>800</Max>
</Health>
<Identity>
<GenericName>Outpost</GenericName>
<Tooltip>Build in neutral and friendly territories to scout areas of the map. Slowly loses health while in neutral territory.</Tooltip>
<Classes datatype="tokens">Village Defensive -ConquestCritical</Classes>
<Icon>structures/outpost.png</Icon>
</Identity>
<Loot>
<xp>100</xp>
<food>0</food>
<wood>8</wood>
<stone>0</stone>
<metal>0</metal>
</Loot>
<Obstruction>
<Static width="6.5" depth="6.5"/>
</Obstruction>
<Sound>
<SoundGroups>
<select>interface/select/building/sel_tower.xml</select>
<constructed>interface/complete/building/complete_tower.xml</constructed>
<death>attack/destruction/building_collapse_large.xml</death>
</SoundGroups>
</Sound>
<StatusBars>
<BarWidth>6.0</BarWidth>
<BarHeight>0.6</BarHeight>
<HeightOffset>18.0</HeightOffset>
</StatusBars>
<TerritoryDecay>
<HealthDecayRate>1</HealthDecayRate>
</TerritoryDecay>
<Vision>
<Range>80</Range>
</Vision>
<TerritoryInfluence>
<Root>true</Root>
<Radius>60</Radius>
<Weight>65536</Weight>
</TerritoryInfluence>
<VisualActor>
<Actor>props/special/palisade_rocks_outpost.xml</Actor>
<FoundationActor>structures/fndn_2x2.xml</FoundationActor>
</VisualActor>
</Entity>

Link to comment
Share on other sites

That's what I was saying. In that outpost setup the outposts should only attack when they're garrisoned, when they're empty they just stand there as near as I can tell. mind you that setup also changes their territory bonus a bit so it's more in line with the units LOS and range which I reason would determine how much territory it can control.

Edited by chaosislife
Link to comment
Share on other sites

This is something I hope we can fix/change. A few buildings (like the Outpost) I'd like to not shoot arrows unless a dude is garrisoned inside. Currently, you cannot set DefaultArrowCount to 0.

Actually, if my code is correct you can set DefaultArrowCount to 0 by simply not declaring a DefaultArrowCount. In other words change ex:


<BuildingAI>
<DefaultArrowCount>1</DefaultArrowCount>
<GarrisonArrowMultiplier>0.5</GarrisonArrowMultiplier>
</BuildingAI>

to


<BuildingAI>
<GarrisonArrowMultiplier>0.5</GarrisonArrowMultiplier>
</BuildingAI>

Edited by chaosislife
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...