Jump to content


Photo

Elvenwood for my hero


  • Please log in to reply
14 replies to this topic

#1 thekiller11

thekiller11
  • Members
  • 124 posts
  • Location:Netherlands
  • Projects:FVW

Posted 23 October 2007 - 06:57 AM

Hi,

I want to add Elvenwood to my hero, I've tried some things, but it never works, does anyone know why this is?
Here's my code:
Object.ini
Behavior		   = ElvenWoodSpecialPower ModuleTag_ElvenWood
		SpecialPowerTemplate	= SpellBookElvenWood
		ElvenGroveObject		= ElvenGrove
		ElvenWoodRadius			= SPELLBOOK_TAINT_RADIUS
		ElvenWoodFX				= FX_ElvenWoodSpellFX
		ElvenWoodOCL			= OCL_ElvenWoodSeed
;		CreateLocation			= CREATE_AT_LOCATION
		AvailableAtStart		= Yes
		StartsPaused = Yes
	End

Behavior = UnpauseSpecialPowerUpgrade ModuleTag_ElvenWoodEnabler
		SpecialPowerTemplate	= SpellBookElvenWood
		TriggeredBy				= Upgrade_ObjectLevel5
	End

commandbutton.ini
CommandButton Command_FuramorElvenWood
	Command				= SPECIAL_POWER
	SpecialPower		= SpellBookElvenWood
	Options				= NEED_TARGET_POS
	TextLabel			= CONTROLBAR:ElvenWood
	ButtonImage			= SBGood_ElvenWood
	ButtonBorderType	= ACTION 
	DescriptLabel		= CONTROLBAR:TooltipElvenWood
	RadiusCursorType	= ElvenWoodRadiusCursor
		InPalantir		= Yes
	CursorName		  = AttackObj
		InvalidCursorName   = GenericInvalid
End

and of course it's in the commandset.

P.S. The game doesn't give an error, the comandbutton just doesn't show up.

Edited by thekiller11, 31 October 2007 - 12:00 PM.

Posted Image
Posted Image
Posted Image
92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this into your signature

Gandalf: "Look to my coming at first light on the fifth day. At dawn look to the east."


#2 Anakin Solo

Anakin Solo
  • Members
  • 31 posts
  • Location:Switzerland

Posted 23 October 2007 - 08:34 PM

Did you add the upgrade in your experiencelevels.ini? If you didn't, you can't use the power.

#3 Juissi

Juissi

    AWESOM-O

  • Hosted
  • 1,555 posts
  • Location:Finland
  • Projects:Last Alliance modification, The Hobbit mod
  •  Forger Of (Last) Alliance

Posted 24 October 2007 - 04:50 AM

And did you add the commandbutton to the commandset ?

#4 thekiller11

thekiller11
  • Members
  • 124 posts
  • Location:Netherlands
  • Projects:FVW

Posted 24 October 2007 - 06:27 AM

@ Anakin Course I did

@Juissi

and of course it's in the commandset.


My problem is that the commandbutton doesn't show up, there's just a black hole

Edited by thekiller11, 24 October 2007 - 09:15 AM.

Posted Image
Posted Image
Posted Image
92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this into your signature

Gandalf: "Look to my coming at first light on the fifth day. At dawn look to the east."


#5 thekiller11

thekiller11
  • Members
  • 124 posts
  • Location:Netherlands
  • Projects:FVW

Posted 26 October 2007 - 06:46 AM

Has anyone ever made elvenwood for a hero?
Posted Image
Posted Image
Posted Image
92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this into your signature

Gandalf: "Look to my coming at first light on the fifth day. At dawn look to the east."


#6 LaDainian

LaDainian
  • Members
  • 11 posts

Posted 26 October 2007 - 12:49 PM

I have tried and failed as well. But I managed to add sunflare to a hero so I guess it must be possible to add other powers like elvenwood too? We just need the advice of somebody who really knows what he's talking about...

#7 thekiller11

thekiller11
  • Members
  • 124 posts
  • Location:Netherlands
  • Projects:FVW

Posted 28 October 2007 - 11:05 AM

Finally, I've found it out, specialpower.ini will send my codes to LaDainian
Posted Image
Posted Image
Posted Image
92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this into your signature

Gandalf: "Look to my coming at first light on the fifth day. At dawn look to the east."


#8 LaDainian

LaDainian
  • Members
  • 11 posts

Posted 29 October 2007 - 03:07 PM

Made it work. Thanks, killer11. I have one last question concerning Elvenwood though. Is it possible to change what it does? Now it gives allied units 50% more armor but if I would like to change that...?

#9 thekiller11

thekiller11
  • Members
  • 124 posts
  • Location:Netherlands
  • Projects:FVW

Posted 29 October 2007 - 03:18 PM

I couldn't find it, maybe someone else knows?
Posted Image
Posted Image
Posted Image
92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this into your signature

Gandalf: "Look to my coming at first light on the fifth day. At dawn look to the east."


#10 Guess Who

Guess Who

    title available

  • Project Team
  • 969 posts
  • Location:Australia, Sydney
  • Projects:Wars of The East, Project Siege
  •  2d Artist, Modeller, Skinner, Binder, Basic Coder, Learning Animating, mapping, fx coding.

Posted 31 October 2007 - 06:53 AM

Yes you can change the effects of it, edit the power in the *yourhero*.ini,
Hope that helps :dry:.
Posted Image Posted Image
My current projects: Wars of The East, Project Siege
--------------------------------------
99% Fat Free.

#11 thekiller11

thekiller11
  • Members
  • 124 posts
  • Location:Netherlands
  • Projects:FVW

Posted 31 October 2007 - 06:57 AM

what line should it be then?
Behavior		   = ElvenWoodSpecialPower ModuleTag_ElvenWood
		SpecialPowerTemplate	= FuramorElvenWood
		ElvenGroveObject		= ElvenGrove
		ElvenWoodRadius			= SPELLBOOK_TAINT_RADIUS
		ElvenWoodFX				= FX_ElvenWoodSpellFX
		ElvenWoodOCL			= OCL_ElvenWoodSeed
;		CreateLocation			= CREATE_AT_LOCATION
		StartsPaused = Yes
	End

Behavior = UnpauseSpecialPowerUpgrade ModuleTag_ElvenWoodEnabler
		SpecialPowerTemplate	= FuramorElvenWood
		TriggeredBy				= Upgrade_ObjectLevel1
	End

Posted Image
Posted Image
Posted Image
92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this into your signature

Gandalf: "Look to my coming at first light on the fifth day. At dawn look to the east."


#12 Guess Who

Guess Who

    title available

  • Project Team
  • 969 posts
  • Location:Australia, Sydney
  • Projects:Wars of The East, Project Siege
  •  2d Artist, Modeller, Skinner, Binder, Basic Coder, Learning Animating, mapping, fx coding.

Posted 31 October 2007 - 06:59 AM

Check the specialpowers.ini, i think that has it.
Posted Image Posted Image
My current projects: Wars of The East, Project Siege
--------------------------------------
99% Fat Free.

#13 thekiller11

thekiller11
  • Members
  • 124 posts
  • Location:Netherlands
  • Projects:FVW

Posted 31 October 2007 - 07:03 AM

I don't think so:

SpecialPower FuramorElvenWood
	Enum				= SPECIAL_SPELL_BOOK_ELVEN_WOOD
	RadiusCursorRadius		= SPELLBOOK_TAINT_RADIUS	; Match the radius in FXList ElvenWood
	ReloadTime			  = 60000
	InitiateAtLocationSound 	= SpellElvenWood
	ViewObjectDuration 		= 10000
	ViewObjectRange 		= 175
	Flags					= NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
	ForbiddenObjectFilter	= NONE +WatcherHead +WatcherHittingArm +WatcherCaldera
	MaxCastRange		= 300
	ForbiddenObjectRange	= SPELLBOOK_TAINT_RADIUS
End

Posted Image
Posted Image
Posted Image
92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this into your signature

Gandalf: "Look to my coming at first light on the fifth day. At dawn look to the east."


#14 Guess Who

Guess Who

    title available

  • Project Team
  • 969 posts
  • Location:Australia, Sydney
  • Projects:Wars of The East, Project Siege
  •  2d Artist, Modeller, Skinner, Binder, Basic Coder, Learning Animating, mapping, fx coding.

Posted 31 October 2007 - 07:07 AM

Well its different then the bfme 1 codes so i don't know.
Posted Image Posted Image
My current projects: Wars of The East, Project Siege
--------------------------------------
99% Fat Free.

#15 thekiller11

thekiller11
  • Members
  • 124 posts
  • Location:Netherlands
  • Projects:FVW

Posted 31 October 2007 - 07:09 AM

nvm someone else might know it, but if we want to know we need someone who has done it before.

Thanks anyway

Edited by thekiller11, 31 October 2007 - 07:09 AM.

Posted Image
Posted Image
Posted Image
92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this into your signature

Gandalf: "Look to my coming at first light on the fifth day. At dawn look to the east."





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users