Jump to content


Photo

how i can define meleeweapon (Elrond)?


  • Please log in to reply
3 replies to this topic

#1 Kabrüggen

Kabrüggen
  • Members
  • 8 posts

Posted 29 August 2005 - 08:07 PM

hello,

i have a question: i want to change the main config for elrond.
i tried to block the bow that he have only his sword but i didn't
find the line and file were i must set the meleeweapon.

sorry for my bad english :blush:

greetz
Kabrüggen

#2 ched

ched

    .

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

Posted 29 August 2005 - 08:14 PM

Find his WeaponSet in his main unit code

it goes like this :

WeaponSet
  Conditions = None 
  Weapon = PRIMARY    ElrondBow           
  AutoChooseSources = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI
	End
	WeaponSet
  Conditions = WEAPONSET_TOGGLE_1
  Weapon = PRIMARY    ElrondSword
  AutoChooseSources = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI
	End

you can see that his primary weapon is the bow, and if he toggles, the sword. Remove the 1st part and change the second one so it looks like this :

WeaponSet
  Conditions = None
  Weapon = PRIMARY    ElrondSword
  AutoChooseSources = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI
	End

Now Elrond will use his sword as main weapon, but his animations will be screwed.

You need to edit every animation in order to get them to work properly
Software is like sex; it's better when it's free ~Linus Torvald

#3 Kabrüggen

Kabrüggen
  • Members
  • 8 posts

Posted 29 August 2005 - 08:33 PM

thx for answer
but i didnt know which specified animations i must change in this ini..
can u give me the categories in the ini?

;-------------- Weapon Change Transitions --------------------------;
;----------------- Sword Transitions -------------------------;

or what ever?

greetz
Kabrüggen

#4 ched

ched

    .

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

Posted 29 August 2005 - 09:22 PM

read through all animations and delete those referring to a bow, remove the weapon transitions animations
Also, remove every WEAPONSET_TOGGLE_1 in the AnimationStates
Software is like sex; it's better when it's free ~Linus Torvald




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users