Jump to content


Photo

Healing Satation


  • Please log in to reply
3 replies to this topic

#1 JUS_SAURON

JUS_SAURON

    El Shaddai

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

Posted 15 January 2010 - 03:19 PM

Hi I am the creator of the JUS_SAURON Mods for BFME2

They use the same sage engine codes

I came accross a few CNC codes that I would like some clarification on

CODE
Behavior = AutoFindHealingUpdate ModuleTag_CNCHEAL ; This update will have the unit go to a healing station if injured. jba
ScanRate = 1000 ; once a second.
ScanRange = 300 ;
NeverHeal = 0.85 ; don't heal if we are > 85% healthy.
AlwaysHeal = 0.25 ; if we get below 25%, find healing right away.
End


What ' healing station ' Does the unit go to ...
How does the game recognise it is a Healing station ??

Is it Kind of HEAL_PAD ?

Any help on these codes will be nice :p
I hope I have not posted in wrong section ...

#2 Gen.Kenobi

Gen.Kenobi

    I'm a doc, not an...

  • Undead
  • 1,429 posts
  • Location:Brazil
  • Projects:Survive Med School
  •  Your Doc
  • Division:Revora
  • Job:Hosting Admin

Posted 15 January 2010 - 05:01 PM

Well,

If i remember well, in Generals there are 3 kind of healling types:

> Home Structure Healling
> Veterancy Healling
> Special units healling radius

1. Home Structure Healling is the place/structure where the unit is created and can go (if commanded by the player) to heal it self. Examples: Barracks, Airfield, War Factory...

2. Veterancy Healling is the behairvor that the unit have to self heal...when it gains teh veterancy.

3. Special units healling radius are structures/units, like the Ambullance and the Propaganda Tower that can heal/repair the units if they are on it's radius...

However I have never seen this module on any CNC codes...are you sure that it's for GENERALS? But i can be wrong :tongevil:
HEAL_PAD should be the "Home Structure Healling", but since i'm travelling i can't take a deepth look into the code to help you. I'll try to see this when i get home. :crazed:

But i hope that i helped you with these informations,

-Gen.Kenobi

kudos to Pasidon for this awesome avvy and siggy!


#3 Ice4smaster

Ice4smaster
  • Members
  • 10 posts

Posted 28 November 2010 - 09:06 PM

Okie if i see it right that code is from an infantry unit, that will make them look for a "hospital" in there radius. The actual healing is made by the building, you can find it in the building code, Check the Barraks code for the "healpad" code =)

#4 ravage

ravage
  • Hosted
  • 70 posts

Posted 05 January 2011 - 06:17 PM

the code is there, but i think it only works for AI units so they'll find Barracks to heal themselves.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users