# what exe. do I need to edit the "weapons LOD." in the pak1.pk3 file...???

#### stubyph

##### Member
the packscape opens the pak1.pk3 files and I can make sinle palyer maps available in DM, But the weapons I can't edit the weapons delisle.lod etc. ....Is'nt this file the used to edit the weapons load out.

#### SNYPE

##### Senior Member
Since each weapon's scripts can be different I will give you a generic example.
The weapon characteristics and loadouts are found in each weapon's "tik" file. For example the tik file for the BAR is named bar.tik. The weapon tiks are in pak1 under models\weapons\.

Here is a sample of the scripting found in the "AMMO" section of a tik files.
Code:
//========================================//
// AMMO //
//========================================//
firetype bullet
ammotype "mg"
meansofdeath bullet
bulletcount 1
clipsize 20                          //# bullets per clip
ammorequired 1
bulletlarge 1
sp startammo 20                //# of  starting bullets for SP
dm startammo 160              //# of  starting bullets for DM
sprealism startammo 20        //# of  starting bullets for SP Realism
dmrealism startammo 100      //# of  starting bullets for DM Realism

dm startitem "items/binoculars.tik"

dmrealism startitem "items/binoculars.tik"
Now you need to read thru this a bit and understand the settings. One thing to be aware of is that the various game modes have different settings available (SP, DM, SP Realism, DM Rrealism) so you need to set the values for the mode you use (or set them all if you plan to use them all!).
Be sure to save a copy of the original pak files and tik files before changing anything!!

#### stubyph

##### Member
thanks man I was thinking along those lines but was not sure..

SNYPE said:
Since each weapon's scripts can be different I will give you a generic example.
The weapon characteristics and loadouts are found in each weapon's "tik" file. For example the tik file for the BAR is named bar.tik. The weapon tiks are in pak1 under models\weapons\.

Here is a sample of the scripting found in the "AMMO" section of a tik files.
Code:
//========================================//
// AMMO //
//========================================//
firetype bullet
ammotype "mg"
meansofdeath bullet
bulletcount 1
clipsize 20                          //# bullets per clip
ammorequired 1
bulletlarge 1
sp startammo 20                //# of  starting bullets for SP
dm startammo 160              //# of  starting bullets for DM
sprealism startammo 20        //# of  starting bullets for SP Realism
dmrealism startammo 100      //# of  starting bullets for DM Realism

dm startitem "items/binoculars.tik"

dmrealism startitem "items/binoculars.tik"
Now you need to read thru this a bit and understand the settings. One thing to be aware of is that the various game modes have different settings available (SP, DM, SP Realism, DM Rrealism) so you need to set the values for the mode you use (or set them all if you plan to use them all!).
Be sure to save a copy of the original pak files and tik files before changing anything!!
So once I make my tik change I can upload that weapon tik file or files alone to my server pak1 right?? And SP is single player mode right

#### SNYPE

##### Senior Member
stubyph said:
So once I make my tik change I can upload that weapon tik file or files alone to my server pak1 right??
The best way would be to create a separate pk3 with the modded tik file. That way you dont actually have to change the original. Be sure to include the full path to the tik in the pk3 for example: models\weapons\bar.tik (or whatever tik you change).
Next name the pk3 something like zzzzzzz_WeaponMod.pk3 (that way the game engine reads it last and keeps the modded info and not the stock info) and then put it in your Mainta.

And SP is single player mode right
Yes

Last edited: