Difference between revisions of "User talk:Devicenull"

From AlliedModders Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
== Standard Zip format ==
 
== Standard Zip format ==
Any plugins requiring supporting files would need to upload a zip file containing them.  This zip file should be based on the sourcemod directory, so that if you were to extract it to the sourcemod directory on the server, everything would go to the correct place.
+
Any plugins requiring supporting files would need to upload a zip file containing them.  This zip file should be based on the mods root directory, so that if you were to extract it to the "cstrike" on a server, everything would go to the correct place.
  
 
Example:
 
Example:
 
<pre>
 
<pre>
configs/admin_myadmin.cfg
+
cfg/sourcemod/myconfig.cfg
gamedata/obscuregame.gamedata.txt
+
addons/sourcemod/configs/admin_myadmin.cfg
translations/myplugin/phrases.txt
+
addons/sourcemod/gamedata/obscuregame.gamedata.txt
 +
addons/sourcemod/translations/myplugin.phrases.txt
 +
models/player/someplayer.vdf
 +
maps/somemap.bsp
 
</pre>
 
</pre>
  
 
This zip file should be named the same as your plugins name (IE, if your compiled plugin is "adminfly.smx", this file should be "adminfly.zip")
 
This zip file should be named the same as your plugins name (IE, if your compiled plugin is "adminfly.smx", this file should be "adminfly.zip")

Latest revision as of 14:41, 24 February 2009

Standard Zip format

Any plugins requiring supporting files would need to upload a zip file containing them. This zip file should be based on the mods root directory, so that if you were to extract it to the "cstrike" on a server, everything would go to the correct place.

Example:

cfg/sourcemod/myconfig.cfg
addons/sourcemod/configs/admin_myadmin.cfg
addons/sourcemod/gamedata/obscuregame.gamedata.txt
addons/sourcemod/translations/myplugin.phrases.txt
models/player/someplayer.vdf
maps/somemap.bsp

This zip file should be named the same as your plugins name (IE, if your compiled plugin is "adminfly.smx", this file should be "adminfly.zip")