I'm pretty sure the code you posted deals only with origin but won't orientate a knife with a rotating hand in a idle animation, for example.
in this case, the wrist will rotate, the knife will be stick to the hand bone, but not orienting as hand bone axis
Search found 112 matches: vwep
Searched query: vwep
- Mon Sep 09, 2019 12:39 pm
- Forum: CSQC Programming
- Topic: Help: CSQC VWEP Options?
- Replies: 29
- Views: 21165
- Tue Jun 25, 2019 1:49 pm
- Forum: CSQC Programming
- Topic: Help: CSQC VWEP Options?
- Replies: 29
- Views: 21165
Re: Help: CSQC VWEP Options?
That's awesome! It works perfectly, OneManClan.
- Fri Jun 21, 2019 3:50 am
- Forum: CSQC Programming
- Topic: Help: CSQC VWEP Options?
- Replies: 29
- Views: 21165
Re: Help: CSQC VWEP Options?
Hi all. Ok, after 4 years(!), I thought I'd revisit this topic, and (thanks to Spike), finally have a step-by-step method for: 'VWEP (with bone) connects to Player's Hand-bone' 1. Make the vwep in Blender 2. Give it a bone, call it "grip" 3. If its a gun, orient the bone so that ...
- Tue Mar 21, 2017 2:53 pm
- Forum: Modeling
- Topic: Visible Weapons Help
- Replies: 5
- Views: 10614
Re: Visible Weapons Help
It was simply called vwep, and it only had all 8 original weapons. It required changing the actual player model and syncing animation state, but worked well enough that it was probably my most popular mod.
- Sat Apr 18, 2015 7:09 am
- Forum: Project Showcase
- Topic: [FTEQW][WIP]fteskel
- Replies: 7
- Views: 5580
[FTEQW][WIP]fteskel
... aspects of, respectively, CSQC skeletal animations and CSQC events communication. gnounc, frag.machine, OneManClan for the interesting post about VWEP models that inspired me, Seven and basically all the inside3d folks! LICENSE All these folders: - code (source code of fteskel) - models (3d game ...
- Wed Apr 08, 2015 3:45 am
- Forum: Engine Programming
- Topic: Darkplaces VWEAP documentation?
- Replies: 3
- Views: 1701
Re: Darkplaces VWEAP documentation?
... this is attached to must be visible for this to work //note 5: if an entity is attached to the player entity it will not be drawn in first person. vwep = spawn(); setmodel(vwep, "progs/v_foo.mdl"); setattachment(vwep, self, ""); self.exteriormodeltoclient = self; you'll need ...
- Fri Apr 03, 2015 11:12 am
- Forum: CSQC Programming
- Topic: Help: CSQC VWEP Options?
- Replies: 29
- Views: 21165
Re: Help: CSQC VWEP Options?
Ok, by 'try and catch', I'm assuming you mean 'trial and error'. Yeah that one :D . I was seeing it from a programming side ! :lol: As I've said, I also managed to find the 'perfect angle', but it was (like yourself) through trial and error. Cool! Glad to hear it. To be honest I don't know if there...
- Fri Apr 03, 2015 7:16 am
- Forum: CSQC Programming
- Topic: Help: CSQC VWEP Options?
- Replies: 29
- Views: 21165
Re: Help: CSQC VWEP Options?
... in the hand of player. Ok, by 'try and catch', I'm assuming you mean 'trial and error'. Not sure what you mean by 'when arm rotates'. You mean the VWEP moves correctly when the player shoots? :? I mean, that, when player run, for example, or plays idle animation, right hand moves and rotates. Well, ...
- Thu Apr 02, 2015 8:32 am
- Forum: CSQC Programming
- Topic: Help: CSQC VWEP Options?
- Replies: 29
- Views: 21165
Re: Help: CSQC VWEP Options?
... found that THAT angle was the only that aligned weapon correctly in the hand of player. Not sure what you mean by 'when arm rotates'. You mean the VWEP moves correctly when the player shoots? :? I mean, that, when player run, for example, or plays idle animation, right hand moves and rotates. Well, ...
- Thu Apr 02, 2015 12:58 am
- Forum: CSQC Programming
- Topic: Help: CSQC VWEP Options?
- Replies: 29
- Views: 21165
Re: Help: CSQC VWEP Options?
... you? The weapon now stands correctly in arm and rotates when arm rotates. Perfect. Not sure what you mean by 'when arm rotates '. You mean the VWEP moves correctly when the player shoots? :? In any case, reading your post, I'm left wondering: how did you 'find' the correct angle'?
- Tue Mar 31, 2015 11:03 am
- Forum: CSQC Programming
- Topic: Help: CSQC VWEP Options?
- Replies: 29
- Views: 21165
Re: Help: CSQC VWEP Options?
... is X axis, Y axis is Y axis, Z remains Z C: How to rotate the (hand) bone in the original model .. to (somehow) make it 'consistent' with how the VWEP gets exported (?) I used a new bone (like Xonotic does) called weapon, the strange orientation it has is a result of try and catch. First I made ...
- Tue Mar 31, 2015 1:17 am
- Forum: CSQC Programming
- Topic: Help: CSQC VWEP Options?
- Replies: 29
- Views: 21165
Re: Help: CSQC VWEP Options?
... different angles settings in Blender, or: C: How to rotate the (hand) bone in the original model .. to (somehow) make it 'consistent' with how the VWEP gets exported (?) toneddu2000: It looks like you gave your model a specific bone for the vwep. I'm not sure how you chose what angle it should ...
- Mon Mar 30, 2015 2:58 pm
- Forum: CSQC Programming
- Topic: Help: CSQC VWEP Options?
- Replies: 29
- Views: 21165
Re: Help: CSQC VWEP Options?
See if these screenshots can help you I use in Blender Numpad 3 as front view and Numpad 1 as side view (inverted) so it's oriented correctly in game http://s21.postimg.org/p7e1apakj/weapon_bone.jpg http://s1.postimg.org/5n7n0ffnf/correct_orientation.jpg http://s1.postimg.org/zdurm70mz/weapon.jpg
- Mon Mar 30, 2015 12:27 pm
- Forum: CSQC Programming
- Topic: Help: CSQC VWEP Options?
- Replies: 29
- Views: 21165
Re: Help: CSQC VWEP Options?
... EDIT: sorry onemanclan: when I was posting, your post came first and I didn't see it! toneddu2000: I'm not sure why you are (IIUC) moving the VWEP with the mouse... Either what you are doing is going over my head, or you have a different idea as to what a VWEP is.. I'm REALLY intrigued by ...
- Mon Mar 30, 2015 12:25 pm
- Forum: CSQC Programming
- Topic: Help: CSQC VWEP Options?
- Replies: 29
- Views: 21165
Re: Help: CSQC VWEP Options?
... of vectors math and matrices math", so I found it difficult to follow this one . toneddu2000: I'm not sure why you are (IIUC) moving the VWEP with the mouse... Either what you are doing is going over my head, or you have a different idea as to what a VWEP is.. I'm REALLY intrigued by ...