Jump to content


Photo

[BFME2] Aragorn's mxhp raises when lvl up


  • Please log in to reply
2 replies to this topic

#1 Samppu

Samppu
  • Members
  • 25 posts

Posted 21 December 2009 - 02:32 PM

Hello!

I just came to this forums, becuse I have problem with coding. I have been modding BFME2 now for like one year, and what I've done now is one Role Playing Game map, where Aragorn can get to 50lvl, but the problem that I am having is, that I dont know how to code like that when Aragorn gets from lvl 1 to lvl 2, he's health will raise from 2400 to 2500, and from lvl 2 to lvl 3 it raises to like 2650. So, that's my problem. I tried already to make like this:

ExperienceLevel	AragornLevelMP1
	TargetNames				=	ARAGORN	
	RequiredExperience				=	1
	ExperienceAward				=	10 
	Rank					=	1
	SelectionDecal
		Texture					=	decal_hero_good
		Style					=	SHADOW_ALPHA_DECAL
		OpacityMin					=	50%
		OpacityMax				=	100%
		MinRadius					=	40
		MaxRadius					=	200
		MaxSelectedUnits							=	40
	End	
End	

ExperienceLevel	AragornLevelMP2
	TargetNames				=	ARAGORN	
	RequiredExperience				=	25
	ExperienceAward				=	20 
	LevelUpFx					=	FX:GandalfLevelUp1FX
;LevelUpOCL				=	OCL_GandalfLevelUp1OCL
	Rank					=	2
	AttributeModifiers				=	10
	Upgrades					=	Upgrade_AragornBladeMaster
				MaxHealth(this is what I added)								   =			  2500
	SelectionDecal
		Texture					=	decal_hero_good
		Style					=	SHADOW_ALPHA_DECAL
		OpacityMin					=	50%	
		OpacityMax				=	100%
		MinRadius					=	40
		MaxRadius					=	200
		MaxSelectedUnits							=	40
	End	
End

But that didn't work, and I know that was just random trying. So please, if you know, what I have to add to there, please tell me. And I dont even know, is this, what I am trying, even possible. And my english is may be bad, becuse I am from Finland, so sorry about that. But please, if you want to see my RP map online some day, help me with this issue!

And, my other this I tried, was that I added to AttributeModifier HEALTH 120%, but it didn't work either.

#2 Samppu

Samppu
  • Members
  • 25 posts

Posted 21 December 2009 - 03:19 PM

I got this solved by my self. I think my SRPS 1: Cursed Town (SRPS = Samppu's Role Play Scenario) will be published on this week, and it will be downloadable on this forum too. So... thanks for nothing (yet) :p

#3 Crusard

Crusard

    Local n00b

  • Project Team
  • 483 posts
  • Location:Buenos Aires, Argentina
  • Projects:Crusard's Tower Defense
  •  Poor feedback kills mapper.

Posted 22 December 2009 - 01:08 AM

Oooookey :good:
Hope to see your map soon :wub:

Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users