How to Access Packaged Maps and Media?
#6
If you're trying to make your own map with custom media then you'll have to create a custom .cfg for the map.
Go into the config folder and copy default_map_settings.cfg then paste it into your maps folder, rename it to your-map-name.cfg
After that, open it in a text editor.

To add a mapmodel add the line: mapmodel 0 0 0 0 "model-name" at the bottom of the list of mapmodels.


You also need to have that mapmodel in the mapmodels folder ( packages/models/mapmodels).
So a mapmodel named "crate" needs the line: mapmodel 0 0 0 0 "crate"
and it also needs its own folder in the folder mapmodels named "crate".

Then to use it in-game find menus_edit.cfg in the config folder, open it with a text editor, find the lines "//Mapmodels" here you can create a sub menu for the mapmodel if it doesn't fit into the existing ones.
So for "crate" you might want to add a submenu for box mapmodels. Add the lines:
menuitem "Boxes" "showmenu Boxes"

newmenu "Boxes"

menuitem "Crate" /newent mapmodel # (This number is found in the maps .cfg, there are 130 mapmodels already in the cfg ready for use, so just keep counting up.)


To add a texture edit your-map-name.cfg and add
texture 0 ".folder-where-texture-is/actual-texture.jpg"
(so a texture named grass4.jpg needs to be in packages/textures/grass and the line would be: texture 0 "./grass/grass4.jpg"


For maps type /map my-map-name while in-game.

For mods it depends what type it is.

weapon skins go into packages/models/weapons/
be sure to make backups of the originals though.

Blood/scopes/radar/startscreens/crosshairs/etc... go in packages/misc
and again, make backups of originals.
HTH
Thanks given by:


Messages In This Thread
RE: How? - by Zarjio - 22 Dec 10, 11:46PM
RE: How? - by Duckett - 22 Dec 10, 11:54PM
RE: How? - by Mr.Floppy - 23 Dec 10, 12:20AM
RE: How? - by Duckett - 23 Dec 10, 12:25AM
RE: How? - by Thorite - 23 Dec 10, 01:20AM