PDA

View Full Version : scripting question



SublimeO12
11-06-2009, 04:20 PM
Been looking over the documentation here: http://udn.epicgames.com/Three/DevelopmentKitProgramming.html and I'm wondering, in general, for a mod of the UT3 demo, are we supposed to be creating entirely new script files and putting them in the mymod folder, or modifying the existing ones? The documentation talks about creating a new file for a new gametype, and how to get the engine to use that gametype - but I'm wondering about what to do for actual gameplay changes. For example, changing the camera, or how a weapon works, is it best to make new files or to attempt to modify the already existing ones? Thanks in advance for the help.

lcizzle
11-06-2009, 04:27 PM
The sample works like this.

class SuperFunGame extends UTDeathmatch;

SuperFunGame<----UTDeathmatch<-----GameInfo

So in the end SuperFunGame just extends and builds on top of what UTDeathmatch uses.

You do not want to modify the source included, if you want to change something just create a new class and extend from the class you want to change.