Author Topic: Loading a weapons model  (Read 537 times)

Ive been porting a bunch of Sniffs add-ons and this is the first time I got a problem with his Barrett M82.

Ive looked through both scripts and it doesn't exec the barrettm82.dts.

Please tell me what I am doing wrong.

.dts files do not get "execd"   they are referenced from datablocks in your scripts.

find the file that references barrettm82.dts and see where that one gets run.
that should get you pointed in the right direction.

.dts files do not get "execd"   they are referenced from datablocks in your scripts.

find the file that references barrettm82.dts and see where that one gets run.
that should get you pointed in the right direction.

Thanks lemme try it.

Is this right Is this correct  // Basic Item Properties
   shapeFile = ".barrettm82.dts";
   rotate = false;
   mass = 1;
   density = 0.2;
   elasticity = 0.2;
   friction = 0.6;
   emap = true;

its usually in this format:

datablock  typeOfDatablock(NameOfYourWeapon)
  {
   shapeFile = "Add-ons/Weapon_NameOfyourAddon/barrettm82.dts";
       ............
 };



Is this right Is this correct  // Basic Item Properties
 shapeFile = ".barrettm82.dts";
 rotate = false;
 mass = 1;
 density = 0.2;
 elasticity = 0.2;
 friction = 0.6;
 emap = true;

Forgot slash befor the dts file, and red, im sure he is just showing the part he thinks the problem is

oops Didn't understand what I said.
« Last Edit: April 10, 2011, 01:29:00 AM by Robo Dude »