Lion.Kanzen Posted April 29, 2012 Share Posted April 29, 2012 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 soldiers2- how i mod Palisades are available in all City Phases? Link to comment Share on other sites More sharing options...
feneur Posted April 29, 2012 Share Posted April 29, 2012 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 soldiers2- 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 More sharing options...
Mythos_Ruler Posted April 29, 2012 Share Posted April 29, 2012 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 More sharing options...
leper Posted April 29, 2012 Share Posted April 29, 2012 r11697 fixes this. Every unit that has at least one of the classes 'Infantry' and 'Ranged' counts as an archer. Link to comment Share on other sites More sharing options...
Pureon Posted April 29, 2012 Share Posted April 29, 2012 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 bestthats 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 More sharing options...
leper Posted April 29, 2012 Share Posted April 29, 2012 The errors (and warnings) are saved to mainlog.html (and a more verbose version to interestinglog.html). The location of these files depends on your OS. 1 Link to comment Share on other sites More sharing options...
Pureon Posted April 29, 2012 Share Posted April 29, 2012 im using a SVN version in win7So the log files will be in:C:\Users\USERNAME\AppData\Local\0ad\logs 1 Link to comment Share on other sites More sharing options...
feneur Posted April 29, 2012 Share Posted April 29, 2012 thanks Pureon.ERROR: Unit with actor 'outpost' launched a projectile but has no actor on 'projectile' attachpointShould be fixed in revision 11698 Link to comment Share on other sites More sharing options...
chaosislife Posted May 29, 2012 Share Posted May 29, 2012 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 More sharing options...
chaosislife Posted May 30, 2012 Share Posted May 30, 2012 (edited) 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 May 30, 2012 by chaosislife Link to comment Share on other sites More sharing options...
chaosislife Posted May 30, 2012 Share Posted May 30, 2012 I used to have their garrisons limited to one unit per outpost they didn't look to fire when not garrisoned then either. Are ou seeing them fire without being garrisoned using that setup? Link to comment Share on other sites More sharing options...
chaosislife Posted May 30, 2012 Share Posted May 30, 2012 (edited) 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 May 30, 2012 by chaosislife Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted May 30, 2012 Share Posted May 30, 2012 It was fixed after I said that. Link to comment Share on other sites More sharing options...
chaosislife Posted May 31, 2012 Share Posted May 31, 2012 Well darn, i was hoping I'd actually be saying something useful. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now