Blockland Forums > Modification Help
Making vehicle, vehicle crashes the game.
Peejster:
--- Quote from: Treynolds416 on March 16, 2011, 04:22:51 PM ---So it looks like BL only crashes when you try to spawn it.
Barnabas is correct, it definitely has to be a model error. Send me the .ms3d and I'll try to see what's up, the picture doesn't give many clues.
--- End quote ---
shrugging-reggie.jpg
http://www.megaupload.com/?d=NVX7Z1GM
takato14:
--- Quote from: Peejster on March 13, 2011, 01:53:36 PM ---
--- Code: ---datablock PlayerData(ChairArmor : PlayerStandardArmor)
{
cameraVerticalOffset = 3;
shapefile = "./chair.dts";
canJet = 0;
mass = 120;
drag = 0.03;
density = 0.6;
runSurfaceAngle = 1;
jumpSurfaceAngle = 1;
maxForwardSpeed = 0;
maxBackwardSpeed = 0;
maxBackwardCrouchSpeed = 0;
maxForwardCrouchSpeed = 0;
maxSideSpeed = 0;
maxSideCrouchSpeed = 0;
maxStepHeight = 0;
maxUnderwaterSideSpeed = 0;
uiName = "Chair";
showEnergyBar = false;
jumpForce = 0;
jumpEnergyDrain = 10000;
minJumpEnergy = 10000;
jumpDelay = 127;
minJumpSpeed = 0;
maxJumpSpeed = 0;
rideable = true;
canRide = false;
paintable = true;
boundingBox = vectorScale("2.5 2.5 1", 4);
crouchBoundingBox = vectorScale("2.5 2.5 1", 4);
lookUpLimit = 0.65;
lookDownLimit = 0.45;
numMountPoints = 0;
mountThread[0] = "sit";
upMaxSpeed = 1;
upResistSpeed = 1;
upResistFactor = 1;
maxdamage = 260;
minImpactSpeed = 250;
speedDamageScale = 3.8;
useCustomPainEffects = true;
PainHighImage = "";
PainMidImage = "";
PainLowImage = "";
painSound = "";
deathSound = "";
};
--- End code ---
Obviously just an edit of the boat script.
--- End quote ---
Dude. Armor datablocks are bots/players, NOT physics vehicles. Remove the collision mesh entirely.
Treynolds416:
--- Quote from: takato14 on March 17, 2011, 12:36:56 AM ---Dude. Armor datablocks are bots/players, NOT physics vehicles. Remove the collision mesh entirely.
--- End quote ---
Or that, yes.
I will test the chair with the default boat script and then we'll know for sure.
EDIT: PROBLEM FOUND
Your collision mesh appears to be set to 0, it should be -1!
takato14:
--- Quote from: Treynolds416 on March 17, 2011, 04:51:29 PM ---Or that, yes.
I will test the chair with the default boat script and then we'll know for sure.
EDIT: PROBLEM FOUND
Your collision mesh appears to be set to 0, it should be -1!
--- End quote ---
THE BOAT IS A PLAYERTYPE
NOT A VEHICLE
ITS JUST RIDABLE
REMOVE THE COLLISION MESH OR IT WILL CONTINUE TO CRASH
Do the caps make it evident, now? -________-
Butler:
--- Quote from: Peejster on March 14, 2011, 08:13:24 PM ---It only crashes when spawned.
Log's here. http://www.mediafire.com/?zxtdaophak7o20a
--- End quote ---
You know you could have just uploaded the console.log file directly to your post using the "Addiditional Options" right?