Forum

Tutorial Request MD3 and attachment support

Post tutorials on how to do certain tasks within game or engine code here.

Moderator: InsideQC Admins

Postby Baker » Wed Dec 30, 2009 9:06 pm

Baker wrote:It won't have attachment support, that's an extension --- someone else will have to add their 2 cents in on how to best achieve attachment support. And it'll be standard single model md3 ... no torso, legs, head stuff.


I'm not done but this doesn't have attachment support, but attachment support shouldn't actually be that hard to add for someone with an idea on how best to add that to the protocol.

Both Qrack and JoeQuake 0.15 has support for multi-part Quake 3 player models and technically those are "attachments" (tags).

In fact, JoeQuake Build 1140 has some attachment gun code in it --- except there isn't a way for the server to communicate to the client what gun a player is hold and stay compatible with the standard NQ protocol or so I have heard.
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Postby ceriux » Thu Dec 31, 2009 4:02 am

ahh ic ill have to wait i suppose. iv just gotten into engine coding and its all still very alien to me. the more i do and the longer i do it. the better ill get. but for now im sol. thank you for the tutorial though! =D im sure it'll help some!
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Postby Spirit » Thu Dec 31, 2009 8:36 am

Last time I checked Joequake's md3 player model it was very buggy. Try having bots with the same player model and everything implodes (unless it changed which would be awesome of course).
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
Spirit
 
Posts: 1031
Joined: Sat Nov 20, 2004 9:00 pm

Postby revelator » Thu Dec 31, 2009 10:02 am

its hardcoded and only works for the player model but i suspect it could cause some weird shit.

an idea maybe is writing a wrapper to parse qc anim data to quake3 anim data format ?
User avatar
revelator
 
Posts: 2567
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby Baker » Thu Dec 31, 2009 6:29 pm

Spirit wrote:Last time I checked Joequake's md3 player model it was very buggy. Try having bots with the same player model and everything implodes (unless it changed which would be awesome of course).


I'm not adding the hacky support for the Quake 3 player model format into the tutorial.
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Postby Team Xlink » Tue Jan 19, 2010 1:12 am

I take it that isn't the full tutorial?

For the attachments you could always use movetype_follow. But it wouldn't be related to the md3 support.
Team Xlink
 
Posts: 368
Joined: Thu Jun 25, 2009 4:45 am
Location: Michigan

Postby Baker » Tue Jan 19, 2010 1:28 am

Is not the full tutorial ... I haven't finished this yet.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Postby qbism » Sat Jan 30, 2010 9:25 pm

I tried this one with DP once and it worked. Uses MOVETYPE_FOLLOW, dpextension tagentity, etc:
http://qarchive.quakedev.com/QuakeC/Code%20Examples/q1md3-2005-05-05.zip
User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Previous

Return to Programming Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest