Jump to content


Photo

Some question regard of modding with Corsix


187 replies to this topic

#181 LemonTree

LemonTree
  • Members
  • 113 posts

Posted 05 January 2020 - 01:00 PM

 

I try setting this to 9999 but the squad didn't really leech any noticeable health...

You must also make sure that the weapons of the squad (those that you want to leech health with each attack), ALREADY have life_leech_damage > 0. (Look into the armour_damage of the weapon for this)

Because if the leech damage is 0, even multiplying it by 10^100, leeching will still be .... Zero! :p

 

More thoughts

Now, if you want the leech to work AFTER a research, then you can either set leeching to 0.01 (so that it is not initially noticeable) and set a big multiplication modifier afterwards in the research.

OR ... Simply use Addition.

 

I tried a custom weapon,give it life leech as 1 and modifier is 9999 but it seem like there are no noticeable difference.Should i increase the life leech more ?



#182 LemonTree

LemonTree
  • Members
  • 113 posts

Posted 05 January 2020 - 01:00 PM

 

I try setting this to 9999 but the squad didn't really leech any noticeable health...

You must also make sure that the weapons of the squad (those that you want to leech health with each attack), ALREADY have life_leech_damage > 0. (Look into the armour_damage of the weapon for this)

Because if the leech damage is 0, even multiplying it by 10^100, leeching will still be .... Zero! :p

 

More thoughts

Now, if you want the leech to work AFTER a research, then you can either set leeching to 0.01 (so that it is not initially noticeable) and set a big multiplication modifier afterwards in the research.

OR ... Simply use Addition.

 

I tried a custom weapon,give it life leech as 1 and modifier is 9999 but it seem like there are no noticeable difference.Should i increase the life leech more ?



#183 Gambit

Gambit

    title available

  • Members
  • 6,393 posts
  • Location:Athens, Greece

Posted 05 January 2020 - 02:50 PM

Hmm.... It should be working!

Was the weapon with the life-leeching capability active? I mean, if you put it in a melee weapon, but you have the unit in range combat, it would not apply of course :p

Also, is the damage of the weapon "big" enough?

 

Honestly, I do not know how life-leeching works EXACTLY.

But I presume, the leached damage (that translates to unit healing), can be up to the unit's caused damage (or a fraction of it). I so not know if it can exceed that...

 

My suggestion is always the same: Experiment!


-In search of Papasmurf...

#184 fuggles

fuggles

    title available

  • Members
  • 4,775 posts

Posted 05 January 2020 - 07:42 PM

It could be a percentile so may not be able to exceed 1, that is true.

#185 LemonTree

LemonTree
  • Members
  • 113 posts

Posted 06 January 2020 - 01:11 AM

Hmm.... It should be working!

Was the weapon with the life-leeching capability active? I mean, if you put it in a melee weapon, but you have the unit in range combat, it would not apply of course :p

Also, is the damage of the weapon "big" enough?

 

Honestly, I do not know how life-leeching works EXACTLY.

But I presume, the leached damage (that translates to unit healing), can be up to the unit's caused damage (or a fraction of it). I so not know if it can exceed that...

 

My suggestion is always the same: Experiment!

Ah,it was a melee weapon,my squad was melee-ing a turret so i'm not sure whether the unit have to be infantry to leech damage.Gonna experiment and keep y'all update

It could be a percentile so may not be able to exceed 1, that is true.

I see,but that simply is not the case.I check Dark Eldar Archon animus vitous (life steal ability) and the value there is 8.The stat page say it should leech 16HP per second so i guess the ability attack twice per second



#186 LemonTree

LemonTree
  • Members
  • 113 posts

Posted 11 January 2020 - 05:17 PM

Update,it didn't really work the way I intended so i settle with damage_dealt_regeneration_factor instead



#187 Gambit

Gambit

    title available

  • Members
  • 6,393 posts
  • Location:Athens, Greece

Posted 11 January 2020 - 07:55 PM

Aha, this is a very obscure stat, I have almost never used, or seen it being used ...

I suppose, it regenerates HPs, times the "factor" value?


-In search of Papasmurf...

#188 LemonTree

LemonTree
  • Members
  • 113 posts

Posted 12 January 2020 - 07:07 AM

As far as i could tell,it regen HP base on the damage you deal.The value is Percentage.So if i put `1` then the incubus will heal for 100% the damage he dealt.It doesn't have the stack up effect that i wanted but ultimately i decide i don't really need that and effort putting leech damage on each Incubus weapon (then testing it) was too much to do





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users