Adding Models and Textures
Posted: March 3rd, 2010, 2:36 pm
Right, im going to show you guys how to add your own custom models and textures, or, add models and textures that have been taken from cube 2/cube or any other software that is like PAS.
Firstly. Textures.
Everybody needs them to make a good map, agreed?
Okay, the texture files must be either *.jpg or *.bmp or *.png, thats all i work with for textures.
im using *.jpg, but the idea is the same. It makes no difference what you use.
Step 1: Make a folder in your "packages" folder and call it mytextures.
Step 2: Copy your preferred textures into that folder and give them a simple name. Eg. texture1, texture2, texture3... etc. (this makes the coding easier)
Step 3: copy a "package.cfg" file from any other textures folder and paste it into your new folder.
Step 4: Delete everything from the config file, and type:
Step 5: take the name of your textures and type this into the config file:
If you have more textures, for example 5. this is what the code should look like:
Now that the textures are coded in, all we need to do is allow the software to "register" the textures.
Step 1: open the "data" folder.
Step 2: find the file "default_map_settings.cfg" and open it.
Step 3: scroll all the way to the bottom of the list and below where it says this:
You type this directly below:
That section of the script should now look like this:
now, save that and test it out.
Now for the models. Im taking them from Cube 2. Credited as always.
Step 1: go to "C:\Documents and Settings\Leo\Desktop\PlatinumArtsSandbox2.5\packages\models\doors"
Step 2: find your wanted folder. For example "C:\Documents and Settings\Leo\Desktop\Cube 2\Sauerbraten\packages\models\doors"
Step 3: copy the folder: "door_01" and paste it in the doors folder in PAS
Step 4: Open up "default_map_models" in the "data" folder in PAS.
Step 5: at the bottom of the config file, type this:
Step 6: save the config file and test out the models.
If any of these dont work, let me know and tell me your problem.
Credits to the creators of Cube 2 and PAS for the models.
Firstly. Textures.
Everybody needs them to make a good map, agreed?
Okay, the texture files must be either *.jpg or *.bmp or *.png, thats all i work with for textures.
im using *.jpg, but the idea is the same. It makes no difference what you use.
Step 1: Make a folder in your "packages" folder and call it mytextures.
Step 2: Copy your preferred textures into that folder and give them a simple name. Eg. texture1, texture2, texture3... etc. (this makes the coding easier)
Step 3: copy a "package.cfg" file from any other textures folder and paste it into your new folder.
Step 4: Delete everything from the config file, and type:
Code: Select all
// "yourname" Custom Textures
setshader stdworld
Code: Select all
texture 0 "mytextures/texture1.jpg"
Code: Select all
texture 0 "mytextures/texture1.jpg"
texture 0 "mytextures/texture2.jpg"
texture 0 "mytextures/texture3.jpg"
texture 0 "mytextures/texture4.jpg"
texture 0 "mytextures/texture5.jpg"
Step 1: open the "data" folder.
Step 2: find the file "default_map_settings.cfg" and open it.
Step 3: scroll all the way to the bottom of the list and below where it says this:
Code: Select all
texture 0 "golgotha/water2.jpg"
texscroll .2 -.2
texture 1 golgotha/water2over.png
setshader stdworld
Code: Select all
exec packages/mytextures/package.cfg
Code: Select all
texture 0 "golgotha/water2.jpg"
texscroll .2 -.2
texture 1 golgotha/water2over.png
setshader stdworld
exec packages/mytextures/package.cfg
Now for the models. Im taking them from Cube 2. Credited as always.
Step 1: go to "C:\Documents and Settings\Leo\Desktop\PlatinumArtsSandbox2.5\packages\models\doors"
Step 2: find your wanted folder. For example "C:\Documents and Settings\Leo\Desktop\Cube 2\Sauerbraten\packages\models\doors"
Step 3: copy the folder: "door_01" and paste it in the doors folder in PAS
Step 4: Open up "default_map_models" in the "data" folder in PAS.
Step 5: at the bottom of the config file, type this:
Code: Select all
mmodels "doors/door_01"
If any of these dont work, let me know and tell me your problem.
Credits to the creators of Cube 2 and PAS for the models.