Author Topic: Generating Block Item  (Read 476 times)

Please bare with me, I have very little modding experience. I know how general things work, but not how to put them together. Like being able to read a foreign language but not able to speak it.

I'm in mid-process of making a very particular game mode for Blockland. But, I find myself in need of a blick that can generate a VCE_variable for a player to collect every few moments. The best example I can think of is a money printer from a Garry's Mod roleplaying server.

In this mode, players will be able to build, but I will not be giving them wrenches for the solid fact that wrenches are very easy to abuse pretty much everything. So, by eliminating that I can hopefully keep my server 'safer' in a way of words.

With players able to build, I would like them to be able to select a brick in the menu, specifically the "special" category. Initially when they place the blick, for the sake of ease I would like it to start idle, doing nothing. But when the player activates the brick, it would take an amount of their current y variable, activating it. And overtime, it generates the variable x, for the player to pick up from the brick. And importantly it saves both of the player's variables each time they do anything to the generation brick.

I would also need to use a model for the brick, so it can be distinguished from other bricks.

If someone could help me to the point where I could get this working, I would be willing to pay you (if that's legal)

You can add events when the brick is planted. Take a look at brick_checkpoint, its fairly simple.

Thank you, looking at that helped a lot. Although, what is the checkpoint.blb file? It looks like a buncha' hubub, I have no idea what it is.

.blb files are Blockland Brick files. They are what makes up everything of a brick (unless its collision box isn't a box, in which case there is also a .dts file of the collision box). There is a dts to blb converter released now, so all you need is a model for the brick and you can create the dts and blb. Theres plenty of topics around which will help you with this though. Just search for blb and you should find some good topics.