Jump to content


Photo

where can i find enum? arrow stuff completed lol


  • Please log in to reply
44 replies to this topic

#41 Chocolate Star

Chocolate Star

    Count

  • Project Team
  • 431 posts
  • Projects:BFME II: Passion & From Book 2 Game

Posted 02 May 2012 - 12:21 PM

@jus_sauron, I did what you told me to do.

; --------- With Fire arrows Upgrade ------------
ModelConditionState = WEAPONSET_PLAYER_UPGRADE USER_4
Model = RUElfWar_SKN
Skeleton = RUElfWar_SKL
WeaponLaunchBone = PRIMARY ARROW
WeaponLaunchBone = SECONDARY ARROWNOCK ; when upgraded to flaming arrow
ParticleSysBone = FireArowTip GladhrimSilverthorn FollowBone:Yes End
ParticleSysBone = FireArowTip GladhrimSilverthorn FollowBone:Yes
End

; Switch arrows being displayed.
Behavior = SubObjectsUpgrade ModuleTag_FireArrowSwapUpgrade
TriggeredBy = Upgrade_ElvenSilverthornArrows
; ShowSubObjects = FireArowTip
End

FXParticleSystem GladhrimSilverthorn
System
Priority = VERY_LOW_OR_ABOVE
ParticleName = EXfrodostingglow.tga
Lifetime = 30 30
Size = 30 30
BurstDelay = 2 2
BurstCount = 1 1
End
Color = DefaultColor
Color1 = R:2 G:2 B:2 0
Color2 = R:214 G:219 B:26 50
Color3 = R:0 G:0 B:0 75
End
Update = DefaultUpdate
SizeRateDamping = 0.8 0.7
AngleZ = -3 3
AngularDamping = 1 1
AngularDampingXY = 1 1
End
Physics = DefaultPhysics
Gravity = 0.03
VelocityDamping = 1 1
End
EmissionVelocity = OutwardEmissionVelocity
End
EmissionVolume = LineEmissionVolume
StartPoint = X:-1 Y:-1 Z:-3
EndPoint = X:2 Y:2 Z:-5
End
Draw = DefaultDraw
End
End


Nothing happens ingame with the fx :\

#42 Chocolate Star

Chocolate Star

    Count

  • Project Team
  • 431 posts
  • Projects:BFME II: Passion & From Book 2 Game

Posted 02 May 2012 - 10:43 PM

nvm it appears the gondor archer code in bfme2 is different than rotwk for some reason.

Edited by marsbar, 02 May 2012 - 10:48 PM.


#43 Chocolate Star

Chocolate Star

    Count

  • Project Team
  • 431 posts
  • Projects:BFME II: Passion & From Book 2 Game

Posted 02 May 2012 - 11:22 PM

edit: nvm got it working....

my next question is where can I find "ENUM"?

Edited by marsbar, 03 May 2012 - 12:03 AM.


#44 JUS_SAURON

JUS_SAURON

    El Shaddai

  • Members
  • 1,581 posts
  • Location:Trinidad
  • Projects: BFME2 MOD - Power Of The Ring
  •   INI Coder

Posted 05 May 2012 - 01:38 PM

The only place ENUM is used is in specialpower.ini
The ENUM's are hardcoded so you should not really bother about creating a new one
How they work : They give the special power the WAY they are supposed to be triggered

E.G : palintir vision can be triggered anywhere on the map , regardless of structures , units, distance , etc SPECIAL_SPELL_BOOK_PALANTIR_VISION
a spawn power can only be triggered without structures in the way SPECIAL_SPELL_BOOK_MEN_OF_DALE_ALLIES
an attribute increaser power triigers on the unit SPECIAL_TRIGGER_ATTRIBUTE_MODIFIER
a hero mode power changes the model mode SPECIAL_HERO_MODE
a projectile weapon power SPECIAL_SARUMAN_FIRE_BALL
a triggered blast power SPECIAL_WORD_OF_POWER

This determines if you simply left click to activate , or need a target , or limit a distance etc , or use only only a structure etc

So choose an ENUM that already is close to what the power is like , no need to edit one or make your own

#45 Chocolate Star

Chocolate Star

    Count

  • Project Team
  • 431 posts
  • Projects:BFME II: Passion & From Book 2 Game

Posted 07 May 2012 - 03:07 PM

Ok thanks for that :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users