[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/bbcode.php on line 112: 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 112: 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 112: 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 112: 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 112: 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 112: 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 112: 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 112: 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 112: 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 112: 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 112: 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 112: 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 - How do 3rd person weapon models work? (noob)

How do 3rd person weapon models work? (noob)

Discuss the creation of various model formats for Quake engines, and related matters to modeling.

Moderator: InsideQC Admins

How do 3rd person weapon models work? (noob)

Postby mrmmaclean » Fri Oct 15, 2010 1:29 am

User avatar
mrmmaclean
 
Posts: 33
Joined: Sun Aug 22, 2010 2:49 am

Postby leileilol » Fri Oct 15, 2010 3:50 am

There's many ways. I'll just go through a few of them

THE OLD DEATHMATCH ESSENTIALS WAY:
Many different Player.mdls with the gun model changed itself on the model itself. This is EXTREMELY MEMORY CONSUMPTIVE as you need 16 whopping megabytes of memory to allocate typically... and that's just for the software renderer! Go GL with it, and considering the texture mapping for each player's colors, the texture memory footprint would be THROUGH THE DAMN ROOF raping your poor PSP.

THE HEXEN2 WAY:
Additional standing, running firing and pain animations for each weapon inside the same player.mdl. WARNING: ALSO TEXTURE MEMORY INTENSIVE and patience intensive, and polygonal intensive too as you're cramming in a ton of verts in there. this works best if you know how to model low poly weapons and know how to cram it in the UVs. hexen 2 got away with it back in 1997 because each player only had a limit of FOUR WEAPONS and most of them were sticks

THE SLIGHTLY MORE MODERN QUAKE2ISH "vwep" WAY:
A weapon model pre-animated according to the host model's animation, with a movetype_follow entity. The engine must support that and hiding the said entity in first person. WARNING: LOTS OF TIME CONSUMING MAKING THESE

EVEN SLIGHTLY MORE MODERN:
Like above, but with QuakeC vector offsets for every frame for the gun to put in the hand. Saves memory but is even more network intensive

A LOT LESS MODERN (the Duke3D, Kleshik way):
Stick the gun over the damn head.

THE ALMOST RIGHT WAY:
MD3 tags. Player MUST be MD3, must feature a tag_ to attach to. This is how Quake3 did it, it's a bit less time consuming, provided md3s and weapon models are ready. The engine of course must support it (darkplaces, fteqw)

THE RIGHT ? WAY:
The above but with skeletons and all the stuff's done through CSQC saving bandwidth.

THE HALF-LIFE WAY:
Weapons have p_ models which usually contain base skeleton with the weapon verts assigned to them. You could just say 'why not just tag' but this way allows for the egon weapon to connect from the backpack for example essentially allowing you to put weapon parts on any damn bone you like. No Quake engines support this, though maybe Darkplaces through CSQC does by sharing an animmodelindex.
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Postby andrewj » Fri Oct 15, 2010 10:52 am

andrewj
 
Posts: 133
Joined: Mon Aug 30, 2010 3:29 pm
Location: Australia

Postby ceriux » Fri Oct 15, 2010 12:04 pm

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

Postby mrmmaclean » Fri Oct 15, 2010 3:21 pm

leileilol, you are a freaking champion! Thank you so much for the info and ideas!

edit: I was thinking of doing the weapon frames to match the model animation but I didn't realize it would be as simple as using follow. The actual animating and exporting on the other hand... ughhh. But I knew the risks.
User avatar
mrmmaclean
 
Posts: 33
Joined: Sun Aug 22, 2010 2:49 am

Postby Biodude » Fri Oct 15, 2010 10:16 pm

User avatar
Biodude
 
Posts: 186
Joined: Wed Aug 27, 2008 7:17 pm

Postby mrmmaclean » Fri Oct 15, 2010 10:41 pm

User avatar
mrmmaclean
 
Posts: 33
Joined: Sun Aug 22, 2010 2:49 am

Postby Biodude » Sat Oct 16, 2010 12:00 am

User avatar
Biodude
 
Posts: 186
Joined: Wed Aug 27, 2008 7:17 pm

Postby mrmmaclean » Sat Oct 16, 2010 12:54 am

User avatar
mrmmaclean
 
Posts: 33
Joined: Sun Aug 22, 2010 2:49 am

Postby qbism » Sat Oct 16, 2010 1:44 am

OrionTF vweps are a good example of the Q2ish way w/ movetype_follow. Check out the qc.
User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Postby Biodude » Sat Oct 16, 2010 3:56 am

waitt, why would you want 3rd person weapon models in anything but multiplayer, unless you can physicly see yourself in a mirror or something?
User avatar
Biodude
 
Posts: 186
Joined: Wed Aug 27, 2008 7:17 pm

Postby Downsider » Sat Oct 16, 2010 3:57 am

User avatar
Downsider
 
Posts: 621
Joined: Tue Sep 16, 2008 1:35 am

Postby Biodude » Sat Oct 16, 2010 4:12 am

Last edited by Biodude on Sat Oct 16, 2010 1:19 pm, edited 1 time in total.
User avatar
Biodude
 
Posts: 186
Joined: Wed Aug 27, 2008 7:17 pm

Postby mrmmaclean » Sat Oct 16, 2010 4:20 am

User avatar
mrmmaclean
 
Posts: 33
Joined: Sun Aug 22, 2010 2:49 am

Postby goldenboy » Sat Oct 16, 2010 7:23 pm

User avatar
goldenboy
 
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel

Next

Return to Modeling

Who is online

Users browsing this forum: No registered users and 1 guest