Jump to content
  • 0

Weapon ACT to class sprite communication question


fight_the_fallen

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   0
  • Joined:  04/22/12
  • Last Seen:  

this MAY be a hard one for people to understand, but here it goes:

 

how and where does a weapon get told what sprite action is to be used? or the sprite file told what action to use for different weapons?

 

I.E. how does a bow tell the archer sprite to use that visual action instead of, say, the knife action?

and 

 

please be as detailed as possible :P because i intend on adding to the current sprites so i can use ALL weapons with each one flawlessly

 

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   0
  • Joined:  04/22/12
  • Last Seen:  

its allllllways my topics that dont get answered lol...dammit

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  379
  • Reputation:   304
  • Joined:  11/10/11
  • Last Seen:  

It's hardcoded in the executable.

The client now the sprite type using the view id (or the sprite id - since each type is related to a range id) and define for each class the action based on this type.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   0
  • Joined:  04/22/12
  • Last Seen:  

well any idea on how to change how it works?

i have one server with a class that can use all the weapons correctly, but i am just recovering the project so i have no way of knowing how lol

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...