Tremulous Forum

Mods => Modding Center => Topic started by: maigel on May 21, 2007, 05:23:47 pm

Title: howto create a mod
Post by: maigel on May 21, 2007, 05:23:47 pm
hi guys,
i've made some custom textures for aliens and human weapons.
i can use them by putting them in my data.pk3 file, but how can i use them with putting them in a mod
Title: howto create a mod
Post by: a Turret on May 21, 2007, 06:41:06 pm
Alright, Lets say we are making a new texture for the rifle.jpg thats under models>weapons>rifle.

So first step is to re-create the folders
so make a models folder, then inside of that create a weapons folder, and then a rifle folder. Just like in the Data files.
put your rifle.jpg (has to be same name) in there.

Now go back up so you can see the models folder and make it YOURMODNAM.zip (use a program to do that) change the .zip to .pk3

pretty much tremulous is made so that it goes through alphabetically and if theres things that would be in the datafile, then it uses that instead, so you just have the folders the correct name. and they must  be alphabetically after data-1.1.0.pk3


Tips: Only create the folders in which you have files in. no need to create extra

Tip: Only put files that you edit into it, no need to make it a huge file for just 1 modification

Tip:If you have a mod thats named "RifleMod.pk3" and you want to override it then the name of the file must be alphabetically after "RifleMod.pk3"



I had the same problem when I started, They need to make a basic Mod Creating Guide like they have for maps.
Title: nice response
Post by: player1 on May 21, 2007, 07:04:37 pm
plz sticky this response as a shining example of how to be a useful internet poster

@ a Turret: thx
u restore my faith in humanity's ability to use t3h intarwebz in a civilized fashion

also, he answered the question in one post

extra credit?
Title: howto create a mod
Post by: maigel on May 21, 2007, 09:28:01 pm
tnx i got the pk3 file now.
but how can i use it as a mod for a server now (with the set fs_game command)
Title: howto create a mod
Post by: a Turret on May 21, 2007, 09:51:13 pm
No idea, I just make em for my self on SST, they are partially Un-Pure so you can have mods like that.