Untitled RPG Project

The home for dedicated threads to specific projects, be they mods, tools, or independent games.
Error
InsideQC Staff
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA
Contact:

Re: Untitled RPG Project

Post by Error »

It's a relatively easy process. The hard part was the frame interpolation. If I used velocity and avelocity instead it would be smoother, which I may try soon.
Error
InsideQC Staff
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA
Contact:

Re: Untitled RPG Project

Post by Error »

But thinking about it, velocity and avelocity wouldn't work with movetype_follow... and any weird bugs will make it unstable as f*ck.
Spike
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK
Contact:

Re: Untitled RPG Project

Post by Spike »

its easier to just use setattachment/equivelent, then it can use the same timing etc as the player, and can even follow bones if you ever go with skeletal/md3 models.
Error
InsideQC Staff
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA
Contact:

Re: Untitled RPG Project

Post by Error »

Can mdl files be used as attachments to md3's? That way the hats don't have to be animated and the online play doesn't get bogged down with all the constant moving of the hat?
frag.machine
Posts: 2126
Joined: Sat Nov 25, 2006 1:49 pm

Re: Untitled RPG Project

Post by frag.machine »

Since attachments require a tag (wich is not supported by .mdl files), I believe not. Unless the engine assumes by default the model origin (I recall reading this somewhere in DP docs) but even so you would need at least the player model to be in md3 format to define the head tag.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
Error
InsideQC Staff
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA
Contact:

Re: Untitled RPG Project

Post by Error »

That's what I was thinking. I've got no problem converting the player model to md3, since it's done. I just don't want to have to do it a rediculous number of times.
Spike
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK
Contact:

Re: Untitled RPG Project

Post by Spike »

tag 0 (aka: "") is always the entity origin rather than an actual tag.
this makes it useful to attach to mdls, basically equivelent to movetype_follow but clientside instead.

you'll still need to change the .frame, because without tags you'll need to animate your attached ents to match the original's frames. With players, you should consider doing this in PlayerPostThink or somesuch.
Error
InsideQC Staff
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA
Contact:

Re: Untitled RPG Project

Post by Error »

The other way around. Mdl hat models on a md3 player model. Would that work?
Spike
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK
Contact:

Re: Untitled RPG Project

Post by Spike »

sure, why wouldn't it?
just make sure the attached model can be placed directly upon the tag's position (or rather that the attached entity's origin biases it correctly such that the model is nudged into the right place). as the tag moves around on the 'parent' entity, the child entity's rendered position will be changed according to it and the child's origin relative to that tag.
Error
InsideQC Staff
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA
Contact:

Re: Untitled RPG Project

Post by Error »

So my next question is, can someone link to me how to convert my player model to md3 and bone-ify it OR can someone do this smallish task for me?
frag.machine
Posts: 2126
Joined: Sat Nov 25, 2006 1:49 pm

Re: Untitled RPG Project

Post by frag.machine »

I'd suggest to take the opportunity and add a tag_weapon to the player's hand.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
Error
InsideQC Staff
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA
Contact:

Re: Untitled RPG Project

Post by Error »

It's on my list of stuff I have to do! :biggrin:
Error
InsideQC Staff
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA
Contact:

Re: Untitled RPG Project

Post by Error »

3 more new hats, created by frag.machine! Love them.

Image
ceriux
Posts: 2230
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Re: Untitled RPG Project

Post by ceriux »

idk if this will help any. but i made this a while back.

http://forums.insideqc.com/viewtopic.php?f=2&t=5296
frag.machine
Posts: 2126
Joined: Sat Nov 25, 2006 1:49 pm

Re: Untitled RPG Project

Post by frag.machine »

LOL, looking the second hat... only now I realized what I have done...

Image

Totally unintended, seriously.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
Post Reply