For this instance, I am porting the lovely Crazy Hammer.
Steps to importing an old object:
- Create a zip. Name it usefully. Ours will be called Weapon_CrazyHammer.
- Set aside everything used. This includes: Sound Files, ItemIcons, Shapes, Color##.PNGs, Kill Icons, and Code Files.
- Dump them in the ZIP.
- Create two new files. Call them "server.cs" and "description.txt"
- Put this code in server.cs:
exec("./Weapon_CrazyHammer.cs");
[li]Put this in description.txt: [/li]
Title: Crazy Hammer
Author: A very smart person.
This is my cunning description of our weapon.
[li]Put the ZIP in your add-ons folder, check it in your add-ons list, start the server. You should open your console to make sure there were no missing files and no missing particles. One of the biggest problems that will face importers is creations that run off of other articles. For instance, in the Portal Gun, one of the problems I'm having is finding data on the printer.[/li]
[li]????[/li]
[li]Profit![/li]
[/list]