Author Topic: Help - drawing weapons  (Read 11872 times)

corvus1970

  • Elite Boss
  • *****
  • Posts: 758
  • A true ruler is as moral as a Hurricane.
Help - drawing weapons
« on: December 09, 2012, 11:30:20 PM »
Okie dokey, I'm making progress on my minor demo edits, but running into an issue with weapons-draw.

For example, I can use the command "MOV DRAW_WEAPONBACK 1" and get Angel to draw his Barbarian Sword, and Gunn to draw his Battle Axe, and the weapons are visible.

However, when I use the command "MOV DRAW_DUALPISTOLS 1", Wesley draws two invisible guns. I've changed the number value a few times and still no joy. Unfortunately, I have no Demo-File of Wesley in action to draw info from. Blah!

EDIT: Okay, evidently my issue was one of persistence. The weapon-value was 9, and THAT made em appear.

Sorry folks :D
... ^o^CORVUS^o^
"...if nothing we do matters, than all that matters is what we do."
http://corvus1970.deviantart.com/

Enantiodromos

  • Underling
  • *
  • Posts: 10
Re: Help - drawing weapons
« Reply #1 on: December 10, 2012, 01:42:03 AM »
Is it possibly that the ID on the weapon is different than 1? I was playing with this problem today and fixed an "MOV A_BOW_READY 8" that drew a blank bow while flying, by maing it "MOV A_BOW_READY 7"

Totally new to demo editing, myself. Slogging through it. Can't figure out how to see what the ID for an item is supposed to be by reading the PARTSNAME block. Maybe you know.


... oh, wait, you already solved it. So, where do all the smarty-pants that understand Demo editing hang out? I'm having a hell of a time trying to track down how to make a persistent Devices/Target Drone effect.

Arachnion

  • Elite Boss
  • *****
  • Posts: 642
  • Professional Cynic
Re: Help - drawing weapons
« Reply #2 on: December 10, 2012, 01:45:16 AM »
Yeah, it seems different IDs are for different weapons.

@Enantiodromos: Do you mean a list like this?

   1 Pants
   2 Chest
   3 Head
   4 Gloves
   5 Boots
   6 Belt
   7 Hair
   8 Face
   9 Eye Detail
   10 Chest Detail
   11 Shoulders
   12 Back
   13 Right Weapon
   14 Neck
   15 Right Upper Arm
   16 Collar
   17 Broach
   18 Cape
   19 Aura
   20 Skirt
   21 Top
   22 Sleeves
   23 Cranium
   24 Jaw
   25 Left Weapon
   26 Two Handed Left Weapon
   27 Two Handed Right Weapon
   28 Tail

The above are all the PARTSNAME blocks in a demorecord player costume area, where the numbers correspond to which block.

Third PARTSNAME line is Head, etc.

Credit for the list above goes to Codewalker.
I'm all dressed up with nowhere to go
Walkin' with a dead man over my shoulder

Waiting for an invitation to arrive
Goin' to a party where no one's still alive

Enantiodromos

  • Underling
  • *
  • Posts: 10
Re: Help - drawing weapons
« Reply #3 on: December 10, 2012, 02:22:31 PM »
OH. Cool, TY. That demystifies that block a lot, actually. I need to start writing up a cheatsheet, I just dove in and started horsing around. I initially assumed it was not line delimited and that PARTSNAME lines with "none none none..." could just be deleted. Quickly abandoned that idea. :)

So the weapon ID in MOV's second argument comes from someplace else. It's just an arbitrary list of different weapon types?

1 Broadsword (and Axe??)
2 ?
3 ?
...
7 Bow
8 Dual Blades
9 Dual Pistols


wei yau

  • Boss
  • ****
  • Posts: 102
Re: Help - drawing weapons
« Reply #4 on: December 10, 2012, 04:29:32 PM »
There are some MOV commands that will let you display your weapons, but in a different pose.  I prefer these, since they aren't "crouched and ready for battle" poses:



El Tigre Chino (the dual pistol wielding guy on the far left) is using: ENC_CUSTOMDUALWEAPON_OBSERVE_CYCLE1, which would probably work for Dual Blades and Claws, I bet

The Dog O'War (the assault rifle toting guy on the far right) is using: ENC_CUSTOMRIFLE_LOOKOUTA, which clips a bit, but that's fine.

I don't know what the various ENCOUNTER and ENC MOV commands were used for in-game, other than for NPCs (I guess), but they work well for screenshots. 

If I ever figure out how to code actual demo movies, I would use: ENC_CUSTOMRIFLE_POINT.  With this, the model walks with the rifle pointed as in the "sniper rifle" stance.  It looks really cool.

Samuraiko

  • Honorary Paragon Dev and
  • Elite Boss
  • *****
  • Posts: 350
  • EVERYONE LOOK AWESOME - I'M FILMING!
    • The Wandering Crane
Re: Help - drawing weapons
« Reply #5 on: December 10, 2012, 06:53:29 PM »
Okie dokey, I'm making progress on my minor demo edits, but running into an issue with weapons-draw.

For example, I can use the command "MOV DRAW_WEAPONBACK 1" and get Angel to draw his Barbarian Sword, and Gunn to draw his Battle Axe, and the weapons are visible.

However, when I use the command "MOV DRAW_DUALPISTOLS 1", Wesley draws two invisible guns. I've changed the number value a few times and still no joy. Unfortunately, I have no Demo-File of Wesley in action to draw info from. Blah!

EDIT: Okay, evidently my issue was one of persistence. The weapon-value was 9, and THAT made em appear.

Sorry folks :D

With those, you not only need the MOV, you also need an FX line. To give you an idea:

Quote
0   60  Player
0   60  NEW Revisor
0   60  COSTUME 1 00c9dfff -1.020998 -0.175800 0.000000 0.220900 0.013920 0.346500 0.004931 -0.052140 0.000000 -0.420000 0.720000 0.000000 -0.470000 0.040000 -0.620000 -0.440000 -0.500000 0.440000 -1.000000 0.410000 -0.120000 -0.300000 0.700000 0.020000 -0.730000 -1.000000 1.000000 -0.490000 0.470000 0.380000
0   60  PARTSNAME Pants_Loose Pants_Baggy_01 none 00000000 00737373
0   60  PARTSNAME Jackets !Chest_ShirtTie_01a !Chest_ShirtTie_01b 00ffffff 00000000
0   60  PARTSNAME V_fem_Head.GEO/GEO_Head_V_Asym_Standard !Face_Skin_V_Fem_Head_79 none 00220066 00737373
0   60  PARTSNAME Smooth skin_fingerless_01a skin_fingerless_01b 00000000 00737373
0   60  PARTSNAME Smooth smooth_matte none 00000000 00000000
0   60  PARTSNAME V_FEM_BELT.GEO/GEO_Belt_Security_Belt_05 !X_Officer_Belt none 00000000 00000000
0   60  PARTSNAME V_Fem_HAIR.GEO/GEO_Hair_Serrated_Sugar_01 !SF_Hair_Serrated_Sugar_01 !SF_Hair_Serrated_Sugar_01_Mask 00394458 00000a1f
0   60  PARTSNAME none none none 00000000 00000000
0   60  PARTSNAME V_FEM_EYES.GEO/GEO_Eyes_Mirror_Glasses_02 !X_Mirror_Glasses none 00000000 001f1f1f
0   60  PARTSNAME Top base Medieval_02 00000000 00ffffff
0   60  PARTSNAME none none none 00000000 00000000
0   60  PARTSNAME none none none 00000000 00000000
0   60  PARTSNAME none none none 00000000 00000000
0   60  PARTSNAME none none none 00000000 00000000
0   60  PARTSNAME none none none 00000000 00000000
0   60  PARTSNAME none none none 00000000 00000000
0   60  PARTSNAME none none none 00000000 00000000
0   60  PARTSNAME none !Cape_Trenchcoat_Leather_01 none 00000000 00000000 00000000 00000000 capes/CapeTrenchFem_02.fx
0   60  PARTSNAME none none none 00000000 00000000
0   60  PARTSNAME none none none 00000000 00000000
0   60  PARTSNAME V_FEM_TOP.GEO/GEO_Top_Trenchcoat_01 V_Motorcycle_03 V_Motorcycle_02_Mask 00000000 00000000
0   60  PARTSNAME V_FEM_SLEEVES.GEO/GEO_SLEEVES_Motorcycle_03 V_Motorcycle_03 none 00000000 00575757
0   60  PARTSNAME none none none 00000000 00000000
0   60  PARTSNAME none none none 00000000 00000000
0   60  PARTSNAME none none none 00000000 00000000
0   60  PARTSNAME none none none ffffff 000000 00c0c063 00613161 WEAPONS/Custom_Pistols/Fem_PistolLeft_NavyColtRevolver01.fx
0   60  PARTSNAME none none none 1f0b00 1f1f1f 00c0c063 00613161 WEAPONS/Custom_Pistols/Fem_PistolRight_SemiAuto01.fx

0   60  PARTSNAME none none none 00000000 00000000

In the character file, we see that she has custom guns.

Quote
0   60  MOV DRAW_DUALPISTOLS 8

The MOV indicates how to draw her guns.

Quote
0   60  FX Maintained 105212 WEAPONS/CUSTOMWEAPON_PISTOLS.FX 0
0   60  FXSCALE 10.000000 10
0   60  ORIGIN ENT 0 0
0   60  TARGET ENT 60 0

The FX indicates that she has guns in her hands, and to use the ones defined in her character info.

*******

Other neat MOVs for characters for screenshots:

MOV ENC_CUSTOMRIGHTHANDWEAPON_GUARD 0 (Gabriel's stance with his sword in Dark Astoria)

MOV SHOTGUN_POINT (character stands with shotgun leveled, braced against shoulder)

MOV BUM_SLEEP5 (character lying on side - ie, Blake lying on the Paragon Studios logo from my "Do You Want to Date My Avatar" video)

I'll add more if people are interested.

Michelle
aka
Samuraiko/Dark_Respite
« Last Edit: December 10, 2012, 07:00:59 PM by Samuraiko »
The game may be gone, but the videos are still here...
http://www.youtube.com/samuraiko
http://cohtube.blogspot.com

corvus1970

  • Elite Boss
  • *****
  • Posts: 758
  • A true ruler is as moral as a Hurricane.
Re: Help - drawing weapons
« Reply #6 on: December 10, 2012, 06:55:09 PM »
Much appreciated, although I was able to get it done without adding the FX line at all.



Still, in cases where its needed, it will most certainly come in handy :)
... ^o^CORVUS^o^
"...if nothing we do matters, than all that matters is what we do."
http://corvus1970.deviantart.com/

wei yau

  • Boss
  • ****
  • Posts: 102
Re: Help - drawing weapons
« Reply #7 on: December 10, 2012, 07:15:15 PM »
BTW: I think I need to be a Buffy fan to get the true awesomeness of your team pic, right?

Still, I do like their looks and at least get the reference in passing, if that counts for anything.

corvus1970

  • Elite Boss
  • *****
  • Posts: 758
  • A true ruler is as moral as a Hurricane.
Re: Help - drawing weapons
« Reply #8 on: December 10, 2012, 07:39:44 PM »
Hey, that counts for plenty in my book :)

Sure, perhaps Buffy and Angel fans would get a bigger kick out of it than a casual one, but that's fine. I'm glad you like it!

Speaking of, I need to do a team-shot of Buffy, Xander, Willow, and Giles. Perhaps in Blue Steel's spot in Kings Row?
... ^o^CORVUS^o^
"...if nothing we do matters, than all that matters is what we do."
http://corvus1970.deviantart.com/

ladycat924

  • Underling
  • *
  • Posts: 15
  • Star's Dark Blade - RIP CoH
Re: Help - drawing weapons
« Reply #9 on: December 11, 2012, 10:15:39 AM »

Other neat MOVs for characters for screenshots:

MOV ENC_CUSTOMRIGHTHANDWEAPON_GUARD 0 (Gabriel's stance with his sword in Dark Astoria)

MOV SHOTGUN_POINT (character stands with shotgun leveled, braced against shoulder)

MOV BUM_SLEEP5 (character lying on side - ie, Blake lying on the Paragon Studios logo from my "Do You Want to Date My Avatar" video)

I'll add more if people are interested.

Michelle
aka
Samuraiko/Dark_Respite

Oh my, yes please! I am an exteme neophyte. Just started my first looking at and editing of demo files Monday evening. (and yes, I am still up at 5am Tuesday morning!)

Thanks so much!
Cat
Cat
CoH - @violet shadow 924
CoH Forums - Star's Dark Blade

wei yau

  • Boss
  • ****
  • Posts: 102
Re: Help - drawing weapons
« Reply #10 on: December 11, 2012, 02:56:22 PM »
I'll add more if people are interested.

I'd like for one bodies on the ground.  I'm planning on something that requires a lot of bodies on the ground.  A whole lot of them.

Really.

Not even sure if you'd be able to see the ground because of all the bodies.

ThorsAssassin

  • Boss
  • ****
  • Posts: 161
Re: Help - drawing weapons
« Reply #11 on: December 12, 2012, 08:24:04 AM »
*******

Other neat MOVs for characters for screenshots:

MOV ENC_CUSTOMRIGHTHANDWEAPON_GUARD 0 (Gabriel's stance with his sword in Dark Astoria)

MOV SHOTGUN_POINT (character stands with shotgun leveled, braced against shoulder)

MOV BUM_SLEEP5 (character lying on side - ie, Blake lying on the Paragon Studios logo from my "Do You Want to Date My Avatar" video)

I'll add more if people are interested.

Michelle
aka
Samuraiko/Dark_Respite


Definitely a +1 for yes please! I was trying to figure out how to have TA wielding the nemesis staff with that MOV Gabriel uses  in DA: MOV ENC_CUSTOMRIGHTHANDWEAPON_GUARD 0 (Gabriel's stance with his sword in Dark Astoria)

Would that be possible?

Samuraiko

  • Honorary Paragon Dev and
  • Elite Boss
  • *****
  • Posts: 350
  • EVERYONE LOOK AWESOME - I'M FILMING!
    • The Wandering Crane
Re: Help - drawing weapons
« Reply #12 on: December 12, 2012, 09:20:46 AM »
Oh my, yes please! I am an exteme neophyte. Just started my first looking at and editing of demo files Monday evening. (and yes, I am still up at 5am Tuesday morning!)

Thanks so much!
Cat

What sort of thing are you looking for?

I'd like for one bodies on the ground.  I'm planning on something that requires a lot of bodies on the ground.  A whole lot of them.

Really.

Not even sure if you'd be able to see the ground because of all the bodies.

The five you want are:

DEAD_GUARD_1   
DEAD_GUARD_2   
DEAD_GUARD_3   
DEAD_GUARD_4   
DEAD_GUARD_5

You could also use the ones of players lying on their backs or stomachs after getting killed, but I'd need to double check what those are.


Definitely a +1 for yes please! I was trying to figure out how to have TA wielding the nemesis staff with that MOV Gabriel uses  in DA: MOV ENC_CUSTOMRIGHTHANDWEAPON_GUARD 0 (Gabriel's stance with his sword in Dark Astoria)

Would that be possible?

Hmmmm... if TA doesn't have an actual weapon as part of his costume file, you MIGHT be able to do it by first adding the Maintained FX of the Nemesis staff, and then cuing the MOV. If he DOES, then I don't know if it will automatically default to that.

Michelle
aka
Samuraiko/Dark_Respite
The game may be gone, but the videos are still here...
http://www.youtube.com/samuraiko
http://cohtube.blogspot.com

ThorsAssassin

  • Boss
  • ****
  • Posts: 161
Re: Help - drawing weapons
« Reply #13 on: December 12, 2012, 10:08:00 AM »
Hmmmm... if TA doesn't have an actual weapon as part of his costume file, you MIGHT be able to do it by first adding the Maintained FX of the Nemesis staff, and then cuing the MOV. If he DOES, then I don't know if it will automatically default to that.

He does not have a weapon, he is an E3 blaster so I'll give that a shot, thanks Ko!

ThorsAssassin

  • Boss
  • ****
  • Posts: 161
Re: Help - drawing weapons
« Reply #14 on: December 12, 2012, 11:11:45 AM »
Got it working though I don't think it would work well for a group shot...

Standing Post:



From the front:


The staff ends up directly blocking his face if you show it head on. Hmm I wonder if one of the staff mastery poses would work?


*************************EDIT*****************************

Turns out, Staff Mastery MOV's work very well with the Nemesis Staff, woot!!



« Last Edit: December 12, 2012, 11:42:49 AM by ThorsAssassin »

corvus1970

  • Elite Boss
  • *****
  • Posts: 758
  • A true ruler is as moral as a Hurricane.
Re: Help - drawing weapons
« Reply #15 on: December 12, 2012, 02:52:12 PM »
He does not have a weapon, he is an E3 blaster so I'll give that a shot, thanks Ko!

For my group-shot, Connor was a DM scrapper and had no weapon either. I decided to add the Katana info from another one of my characters who had one, and it worked out just fine.

Anyway, those shots of TA look good! :)
... ^o^CORVUS^o^
"...if nothing we do matters, than all that matters is what we do."
http://corvus1970.deviantart.com/

wei yau

  • Boss
  • ****
  • Posts: 102
Re: Help - drawing weapons
« Reply #16 on: December 12, 2012, 05:35:37 PM »

The five you want are:

DEAD_GUARD_1   
DEAD_GUARD_2   
DEAD_GUARD_3   
DEAD_GUARD_4   
DEAD_GUARD_5

You could also use the ones of players lying on their backs or stomachs after getting killed, but I'd need to double check what those are.


Oooh, awesome!

Off the top of your head, would you know the one where the body is slumped over in a sitting position?  Like in the cut scene from the awesome "Through the Looking Glass" arc:


Samuraiko

  • Honorary Paragon Dev and
  • Elite Boss
  • *****
  • Posts: 350
  • EVERYONE LOOK AWESOME - I'M FILMING!
    • The Wandering Crane
Re: Help - drawing weapons
« Reply #17 on: December 12, 2012, 05:41:22 PM »
Oooh, awesome!

Off the top of your head, would you know the one where the body is slumped over in a sitting position?  Like in the cut scene from the awesome "Through the Looking Glass" arc:



Yep, just a sec for me to find it.

EDIT: It's one of these five.

BUM_SLEEP1   
BUM_SLEEP2   
BUM_SLEEP3   
BUM_SLEEP4   
BUM_SLEEP5

EDIT AGAIN: From the demofile, you can also use:

BUM_SLEEP_CUTSCENE

Michelle
aka
Samuraiko/Dark_Respite
« Last Edit: December 12, 2012, 05:55:10 PM by Samuraiko »
The game may be gone, but the videos are still here...
http://www.youtube.com/samuraiko
http://cohtube.blogspot.com

wei yau

  • Boss
  • ****
  • Posts: 102
Re: Help - drawing weapons
« Reply #18 on: December 12, 2012, 08:55:44 PM »
Samuraiko, I've always appreciated your videos and loved your enthusiasm for the game.

But, to actually have you helping me with demos....man, it's like a film student getting tips from Scorcese.

Thanks so much!

ladycat924

  • Underling
  • *
  • Posts: 15
  • Star's Dark Blade - RIP CoH
Re: Help - drawing weapons
« Reply #19 on: December 13, 2012, 04:10:35 AM »
Samuraiko, I've always appreciated your videos and loved your enthusiasm for the game.

But, to actually have you helping me with demos....man, it's like a film student getting tips from Scorcese.

Thanks so much!

LOL, that's how I felt too!!

I dont even know enough to ask the inteligent questions that you and Thor asked.

Samuraiko, As for my "yes please" I thought you might have had a larger "cool MOVs" list that you were just giving examples from. I will post more and try to formulate more specific questions in the next few days. Right now I am in a "if someone asks of you want more, you say YES" mode. I have lots of enthusiasm, but had to keep my hands off this for a coupld of days as I had RL stuff including dialysis to deal with. When I actually start digging into the demo stuff, I keep losing multiple hours of my day!

What I have currently percolating in my brain, is some way to walk all of my characters from off camera, into view, into Miss Liberty's spot on the pedestal, do something (here is where I am wanting some of the MOVs for poses or actions or something) and then have them walk off camera. Basically a way to cycle through all my characters and see them do something in one single video. (Just checked, that is 53 characters in total.)

Heh, dont even know how realistic that is, but that's where my thinking/wanting is at the moment.

Thanks for any help and advice that you have.
Cat
Cat
CoH - @violet shadow 924
CoH Forums - Star's Dark Blade