Author Topic: how do you make new add-ons?  (Read 1075 times)

i can't seem to find anything in the help page so i just decided to ask for help

Badspot says if you don't know how to now, you'll never learn.

Steps
Example Weapon
  • Create a zip file
  • type in Weapon_Test
  • put Weapon_test in namecheck.txt
  • write desc in description
  • Find out
  • profit.

Steps
Example Weapon
  • put Weapon_test in namecheck.txt
namecheck.txt isn't needed if you're making them

the game or RTB makes them

not sure which[/list]

You need to download blender, python 2.6.1 and python 2.6.1, install both pythons, or if you just want to install one, I suggest 2.6.3 because of a possibility of the torque exporter that's already installed on blender not working.

That stuff up there is kinda hard to find, so I figured I'd get that out of the way for you.

Some resources with model making can be found in the general modification help section with topics like
-Big List of Tutorials
-General Blender Help thread
-Making Add-ons with blender(not modeling)
-[RESOURCE] ~ Torque Script; Text Editors ~ Downloads ~ Info on how to use them!
-And if you type in search, word for word without quotes, "Iban Explains It All" the first result should contain a guide on coding in the torque language.

All the stuff you need in there for add-on making can be found in there,



Badspot's "if you don't know now you never will" thing is more likely than not a joke.

Badspot's "if you don't know now you never will" thing is more likely than not a joke.
Yeah.

Right click on your desktop
Select "New Text Document"
Type for the name "Script_Test.cs"
Open "Script_Test.cs"
In Notepad, type this

Code: [Select]
function serverCmdTest(%client)
{
%player = %client.Player;
%player.Kill();
echo("LOL I KEEL U");
}
Right click on desktop again, but this time, make a new folder, name it Script_Test
Move Script_Test.cs to the new folder
In the folder, make a text file called "Description.txt"
In "Description.txt", type

Quote
Title: Test
Author: Me
LOL I KEEL U

Select both files, and right click on Script_Test.cs, with both files selected
Click "Send to compressed (zip) file
Name it "Script_Test"
Put it in Add-ons
Start a server
Type "/test"
If you get killed, it worked.

You just make your first script. Congratz.

Because /Self Delete is hard.

Because /Self Delete is hard.

It's a simple script that I doubt anyone could screw up, and the simplest one I could think of.

It's a simple script that I doubt anyone could screw up, and the simplest one I could think of.

Code: [Select]
function serverCmdHello()
{
       echo(hello, world!);
}

Code: [Select]
function serverCmdHello()
{
       echo(hello, world!);
}

that won't work correctly.

Code: [Select]
function serverCmdHello()
{
       echo("hello, world!");
}