Blockland Forums > Modification Help
Add-on problem
Tomaz:
Here's what it says in the consol
--- Code: ---Add-Ons/Vehicle_A_10.cs Line: 1 - Syntax error.
>>> Some error context, with ## on sides or error halt:
Atablock WheeledVehicleData(A-1##0##Vehicle)
{
^category + "vehicles";
^displayName = " ";
^ShapeFile = "./a-10.dts":
^emap = true;
^minMountDist = 3;
numMountPoints = 1;
mountThread[0] = "sit";
^maxDamage = 200.00;
^destroyedLevel = 200.00;
^energyPerDamadePoint = 160;
>>> Error report complete
ADD-ON "Vehicle_A-10" CONTAINS SYNTAX ERRORS
--- End code ---
-Jetz-:
Try getting rid of the hyphen in the datablock name.
Treynolds416:
Yep, it's the name.
I've had this problem before as well.
Just rename every "A-10" to "A10"
Tomaz:
Well, I changed everything from "A-10" to "A10". But it's still not working.
This time in he consol, it doesn't say anything.
Tomaz:
Any help? I would really like to make this work.