Author Topic: I'm making a LEGO Gamemode, I need to replace files  (Read 451 times)

Quote from: Sp0nge80b's Code

fileCopy("Add-Ons/GameMode_LEGO/brickTOP.png", "base/data/shapes/brickTOP.png");
fileCopy("Add-Ons/GameMode_LEGO/brickBOTTOMLOOP.png", "base/data/shapes/brickBOTTOMLOOP.png");
fileCopy("Add-Ons/GameMode_LEGO/brickBOTTOMEDGE.png", "base/data/shapes/brickBOTTOMEDGE.png");
fileCopy("Add-Ons/GameMode_LEGO/brickSIDE.png", "base/data/shapes/brickSIDE.png");
fileCopy("Add-Ons/GameMode_LEGO/brickRAMP.png", "base/data/shapes/brickRAMP.png");

hammerImage.shapeFile = "./hammer.dts";
hammerItem.shapeFile = "./hammer.dts";

I think I'm doing it wrong. I ran a test, but it didn't work.
(Yes, I'm using some v0002 models for the GM)