When packaging your mod there is a fairly strict set of rules you must follow as far as folder order, and necessary files.

For this example you will be packaging your map called MyMap. First package your map in a ZIP folder called MyMap.zip. In this zip should be the following:

Files you need:
modinfo.txt - contains all your info.
init.cs - contains the files you need to exec
data/missions/mymap.mis - your mission file in data/missions/ within your zip file.
data/terrains/mymap.ter - your terrain file
data/interiors/ - all your interior files
...

... you get the idea. You absolutely need modinfo.txt and init.cs, even if init.cs says "echo("Hello, World!");".

Naming Conventions:
You absolutely MUST keep your filename the same as your mod name. If your mod's name is "Files Here" then your ZIP file must be called "Files Here.zip".

Follow folder procedures setup throughout Freebuild, and you will be all set.
What about the map's textures? Shouldn't those be forced to be included as well?
Indeed, hence the "you get the idea". Put all the things you need in your mod, according to the predetermined folder structure.
Please also include any datablocks that your map requires. Check out the format for datablock usage in the Star Wars and Castle content packs.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement