Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SUGGESTION] **Trollnotic - Xonotic Mod**

#1
Hi, me and a friend have made an mod on Xonotic, we had big goals but we're too lazy soo we just releaze it now! Tongue

--------------------------------------------------------------------------------

[Image: xonotic_logo.png]


Lot of stuff we have changed Big Grin, get ready to LOL! This is a 4 fun creation just made to make people lmao themself Smile hope you like it!


Idea PLZ BACKUP AND REMOVE YOUR CURRENT CONFIGURATION BEFORE LAUNCHING THE GAME Idea
If you dont know where it is:
GNU/Linux: $HOME/.xonotic/data/config.cfg
Windows 7: User/Saved games/xonotic/something
idk really xD

Download:
https://docs.google.com/file/d/0B5oDWG4G...edit?pli=1


trolololololololololololololol / k Wink
Reply

#2
How about a description of what the mods does?
Reply

#3
(05-19-2012, 05:34 PM)W4RP1G Wrote: How about a description of what the mods does?

It is just like ordinary Xonotic except new content have been put in, so it got different menus, sounds etc Smile
Reply

#4
LOL.

How about an actual trollface in a logo?
Reply

#5
(05-19-2012, 05:46 PM)rafallus Wrote: LOL.

How about an actual trollface in a logo?

Next release! Smile We gonna try add new models in next release too Big Grin
Reply

#6
Hey K__, here's a few pieces of information to assist you in your modding:

First of all, your logo is obviously based off a bitmap of the Xonotic logo. To make it look less like a hack job (unless that's the point of it), it's always better to work from source. The source of the logo can be found there: http://git.xonotic.org/?p=xonotic/medias...f=gfx/logo . I think the font part is by Dokujisan. It might be hand-made.

Now, about the distribution of the mod... You've repackaged the entire game, but is this really necessary? As long as you only change things in the data directory (which is true most of the time), you can distribute your mod as a small pk3 to be put into the user's data directory to override the default files. Here's how it works:

By order of precedence, this is where the DarkPlaces engine searches for a file. (Note: the personal data dir is in My Documents or a similar user directory on Windows; the main data dir is the data directory from the installation directory)
  1. Personal data dir
  2. Last pk3/pk3dir in alphabetical order in the personal data dir
  3. Last pak in alphabetical order in the personal data dir
  4. Main data dir
  5. Last pk3/pk3dir in alphabetical order in the main data dir
  6. Last pak in alphabetical order in the main data dir
If an empty file is found in a pk3, the engine considers this filename to be absent from the entire hierarchy.

You can ignore the "pak" ones, we don't use that format. pk3 is a zip archive and pk3dir is a "virtual" pk3 which is just a directory with the usual contents of a pk3 file.

For example, if you want to override the background image of the luminos menu theme, you can create a pk3 file which contains the file gfx/menu/luminos/background.jpg. If you want to delete the gak model, you can create a pk3 file that contains the empty file models/player/gak.iqm.

So, put your changed files for your mod in zzz_trollnotic_060-v0r1.pk3 to make sure that it's loaded late enough to override xonotic-data201203??.pk3 even if it's placed in the main data dir. The 060-v0r1 is for versioning: you can bump it to v0r2 for minor changes, v1r1 for major changes, and bump 060-v5r7 for example to 070-v1r1 if Xonotic 0.7.0 gets released. This way, later versions come later in the alphabet and override previous versions.

Now you can release your mod as a pk3 containing only the files that are new or changed, instead of distributing an entire copy of the game. It also frees you from licensing complexity, since you only have to deal with the legality of the files that you distribute. Also, users can move the pk3 out of their data directory when they get tired of it and it all goes back to normal.

EDIT: it also makes it simpler for users to see what the mod changes. Why do you ask players to backup their data directory? Does it include changes in the gamecode as well?
Reply

#7
(05-20-2012, 03:36 AM)Mr. Bougo Wrote: Hey K__, here's a few pieces of information to assist you in your modding:

First of all, your logo is obviously based off a bitmap of the Xonotic logo. To make it look less like a hack job (unless that's the point of it), it's always better to work from source. The source of the logo can be found there: http://git.xonotic.org/?p=xonotic/medias...f=gfx/logo . I think the font part is by Dokujisan. It might be hand-made.

Now, about the distribution of the mod... You've repackaged the entire game, but is this really necessary? As long as you only change things in the data directory (which is true most of the time), you can distribute your mod as a small pk3 to be put into the user's data directory to override the default files. Here's how it works:

By order of precedence, this is where the DarkPlaces engine searches for a file. (Note: the personal data dir is in My Documents or a similar user directory on Windows; the main data dir is the data directory from the installation directory)
  1. Personal data dir
  2. Last pk3/pk3dir in alphabetical order in the personal data dir
  3. Last pak in alphabetical order in the personal data dir
  4. Main data dir
  5. Last pk3/pk3dir in alphabetical order in the main data dir
  6. Last pak in alphabetical order in the main data dir
If an empty file is found in a pk3, the engine considers this filename to be absent from the entire hierarchy.

You can ignore the "pak" ones, we don't use that format. pk3 is a zip archive and pk3dir is a "virtual" pk3 which is just a directory with the usual contents of a pk3 file.

For example, if you want to override the background image of the luminos menu theme, you can create a pk3 file which contains the file gfx/menu/luminos/background.jpg. If you want to delete the gak model, you can create a pk3 file that contains the empty file models/player/gak.iqm.

So, put your changed files for your mod in zzz_trollnotic_060-v0r1.pk3 to make sure that it's loaded late enough to override xonotic-data201203??.pk3 even if it's placed in the main data dir. The 060-v0r1 is for versioning: you can bump it to v0r2 for minor changes, v1r1 for major changes, and bump 060-v5r7 for example to 070-v1r1 if Xonotic 0.7.0 gets released. This way, later versions come later in the alphabet and override previous versions.

Now you can release your mod as a pk3 containing only the files that are new or changed, instead of distributing an entire copy of the game. It also frees you from licensing complexity, since you only have to deal with the legality of the files that you distribute. Also, users can move the pk3 out of their data directory when they get tired of it and it all goes back to normal.

EDIT: it also makes it simpler for users to see what the mod changes. Why do you ask players to backup their data directory? Does it include changes in the gamecode as well?

Thanks a lot man Big Grin! In the future I will try to make a real mod and thanks a lot for that info!
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [SUGGESTION] DodgeBall Mod [video] gruuvin 5 4,702 04-02-2019, 03:13 PM
Last Post: Snowball
Heart [SUGGESTION] Mod API for Xonotic intenscia 21 14,383 12-11-2017, 10:52 PM
Last Post: intenscia
  [SUGGESTION] Ping Mod Ch4mp 1 2,756 03-09-2017, 06:09 PM
Last Post: Mario
  [SUGGESTION] "Xonotic-for-Kids" Mod silvers 46 45,365 07-13-2015, 08:14 PM
Last Post: acerspyro
  [SUGGESTION] Overkill mod: Nex balance issues unfa 12 12,947 06-16-2014, 11:11 AM
Last Post: tZork
  [SUGGESTION] A like Zombie Mod? Max98 4 4,382 04-17-2012, 12:44 PM
Last Post: Mr. Bougo
  [SUGGESTION] Gravity gun fight mod thingy Nesquick 2 4,144 01-04-2011, 03:17 PM
Last Post: jaykay

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-