Jump to content

palisades


Emacz
 Share

Recommended Posts

Im still somewhat new to the modding, but wondering if palisade could do 1 damage every3-5 seconds with same change as spear cav, then apply a huge bonus against cav, so if cav get too close to the palisades they get seriously injured, but infantry (since they take up less space and are a little more maneuverable would only take a very small amount of dmg and could destroy the palisades.  It's something I would like to maybe play around with in the historical patch if people have ideas on how it could be implemented and work as intended :)

Link to comment
Share on other sites

You could create an aura for a easy solution. Ex:

{
	"type": "range",
	"radius": 25,
	"affects": ["Cavalry"],
	"modifications": [
		{ "value": "Health/RegenRate", "add": -1 }
	],
	"auraName": "Empaling",
	"auraDescription": "Cavalry -1 hp/sec",
	"overlayIcon": "art/textures/ui/session/auras/blood.png"
}

 

  • Like 1
Link to comment
Share on other sites

 

3 hours ago, Atrik said:

You could create an aura for a easy solution. Ex:

{
	"type": "range",
	"radius": 25,
	"affects": ["Cavalry"],
	"modifications": [
		{ "value": "Health/RegenRate", "add": -1 }
	],
	"auraName": "Empaling",
	"auraDescription": "Cavalry -1 hp/sec",
	"overlayIcon": "art/textures/ui/session/auras/blood.png"
}

 

Arnt you the one who said that too many aura's slow down the game though? :)

But yes, quick simple fix! Thanks

Link to comment
Share on other sites

2 hours ago, alre said:

also, more efficiently, it would be possible to have cavalry take back damage for each hit they land on the palisade. do palisades now have at least a cavalry damage resistance factor?

Yeah i actually like this more, but im not srue how to implement it.  Palisades have resistance, but not "extra" for cavalry.

Link to comment
Share on other sites

3 hours ago, alre said:

also, more efficiently, it would be possible to have cavalry take back damage for each hit they land on the palisade. do palisades now have at least a cavalry damage resistance factor?

Maybe one could mod simulation/helpers/Attack.js to get this resistance, right now only bonus to attack is supported which can be used to make melee cavs dps x0.5 vs palisade or something.
 

To give ideas to @Emacz, below the implementation of the bonus multiplier vs cav for spear cavs.

Spoiler

 

<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_cavalry_melee">
  <Attack>
    <Melee>
      <AttackName>Spear</AttackName>
      <Damage>
        <Hack>4</Hack>
        <Pierce>3</Pierce>
      </Damage>
      <Bonuses>
        <BonusCavMelee>
          <Classes>Cavalry</Classes>
          <Multiplier>2</Multiplier>
        </BonusCavMelee>
      </Bonuses>

 

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