Jump to content


Photo

Death or damage types, health bar

mod

  • Please log in to reply
5 replies to this topic

#1 Slava Shadrinov

Slava Shadrinov
  • Members
  • 178 posts
  • Projects:The Word Of Tolkien Mod

Posted 18 August 2016 - 01:25 PM

Hi all

It possible to do damage to units with this parameter?

KindOf = UNATTACKABLE

I know only way. If i add this to my hero or unit they die after time is out
 

Behavior = LifetimeUpdate ModuleTag_LifetimeUpdate
MinLifetime = BALROG_LIFETIME
MaxLifetime = BALROG_LIFETIME
DeathType = FADED
End

Or some question:

When i add UNATTACKABLE my health bar remove from this unit, any way to remove health bar from current unit or hero?
 


#2 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 23 August 2016 - 11:53 AM

What are you trying to do, make them invulnerable or actually make them unattackable?


Ridder Geel

#3 Slava Shadrinov

Slava Shadrinov
  • Members
  • 178 posts
  • Projects:The Word Of Tolkien Mod

Posted 23 August 2016 - 03:50 PM

Make units invulnerable from enemy units, only ally units take him damage.
And i want to remove health bar on current unit.



#4 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 25 August 2016 - 05:07 PM

Create a hero has invulnerability, so look at his abilities, not sure if removing the healthbar is that easy though..


Edited by Ridder Geel, 25 August 2016 - 05:07 PM.

Ridder Geel

#5 Slava Shadrinov

Slava Shadrinov
  • Members
  • 178 posts
  • Projects:The Word Of Tolkien Mod

Posted 25 August 2016 - 05:29 PM

Ok thanks for answer)



#6 JUS_SAURON

JUS_SAURON

    El Shaddai

  • Members
  • 1,581 posts
  • Location:Trinidad
  • Projects: BFME2 MOD - Power Of The Ring
  •   INI Coder

Posted 01 September 2016 - 11:40 PM

ShowHealthInSelectionDecal = No
 
see if this does anything
 
making Friendly units attack would take some serious coding of the Weapon.ini
 
RadiusDamageAffects =   ALLIES NEUTRALS SELF 
 
and

DamageNugget
Damage        = 1
Radius        = 25.0
DelayTime     = 0
DamageType    = CHOP
DamageFXType  = FLAME
DeathType     = BURNED  
                                   SpecialObjectFilter = NONE +Object ALLIES
                                   DamageScalar   = 5000% NONE +Object
End
 
And this would not be done by AI ...unless scripted .
 
ALSO 
you can check out how IsengardBerserker attacks a mine .
I don't think you can give a unit INVULNERABILITY via AttributeModifier AND still attack it .
Try giving it armor that is unattackable , then a special damage type for allied  units
 
  ;------------------------------------------------------------------------------
Armor MinasTirithGate            ;Nigh-invulnerable and ancient walls and wall structures -JBender
  Armor = DEFAULT         0%     ;this sets the level for all nonspecified damage types
  Armor = STRUCTURAL  0%     ;structural damage - Grond inflicts this kind of damage
  Armor = CHOP         100%     ;in case Gandalf or Saruman attack
  Armor = LOGICAL_FIRE 0% ;Fire
End





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users