Blockland Forums > Modification Help
need some help with wep
eat884:
hey my wep wont show i enabled it in addons and stuff and i read masterlegosdude tutorial and when you hit brick with wrench i look for it and its notthere please help
MrPickle:
Post consol.log
eat884:
Loading compiled script base/server/scripts/DamageTypes.cs.
Loading compiled script base/server/scripts/allGameScripts.cs.
... Shape with old version.
Loading compiled script base/data/shapes/player/player.cs.
Executing Add-Ons/ADD_ON_LIST.cs.
Add-Ons/Weapon_Ultima weapon.cs Line: 4 - Syntax error.
>>> Advanced script error report. Line 7.
>>> Some error context, with ## on sides of error halt:
/ultima weapon.cs
//audio
datablock AudioProfile(ultima weaponSound)##
##
{
filename = "./sound/death";
description = AudioClose3d;
>>> Error report complete.
Executing Add-Ons/Weapon_Ultima weapon.cs.
Add-Ons/Weapon_Ultima weapon.cs Line: 4 - Syntax error.
>>> Advanced script error report. Line 7.
>>> Some error context, with ## on sides of error halt:
/ultima weapon.cs
//audio
datablock AudioProfile(ultima weaponSound)##
##
{
filename = "./sound/death";
description = AudioClose3d;
>>> Error report complete.
Executing Add-Ons/Weapon_Sword.cs.
Executing Add-Ons/Weapon_Spear.cs.
Executing Add-Ons/Weapon_SniperRifle.cs.
Executing Add-Ons/Weapon_Rocket Launcher.cs.
Executing Add-Ons/Weapon_Push Broom.cs.
Executing Add-Ons/Weapon_Minigun.cs.
Executing Add-Ons/Weapon_KewlWep.cs.
Add-Ons/Weapon_Kewl wep.cs Line: 4 - Syntax error.
>>> Advanced script error report. Line 7.
>>> Some error context, with ## on sides of error halt:
/kewl wep.cs
MrPickle:
You've got some syntax errors. The reasons being i think because at the start you've tryed commenting and you;ve only put one / comments are //.
/ultima weapon.cs
/kewl wep.cs
should be:
//ultima weapon.cs
//kewl wep.cs
Randy:
That's probably just being cut off in the console, if it was causing a problem, it would be highlighted. The real problem is that you cannot have a space in dataBlock names.