Author Topic: i need help  (Read 1122 times)

i dont understand when i try to package add ons by looking at others for help theres server.cs's but when i look in the server.cs it looks like a regular script like a melee script and i dont understand that do i use only the server.cs or do i put a server.cs and a melee ect. script in?and do i use ms3d models in the file or export their dts's?

User was banned for this post
« Last Edit: September 13, 2008, 07:02:36 AM by Badspot »

All Add-Ons must have either a Server.cs or Client.cs to run whatever is in the Add-On's .zip. Some people only use the Server/Client.cs to execute their own .cs files, while others just put their scripts straight in the Server/Client.cs

If you put a separate .cs file for you scripts, you must put a exec for it in the Server/Client.cs

Add-On's are mainly Server.cs since they are, well, serverside. Add-On's like GUI's (Such as NiXiLL's LSG GUI) use Client.cs so they are executed on startup.

im kinda confused.....
ok say i wanna make a basic sword...i make the model....then i ????? after i did that i ????? then i put the zip into my add ons folder..... thats the main area's during making add on's i dont understand after i make the model do i export a dts or save the model somehwere and i have no clue on what the server.cs should look like ive seen so many differant one some with scripts on it some with just a few words....

You can't just give the game a model and expect it to know what to do with it.

i mean after i make the model what do i do save the ms3d thing or use a dts?

Obviously DTS, this topic started with scripting, you never see ms3d files in BL.

ok now that i have that out of the way the server.cs....what is it....all i know is its some kind of script like thing and you "need" it in for you add ons to work but what i dont get is what is it?i ean what would it have to say in it?is there a special word or something i have to have in it for add ons to work?

If you can't understand it then you shouldn't work with it.

i mean what should i put as the server.cs

i mean what should i put as the server.cs

Several different things. A script won't exactly allow you to type in "addOns=functional".

I apologize, that didn't help you.

What you should do is go to "C:/Blockland/Add-Ons/Weapon_Sword.rar"

Copy it and paste it onto your desktop. Then unzip it into "Weapon_Sword" on your desktop. Find "server.cs" and open it.

I'll post a template here shortly to show you what things mean.

« Last Edit: September 12, 2008, 12:24:33 PM by Ethos »

Have you messed with add-ons in v8? Put your (fixed slightly for v9) script, meaning weapon_YourWeapon.cs, into a server.cs.