Jump to content


Photo

Experiance working for a hero.


  • Please log in to reply
1 reply to this topic

#1 Hobbitccd17

Hobbitccd17
  • New Members
  • 28 posts

Posted 04 August 2007 - 02:21 PM

Alright, so im trying to get a new hero to have the ability to level up and such. I already made his experiance needed stuff in gamedata.ini, but i cant seam to find a way to make it actually work for the hero ( I started up the game and he was no different. ) Anyone know how to make this work??

#2 Hebblewhite

Hebblewhite

    Artificially Intelligent

  • Project Team
  • 131 posts
  • Location:North Wales, UK
  • Projects:WOP-AI (bfme AI plugin), Darkness Rising, Rhovanian Alliance
  •  Mysterious AI Guy...

Posted 04 August 2007 - 02:34 PM

Sounds like you've forgotten to add the appropriate entries for your hero in "experiencelevels.ini". You should add something similar to the following:

ExperienceLevel	PippinLevel1
	TargetNames						=	RohanPippin
	RequiredExperience				=	1	
	ExperienceAward					=	HOBBIT_LVL1_EXP_AWARD 
	Rank							=	1
	SelectionDecal
		Texture						=	decal_hero_good	
		Style						=	SHADOW_ALPHA_DECAL
		OpacityMin					=	50%	
		OpacityMax					=	100%
		MinRadius					=	40
		MaxRadius					=	200
		MaxSelectedUnits			=	40
	End	
End	

ExperienceLevel	PippinLevel2
	TargetNames						=	RohanPippin
	RequiredExperience				=	HOBBIT_LVL2_EXP_NEEDED
	ExperienceAward					=	HOBBIT_LVL2_EXP_AWARD 
	LevelUpFx						=	FX:GandalfLevelUp1FX
;LevelUpOCL						=	OCL_GandalfLevelUp1OCL
	Rank							=	2
	AttributeModifiers				=	HobbitLevelUpDamage1
	SelectionDecal
		Texture						=	decal_hero_good	
		Style						=	SHADOW_ALPHA_DECAL
		OpacityMin					=	50%	
		OpacityMax					=	100%
		MinRadius					=	40
		MaxRadius					=	200
		MaxSelectedUnits			=	40
	End	
End	

ExperienceLevel	PippinLevel3
	TargetNames						=	RohanPippin
	RequiredExperience				=	HOBBIT_LVL3_EXP_NEEDED
	ExperienceAward					=	HOBBIT_LVL3_EXP_AWARD 	
	LevelUpFx						=	FX:GandalfLevelUp1FX
;LevelUpOCL						=	OCL_GandalfLevelUp1OCL
	Rank							=	3
	AttributeModifiers				=	HobbitLevelUpDamage2
	SelectionDecal
		Texture						=	decal_hero_good
		Style						=	SHADOW_ALPHA_DECAL
		OpacityMin					=	50%	
		OpacityMax					=	100%
		MinRadius					=	40
		MaxRadius					=	200
		MaxSelectedUnits			=	40
	End	
End	

ExperienceLevel	PippinLevel4
	TargetNames						=	RohanPippin
	RequiredExperience				=	HOBBIT_LVL4_EXP_NEEDED
	ExperienceAward					=	HOBBIT_LVL4_EXP_AWARD 	
	LevelUpFx						=	FX:GandalfLevelUp1FX
;LevelUpOCL						=	OCL_GandalfLevelUp1OCL
	Rank							=	4
	AttributeModifiers				=	HobbitLevelUpDamage3
;Upgrades						=	Upgrade_HeroRadiateFear
	SelectionDecal
		Texture						=	decal_hero_good
		Style						=	SHADOW_ALPHA_DECAL
		OpacityMin					=	50%	
		OpacityMax					=	100%
		MinRadius					=	40
		MaxRadius					=	200
		MaxSelectedUnits			=	40
	End	
End	

ExperienceLevel	PippinLevel5
	TargetNames						=	RohanPippin
	RequiredExperience				=	HOBBIT_LVL5_EXP_NEEDED
	ExperienceAward					=	HOBBIT_LVL5_EXP_AWARD 	
	LevelUpFx						=	FX:GandalfLevelUp1FX
;LevelUpOCL						=	OCL_GandalfLevelUp1OCL
	Rank							=	5
	AttributeModifiers				=	HobbitLevelUpDamage4
	Upgrades						=	Upgrade_ElvenCloak
	SelectionDecal
		Texture						=	decal_hero_good
		Style						=	SHADOW_ALPHA_DECAL
		OpacityMin					=	50%	
		OpacityMax					=	100%
		MinRadius					=	40
		MaxRadius					=	200
		MaxSelectedUnits			=	40
	End	
End	

ExperienceLevel	PippinLevel6
	TargetNames						=	RohanPippin
	RequiredExperience				=	HOBBIT_LVL6_EXP_NEEDED
	ExperienceAward					=	HOBBIT_LVL6_EXP_AWARD 	
	LevelUpFx						=	FX:GandalfLevelUp1FX
;LevelUpOCL						=	OCL_GandalfLevelUp1OCL
	Rank							=	6
	Upgrades						=	Upgrade_HeroLevel6
	AttributeModifiers				=	HobbitLevelUpDamage5
	SelectionDecal
		Texture						=	decal_hero_good
		Style						=	SHADOW_ALPHA_DECAL
		OpacityMin					=	50%	
		OpacityMax					=	100%
		MinRadius					=	40
		MaxRadius					=	200
		MaxSelectedUnits			=	40
	End	
End	

ExperienceLevel	PippinLevel7
	TargetNames						=	RohanPippin
	RequiredExperience				=	HOBBIT_LVL7_EXP_NEEDED
	ExperienceAward					=	HOBBIT_LVL7_EXP_AWARD 	
	LevelUpFx						=	FX:GandalfLevelUp1FX
;LevelUpOCL						=	OCL_GandalfLevelUp1OCL
	Rank							=	7
	AttributeModifiers				=	HobbitLevelUpDamage6
	SelectionDecal
		Texture						=	decal_hero_good
		Style						=	SHADOW_ALPHA_DECAL
		OpacityMin					=	50%	
		OpacityMax					=	100%
		MinRadius					=	40
		MaxRadius					=	200
		MaxSelectedUnits			=	40
	End	
End	

ExperienceLevel	PippinLevel8
	TargetNames						=	RohanPippin
	RequiredExperience				=	HOBBIT_LVL8_EXP_NEEDED
	ExperienceAward					=	HOBBIT_LVL8_EXP_AWARD 	
	LevelUpFx						=	FX:GandalfLevelUp1FX
;LevelUpOCL						=	OCL_GandalfLevelUp1OCL
	Rank							=	8
	AttributeModifiers				=	HobbitLevelUpDamage7
	SelectionDecal
		Texture						=	decal_hero_good
		Style						=	SHADOW_ALPHA_DECAL
		OpacityMin					=	50%	
		OpacityMax					=	100%
		MinRadius					=	40
		MaxRadius					=	200
		MaxSelectedUnits			=	40
	End	
End	

ExperienceLevel	PippinLevel9
	TargetNames						=	RohanPippin
	RequiredExperience				=	HOBBIT_LVL9_EXP_NEEDED
	ExperienceAward					=	HOBBIT_LVL9_EXP_AWARD 	
	LevelUpFx						=	FX:GandalfLevelUp1FX
;LevelUpOCL						=	OCL_GandalfLevelUp1OCL
	Rank							=	9
	AttributeModifiers				=	HobbitLevelUpDamage8
	SelectionDecal
		Texture						=	decal_hero_good
		Style						=	SHADOW_ALPHA_DECAL
		OpacityMin					=	50%	
		OpacityMax					=	100%
		MinRadius					=	40
		MaxRadius					=	200
		MaxSelectedUnits			=	40
	End	
End	

ExperienceLevel	PippinLevel10
	TargetNames						=	RohanPippin
	RequiredExperience				=	HOBBIT_LVL10_EXP_NEEDED
	ExperienceAward					=	HOBBIT_LVL10_EXP_AWARD 	
	LevelUpFx						=	FX:GandalfLevelUp1FX
;LevelUpOCL						=	OCL_GandalfLevelUp1OCL
	Rank							=	10
	AttributeModifiers				=	HobbitLevelUpDamage9
	SelectionDecal
		Texture						=	decal_hero_good
		Style						=	SHADOW_ALPHA_DECAL
		OpacityMin					=	50%	
		OpacityMax					=	100%
		MinRadius					=	40
		MaxRadius					=	200
		MaxSelectedUnits			=	40
	End	
End	

Units and structures cannot level up unless you have parameters such as these set up.


Cheers,

Hebblewhite.
Reassuringly Expensive...

Blade with whom I have lived,
Blade with whom I now die,
Serve right and justice one last time,
Seek one last heart of evil,
Still one last life of pain,
Cut well old friend, and then... farewell


Posted Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users