| Blockland Forums > Modification Help |
| Loading a weapons model |
| (1/2) > >> |
| Robo Dude:
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. |
| Red_Guy:
.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. |
| Robo Dude:
--- Quote from: Red_Guy on April 07, 2011, 05:41:51 PM ---.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. --- End quote --- Thanks lemme try it. |
| Robo Dude:
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; |
| Red_Guy:
its usually in this format: datablock typeOfDatablock(NameOfYourWeapon) { shapeFile = "Add-ons/Weapon_NameOfyourAddon/barrettm82.dts"; ............ }; |
| Navigation |
| Message Index |
| Next page |