Birds fly. Sun shines. And brother? Brutes shoot people.

Making a custom gametype show up in the practice session list

For questions and discussion about UnrealEd, UnrealScript, and other aspects of Unreal Engine design.

Moderators: Semfry, zYnthetic, ividyon

User avatar TheIronKnuckle
Gilded Claw Gilded Claw
Posts: 1964
Joined: 12 Nov 2007, 07:21
Location: Riding my bicycle from the highest hill in Sydney to these forums

Subject: Making a custom gametype show up in the practice session list

Post Posted: 21 Oct 2013, 07:37

i've got dots invasion mod for ut99 and want it to show up in the list of gametypes you can choose from in practice sessions. The .ini he/she included with the package is apparently useless.

Code: Select all

[Public]
Object=(Name=Invasion.Invasion,Class=Class,MetaClass=Botpack.TournamentGameInfo)


What's wrong with it? Is that not enough to make it show up in the gametype list? I can start matches from the commandline but that's unnacceptable. I want to use xmaps and play multiplayer etc.

edit: it's really aggravating. I've decompiled a whole bunch of other gametypes, jailbreak, waterwar, slavemaster, etc. In general they all follow the above template. I can't work out what's going wrong. I can start a game by using the commandline, but the instructions for starting a server don't work. and I don't want an online server, i want to optimize for lan etc. It's annoying cause it's a so close yet so far situation. The gametype obviously works, but it doesn't show up in the damn list. dots is a brilliant coder but why the *** couldn't he have added that five minutes of polish to stick it in the list :x *fuming*
ImageIgnorance is knowing anything
And only idiots know everything

User avatar AlCapowned
Skaarj Warlord Skaarj Warlord
Posts: 894
Joined: 19 Dec 2009, 22:25

Subject: Re: Making a custom gametype show up in the practice session list

Post Posted: 21 Oct 2013, 14:07

Is your version different than the one on HyperNL's site? The invasion gametype there looks like it's intended for Unreal, so that might be why it's not showing up in the UT gametype list.

User avatar TheIronKnuckle
Gilded Claw Gilded Claw
Posts: 1964
Joined: 12 Nov 2007, 07:21
Location: Riding my bicycle from the highest hill in Sydney to these forums

Subject: Re: Making a custom gametype show up in the practice session list

Post Posted: 22 Oct 2013, 02:46

Yeah, this one is different, has a slightly different readme indicating it's for UT and the filesize is smaller. Can't recall where I got it from originally
Link: https://www.dropbox.com/s/vt7zjwlrgh5i7 ... vasion.zip
ImageIgnorance is knowing anything
And only idiots know everything

User avatar AlCapowned
Skaarj Warlord Skaarj Warlord
Posts: 894
Joined: 19 Dec 2009, 22:25

Subject: Re: Making a custom gametype show up in the practice session list

Post Posted: 22 Oct 2013, 03:08

Okay, I think I figured it out. Replace the line in the .int file with this:

Object=(Name=Invasion.Invasion,Class=Class,MetaClass=Botpack.TournamentGameInfo, Description="Invasion")

Then you should be able to choose Invasion under the category section, and not the game type section. I'm not sure if that's intentional or not, but it's the only way I could get it to work.

User avatar TheIronKnuckle
Gilded Claw Gilded Claw
Posts: 1964
Joined: 12 Nov 2007, 07:21
Location: Riding my bicycle from the highest hill in Sydney to these forums

Subject: Re: Making a custom gametype show up in the practice session list

Post Posted: 22 Oct 2013, 05:59

hmm, on my machine that succeeds at getting it into the practice session list, but then when I actually play a game it is just normal deathmatch :S thanks though, feel like I'm one step closer
ImageIgnorance is knowing anything
And only idiots know everything

User avatar AlCapowned
Skaarj Warlord Skaarj Warlord
Posts: 894
Joined: 19 Dec 2009, 22:25

Subject: Re: Making a custom gametype show up in the practice session list

Post Posted: 22 Oct 2013, 17:24

You might have to restart your Unreal Tournament a few times. When I first got Invasion to show up, it would only let me choose Assault maps. Does it say Tournament Team Game in the game type section?

User avatar Draco Nihil
Skaarj Lord Skaarj Lord
Posts: 197
Joined: 06 Jun 2012, 21:18
Location: Independence, Kansas
Contact:

Subject: Re: Making a custom gametype show up in the practice session list

Post Posted: 22 Oct 2013, 22:52

When you select a gametype you usually need to close and bring up the botmatch menu again before it'll actually let you launch that gametype. It's a bug with UT99's menu system.
“I am the dragon without a name...”


Who is online

Users browsing this forum: No registered users and 6 guests