This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Unsheathe aura  (Read 4328 times)

Rochet2

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 59
    • View Profile
    • http://rochet2.github.io/
Re: [QUESTION] Unsheathe aura
« Reply #15 on: July 13, 2015, 02:46:05 pm »
I tested the C++ option, but it doesnt work.
It is only used to send the sheath information to other players around. Your own client handles your character sheathing and its not controllable from server.
Disabling all the sheath code only resulted into players not seeing eachother sheath and unsheath weapons.

So unless this is needed for a creature, there is no way to control the player's sheathe without client modifications. And using a spell visual like on the frostmourne spell will not copy the currently equipped weapon model.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Alastor

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1105
    • View Profile
Re: [QUESTION] Unsheathe aura
« Reply #16 on: July 13, 2015, 02:48:29 pm »
Or you can try to set "Dont Affect sheath state" falg to every single spell that exists :D
so you can cast whatever you want and weapon will stay 4ever where right now is

but you know ...im not sure that is eexactly what you want
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
No matter how fast light travels it finds the darkness has always got there first and is waiting for it
Star Citizen Referral Code : STAR-XNFS-HVL9

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [QUESTION] Unsheathe aura
« Reply #17 on: July 13, 2015, 04:09:14 pm »
Quote from: "Alastor"
Or you can try to set "Dont Affect sheath state" falg to every single spell that exists :D
so you can cast whatever you want and weapon will stay 4ever where right now is

but you know ...im not sure that is eexactly what you want

I thought that attribute existed, I must have missed it when I looked for it. Yeah, it would be really simple to apply this flag to every spell, especially as you could use that open-source tool and just add a line of code that adds the flag when the save function is called.

https://github.com/stoneharry/Spell-Editor-GUI-V2
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Смердокрыл

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 445
    • View Profile
Re: [QUESTION] Unsheathe aura
« Reply #18 on: July 13, 2015, 04:50:26 pm »
Well... problem is that my server is pre-compiled, so I cant access c++ files.
Is there any way to achive what I need by dbc editing + custom patches?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
or no.
At least I tried.

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [QUESTION] Unsheathe aura
« Reply #19 on: July 13, 2015, 04:57:38 pm »
Quote from: "Смердокрыл"
Well... problem is that my server is pre-compiled, so I cant access c++ files.
Is there any way to achive what I need by dbc editing + custom patches?

The last two replies talk about DBC editing, but you would need to add a couple of lines of code to change all spells automatically to have this flag.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Смердокрыл

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 445
    • View Profile
Re: [QUESTION] Unsheathe aura
« Reply #20 on: July 13, 2015, 08:49:40 pm »
Quote from: "stoneharry"
change all spells automatically to have this flag.

I dont have any problem with spells. The problem I do have is that when you morph into some models, you cannot unsheathe your weapon with the binded button. Of course, you can demorph, take the weapon out, and morph again, but whenever you use an animation (e.g. casting a spell, /talk, sitting), the weapon sheathes and you have to demorph again.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
or no.
At least I tried.

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [QUESTION] Unsheathe aura
« Reply #21 on: July 13, 2015, 09:07:25 pm »
Quote from: "Смердокрыл"
Quote from: "stoneharry"
change all spells automatically to have this flag.

I dont have any problem with spells. The problem I do have is that when you morph into some models, you cannot unsheathe your weapon with the binded button. Of course, you can demorph, take the weapon out, and morph again, but whenever you use an animation (e.g. casting a spell, /talk, sitting), the weapon sheathes and you have to demorph again.

Why are you stating the problem again? The answer was posted here:

viewtopic.php?p=48108#p48108

This does not involve coding.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Смердокрыл

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 445
    • View Profile
Re: [QUESTION] Unsheathe aura
« Reply #22 on: July 13, 2015, 09:11:03 pm »
Quote from: "stoneharry"
Why are you stating the problem again? The answer was posted here:.
Thats not what I meant. I need to be able to freely sheathe/unsheathe weapons in any morph. I wanted to achieve this with a certain spell which would force my character to have his weapon unsheathed, but that isnt possible, as far as I now know.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
or no.
At least I tried.

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [QUESTION] Unsheathe aura
« Reply #23 on: July 13, 2015, 09:22:30 pm »
Quote from: "Смердокрыл"
Quote from: "stoneharry"
Why are you stating the problem again? The answer was posted here:.
Thats not what I meant. I need to be able to freely sheathe/unsheathe weapons in any morph. I wanted to achieve this with a certain spell which would force my character to have his weapon unsheathed, but that isnt possible, as far as I now know.

In that case you could implement it yourself by finding some internal function that handles sheath state and setting that with a function that is activated upon receiving a custom packet. But this requires the implementation of a new module and a lot of coding/reverse engineering knowledge.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Смердокрыл

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 445
    • View Profile
Re: [QUESTION] Unsheathe aura
« Reply #24 on: July 13, 2015, 10:12:40 pm »
Quote from: "stoneharry"
this requires the implementation of a new module and a lot of coding/reverse engineering knowledge.
((

I remember that on my 3.3.5 server some spells (e.g. 38006) would unsheath your weapon, which is much easier than demorphing and morphing again. However, on my current 4.3.4 server, same spells only display the weapon during the cast duration, and it disappeares again when the spell is finished. Is there any way to change that?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
or no.
At least I tried.

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Unsheathe aura
« Reply #25 on: July 13, 2015, 10:33:17 pm »
Do you refer to `.morph x` which breaks the unsheathability, or to shape shifts (like druids)? If it is morph, there should not be a reason for that. If it is shifts, see SpellShapeshiftForm.dbc's m_flags.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Смердокрыл

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 445
    • View Profile
Re: [QUESTION] Unsheathe aura
« Reply #26 on: July 13, 2015, 11:01:57 pm »
I refer to
Quote from: "schlumpf"
`.morph x`
.

For example, when I morph into 35572, my unsheathe button just doesnt do anything.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
or no.
At least I tried.

Alastor

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1105
    • View Profile
Re: [QUESTION] Unsheathe aura
« Reply #27 on: July 13, 2015, 11:26:42 pm »
i have no idea what morph is it since my DBC says something about Avangeing Angel but morph is not working ingame since CreatureDisplayInfo is directing model to unknown ID
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
No matter how fast light travels it finds the darkness has always got there first and is waiting for it
Star Citizen Referral Code : STAR-XNFS-HVL9

Смердокрыл

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 445
    • View Profile
Re: [QUESTION] Unsheathe aura
« Reply #28 on: July 14, 2015, 02:20:04 am »
Quote from: "Alastor"
i have no idea what morph is it since my DBC says something about Avangeing Angel but morph is not working ingame since CreatureDisplayInfo is directing model to unknown ID
CreatureDisplayInfo should direct to "3647"


Also: Ive found an interesting spell (97589) which makes Nozdormu hold his staff like that:
[attachment=0:4zs05u4a]WoWScrnShot_071415_031656.jpg[/attachment:4zs05u4a]

Maybe I could use that somehow?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
or no.
At least I tried.

Alastor

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1105
    • View Profile
Re: [QUESTION] Unsheathe aura
« Reply #29 on: July 14, 2015, 03:46:17 am »
No ? thats not character model its creature and creatures has in most of chases diferend anims etc ..............
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
No matter how fast light travels it finds the darkness has always got there first and is waiting for it
Star Citizen Referral Code : STAR-XNFS-HVL9