Page 1 of 1

Making a Mutator(Non-MTL branched)

PostPosted: Fri Feb 03, 06 2:58 pm
by Allan
Right, i'm planning to try and make a mutator, and i'm stuck for how to even start with it...

If someone would give me a hand with making a basic Non-MTL mutator, i'll be most grateful :)

PostPosted: Fri Feb 03, 06 3:37 pm
by Gishank
Why not make it mtl based?

PostPosted: Fri Feb 03, 06 7:04 pm
by ~ô¿ô~Nobody~
because not everyone is called klop and knows everything :P


@allan: actually everyone just makes mutators not basing on MTL
if you create a class like
Code: Select all
class MyMutator extends Mutator

then it is not based on MTL

to make it possible to base a Mutator on MTL you needed to use the MTL extender pack © [A]Nobody

PostPosted: Fri Feb 03, 06 7:29 pm
by Cozmo
the MTL Extender pack......... is?........

PostPosted: Fri Feb 03, 06 7:30 pm
by Alex
A pack which enables you to use DXMTL152b1.u in your mod. Not really required for mods.

PostPosted: Fri Feb 03, 06 7:31 pm
by Cozmo
~[A]lex~ wrote:A pack which enables you to use DXMTL152b1.u in your mod. Not really required for mods.


Eh? thats just what i need! so a gametype could expand the mtl game?

PostPosted: Fri Feb 03, 06 7:32 pm
by Alex
~Cozmo~ wrote:
~[A]lex~ wrote:A pack which enables you to use DXMTL152b1.u in your mod. Not really required for mods.


Eh? thats just what i need! so a gametype could expand the mtl game?

I don't think you are able of making a gametype...

PostPosted: Fri Feb 03, 06 7:35 pm
by ~ô¿ô~Nobody~
he wanted to say that this is the ticket to make a MTL based gametype

however.. it's a bit more advanced to make a new gametype anyways (undependent of MTL)
if you know how to make a normal new gametype you can do a MTL based one with the extender pack too (it's just a little bit more advanced)

PostPosted: Fri Feb 03, 06 7:36 pm
by Alex
I suggest making a new gametype not based on DXMTL first, when you managed to do that, come back to the topic of "I want the MTL extender so I can make a MTL based gametype"

PostPosted: Fri Feb 03, 06 8:07 pm
by MainMan
Yeah, almost all mutators are not based on mtl. (apart from the ones included in DXMTL, such as anti cheat etc.)

Your every-day mutator has nothing to do with mtl.

PostPosted: Fri Feb 03, 06 8:09 pm
by Gishank
Can someone make a topic on the basics of making a mutator. Seeming as i haven't made one before please?

PostPosted: Fri Feb 03, 06 9:16 pm
by Allan
Huh? How did the topic change to Gametypes instead of Mutators... Well, any of you guys reccomend any websites for making mutators for Deus Ex?

PostPosted: Fri Feb 03, 06 11:34 pm
by Cozmo
Yeah ive made a gametype before with new playerclasses edited dx.ini and it all works but in game it just says the basic deus ex gametypes on the multiplayer menu

~[A]lex~ wrote:I don't think you are able of making a gametype...


Im not absolutely daft...
Yes i am a bad coder but it compiles =]

PostPosted: Sat Feb 04, 06 12:10 am
by ~ô¿ô~Nobody~
indeed, you don't need to be an [A]lex to make a new gametype :P

PostPosted: Sat Feb 04, 06 9:41 am
by Alex
Correct, but actually making an MP gametype is a bit harder than SP I'm afraid...

PostPosted: Sat Feb 04, 06 9:44 am
by Gishank
<~>K}Ã?Ã?<~> wrote:Can someone make a topic on the basics of making a mutator. Seeming as i haven't made one before please?

PostPosted: Sat Feb 04, 06 4:35 pm
by Allan
This is just a stupid quick piece of mutator code, but can someone tell me if it would work, and how to get it set up for DXMP?

Code: Select all
//============
// CarcassRemover.
//============
class CarcassRemover expands Mutator;

Var DeusExCarcass C;

Function PostBeginPlay()
{
   foreach AllActors( class 'DeusExCarcass', C )
         C.Destroy();
}

PostPosted: Sat Feb 04, 06 4:40 pm
by MainMan
that will only delete the carcasses that are already in the map at the beginning. (i'm not sure why you would have them anyway)

PostPosted: Sat Feb 04, 06 4:48 pm
by Allan
Doh! There has got to be an easier way of making mutators than this hit-and-miss crap i seem to be doing...

PostPosted: Sat Feb 04, 06 4:54 pm
by MainMan
well what do you want to do? Make it like in dxag, so the player doesnt have a carcass? (without changing the player class)