Jump to content


Photo

animations for the wizard

cah create a hero animation wizard istari

  • Please log in to reply
4 replies to this topic

#1 platinumshadow

platinumshadow
  • Members
  • 38 posts

Posted 19 September 2013 - 02:18 AM

hi, i'm wondering how i can change the CAH wizard animations for certain spells. specifically i want to change the lightblast and wizardblast cast animations to the fireball cast animation. how would i do this? i can't find animation coding regarding CAH. thx in advance

 

edit: btw, i'm only looking for code in ini.big, maybe there are other files that i should look into?

 

edit2: i found where the animations are, but i have no idea what to do with them to get my desired effect :(


Edited by platinumshadow, 19 September 2013 - 05:03 AM.


#2 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 19 September 2013 - 12:11 PM

It should be somewhere in the special power modules in the CAH, there its defined which weapon animation should be displayed.


Ridder Geel

#3 platinumshadow

platinumshadow
  • Members
  • 38 posts

Posted 19 September 2013 - 04:01 PM

is it the code following enum?

 

edit: i tried to edit the enum code, didn't work. there's no code for animations that i can see in createaherospecialpower.ini

 

edit2: so i found createaheropower.inc i found a bunch of behavior codes, do i change those?

 

also when i try to edit a .inc file, the file tries to open in notepad, but then it say the .inc file doesn't exist and it just returns a blank notepad file. what should i do?


Edited by platinumshadow, 19 September 2013 - 04:20 PM.


#4 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 19 September 2013 - 05:06 PM

Did you extract the stuff from the ini.big? that helps most of the time with strange bugs like that :p

Behavior = WeaponFireSpecialAbilityUpdate ModuleTag_FireballUpdate_Level1
	SpecialPowerTemplate = SpecialAbilityHeroFireball_Level1
	WhichSpecialWeapon	 = 1 // This sets SPECIAL_WEAPON_ONE
	SkipContinue		 = Yes

	UnpackTime			 = 800
	PreparationTime		 = 1   
	PersistentPrepTime	 = 1000	
	PackTime			 = 100
	
	AwardXPForTriggering = 0
	
	StartAbilityRange	 = CREATE_A_HERO_FIREBALL_RANGE
	MustFinishAbility	 = Yes
	SpecialWeapon		 = WizardFireballL1
End

which specialweapon is 1 here...

Find the other ones and check if they are 1 or not :p that is what determines the animation ;)

(I try to tell you as little as possible, so that with the information i give you you can find out these things on your own as much as possible, in my opinion the best way to learn :) )

So yes you need to edit some of those behaviors, good to see you found them :D


Ridder Geel

#5 platinumshadow

platinumshadow
  • Members
  • 38 posts

Posted 20 September 2013 - 03:19 AM

oh, icic. thanks man. yea, teaching yourself with a bit of guidance from others is a great way to learn.

so about the .inc. on my older laptop, i could edit inc files with edit with editor, and i can extract the files, but not the current one :(
i guess i'll just edit the stuff on old laptop and then transport them here.

 

thanks again :)

 

edit: i would never have guessed "whichspecialweapon" controlled cast animation lol

 

edit2: oh wow, extracting worked wooooooo!!!! fortune cookie was right, got a pleasant surprise lol


Edited by platinumshadow, 20 September 2013 - 03:39 AM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users