Blockland Forums > Help

Because NOBODY goes to the Modification section...

Pages: (1/1)

Butler:

Last night Barakuda came to me and asked me to script a vehicle for him, I said yes.
However I didn't start until a short while ago and I got a syntax error:

--- Code: ---Loading Add-On: Vehicle_BLANK
Add-Ons/Vehicle_BLANK/server.cs Line: 26 - Syntax error.
>>> Some error context, with ## on sides of error halt:
   description = AudioDefault3d;

   preload = true;

};

datablock AudioProfile(slowImpactSound)

{

   filename    = "./slowimpact.wav";

   description = AudioDefault3d;

   preload = true;

};





// Vehicle //

/////////////

datablock WheeledVehicleData()##
##
{

^category = "Vehicles";

^displayName = "BLANK";

^shapeFile = "./BLANK.dts"; //"~/data/shapes/skivehicle.dts"; //

^emap = true;

^minMountDist = 3;

   

   numMountPoints = 2;

   mountThread[0] = "sit";

   mountThread[1] = "sit";



^maxDamage = 200.00;
>>> Error report complete.

ADD-ON "Vehicle_BLANK" CONTAINS SYNTAX ERRORS

--- End code ---
NOTE: "BLANK" Is not the actual vehicle name, I'm just assuming Barakuda wants this kept somewhat secret.

NOTE2: This is taken DIRECTLY from the console.log

ZSNO:

Well since your too ignorant to go back to Coding Help, Ill bring my post to you.

--- Quote from: ZSNO on February 25, 2010, 07:38:36 PM ---you forgot to give the datablock name of the vehicle

--- End quote ---
Also you overwriting the impact sounds =\

Butler:

What do you mean?

Butler:

Locked, figured it out.

Pages: (1/1)

Go to full version