Jump to content


Photo

Create a Hero Powers?


  • Please log in to reply
8 replies to this topic

#1 ironmonkaa

ironmonkaa
  • Members
  • 73 posts

Posted 14 January 2007 - 11:58 PM

Hey, im makign a mod and would liek to change the create a Hero powers, where can they be changed?

as in give them new powers, not just edit them

#2 zimoo

zimoo

    Ecthelion of the Fountain

  • Project Team
  • 2,009 posts
  • Location:Devon, England
  • Projects:Lurking until the off topic begins...
  •  Guardian of the Books

Posted 15 January 2007 - 09:58 AM

Converting normal powers into CAH powers
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image

Playing games? Ah, you'll never be a good modder if you get involved in actually playing them!


#3 ironmonkaa

ironmonkaa
  • Members
  • 73 posts

Posted 15 January 2007 - 07:00 PM

not to be rude but i believe i asked where can i change the Create a Hero powers and not for a tutorial

doesn anyone know where they are?

#4 zimoo

zimoo

    Ecthelion of the Fountain

  • Project Team
  • 2,009 posts
  • Location:Devon, England
  • Projects:Lurking until the off topic begins...
  •  Guardian of the Books

Posted 15 January 2007 - 07:06 PM

as in give them new powers, not just edit them


that would imply you wanted to add your own...
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image

Playing games? Ah, you'll never be a good modder if you get involved in actually playing them!


#5 MrRanck

MrRanck
  • Members
  • 15 posts

Posted 15 January 2007 - 07:40 PM

in Commandbutton.ini, you'll see these flags for CAH powers

CreateAHeroUIAllowableUpgrades			  =	Upgrade_CreateAHero_ClassIstariWizard
	CreateAHeroUIMinimumLevel				  = 3
	CreateAHeroUIPrerequisiteButtonName = None

Suppose you want to give the elf archer hero teleport powers, just add "Upgrade_CreateAHero_ClassArcher" to the allowable upgrades field.

New powers are a bit more involved. Besides all the steps of creating a normal hero power (specialpower.ini, weapon.ini, upgrade.ini, etc.) the LOTR.str file needs to be edited to create CAH descriptions the GUI will recognize.

This is something I've actually hit a brick wall with myself. My first attempt was to create a Level 7 toggle for the corrupted man CAH (level 1 and 3 are currently available). For some odd reason, I can't get the right descriptions in LOTR.str, and the CAH menu puts the new power down at the bottom of the powers list, not after the Level 3 toggle.

I keep getting a "Missing: CAH:Command_CreateAHero_CM_ToggleWeapon_Level3_Name" error despite having

CAH:Command_CreateAHero_CM_ToggleWeapon_Level3_Name
"Great Toggle Weapon"
END

in my LOTR.str

If/when I figure this out, I'll do a quick tutorial on it. . . . Hope that helps.

#6 Solinx

Solinx

    .

  • Undead
  • 3,101 posts
  • Location:The Netherlands
  • Projects:Real Life
  • Division:Revora
  • Job:Retired Leader / Manager

Posted 15 January 2007 - 07:59 PM

The descriptions... don't remember having a problem with those. I'll try to give it a look later today. Hope you don't mind if I add it to the pinned topic of Hostile?

Solinx

Edited by Solinx, 15 January 2007 - 07:59 PM.

Posted Image

"An expert is a man who has made all the mistakes which can be made in a very narrow field." - Niels Bohr


#7 ironmonkaa

ironmonkaa
  • Members
  • 73 posts

Posted 15 January 2007 - 08:48 PM

thanks for all the help guys!

so how would u allow, say Wizards to be able to have the healing power that the men of the west have? will making the men of the west use it too

Edited by ironmonkaa, 15 January 2007 - 08:50 PM.


#8 MrRanck

MrRanck
  • Members
  • 15 posts

Posted 15 January 2007 - 08:49 PM

No problem, go ahead and add it. I have a couple ideas for powers in the CAH system, just need to get over this hurdle.

#9 Solinx

Solinx

    .

  • Undead
  • 3,101 posts
  • Location:The Netherlands
  • Projects:Real Life
  • Division:Revora
  • Job:Retired Leader / Manager

Posted 15 January 2007 - 08:54 PM

ok, I'll see what I can do.

Ironmonkaa, yes, the same as with the teleport power goes for the healing power. There are some exceptions that deal with animations, but this is the basic change.

Solinx
Posted Image

"An expert is a man who has made all the mistakes which can be made in a very narrow field." - Niels Bohr





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users