Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 2020-12-15 in all areas

  1. We you could create a special actor with the field mesh and a custom template with obstruction. This way you wi have a custom obstruction object. You can set it to be only visible in atlas See the trigger markers for example.
    2 points
  2. Delenda Est has these placement obstructors, whose code may be useful to you. <?xml version="1.0" encoding="utf-8"?> <Entity> <AIProxy/> <Footprint> <Square width="38.5" depth="7.0"/> <Height>9.0</Height> </Footprint> <Obstruction> <Active>true</Active> <BlockMovement>false</BlockMovement> <BlockPathfinding>false</BlockPathfinding> <BlockFoundation>true</BlockFoundation> <BlockConstruction>true</BlockConstruction> <DeleteUponConstruction>false</DeleteUponConstruction> <DisableBlockMovement>false</DisableBlockMovement> <DisableBlockPathfinding>false</DisableBlockPathfinding> <Static width="37.0" depth="6.0"/> </Obstruction> <Ownership/> <Position> <Altitude>0</Altitude> <Anchor>upright</Anchor> <Floating>false</Floating> <FloatDepth>0.0</FloatDepth> <TurnRate>6.0</TurnRate> </Position> <Selectable> <Overlay> <Outline> <LineTexture>outline_border.png</LineTexture> <LineTextureMask>outline_border_mask.png</LineTextureMask> <LineThickness>0.4</LineThickness> </Outline> </Overlay> </Selectable> <Visibility> <RetainInFog>true</RetainInFog> <AlwaysVisible>false</AlwaysVisible> <Corpse>false</Corpse> <Preview>false</Preview> </Visibility> <VisualActor> <Actor>structures/hellenes/wall_long.xml</Actor> <SilhouetteDisplay>false</SilhouetteDisplay> <SilhouetteOccluder>false</SilhouetteOccluder> <VisibleInAtlasOnly>true</VisibleInAtlasOnly> </VisualActor> </Entity>
    1 point
  3. Have you tried using custom special filters, haven't tried myself but should be able to expand the template of the entity you want to have the effect applied without template duplication. Here is an example I did for a map where i wanted to make the a wonder ungarrisonable https://code.wildfiregames.com/D1634 the file in question is binaries/data/mods/public/simulation/templates/special/filter/disableGarrisonHolder.xml so should be similar for your case
    1 point
  4. Sure but it should instead be a barrier shape or something using a field sounds a bit hacky
    1 point
  5. @hyperion, you're right, commits such as 15713 or 19095 ought to be avoided. On the other hand, committing every single modification separately is undesirable too. Where to draw the line is always a bit arbitrary. D2493, D2494, D2495 affect the same entities; I did it in three because each of those can make sense on its own (or not) and can be implemented indepently. D2494 removes splash attacks and raises default damage of artillery, but having one patch removing splash attacks and another raising default damage is not really an improvement, these changes make much more sense together than they do separately. Likewise, the <PreferredClasses> changes are because of the damage changes. You have a point that the summary does not really explain why the patch is as it is. I'll rewrite the summary to be more argumentative rather than descriptive. One problem is that the actual splash damage inflicted depends not just on the splash radius, but also on the distance from the centre of the entity hit; because structures (and warships) tend to have long footprints (longer than the splash radius), they don't take any splash damage in practice. Also, the AI does not seem able to take splash damage into account. Another issue is that ancient missiles were not exploding shells; splash damage is anachronistic. To be clear, I'm certainly not arguing to remove the mechanic. I'm actually in favour of having a cheat unit that has a splash attack (perhaps a mortar; or some Greek fire, or the dragon?). Anyway, this discussion is getting quite specific. Could we please continue it over there on phabricator ( https://code.wildfiregames.com/D2494 ), where the actual review is supposed to take place?
    1 point
  6. I like splash damage and I feel like it's an intereating mechanic that should be kept and not be put in the trash. Sadly I don't have more reasonable arguments for it. I do feel like "hard to understand" is not a good argument, too.
    1 point
  7. Cool. Good to know! Thank you for swift reply
    1 point
×
×
  • Create New...