Off Topic > Games
The@Team - A multiplayer real time dungeon crawler by Rotondo
Electrk:
Nope.
Club559:
Made some quick improvements to the add-on system. Now more customization.
$AddOnPath is the folder you want your add-on folders to be in. It can now have its own folder outside of base (default).
$MainScript is what CS file you want to load for your add-ons. Preferred are main.cs and client.cs.
So yeah, if you want this quick improvement you should take your current add-ons folder out of base and into the main @Team folder.
Also, directories are case-sensitive. Change the path name to how you want it to be cased.
--- Code: ---// Loads add-ons in the add-ons folder
echo("Loading Add-Ons...");
$AddOnPath = "add-ons";
$MainScript = "main.cs";
nextToken($AddOnPath, "rawpath", "/");
setModPaths(getModPaths() @ ";" @ $rawpath);
for($AddOnFile = findFirstFile($AddOnPath @ "/*/" @ $MainScript); $AddOnFile !$= ""; $AddOnFile = findNextFile($AddOnPath @ "/*/" @ $MainScript))
{
echo("Loading Add-On:" SPC $AddOnFile);
exec($AddOnFile);
}
--- End code ---
Demian:
--- Quote from: Cybertails1998 on June 30, 2012, 10:10:31 PM ---
found this in the base/client/ui/buttons folder, what's it mean
--- End quote ---
Default Torque Engine graphics that probably came with the FPS Starter kit.
Doomonkey:
Add-on system looks pretty cool.
IkeTheGeneric:
Somebody should make an @Team gamemode for blockland lol