Blockland Forums > Modification Help
How to make a weapon plant bricks?
takato14:
I need my weapon to plant bricks like the brick planting tool. How would I do this? I would like it so that when you use the weapon it basically replaces the Brick Planting tool so you can change bricks while holding it. (Like the Fill can replaces the paint can)
takato14:
Bump D:> I know its possible; the Swiss Army Gun does it...
TheArmyGuy:
Uhhm... Scroll?
You need to be more specific.
Amade:
If you know the swiss army gun does it, why haven't you looked at its coding to try and find out for yourself?
takato14:
--- Quote from: Amade on June 30, 2010, 07:13:36 PM ---If you know the swiss army gun does it, why haven't you looked at its coding to try and find out for yourself?
--- End quote ---
I have. I couldnt figure it out, the way the Swiss army Gun works is that the coding is all split up to create a situation where you can make modes fairly easily. The division of the coding makes the functions very hard to follow and understand. Its basically this: The functions that are the actual modes of the gun are only small snippets of code. They do not work without the entire root code of the Swiss army Gun. Its hard to pick out which parts of the codes make it plant bricks.