Jump to content


Photo

Galadriel's Meta Impact Damage


  • Please log in to reply
8 replies to this topic

#1 Vahagn

Vahagn
  • Members
  • 126 posts

Posted 15 January 2012 - 11:48 PM

Hey everyone! Need help here. Maybe this will be pretty easy for some of you but I was suffering on this more than 1 month. So, I want to add that Meta Impact Damage of Galadriel to Gandalf and my own CAH. You know what it is, don't you? Both Galadriel and Sauron have that ability. When Galadriel hits enemies, only hits, without using any special abilities, most part of the battalion is blasted back and dies. Please give me detailed guide on how to add this damage-type to Gandalf and my own CAH! Thanks.

#2 JUS_SAURON

JUS_SAURON

    El Shaddai

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

Posted 15 January 2012 - 11:53 PM

any weapon ..usually mellee .. with a MetaImpactNugget will cause this Knockback effect


; Push back
	MetaImpactNugget			; A Nugget that throws things back with force
;		HeroResist			= .75
		ShockWaveAmount		= 60
		ShockWaveRadius		= 70
		ShockWaveArc		= 70		; Should generally be equal to damage arc
		ShockWaveTaperOff	= 1.0
		ShockWaveSpeed		= 300.0  ; 0.0 
		ShockWaveZMult		= 0.5
	End

So adding it to gandalf's normal weapon will do the trick
Its just a case of copy/paste

#3 Vahagn

Vahagn
  • Members
  • 126 posts

Posted 15 January 2012 - 11:58 PM

Where do I add this??? I'm new in all this stuff. Could you explain it in details, please??? Thanks a lot! :)

#4 modboy451

modboy451

    A small Big-time Modder!

  • Project Team
  • 783 posts
  • Location:U.S.A
  •  Experienced INI Coder, Advanced Rigger/Binder.

Posted 16 January 2012 - 01:19 AM

Go to weapon.ini
It is pretty self explanatory... just find it in Galardrials weapon (use Ctrl +F to search for "galadriel") and then paste it into Gandalf's (do the same thing but Gandalf instead of galadrial)
if you still can't let me know.

John 3:16 (NIV)
For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.


Psalm 23:1 (ESV)
A Psalm of David.
The LORD is my shepherd; I shall not want.


Posted Image
Posted Image
Posted Image
Posted Image

#5 JUS_SAURON

JUS_SAURON

    El Shaddai

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

Posted 16 January 2012 - 02:29 AM

Was not too sure how much detail you wanted ...

I hope you have the Mod set up via the -mod command
Gandalf has two weapons :

GandalfSword and GandalfSwordMounted

ALL weapon codes are in weapon.ini
search for these two and add the metaimpactnugget
to the bottom of each , just inside the last End

Now the CAH will have a weapon as well ..quite a few actually in
createaheroweaponupgrades.inc
CreateAHeroBasicMeleeWeapon seems to be the one you want

Edited by JUS_SAURON, 16 January 2012 - 02:30 AM.


#6 Vahagn

Vahagn
  • Members
  • 126 posts

Posted 16 January 2012 - 01:41 PM

Hey, I've done like you said. I copied that code in the box and pasted it into "GandalfSword" and "GandalfSwordMounted" in weapon.ini! Now Everything's fine. When Gandalf hits the enemies they're blasted back like when Galadriel does that BUT THERE'S 1 PROBLEM. None of them dies... :( They're just being blasted back and that's all. Their health is not reduced. Only one of them dies as if Gandalf uses his ordinary damage. But anyway they are blasted back, now how can I do that they die when they are blasted??? :( And also when Galadriel hits her enemies, a small flash of light appears, remember? But when Gandalf hits them there's no flash of light...

#7 modboy451

modboy451

    A small Big-time Modder!

  • Project Team
  • 783 posts
  • Location:U.S.A
  •  Experienced INI Coder, Advanced Rigger/Binder.

Posted 16 January 2012 - 03:47 PM

to make them die you will have to increase the damage in the Nugget above it.

DamageNugget                        ; A basic Nugget that just does damage
    Damage        = GANDALF_THE_GREY_DAMAGE				
    Radius        = 0.0
    DelayTime     = 0
    DamageType    = HERO
    DamageFXType  = SWORD_SLASH
    DeathType     = NORMAL
  End

See this?
GANDALF_THE_GREY_DAMAGE

THis is a reference to gamedata.ini. Find this in there and change the value of the number to increase the damage Gandalf does...

And to make the flash... try changing
DamageType    = HERO
DamageFXType  = SWORD_SLASH
to this
DamageType		= MAGIC
DamageFXType	= MAGIC

Edited by modboy451, 16 January 2012 - 03:48 PM.

John 3:16 (NIV)
For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.


Psalm 23:1 (ESV)
A Psalm of David.
The LORD is my shepherd; I shall not want.


Posted Image
Posted Image
Posted Image
Posted Image

#8 Vahagn

Vahagn
  • Members
  • 126 posts

Posted 16 January 2012 - 06:51 PM

You must have nerves of iron if you're still helping me! Thank you really so much! :) I changed the value of the damage. It was 100. I changed it to 10000. I also changed that FX and I can see the flash now! BUT I'm so sorry to tell this but my enemies still frustratingly remain unharmed... I think something's wrong with the damage dealing of Gandalf. Others kill enemies as usual. The Special Abilities of Gandalf work too but when he kills them without any abilities, most of the battalion is blasted away but only one of them dies... :facepalm: :facepalm: :facepalm: PLEASE HELP ME GUYS! :sad: :sad: :sad:

#9 JUS_SAURON

JUS_SAURON

    El Shaddai

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

Posted 21 January 2012 - 03:58 AM

And once again you must not EVER make alterations to the Gamedata.ini
Just use that file to see the values the MACRO_WORDS are ...

Now change the value in weapon.ini


 DamageNugget                        ; A basic Nugget that just does damage
    Damage        = 1000 ;   deleted GANDALF_THE_GREY_DAMAGE                          
    Radius        = 0.0
    DelayTime     = 0
    DamageType    = HERO
    DamageFXType  = SWORD_SLASH
    DeathType     = NORMAL
  End





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users