Back to Samuraj

Gusanos Level Config file Guide


Introduction

A Gusanos level isnt just a set of images, it also has a config file which gives the ability to add various objects and effects to the levels. This guide will teach you how to build and control your levels cfg.

Gameplay

Spawn points: Spawn points are set with coordinates and can specify specific team spawnpoints. The coordinate for spawning is in the centre of the worm. Spawnpoints are added with:
spawnpoint 22,52,0
This is X,Y,Team (team 0 or 1)

Objects: Objects can be added to the game. Examples are objects generating smoke and kickers. To use this you might have to add an object in an objects folder for the level. This will not be explained here.
obj kicker.obj,55,372
This will add the kicker.obj at the desired coordinate. Syntax is: "object name,X,Y".

Effects

Lights: Adding lights can give your level some nice visual effects. It has no effect on the gameplay. Lights are added with this command:
light 178,328,20,20,20,1,0,1
This is: X,Y,R,G,B,Size/Fading,Noise,Paralax (R,G,B = Red Green Blue)(Size/Fading decides the size of the light strobe. A higher number will make the light smaller)(Paralax toggle 0 or 1 = on or off)

Advice

Blank lines: Do not have any blank lines in the cfg file. This might cause Gusanos to freeze when the level is launched.
RGB: RGB is a colour based on adding light together. RGB goes on a scale from 0 to 255 where 255-255-255 is white and 0-0-0 is black. 255-0-0 is pure red, 0-255-0 is Green and so forth.


Last updated by ulv, 7/10 2004