View previous topic :: View next topic |
Author |
Message |
lth

Joined: 11 Nov 2004 Posts: 129
|
Posted: Mon Jan 22, 2007 10:17 pm Post subject: Quake 3 for a n00b |
|
|
Hey,
Just got Quake 3 Arena (not Team) and I want to get about modding it, not in a scary engine way, but a mod with upgradeable weapons and a menu system (preferably with 3d models embedded in it), an observer mode, possibly a chase camera and possibly multipart models (a la Tanx, if anyone remembers that).
My problem is that I have no clue where to start. Can anyone recommend any good "getting started" tutorials for Quake 3 modding, and somewhere I might find tutorials for the specific elements (menu, observer mode, etc) that I need?
Cheers,
LTH _________________ randomviolence - tactical combat boardgame |
|
Back to top |
|
 |
leileilol

Joined: 15 Oct 2004 Posts: 1321
|
Posted: Tue Jan 23, 2007 12:42 am Post subject: |
|
|
code3arena _________________
 |
|
Back to top |
|
 |
lth

Joined: 11 Nov 2004 Posts: 129
|
Posted: Tue Jan 23, 2007 4:08 pm Post subject: |
|
|
Cheers!
What model editor does one use for Quake 3? (I want to be able to do animations for whatever the q3 equivalent of v_ models is) _________________ randomviolence - tactical combat boardgame |
|
Back to top |
|
 |
Preach
Joined: 25 Nov 2004 Posts: 122
|
Posted: Tue Jan 23, 2007 5:32 pm Post subject: |
|
|
lth wrote: | Cheers!
What model editor does one use for Quake 3? (I want to be able to do animations for whatever the q3 equivalent of v_ models is) |
Gmax with the tempest pack is designed for making MD3s. You may have to jump through some hoops to get it running if you don't already have a copy, discreet have turned the distribution of it over to www.turbosquid.com. If you visit their gmax forum there should be a stickied thread on how to get the copy they supply running.
nb: The website is down at the time I post this but the page says it's just a temporary outage. |
|
Back to top |
|
 |
Lardarse

Joined: 05 Nov 2005 Posts: 243 Location: Bristol, UK
|
Posted: Wed Jan 24, 2007 6:35 am Post subject: |
|
|
One warning: a lot of the code3arena tutorials are based on pre-1.32 code.
Oh, and don't fall through switch statements. I'm on MSN if you need an explaination... |
|
Back to top |
|
 |
lth

Joined: 11 Nov 2004 Posts: 129
|
Posted: Wed Jan 24, 2007 11:40 am Post subject: |
|
|
Thanks for the tips, guys. Switches are evil anyway; I learned to code with QuakeC, so I was quite surprised, many years later, when I encountered this thing called the switch. Never quite trusted them.
(And actually, from a software engineering perspective, if you're using switching often then you should probably refactor your code to be more data-driven) _________________ randomviolence - tactical combat boardgame |
|
Back to top |
|
 |
leileilol

Joined: 15 Oct 2004 Posts: 1321
|
Posted: Wed Jan 24, 2007 11:53 am Post subject: |
|
|
Preach wrote: | lth wrote: | Cheers!
What model editor does one use for Quake 3? (I want to be able to do animations for whatever the q3 equivalent of v_ models is) |
Gmax with the tempest pack is designed for making MD3s. |
buggy ones!
I use Blender and some export script tr3b cooked up on the xreal svn.
_hand.md3s are the equivelant of v_whatever.md3. These are usually a floating animated tag_weapon tag _________________
 |
|
Back to top |
|
 |
CocoT

Joined: 14 Dec 2004 Posts: 599 Location: Belly-Gum
|
Posted: Wed Jan 24, 2007 7:46 pm Post subject: |
|
|
Hey LTH! Nice to see you! Long time no see!  |
|
Back to top |
|
 |
Sajt
Joined: 16 Oct 2004 Posts: 1026
|
Posted: Thu Jan 25, 2007 4:53 am Post subject: |
|
|
lth wrote: | Thanks for the tips, guys. Switches are evil anyway; I learned to code with QuakeC, so I was quite surprised, many years later, when I encountered this thing called the switch. Never quite trusted them.
(And actually, from a software engineering perspective, if you're using switching often then you should probably refactor your code to be more data-driven) |
They have their use! Switches can get compiled into jump tables which are faster, and the whole data-driven thing doesn't apply to all situations.
</offtopic>
But yeah, not when compiling to QVMs. :p _________________ F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe. |
|
Back to top |
|
 |
lth

Joined: 11 Nov 2004 Posts: 129
|
Posted: Fri Jan 26, 2007 11:43 am Post subject: |
|
|
Hi CocoT Old Quakers never die, man, they just keep respawning.
In fact, I'm going to have "respawn()" on my gravestone
Switches in my opinion (large, 4+ case switches) imply a certain laziness of coding or design - why test every time which path the flow of control should go down when you should be able to set a function pointer at the time that the variable that controls the switch is switched?
I'm not saying that switches are all bad, all the time, but from what I've seen as a programmer, most times they are used poorly. _________________ randomviolence - tactical combat boardgame |
|
Back to top |
|
 |
Sajt
Joined: 16 Oct 2004 Posts: 1026
|
Posted: Fri Jan 26, 2007 12:48 pm Post subject: |
|
|
Well, yeah, the switch statment horrors you see when browsing the sourcecode of Wolf3D or Doom or Build engine games is nightmarish. But, that was necessary then, and not many people nowadays hardcode sprite indexes into switch statements and such, since they can use data-driven design more or less for free. I think competent programmers are pretty reasonable with switch statements today.
But I just had to speak up because I'm currently working on a project (VM bytecode interpreter) which revolves around using a switch statement, and without a switch statement, it would be much, much slower.
The large, 4+ case switches that you mention (in my case, several dozen cases) are the ones which take advantage of the fact that such switch statement are compiled into jump tables.  _________________ F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe. |
|
Back to top |
|
 |
|