Modifying the GameOne of the large features of Blockland is the ability to modify it to do anything you like, from making new weapons, vehicles or scripts.
Weapons:Go to Add-Ons and copy the "Weapon_Rocket Launcher.cs" file. This is your base. Open it in your favourite text editor. Something like Notepad++ works very well, as this replaces everything at the end of lines with unreadable junk, protecting your brand new weapon from nasty people stealing it and copying your ideas.
To start with, you'll want to edit the weapon and make it original:
- Search for 'damage'. The first thing you'll find is 'damageRadius', then 'radiusDamage'. Set these to a large number, preferably in the thousands. Remember, the player's HP is 20,000 so you'll want your weapon to deal at least half of this to be powerful.
- Look for "colorShift" and change the numbers there to "0.100 0.500 0.250 1.000", which will make the weapon a dark green colour.
- You'll also want the weapon to have a different shape - try changing the "shapeFile" parts to "./shapes/rocketLauncher.dts". This is a good model, as it looks like a cannon and works very well.
- Look for "uiName" and change it to whatever you like. Choose a good name, like "mEGACANNON" or "XZ32-118" (technical and stuff is very cool) to make your weapon recognisable these when sorting through lists.
- To make the file smaller, try removing some of the semicolons as these are pretty useless and take up space in the file. This helps people download it better.
Save this as "Copy of Weapon_Rocket Launcher.cs".
Distributing Your WeaponsCreate a new topic in Decals & Prints (the correct place to post scripted Add-Ons), called "MAI 1ST WEP: MEGA GNU". The capital letters will get it recognised easily. Write a good description of your Add-On, such as "1st gun dont flam plz", then use the Attach buttons on your post to attach Copy of Weapon_Rocket Launcher.cs. A screenshot isn't needed, they take ages to do anyway. Wait ten minutes, then post "bump" in the topic if no-one's responded yet. This pushes your topic back to the top of Decals & Prints, which will make people more likely to post in it. Keep doing this until someone responds.
VehiclesScripts[I'll write these sometime soon, it's quite late now
]