Author Topic: how do i make add ons?  (Read 1557 times)

is there any way for me to make add ons or can only some people make them because i would really like to make some, but i dont know how :(

That question is very vague.

like what stuff would i need to make them and can i?

I'll do what I can for you:

For weapons, you need a modeling program, most people here would point you towards either Blender or Milkshape. Blender is the free program, but you should be able to get a trial version of Milkshape, which is often called MS3D. You will also need to be able to code, for this you will need a simple text editor, such as Notepad.

For vehicles, you will need the same programs as you would for weapons.

For scripts, you just need a text editor, and you need to know some TorqueScript.

For decals, or skins, you will only need an image editor.



You won't be able to churn out add-ons in a short period of time, it can take a while.

sry to ask so many questions, but whats scripts for, sounds?

Scripts are what make the game run, they aren't written dialogue.

so if you make a weapon you need to make a script for it?

and... theres a whole bunch of different milkshape so can you give me a link to the one you use or other people use?

uhmno, a script is the base of the addon, it calls all the functions, handles all the effects, deals the damage, ect ect.
Code: [Select]
echo("helloworld");This outputs helloworld to the console
Code: [Select]
function Howmany(%amount,%cost,%vara)
{
 if(%vara){
  %newcost=%cost;
  %newcost/=%amount;
  echo(""@%amount@" apples costs "@%newcost@" dollars each!");
 }
 else
 {
  %newcost=%cost;
  %newcost*=%amount;
  echo(""@%amount@" apples costs "@%newcost@" dollars!");  
 }
}
if you put in howmany(5,10,1);
it will say in console
5 apples costs 2 dollars each!

Scripting is complex
(btw the syntax for that is howmany(amountofapples,costofone_or_costofall,wetherornot_you_put_costofone_or_costofall)
so howmany(5,10,0) would return
5 apples cost 50 dollars!)

uhmno, a script is the base of the addon, it calls all the functions, handles all the effects, deals the damage, ect ect.
Code: [Select]
echo("helloworld");This outputs helloworld to the console
Code: [Select]
function Howmany(%amount,%cost,%vara)
{
 if(%vara){
  %newcost=%cost;
  %newcost/=%amount;
  echo(""@%amount@" apples costs "@%newcost@" dollars each!");
 }
 else
 {
  %newcost=%cost;
  %newcost*=%amount;
  echo(""@%amount@" apples costs "@%newcost@" dollars!"); 
 }
}
if you put in howmany(5,10,1);
it will say in console
5 apples costs 2 dollars each!

Scripting is complex
(btw the syntax for that is howmany(amountofapples,costofone_or_costofall,wetherornot_you_put_costofone_or_costofall)
so howmany(5,10,0) would return
5 apples cost 50 dollars!)


I'm sorry, but i dont know what your talking about because i dont know about scripting or anythin :(

Ya you have to pick it up to do somestuff, its a bit complicated.

basicly if I say
%cookies = 5;
I have a new varible, a placeholder type thing, called cookies
so the number of cookies is 5
If i say
%cookies -= 2;
the number of cookies is now 3 because I took(-=) two away there.
if I wanted to tell everyone how many cookies there are, I say
Code: [Select]
announce("There are "@%cookies@" cookies left!");so then it would say There are 3 cookies left to everyone.
Theres alot more to it, so look for a guide, there are a few out there( search for torquescript guides on google)

theres a whole bunch of different milkshape so can you give me a link to the one you use or other people use?
anyone wanna answer that for me?

and can you give me a link to a guide thats what i need exactly?