QuakeZone
MOD Coding Tutorials
Quake II Coding Tutorials! Index
Team Rocket
Quekken
Tutorials

Links

Quake Zone
News
Getting Started
Tutorials
Contact Me
Quake II Coding Tutorials

Quake II Coding Tutorials

News

News on latest tutorials
News on Quake II mods
Updates
[31.03.01] 16 Display Team Information amended

Quick Tutorials
[03.06.01] Kickable items
[17.04.01] Anti Lag Code


Site Links
Quake Mods Index Page
Thompp Nation Home Page


Quake 2 Engine Source Code added
Thanks to that awfully nice Major Bitch, you can now download the Quake II engine source code (tutorial #21) in an LCC-friendly format.
2nd January 2002


Team weapon tutorials added
Give rocket launchers or railguns to each team, so you can play rocket arena, rail arena or rocket versus rail in your team mod.
7th April 2001


Improved item spawning tutorial added
A tutorial to improve spawning of irems at "random" positions within a map has been added.
31st March 2001


Teamplay Enhancement Tutorials added
Tutorials to enhance team play (team names and team switching) and to display team information on the player's screen have been added.
12th January 2001


Tech Pick-up Tutorial added
A tutorial for Lithium-style Tech pick-ups has been added, and the required models and pic files have been added to the Downloads page.
6th January 2001


Models added to Downloads Page
The positron model used by the positron, vortex and lightning tutorials, and the lightning model and sounds, used by the lightning rocket and thunderbolt tutorials, have been added to the Downloads page.
14th December 2000


New Gameplay tutorials added
Tutorials for low-health chunder and anti-camping have been added.
26th November 2000


Lightning Rocket and Thunderbolt tutorials added
Tutorials for putting lightning rockets and thunderbolts to your mod have been added.
25th November 2000


Vortex Rockets tutorial added
Tutorial for putting vortex rockets to your mod has been added.
5th November 2000


More tutorials added
Tutorials for updating the status bar, and positron and earthquake rockets, have been added.
26th October 2000


New tutorials added
Tutorials for blister rockets, and Lox-style regenerative healthboxes and armour have been added.
25th October 2000


Tutorials page now available
The Quake II Coding Tutorials page is now open, the first entry being Nuclear rockets.
22nd October 2000

Getting Started

All you need to get started to write your own mod.
Get started writing you own Quake II mod

First, you will need a C or C++ compiler such as the excellent LCC compiler available from the Quake Developer's Page at PlanetQuake.

Secondly, you will of course need the Quake 2 source code as so kindly release by ID Software.

Finally, you will need a copy of the LCC makefile for Quake 2 as provided by FuzzySteve.

To get started coding, go the the Links page and go to Quake2.com and QDevels for C and LCC tutorials.

Important

Note that the tutorials contained on this page are written using LCC C compiler and Quake source code v3.20. If you are using a different compiler or version of the Quake code you may need to make additonal changes.

Tutorials

List of coding tutorials
List of Quake II Coding Tutorials




Weapons
01 Nuke Rockets
[Difficulty: 4 - Medium/hard]
Add nuclear rockets to your arsenal. This tutorial also demonstrates how to add different rocket types and toggle betwen them.
04 Blister Rockets
[Difficulty: 4 - Medium/Hard]
Add blister rockets to your mod. Launch a rocket, press a button, and watch the rocket split into 4 flying off at right angles. This tutorial also demonstrates how to add different rocket fire modes to your mod.
06 Positron Rockets
[Difficulty: 4 - Medium/Hard]
Rockets that explode with the same effect as the positron blaster in LOX.
07 Earthquake Rockets
[Difficulty: 4 - Medium/Hard]
Rockets that create an earthquake. Unique in the world of Quake.
08 Vortex Rockets
[Difficulty: 5 - Hard]
Rockets that suck your opponents into an (almost) inescapable death.
09 Lightning Rockets
[Difficulty: 5 - Hard]
Rockets that fire thunderbolts at any players unfortunate enough to be in the vicinity.

Pick-ups
02 Regenerative Healthbox
[Difficulty: 2 - Easy/Medium]
Add a Lox-style regenerative healthbox to your mod.
03 Regenerative Armour
[Difficulty: 2 - Easy/Medium]
Add Lox-style regenerative armour to your mod.
10 Thunderbolt Pick-up
[Difficulty: 1 - Easy]
Convert Quakestyle's Lightning Gun to a thunderbolt pick-up.
13 Create Random Spawn Points
[Difficulty: 1 - Easy]
Generate a table of random spawn points - useful for tech and rocket pick-ups, for example.
14 Tech Pick-ups
[Difficulty: 5 - Hard]
Create Lithium-style tech pick-ups, that give power-ups to players.
17 Create Random Spawn Points #2
[Difficulty: 2 - Easy/Medium]
An improved method for spawning items.
20 Laser Sight with Enhancements
[Difficulty: 3 - Medium]
Add a laser sight to your weapon with enhancements for auto-aiming, wall-piercing rail slugs, and team weapon play.

Gameplay
11 Low-Health Chunder
[Difficulty: 1 - Easy]
Extra realism created at low health situations - let your opponents know you are not well.
12 Anti-camping
[Difficulty: 3 - Medium]
Put a stop to those campers.
15 Teamplay Enhancements
[Difficulty: 3 - Medium]
Add team switching and team names to the original QDevels tutorial.
18 Team Weapon
[Difficulty: 4 - Medium/Difficult]
An update to the teamplay enhancements. Give rocket launchers or railguns to each team, so you can play rocket arena, rail arena or rocket versus rail in your team mod.

Presentation
05 Update status bar on player screen
[Difficulty: 4 - Medium/Hard]
Show rocket types and fire modes on the player HUD statusbar.
16 Display team information on player screen
[Difficulty: 4 - Medium/Hard]
Show team information on the player's hud and the deathmatch scoreboard.
19 Display team weapon on player screen
[Difficulty: 2 - Easy/Medium]
Following on from the 18 Team Weapon tutorial above, this shows you how to display the team weapon on a player's screen.

Quake II Engine
21 Quake II Engine Source
[Difficulty: Unknown] [Author - Major Bitch]
ID software have now released the engine source code for Quake II. Download it here, in an LCC- friendly format.
Contact me

How to contact me
Contact me for Quake II Coding Tutorials

E-mail me with any questions regarding these tutorials, to add your own tutorial (with credit, naturally!) or to add a link to your own tutorials.

If you have a question that may be of more general interest, use the Message Forum instead.


Page last updated 2nd January 2002