[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - Untitled RPG Project

Untitled RPG Project

The home for dedicated threads to specific projects, be they mods, tools, or independent games.

Moderator: InsideQC Admins

Re: Untitled RPG Project

Postby Error » Sun Dec 04, 2016 2:43 am

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.

User avatar
Error
InsideQC Staff
 
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA

Re: Untitled RPG Project

Postby Error » Sun Dec 04, 2016 2:50 am

But thinking about it, velocity and avelocity wouldn't work with movetype_follow... and any weird bugs will make it unstable as f*ck.

User avatar
Error
InsideQC Staff
 
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA

Re: Untitled RPG Project

Postby Spike » Sun Dec 04, 2016 3:31 am

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.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Untitled RPG Project

Postby Error » Sun Dec 04, 2016 6:04 am

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?

User avatar
Error
InsideQC Staff
 
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA

Re: Untitled RPG Project

Postby frag.machine » Sun Dec 04, 2016 3:56 pm

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)
User avatar
frag.machine
 
Posts: 2120
Joined: Sat Nov 25, 2006 1:49 pm

Re: Untitled RPG Project

Postby Error » Sun Dec 04, 2016 6:01 pm

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.

User avatar
Error
InsideQC Staff
 
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA

Re: Untitled RPG Project

Postby Spike » Sun Dec 04, 2016 6:31 pm

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.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Untitled RPG Project

Postby Error » Sun Dec 04, 2016 11:17 pm

The other way around. Mdl hat models on a md3 player model. Would that work?

User avatar
Error
InsideQC Staff
 
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA

Re: Untitled RPG Project

Postby Spike » Sun Dec 04, 2016 11:30 pm

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.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Untitled RPG Project

Postby Error » Mon Dec 05, 2016 4:36 am

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?

User avatar
Error
InsideQC Staff
 
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA

Re: Untitled RPG Project

Postby frag.machine » Mon Dec 05, 2016 11:12 am

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)
User avatar
frag.machine
 
Posts: 2120
Joined: Sat Nov 25, 2006 1:49 pm

Re: Untitled RPG Project

Postby Error » Mon Dec 05, 2016 3:32 pm

It's on my list of stuff I have to do! :biggrin:

User avatar
Error
InsideQC Staff
 
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA

Re: Untitled RPG Project

Postby Error » Tue Dec 06, 2016 4:47 am

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

Image

User avatar
Error
InsideQC Staff
 
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA

Re: Untitled RPG Project

Postby ceriux » Tue Dec 06, 2016 5:51 am

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

viewtopic.php?f=2&t=5296
User avatar
ceriux
 
Posts: 2230
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Re: Untitled RPG Project

Postby frag.machine » Tue Dec 06, 2016 1:01 pm

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)
User avatar
frag.machine
 
Posts: 2120
Joined: Sat Nov 25, 2006 1:49 pm

PreviousNext

Return to Project Showcase

Who is online

Users browsing this forum: No registered users and 1 guest