Jump to content


Photo

Combineing special powers


  • Please log in to reply
3 replies to this topic

#1 CrazyMoose

CrazyMoose
  • Members
  • 127 posts
  • Projects:Taralomian assault

Posted 10 July 2006 - 05:38 PM

Is there a way to join two special powers together with the ChainedButton = command

I want to join this:

Shelob.ini:

	Behavior = SpecialPowerModule ModuleTag_ModuleTag_ShelobWebbingStarter
		SpecialPowerTemplate = SpecialAbilityShelobWebbingone
		UpdateModuleStartsAttack	= Yes
		StartsPaused		 = No
	End

	Behavior = WeaponFireSpecialAbilityUpdate ModuleTag_ShelobWebbingUpdate
		SpecialPowerTemplate	= SpecialAbilityShelobWebbingone
		SkipContinue			= Yes
		UnpackTime			  = 800 
		PreparationTime		 = 1  
 		PersistentPrepTime	  = 1000
 		PackTime				= 200
		AwardXPForTriggering	= 0
		StartAbilityRange		= 150
		ApproachRequiresLOS		= Yes		
		SpecialWeapon			= ShelobWebbing
		ChainedButton			= Command_SpecialAbilityShelobwebbingtwo
		MustFinishAbility		= Yes
		WhichSpecialWeapon		= 3
		BusyForDuration			= 2000
	End

SpecialPower.ini:

SpecialPower SpecialAbilityShelobWebbingone
	Enum		= SPECIAL_SPELL_BOOK_RAIN_OF_FIRE
	ReloadTime		= 10000
	RadiusCursorRadius				= 75.0
	InitiateSound	= SpellSummonSpiderlingsMS	;this plays when he fires, not when he targets
	Flags							= RESPECT_RECHARGE_TIME_DISCOUNT
	MaxCastRange					= 50
End

with this:

Shelob.ini:

	Behavior = SpecialPowerModule ModuleTag_ModuleTag_ShelobWebbingReplaceStarter
		SpecialPowerTemplate = SpecialAbilityShelobWebbingtwo
		UpdateModuleStartsAttack	= Yes
		StartsPaused		 = No
	End	

	Behavior = ReplaceObjectUpdate ModuleTag_ShelobWebbingReplaceUpdate
		SpecialPowerTemplate	= SpecialAbilityShelobWebbingtwo
		//SkipContinue			= Yes
		
		UnpackingVariation		= 1
		
		UnpackTime			 	= 800
		PreparationTime			= 1   
		//PersistentPrepTime		= 1000 
		PackTime				= 200
		
		AwardXPForTriggering	= 0
		
		StartAbilityRange		= CREATE_A_HERO_WORD_OF_POULTRY_RANGE_L2
		MustFinishAbility		= Yes
		
		ReplaceObject
			TargetObjectFilter = CREATE_A_HERO_WORD_OF_POULTRY_OBJECT_FILTER
			ReplacementObjectName = WebbedHumanoid
		End
		ReplaceRadius			= CREATE_A_HERO_WORD_OF_POULTRY_RADIUS_L2
		ReplaceFX				= FX_CreateAHeroReplaceObject
		Scatter					= Yes
	End

SpecialPower.ini:

SpecialPower SpecialAbilityShelobWebbingtwo
	Enum		= SPECIAL_SPELL_BOOK_RAIN_OF_FIRE
	ReloadTime		= 10000
	RadiusCursorRadius				= 75.0
	InitiateSound	= SpellSummonSpiderlingsMS	;this plays when he fires, not when he targets
	Flags							= RESPECT_RECHARGE_TIME_DISCOUNT
	MaxCastRange					= 50
End

So that when the first one fires the second one also fires at the same target area, is it possible?

Thanks people :mellow:
Taralomian assault Moddeler and Coder

#2 Kelso

Kelso

    BFME Admin

  • Project Team
  • 1,467 posts
  • Projects:Rise of Rome, Rise of Rome 2
  •  AWD and T3A Team Chamber Leader
  • Division:BFME
  • Job:Designer: Rise of Rome 1 and 2

Posted 11 July 2006 - 12:00 AM

Not sure about that but you could always just use OCLs with the weapons for the specials attached to them as death weapons to make things fire consecutively.
Posted Image
Posted Image

#3 ched

ched

    .

  • Undead
  • 4,431 posts
  • Location:Angers (France)
  • Projects:Rhovanion Alliance
  •  T3A Team Chamber Member
  • Division:BFME
  • Job:Previous Division Leader

Posted 11 July 2006 - 12:41 AM

you can delay nuggets in the weapons if I'm correct
Software is like sex; it's better when it's free ~Linus Torvald

#4 CrazyMoose

CrazyMoose
  • Members
  • 127 posts
  • Projects:Taralomian assault

Posted 11 July 2006 - 08:31 AM

Hmm ok I will have a look into OCLs Its about time I learned how to use them :mellow:

Thanks people :spam:

Edit: I tried using an OCL but they can only use normal weapons I want it to use a special power. I did think of a way of doing this but at the moment its not working. I was trying to use the trolls boredom code the one that makes it do something when its bored unfortunatly it doesnt seem to be triggering the special power like it should. Can anybody think of a way of triggering a special power either when an ocl is spawned or as part of a death behavior, thanks alot.

Edited by CrazyMoose, 11 July 2006 - 01:47 PM.

Taralomian assault Moddeler and Coder




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users