User:Ducks/A Simple First Mod

From Mod Wiki
< User:Ducks
Revision as of 11:20, 29 November 2007 by Ducks (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the barebones guide for creating a simple mod. It won't be a terrifically amazing mod, since it will just be ETQW with a few small changes, but it will demonstrate the basic principles.

Introduction

For this tutorial you must:

  • Have your SDK Launcher set up correctly
  • Have a good text-editor, such as Notepad

This tutorial covers:

  • How to create your own mod
  • How to modify ETQW's .def files to change a rocket
  • How to modify ETQW's .script files to change the player

This tutorial does not:

  • Teach you how to program or compile the game code

Basic setup

First, we need to create the mod folder for all the files our mod will use. When you want to send your mod to someone else, all you'll need to send them is the folder, which they can then place in their ETQW directory.

The SDK Launcher includes a button to set this up for you - the 'Create...' button. Press this, and it will ask for a mod name (preferably no spaces, like 'simplemod') and a description. Our mod is going to be called 'simplemod', described as 'a simple mod'.

This will have created a directory in your ETQW directory called 'simplemod'.

Definition files (.def)

ETQW uses .def files to store information and settings for various items, weapons and objects. For example,