Inside3D!
     

Changing Weapon Models?

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
Karall



Joined: 15 Jul 2010
Posts: 24

PostPosted: Thu Jul 15, 2010 5:26 pm    Post subject: Changing Weapon Models? Reply with quote

And actully making weapon models. I wanna make models and replace the original ones with the ones i made. Help me please!
Back to top
View user's profile Send private message
ceriux



Joined: 06 Sep 2008
Posts: 968
Location: Florida, USA

PostPosted: Thu Jul 15, 2010 6:09 pm    Post subject: Reply with quote

its very easy. learn a very little ammount of qc. ( im sure theres a tutorial.) and learn how to model. put your model in the progs folder. make sure its frames are the same as the orginals ( or change the qc to match yours ) same with file names . go! all done.
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
Karall



Joined: 15 Jul 2010
Posts: 24

PostPosted: Thu Jul 15, 2010 7:04 pm    Post subject: Reply with quote

Well i do know how to model quite good in blender, altough i have no idea how to make it a mdl file so i can use it with Quake I. And dont you have to fix around with that pak file? Becouse i cant find the weapon models in progs.
Back to top
View user's profile Send private message
goldenboy



Joined: 05 Sep 2008
Posts: 310
Location: Kiel

PostPosted: Thu Jul 15, 2010 7:13 pm    Post subject: Reply with quote

Personally, to make Quake models, I use Blender, save my stuff as .md3, then use Sajt's "qwalk" program to convert that to .mdl format. There is a thread about his model converter in one of the subforums here, it is still a pretty young program.

Other people use QME though. It is good to study or modify existing models, because getting .mdl files into Blender and back again isn't so easy.

Quake .mdls go into a "progs" folder, ie "id1/progs" or "mymod/progs". You don't have to use pak files unless you want to replace existing weapons - stuff in pak files overrides stuff outside pak files. I think a program like pakexplorer or similar exists to unpack .pak files.

Once you have a model, you have to write QC for it (or make it replace an existing weapon). For new player weapons, look at the self.weaponframe stuff in player.qc. You can browse the original progs 1.06 at inside3d.com, and look how the existing weapons are done. Also download mods that have custom weapons and look how it is done there.

For your weapon to do anything new, look at weapons.qc and see how the existing weapons are set up.

There are tutorials for this kind of stuff on the inside3d.com front page, linked from the sidebar there.
_________________
ReMakeQuake
The Realm of Blog Magic
Back to top
View user's profile Send private message
Arkage



Joined: 19 Nov 2009
Posts: 27

PostPosted: Thu Jul 15, 2010 7:13 pm    Post subject: Reply with quote

The best method i found to get to mdl is to export as a .md3 then use Sajts Qwalk to convert it to an .mdl.

Edit: Got beat to the post.
Back to top
View user's profile Send private message
Karall



Joined: 15 Jul 2010
Posts: 24

PostPosted: Thu Jul 15, 2010 8:32 pm    Post subject: Reply with quote

Gold, thanks a massive lot!
Back to top
View user's profile Send private message
frag.machine



Joined: 25 Nov 2006
Posts: 728

PostPosted: Thu Jul 15, 2010 9:08 pm    Post subject: Reply with quote

goldenboy wrote:
You don't have to use pak files unless you want to replace existing weapons - stuff in pak files overrides stuff outside pak files.


Huh ? Isn't actually the opposite ?
AFAIK you don't need to use .pak files at all, unless of course as a more convenient way to distribute a mod.
_________________
frag.machine - Q2K4 Project
http://fragmachine.quakedev.com/
Back to top
View user's profile Send private message Visit poster's website
mk



Joined: 04 Jul 2008
Posts: 94

PostPosted: Thu Jul 15, 2010 10:03 pm    Post subject: Reply with quote

frag.machine wrote:
goldenboy wrote:
You don't have to use pak files unless you want to replace existing weapons - stuff in pak files overrides stuff outside pak files.


Huh ? Isn't actually the opposite ?

No, goldenboy is right. Back then, PAK files having higher priority over plain files were also one of the techniques implemented to make sure that no one could play mods without a registered copy of Quake.
_________________
Makaqu engine blog / website.

Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn.
Back to top
View user's profile Send private message
DukeInstinct



Joined: 10 Jul 2010
Posts: 4
Location: DukeLand

PostPosted: Fri Jul 16, 2010 3:04 am    Post subject: Reply with quote

There is a Blender script that lets you export directly to an .mdl and it worked fine for me. I don't remember where I got the script from but you can probably just search on Google for "quake mdl Blender script".
_________________


Coder/3d modeler for UrbanWars
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
goldenboy



Joined: 05 Sep 2008
Posts: 310
Location: Kiel

PostPosted: Fri Jul 16, 2010 6:16 pm    Post subject: Reply with quote

mk wrote:
frag.machine wrote:
goldenboy wrote:
You don't have to use pak files unless you want to replace existing weapons - stuff in pak files overrides stuff outside pak files.


Huh ? Isn't actually the opposite ?

No, goldenboy is right. Back then, PAK files having higher priority over plain files were also one of the techniques implemented to make sure that no one could play mods without a registered copy of Quake.


Of course, for modders today this is a major inconvenience. When I packed up RMQ's patch 1 recently, every time I wanted to test something, say progs.dat, I had to create a pak file from all the loose files...

should this behaviour be changed? Are there any drawbacks to changing it?
_________________
ReMakeQuake
The Realm of Blog Magic
Back to top
View user's profile Send private message
frag.machine



Joined: 25 Nov 2006
Posts: 728

PostPosted: Fri Jul 16, 2010 6:32 pm    Post subject: Reply with quote

goldenboy wrote:
mk wrote:
frag.machine wrote:
goldenboy wrote:
You don't have to use pak files unless you want to replace existing weapons - stuff in pak files overrides stuff outside pak files.


Huh ? Isn't actually the opposite ?

No, goldenboy is right. Back then, PAK files having higher priority over plain files were also one of the techniques implemented to make sure that no one could play mods without a registered copy of Quake.


Of course, for modders today this is a major inconvenience. When I packed up RMQ's patch 1 recently, every time I wanted to test something, say progs.dat, I had to create a pak file from all the loose files...

should this behaviour be changed? Are there any drawbacks to changing it?


I am still confused. I NEVER had to pack anything to use with Quake, as long I didn't use id1 folder directly. I always had the habit of create a blah folder, slap my code/models/maps/sounds there and run Quake directly without any hassle. Are we talking about the same thing or not ?
_________________
frag.machine - Q2K4 Project
http://fragmachine.quakedev.com/
Back to top
View user's profile Send private message Visit poster's website
Spike



Joined: 05 Nov 2004
Posts: 944
Location: UK

PostPosted: Fri Jul 16, 2010 7:14 pm    Post subject: Reply with quote

pak files are found after the directories that contain them.
thus they have a higher priority than the directory that contains them.
basically.

its a bug, okay? geez
_________________
What's a signature?
Back to top
View user's profile Send private message Visit poster's website
Karall



Joined: 15 Jul 2010
Posts: 24

PostPosted: Sat Jul 17, 2010 8:33 pm    Post subject: Reply with quote

Kinda noob question but i saved as md3 now, how do i use qwalk?
Back to top
View user's profile Send private message
Karall



Joined: 15 Jul 2010
Posts: 24

PostPosted: Sat Jul 17, 2010 8:34 pm    Post subject: Reply with quote

Actully how do i save it as md3 file. saving as blah.md3 didnt seem to work...
Back to top
View user's profile Send private message
goldenboy



Joined: 05 Sep 2008
Posts: 310
Location: Kiel

PostPosted: Sun Jul 18, 2010 9:53 am    Post subject: Reply with quote

http://www.katsbits.com/tools/

Download those md3 im/exporter scripts.

Put into blender/scripts, they should appear in the menu then.

I think the qwalk thread on this forum describes how to run it, but I'm not sure. I might look it up later.
_________________
ReMakeQuake
The Realm of Blog Magic
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group