Turning sentinel into soldados, how do? (incendiary grenade)

I am on the verge of tears and madness, it’s been 3 hours. i need help

How exactly would i go to add sentinels’ ranged attacks to the list of thing affected by incendiary greandes like the soldado?
i’ve tried modifying the techtree but to no avail

this si also for use only against ai, so i might just try to make the aoe built in. Malta is going to have mini giant genadier in the meantime i guess

sob

I should probably link the techtree i guess (i was not fully there anymore last night) i have this thing on and it just not activating in game

<techtreemods>

  <tech name="IncendiaryGrenadesShadow">
   
     <effects>
       
      <effect mergeMode='add' type="Data" action="VolleyRangedAttack" amount="0.50" subtype="DamageArea" relativity="Absolute">
        <target type="ProtoUnit">deMalteseMusketeer</target>
      </effect>
     
	 </effects>
   </tech>
   
   
</techtreemods>

what am i missing?

A way to do it is give the Sentinel the tag that makes them a Grenadier. You can search it on the Soldado protoy entry.

oh damn, of all the people to respond, it’s the one i wanted to ask something! i actually solved the issue, it was that i’m a damb dumb that forgot to order the file properly.

Howerver, rn i’m looking at changing damage type, and i know you managed to do it. is it a mergre replace in the proto? i’m 2 days old in modding, i want to learn everything

1 Like

Thank you. When you want to talk specifically to someone in this forum, you can quote they as @[username]
@Kerozen666 and they will receive a notification.

That happens more often you believe. That’s why verifying your paths is the first thing you need to do when testing a mod.

Yes, I did something to the Sentinels some time ago.

Your path for data modding should look like this:
image

All of the file content look like this:

<protomods>

 <unit id="2340" name="deMalteseMusketeer">
	<maxvelocity mergeMode='replace'>3.750</maxvelocity>
    <maxrunvelocity mergeMode='replace'>5.000</maxrunvelocity>
    <tactics>sentinel.tactics</tactics>
    <protoaction>
      <name>BuildingAttack</name>
      <damage>18.000000</damage>
      <damagetype>Siege</damagetype>
      <rof>3.000000</rof>
    </protoaction>
    <protoaction>
      <name>MeleeHandAttack</name>
      <damage>18.000000</damage>
      <damagetype>Hand</damagetype>
      <rof>1.500000</rof>
	  <maxrange mergeMode='add'>1.000000</maxrange>
      <damagebonus type="AbstractCavalry">2.50000</damagebonus>
      <damagebonus type="AbstractLightInfantry">1.900000</damagebonus>
    </protoaction>
    <protoaction>
      <name>VolleyRangedAttack</name>
      <damage>23.000000</damage>
	  <damagearea>1.000000</damagearea>
      <damagetype>Siege</damagetype>
      <maxrange>16.000000</maxrange>
      <rof>3.500000</rof>
	  <damagebonus type="AbstractCavalry">0.800000</damagebonus>
      <damagebonus type="AbstractLightInfantry">0.800000</damagebonus>
      <damagebonus type="AbstractArtillery">0.800000</damagebonus>
      <damagebonus type="AbstractVillager">0.50000</damagebonus>
    </protoaction>
    <protoaction>
      <name>Build</name>
      <rate type="Outpost">1.000000</rate>
      <rate type="FortFrontier">0.3334</rate>
    </protoaction>
    <protoaction>
      <name>RocketBuildingAttack</name>
      <damage>15.000000</damage>
      <damagetype>Siege</damagetype>
      <maxrange>14.000000</maxrange>
      <rof>3.000000</rof>
      <projectile>RocketShellSmall</projectile>
      <damagecap>30.000000</damagecap>
      <damagearea>1.000000</damagearea>
      <damageflags>GAIAEnemy</damageflags>
    </protoaction>
    <protoaction>
      <name>RocketAttack</name>
      <damage>18.400000</damage>
      <damagetype>Siege</damagetype>
      <maxrange>14.000000</maxrange>
      <rof>3.000000</rof>
      <projectile>RocketShellSmall</projectile>
      <damagecap>36.800000</damagecap>
      <damagearea>1.000000</damagearea>
      <damageflags>GAIAEnemy</damageflags>
      <damagebonus type="AbstractArtillery">0.250000</damagebonus>
      <active>0</active>
      <chargeaction>1</chargeaction>
    </protoaction>
  </unit>
 </protomods>

You can observe how we can simply replace things into the protoactions.

so i can just add a whole statblock like that? no need to merge or anything? i can just add attacks like that?

(also dear hoops does this whole thing makes me wish we got something like kenshi has for modding)

One thing it’s true: you can revert every change you make simply removing the mod. Try things, observe what exists in another mods, and keep trying.
Of course, here is the forum and you may receive help. It’s a great community