Author Topic: Because NOBODY goes to the Modification section...  (Read 363 times)

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: [Select]
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
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

Well since your too ignorant to go back to Coding Help, Ill bring my post to you.
you forgot to give the datablock name of the vehicle
Also you overwriting the impact sounds =\


Locked, figured it out.