Frame vertex 182 and 183 are two vertexes in the Q1 player model's non-weapon hand when he is using the axe.
Frame vertex 182 is where I'd like to do an attachment test (make him hold a bag or something, hehe).
I'm lacking imagination but any ideas on ...
1) how I can get the X, Y, Z values of vertex 182 and 183 from inside the engine for a current player frame.
I could then calculate the angles using the two points and theoretically render the gun at that location.
I may be able to mentally walk through this myself, but my 3D math skills are weak and slow and the Q1 model format's weirdnesses have so far frustrated me.
I'm thinking that should this work out that a fairly reasonable workaround standard might emerge (QC builtin) to allow more flexibility.
The Feral mod hardcoded all that stuff in the QC, which I don't see as necessary if you can just track vertexes or triangle positions and calculate angles.
Fake Vwep Attachment For Q1 MDL
Fake Vwep Attachment For Q1 MDL
The night is young. How else can I annoy the world before sunsrise? Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
done:
http://projects.slipgateconstruct.com/i ... _framer%2F
download framer.rar. it assists you in the placement of weapon models on a player.mdl, then exports the offset origin and angle to a file. it's probably hard to understand, but it's all I came up with.
video of the actual mod that uses the exported info here:
http://www.youtube.com/watch?v=0TuohcmfDpA
it does have some problems.
http://projects.slipgateconstruct.com/i ... _framer%2F
download framer.rar. it assists you in the placement of weapon models on a player.mdl, then exports the offset origin and angle to a file. it's probably hard to understand, but it's all I came up with.
video of the actual mod that uses the exported info here:
http://www.youtube.com/watch?v=0TuohcmfDpA
it does have some problems.
I'm very intrigued by this. Any method that gets the job done works for me.Error wrote:done:
http://projects.slipgateconstruct.com/i ... _framer%2F
download framer.rar. it assists you in the placement of weapon models on a player.mdl, then exports the offset origin and angle to a file. it's probably hard to understand, but it's all I came up with.
video of the actual mod that uses the exported info here:
http://www.youtube.com/watch?v=0TuohcmfDpA
it does have some problems.
Thanks Error!
The night is young. How else can I annoy the world before sunsrise? Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..