How 2 make a gametype?

Have a question about modding, modelling or skinning? Have a tutorial to post? Post here!

Moderator: Core Staff

Post Reply
Nekoneko
CJ Fan
CJ Fan
Posts: 170
Joined: April 18th, 2011, 3:48 pm

How 2 make a gametype?

Post by Nekoneko » June 30th, 2011, 6:47 pm

Hello.
I was thinking of starting my own mod.
I do know how to script, but I just can't get it running at first.
I have my own gametype in maps\mp\gametypes, which I just copied from tdm and renamed the file.
When I start a game under that gametype, it just switches to ffa ( I'm assuming it doesn't aknowledge the gametype ).
So is there anything else I need to have done before being able to play my gametype?

IzNoGoD
CJ Worshipper
CJ Worshipper
Posts: 343
Joined: January 6th, 2009, 8:39 pm
Location: Netherlands/Holland

Re: How 2 make a gametype?

Post by IzNoGoD » June 30th, 2011, 6:50 pm

If you copy the tdm gametype, you need tdm spawns.
I think your map only has ffa spawns.
LMGTFY!

Its not a glitch... Its the future!

User avatar
Opel
CJ Fan
CJ Fan
Posts: 188
Joined: September 15th, 2008, 12:28 pm
Location: Scotland

Re: How 2 make a gametype?

Post by Opel » June 30th, 2011, 7:04 pm

Also make sure you have a gametypes.txt and a .txt file for your gametype, eg war.txt

Nekoneko
CJ Fan
CJ Fan
Posts: 170
Joined: April 18th, 2011, 3:48 pm

Re: How 2 make a gametype?

Post by Nekoneko » June 30th, 2011, 7:23 pm

i have the _gametypes.txt and the other one too, but I just noticed, when I try to decompile it, i dont see the _gametypes.txt

User avatar
Opel
CJ Fan
CJ Fan
Posts: 188
Joined: September 15th, 2008, 12:28 pm
Location: Scotland

Re: How 2 make a gametype?

Post by Opel » June 30th, 2011, 7:26 pm

Add them to your mod.csv

Code: Select all



rawfile,maps/mp/gametypes/_gametypes.txt
rawfile,maps/mp/gametypes/gt_name.txt


Nekoneko
CJ Fan
CJ Fan
Posts: 170
Joined: April 18th, 2011, 3:48 pm

Re: How 2 make a gametype?

Post by Nekoneko » June 30th, 2011, 7:30 pm

I have

rawfile,maps\mp\gametypes\_gametypes.txt
rawfile,maps\mp\gametypes\portal.txt

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests