Author Topic: Model Problems  (Read 832 times)

The model works fine, but there are some collision issues.

I have uploaded a video describing the problems for your convenience
http://www.youtube.com/watch?v=WpZI3S8LKsM


Here is the model
http://puu.sh/4Qn6t.ms3d


And here is the server .cs
Code: [Select]
datablock PlayerData(redvacuumArmor : PlayerStandardArmor)
{
   renderFirstPerson = false;
//   emap = false;
   
//   className = Armor;
   shapeFile = "./vacuum.dts";
//   cameraMaxDist = 8;
//   cameraTilt = 0.261;//0.174 * 2.5; //~25 degrees
//   cameraVerticalOffset = 2.3;
//   computeCRC = false;
 
//   cameraDefaultFov = 90.0;
//   cameraMinFov = 5.0;
//   cameraMaxFov = 120.0;

//   aiAvoidThis = true;

   mass = 150;
   maxDamage = 75;
   maxEnergy =  200;

   //runForce = 80 * 150;
   //runEnergyDrain = 0;
   //minRunEnergy = 0;
   //maxForwardSpeed = 10.5; //old val = 8.5
   //maxBackwardSpeed = 10.5; //old val = 8.5
   //maxSideSpeed = 9; //old val = 8
   //maxForwardCrouchSpeed = 4;
   //maxBackwardCrouchSpeed = 3;
   //maxSideCrouchSpeed = 3;

   //maxForwardWalkSpeed = 4;
   //maxBackwardWalkSpeed = 4;
   //maxSideWalkSpeed = 4;

   maxUnderwaterForwardSpeed = 8.4;
   maxUnderwaterBackwardSpeed = 7.8;
   maxUnderwaterSideSpeed = 7.8;

   //jumpForce = 14.5 * 120; //14 * 120;
   //jumpEnergyDrain = 0;
   //minJumpEnergy = 0;
   //jumpDelay = 0;

minJetEnergy = 0;
jetEnergyDrain = 0;
canJet = 0;

   minImpactSpeed = 320;

   boundingBox = vectorScale("0.85 0.85 0.35", 4);
   crouchBoundingBox = vectorScale("0.85 0.85 0.35", 4);

   jetEmitter = "";
   jetGroundEmitter = "";
   jetGroundDistance = 4;
   
   JumpSound = "";

uiName = "Red Vacuum";
showEnergyBar = false;
paintable = false;

   //numMountPoints = 0;

//  useCustomPainEffects = true;
// PainHighImage = "";
// PainMidImage  = "";
// PainLowImage  = "";

};

I have tried multiple bounding box sizes in the CS but none fix my problems.

Come on. It's been almost 2 days.

I really need these problems fixed for my new server.

change  "boundingBox         = vectorScale("0.85 0.85 0.35", 4);" I am 100% sure this is the problem. It's not a model issue at all.

change  "boundingBox         = vectorScale("0.85 0.85 0.35", 4);" I am 100% sure this is the problem. It's not a model issue at all.
Change it to what? Just delete it? I have no idea. I tried changing it but to no avail

Change it to what? Just delete it? I have no idea. I tried changing it but to no avail
I don't know what to change it too, fiddle with it until it fits the model and doesn't glitch. If you comment out that line and it sets it to the standard player's settings you will notice that it doesn't have that issue. So you are doing something wrong.

Tbh, I would never mess with the bounding box value and set it to anything other than the player's defaults if you can help it.
I saw your video and I understand your model isn't the same size but this option is really glitchy.

I've tried playing with this when I was looking into options for making players not collide with each other. The farther you get from the default, the more you start to get stuck, fall through bricks, miss collisions. I'm not exactly sure why this option is so buggy, but the last time I used it it was.

Also did you try looking at a different player type, like the womprat or walle? Do those use different bounding boxes?