Xonotic Forums
Custom 'player' sprites and 'weapons' - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Configuration Tips (https://forums.xonotic.org/forumdisplay.php?fid=19)
+--- Thread: Custom 'player' sprites and 'weapons' (/showthread.php?tid=2816)

Pages: 1 2


Custom 'player' sprites and 'weapons' - Hypnotix-2000 - 04-01-2012

Greetings!!
I have seen a few very cool mods online xonotic gaming servers that have custom player sprites and weapons... how can I get those on my local machine? is there a website to download them or something?


RE: Custom 'player' sprites and 'weapons' - Mr. Bougo - 04-02-2012

You already have them! They are in your dlcache directory, next to your config.cfg. You just have to figure out which file they are and move that file in the parent directory.


RE: Custom 'player' sprites and 'weapons' - rocknroll237 - 04-02-2012

I have the zzzoverkill.pk3 in my dlcache, to play it in a local match do I need to extract the contents into the data.pk3 thingy. I know in another thread you said I need to compile the stuff in git, but could I use this method instead?


RE: Custom 'player' sprites and 'weapons' - Hypnotix-2000 - 04-02-2012

I will give the PK3 manipulation a try tonight...


RE: Custom 'player' sprites and 'weapons' - Mr. Bougo - 04-02-2012

No no no no. Do NOT touch xonotic-data.pk3. You only need to put the pk3 file into your data directory. Do not extract it, there is no need for that, that's exactly why we have the pk3 format.


RE: Custom 'player' sprites and 'weapons' - rocknroll237 - 04-02-2012

Oh okay.


RE: Custom 'player' sprites and 'weapons' - Hypnotix-2000 - 04-02-2012

Confirmed... you need to place the zzzoverkill PK3 in the ~/xonotic/data/ directory!

I will play around a bit more (manipulating the actual data.pk3) file and let you know if the player sprite BOTs and weapons can be forced to be ONLY overkill mod based.

Thank you Mr. Bougo!


RE: Custom 'player' sprites and 'weapons' - Hypnotix-2000 - 04-02-2012

Update... as promised, I have 'experimented' with the xonotic-data.pk3 file... knowing that the pk3 file uses the zip compression algorithm, I renamed the file to .zip, navigated to the 'models' directory and deleted the original 'player' directory. Then copied the 'player' directory from the zzzoverkill pk3 file (unzipped it first of course) and then renamed xonotic-data.zip back to 'pk3' extension.

Then voila!

PS: Not sure if this can be replicated for weapons... anyone else willing to give it a try?
PPS: Please do not perform this procedure if you like to also keep the legacy style bots (i.e. player models that come packaged with xonotic) Look at my earlier post if you want to have the original+overkill player styles.


RE: Custom 'player' sprites and 'weapons' - Mr. Bougo - 04-03-2012

I haven't stressed this enough, do NOT edit the pk3s from the release, that's just asking for trouble. There is NO reason to do this, you can get the EXACT SAME EFFECT using pk3 files, which is EXACTLY why we have pk3 files in the first place.

What did you try to achieve by altering the base pk3's?

EDIT: by the way, what you did there is considered cheating by the competitive player base and other people as well. Any modification of the original assets is thought to be an attempt at cheating.


RE: Custom 'player' sprites and 'weapons' - rocknroll237 - 04-03-2012

I put the overkill.pk3 file in the data directory. How do I initialise it so I can play with the weapons, sounds and models in a local match? As it stands, the game is just running as normal.


RE: Custom 'player' sprites and 'weapons' - tZork - 04-03-2012

for local games, you use git and compile it with the relevant branch checked out. the client pk3 does not have the gamecode, just the data. As of 0.6.0 overkill *data* is already included in the data pk3, making this pk3 shuffling and modding rather pointless Tongue


RE: Custom 'player' sprites and 'weapons' - Hypnotix-2000 - 04-03-2012

I am only trying to enjoy the game dude... and the changes I made were on a copy of the pk3 file. Just wanted to see how things work (without reading the release notes that is) Angel

And how is doing this for a LOCAL game (against BOTs) cheating???

Nonetheless, I will avoid it from now on. Tongue Cool?

(04-03-2012, 12:26 AM)Mr. Bougo Wrote: I haven't stressed this enough, do NOT edit the pk3s from the release, that's just asking for trouble. There is NO reason to do this, you can get the EXACT SAME EFFECT using pk3 files, which is EXACTLY why we have pk3 files in the first place.

What did you try to achieve by altering the base pk3's?

EDIT: by the way, what you did there is considered cheating by the competitive player base and other people as well. Any modification of the original assets is thought to be an attempt at cheating.



RE: Custom 'player' sprites and 'weapons' - tZork - 04-03-2012

For local games you do as you like, Mr. Bougo is just pointing out that using altered pk3's or data in online play is bad karma. Further its far more convenient to not change the pk3, but rather place additional ones or uncompressed files along side it.


RE: Custom 'player' sprites and 'weapons' - Hypnotix-2000 - 04-03-2012

Hey tZork,
Thanks for getting that cleared up!
I have actually reverted to the original PK3 and am using the overkill PK3 file in the data directory as it should be done.

Hey rocknroll237,
Once you place the overkill PK3 file in data directory, launch the game, and go to player setup - then navigate through the player models (overkill models do not have a preview) and choose the Robot1-3 or Soldier1-3 ... then go into advanced settings and choose 'force players to mine' or something to that effect. This will not give you a variety of BOT models though (in that you will only get BOT's looking like you.)

Sound effects were kind'a funny with that though lol

Big Grin


PS: As Mr. Bougo said, PLEASE DO NOT EDIT THE PK3 FILES... Wink


RE: Custom 'player' sprites and 'weapons' - rocknroll237 - 04-03-2012

I placed the zzzoverkill.pk3 in my data directory and still nothing...


RE: Custom 'player' sprites and 'weapons' - Hypnotix-2000 - 04-04-2012

Now go into player setup and switch to your choice of player model... then also go into advanced properties and check off the 'forces players to mine' option... recall that overkill models do not have a preview.

Still figuring out how to activate the overkill weapons without editing xonotic-data.pk3...


RE: Custom 'player' sprites and 'weapons' - rocknroll237 - 04-04-2012

Hmmm, still nothing. So, let me get this straight. All you did is put the zzzoverkill.pk3 file into the data directory where the config.cfg file is? Btw, I'm running Windows 7 64bit.


RE: Custom 'player' sprites and 'weapons' - Hypnotix-2000 - 04-04-2012

Shouldn't matter with the OS or instruction length... I did not have to make changes to the config file - I only put the overkill PK3 file in the data directory.

After placing the PK3 in the data/ when you launch Xonotic, go to the 'multiplayer' window.. and then go to 'player setup' ... go through the available options for 'model' - you will go through Erubus, Gark, Egnus etc etc... till you see "missing Preview" error on the small preview window. These are the custom overkill robots/soldiers... once you have selected the one you like, go to "Model Settings" ... in the dialog box that opens up, select "Force player models to mine' ...

Did you follow these steps? What version of Xonotic are you using BTW?

Also, GOOD GAME !!! I sucked with the nex lol


(04-04-2012, 01:35 PM)rocknroll237 Wrote: Hmmm, still nothing. So, let me get this straight. All you did is put the zzzoverkill.pk3 file into the data directory where the config.cfg file is? Btw, I'm running Windows 7 64bit.



RE: Custom 'player' sprites and 'weapons' - Mr. Bougo - 04-04-2012

What data directory did you put it in? The one containing config.cfg? That would be data. The data directory has a subdirectory called "data", that would be the data/data directory.


RE: Custom 'player' sprites and 'weapons' - rocknroll237 - 04-04-2012

Yep, it's in the one with the config file. Hmmmm, it's really strange. Just to confirm, I took the zzzoverkill.pk3 from my dlcache. Is that the right one?


RE: Custom 'player' sprites and 'weapons' - Mr. Bougo - 04-04-2012

Yes. Do you see the files if you type this in the console?
ls models/player/*


RE: Custom 'player' sprites and 'weapons' - Mr. Bougo - 04-04-2012

Update: zzzoverkill.pk3 has models/ok_player, which needs to be renamed to models/player for models to show up in the menu and be useable.


RE: Custom 'player' sprites and 'weapons' - rocknroll237 - 04-04-2012

Done. Thanks Mr Bougo. Now... How would I be able to use weapons? Smile


RE: Custom 'player' sprites and 'weapons' - Mr. Bougo - 04-04-2012

As tZork said, the pk3 only contains assets, no game code. To use the weapons you need the game code. Get git and compile the branch tzork/overkill.


RE: Custom 'player' sprites and 'weapons' - rocknroll237 - 04-04-2012

Ahhh, okay. Thanks for clearing that up.

*rocknroll237 knows its time to get GIT...