Author Topic: .cs  (Read 1391 times)

What program do I use?

I'm making a script but I don't know what a .cs is?

C'mon I need help baddly :(

If you have Microsoft, then use Notepad.

If you have Mac OS X, then use TextEdit.

If you have Microsoft, then use Notepad.

If you have Mac OS X, then use TextEdit.
wait. i meant what do I put in it

Code: [Select]
datablock AudioProfile(gogogoSound)
{
   filename    = "./com_go.wav";
   description = AudioClose3d;
   preload = true;
};
function ServerCmdEdown(%Client,%obj)
{

      ServerPlay2d(downSound);
      Schedule(10, 0, MessageAll, "","\c3"SPC%Client.Name @"(RADIO)\c6: Enemy down.");

}


Idk what to do with this script

Notepad++ or Notepad 2 are definitely the best imo.

Notepad++ or Notepad 2 are definitely the best imo.

But if he has Mac, he can't use Notepad, I agree with you, but see my point here.

@Mr. Apple. I don't understand your question. What do you mean by, "What do I put it in?"

I tryed all night to make this it never worked... Can someone please make it for me? I failed everytime I tryed to make it

Go into your text editing program, and click file -> Save as. The file extension on the file might be .txt, hilight it, delete, and replace with '.cs' then click save.

datablock AudioProfile(gogogoSound)
{
   filename    = "./com_go.wav";
   description = AudioClose3d;
   preload = true;
};
function ServerCmdEdown(%Client,%obj)
{

      ServerPlay2d(downSound);
      Schedule(10, 0, MessageAll, "","\c3"SPC%Client.Name @"(RADIO)\c6: Enemy down.");

}
wut

...

Can't belive you couldnt do it. It is soo easy.


EDIT: Once you are done with this you should lock the thread to make it dissapear...

What do you do with it?

1) Put it in a folder with another file named description.txt using the following format

Code: [Select]
Title: TITLE HERE
Author: Mr. Apple
A brief description of your add-on here.

2) Select both your server.cs and description.txt files

3) Right click on them, compress to zip

4) Put the .zip file in your add-ons folder (C:/Program Files/Blockland/Add-Ons/ by default)

5) Go to "Start a Game"

6) Click "Add-ons"

7) Find your add-on in the list and check the box next to it

8) Click Ok

9) Click host a game

10) whullah. Test your script.