Sambuca
10-18-2004, 02:19 AM
1. Start tved.exe
2. View->Show Class Browser
3. (In Class Browser) View->Unplaceable - make sure it is checked
4. File->Open Package... find GameClasses.pkg
5. Click on "All" so that it is deselected and you will be viewing the GameClasses
(Break down ModeDefault to see the existing game modes - ModeCTF, ModeArena, ModeBall, etc)
6. Right click on "ModeDefault" - select "New"
7. Give it a name, prefix with Mode, i.e. ModeMyGame
8. [Important]Give it a unique package name (this is what clients will download) i.e GameMyGame - click ok
9. Now you can select your package "GameMyGame" from the drop down list, and you should see your ModeMyGame - double click it.
10. You can now set the properties of your game. What you should do for a start is open up a game mode that you want to base your game off and copy the properties. Ie. double click ModeCTF and use that as a guide for setting the properties for your game.
11. When you are done, go back to the class browser and save your new package (save it in the default folder with the rest of the packages .pkg files).
That's pretty much as far as I got. I ran a server and when people connected they auto-downloaded the new game type (GameMyGame).
Also, to run your game, start a server and type this in the console:
open mymap?listen?game=gamemyg ame.modemygame
I haven't done this yet, but you can add your game to a map by opening the map. Go to View->Level Properties
In the window that comes up, "Level Summary" there's an edit field in there that contains the game modes.
[Edit] This works. Doing this, allows you to select your gametype and map from the host game list. You will have to use a new map name if you are using an existing map, otherwise clients will get a map mismatch error when they attempt to connect to your server.
Hopefull that's everything, it's kinda late and I'm sleepy :p
2. View->Show Class Browser
3. (In Class Browser) View->Unplaceable - make sure it is checked
4. File->Open Package... find GameClasses.pkg
5. Click on "All" so that it is deselected and you will be viewing the GameClasses
(Break down ModeDefault to see the existing game modes - ModeCTF, ModeArena, ModeBall, etc)
6. Right click on "ModeDefault" - select "New"
7. Give it a name, prefix with Mode, i.e. ModeMyGame
8. [Important]Give it a unique package name (this is what clients will download) i.e GameMyGame - click ok
9. Now you can select your package "GameMyGame" from the drop down list, and you should see your ModeMyGame - double click it.
10. You can now set the properties of your game. What you should do for a start is open up a game mode that you want to base your game off and copy the properties. Ie. double click ModeCTF and use that as a guide for setting the properties for your game.
11. When you are done, go back to the class browser and save your new package (save it in the default folder with the rest of the packages .pkg files).
That's pretty much as far as I got. I ran a server and when people connected they auto-downloaded the new game type (GameMyGame).
Also, to run your game, start a server and type this in the console:
open mymap?listen?game=gamemyg ame.modemygame
I haven't done this yet, but you can add your game to a map by opening the map. Go to View->Level Properties
In the window that comes up, "Level Summary" there's an edit field in there that contains the game modes.
[Edit] This works. Doing this, allows you to select your gametype and map from the host game list. You will have to use a new map name if you are using an existing map, otherwise clients will get a map mismatch error when they attempt to connect to your server.
Hopefull that's everything, it's kinda late and I'm sleepy :p