Author Topic: edited the simple '[player] ate a cookie script' and want to upload it.  (Read 3867 times)

I have an addon where you type in /slice and it says [player] ate a slice of the cake!
  • slices remaining.

and i don't know how to compile/save it and upload

1. Create a folder called Script_CakeSlice
2. Put your script in there
3. Rename your script file server.cs (NOT server.cs.txt)
4. Put a description.txt in there as well and have the format like this:

Code: [Select]
Title: Your Add-On Name Here
Author: Your Name Here
Optional description here
« Last Edit: January 24, 2013, 07:40:32 PM by Electrk »

You need to download the torquescript compiler 2.50

You need to download the torquescript compiler 2.50
will do that

1. Create a folder called Script_CakeSlice
2. Put your script in there
3. Rename your script file server.cs (NOT server.cs.txt)
4. Put a description.txt in there as well and have the format like this:

Code: [Select]
Title: Your Add-On Name Here
Author: Your Name Here
Optional description here
like this?
http://www.mediafire.com/?y01tb88pn16qy7r

will do that

He was joking.

like this?
http://www.mediafire.com/?y01tb88pn16qy7r

Quote from: description.txt
{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf340
{\fonttbl\f0\fnil\fcharset0 Verdana;}
{\colortbl;\red255\green255\blue255;\red193\green193\blue193;}
\margl1440\margr1440\vieww37900\viewh18540\viewkind0
\deftab720
\pard\pardeftab720

\f0\fs60 \cf0 \cb2 Script_CakeSlice\
By The Tavros Nitram (beck)}

don't use wordpad

also, getRand isn't a function
use getRandom
« Last Edit: January 24, 2013, 07:50:12 PM by Electrk »

like this?
http://www.mediafire.com/?y01tb88pn16qy7r
Yes.

4. Put a description.txt in there as well and have the format like this:

Code: [Select]
Title: Your Add-On Name Here
Author: Your Name Here
Optional description here

You don't have to add any text in that file, as long as it exists it will run.

By the way I was joking about the compiler, You don't need to compile your scripts here.
« Last Edit: January 24, 2013, 07:52:24 PM by Eeposs »

Yes.

By the way I was joking about the compiler, You don't need to compile your scripts here.
good then.

testing it now

Doesn't appear in my addons selection, wtf tho

Doesn't appear in my addons selection, wtf tho

Put everything straight in the zip, not in a folder in the zip.

Put everything straight in the zip, not in a folder in the zip.
It is all in the zip. It's still not showing up.

Can someone check if it's only me who has this problem?

It is all in the zip. It's still not showing up.

Can someone check if it's only me who has this problem?
Unless you changed it from how it is in that mediafire link, its not right in the zip.

In that link it goes add-ons/Script_CakeSlice/Script_CakeSlice/server.cs
You want it to just be add-ons/Script_CakeSlice/server.cs

Unless you changed it from how it is in that mediafire link, its not right in the zip.

In that link it goes add-ons/Script_CakeSlice/Script_CakeSlice/server.cs
You want it to just be add-ons/Script_CakeSlice/server.cs
try this
http://www.mediafire.com/?c1d9h7om2ycwg9t



Heres a quick example I made for you.
http://www.mediafire.com/?6sv19wsctbn199w
I just get the folder.

I have a copy of the file just in the folder.