Alliedassault

Alliedassault (alliedassault.us/index.php)
-   MoH General Discussion (alliedassault.us/forumdisplay.php?f=7)
-   -   Mods and pk3 files (alliedassault.us/showthread.php?t=12869)

klop 11-18-2002 09:13 PM

Mods and pk3 files
 
Is there name convention for mods and pk3 file?
I mean are we obligated to put a prefix?

klop 11-18-2002 09:28 PM

Anyone?

Bane 11-18-2002 09:31 PM

Here's what I do:

User - Map - mapname.pk3
User - Skin - skinname.pk3
User - HUD - modname.pk3

etc, etc...

All downloaded pk3 files need to have User at the beginning to ensure they load last.

klop 11-18-2002 09:36 PM

Okay that's is what I thought but I wasn't sure... But I have a map that doesn't have user in the name and it's working...

Bane 11-18-2002 09:39 PM

It won't (I believe) if the name starts with a letter before P. The Pak0-Pak6 files need to load first, followed by any downloaded pk3 files.

klop 11-18-2002 09:45 PM

Thas's weird because the name is dm_malta_mp.pk3... oOo:

Bane 11-18-2002 09:51 PM

Really? I must be wrong then. I thought for sure the native pk3 files needed to load first. Oh well. I've been wrong before and I'll be wrong again...

The naming convention I posted earlier does make it easier to find particular mods if you have to. That I'm sure of!

Crizz 11-19-2002 01:54 AM

It´s easier to mess up the engine if you don´t have user- before the modname. (+ easier to find and delete it)
It could work or not, BUT it´s much safer to add user- to it. Add it by yourself, nothing can happen and you are sure that MOH reads it correctly!

yochoylamuete 11-19-2002 03:51 AM

If your mod name starts with a letter less than "p", it may work perfectly. This is how it works: files are uncompressed alphabetically. When a file is uncompressed, if their contents already existed, they are overwritten; if not, there's no problem.

Thus, if you install a replacement for the default compass, the file contents are the original game files edited; if its named, say, compass.pk3, those edited files would be overwritten when the pak files are uncompressed, and thus the mod apparently doesn't work (though it's being uncompressed); you should name it user-compass.pk3 (for example) so that it gets uncompressed after the pak files thus replacing the original contents with the modified ones.

Regards,

YoChoy

klop 11-19-2002 07:46 AM

Okay thanx alot man!

Gunshot 11-19-2002 07:54 AM

I am the Maker of the Malta custom map for Spearhead. It wont let you use user infront of the custom maps. Maybe its because Malta really isnt custom but buy naming it mp_malta_dm it puts it right into place for the game to recognize. My clan runs a dedicated server and the map is in its rotation and works fine (other then most people dont have it and get booted). Even admins have no prob. changing to it thru rcon. Like I said could just be the way spearhead is or it could be just that one map.

klop 11-19-2002 08:16 AM

Gunshot your too good! You are my hero! Thanx for the map!


All times are GMT -6. The time now is 08:36 PM.

Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.