Author Topic: Physics  (Read 3681 times)

I've been playing Blockland for about 2 days now and need help with the physics. How do you make a building to where when it is hit by like a car or a plane or a person in the game to where it will fall apart? Can anyone help me? Does it involve scripting or not?

You need vehicle events

OnVehicleTouch -> Self -> FakeKill

No, i dont have vehicle events link

What does that mean? But does it involve scripting?

But does it involve scripting?

No.

I suggest using zone events to make a zone the vehicle enters that fakekills the building, or fakekill it beforehand.

Could you explain it in words i can understand? I've only been playing Blockland for 3 days! I haven't even bought it yet but I'm going to soon

Well, as you've seen, I don't know how to make good zone events. However, if you want to fakekill the building beforehand, here's what you do:

Name every single brick that you want to break the same thing. I'll just say "building".

Make a button of some sort. Set these events:

Code: [Select]
OnActivate | NAMED BRICK | FakeKill [0] [0] [0] [?]
             building

Make "?" the number of seconds you want the bricks to remain physics bricks. Basically, how long you want them to stay able to break or broken.

Then, all you need to do is press the button and drive your vehicle into it.

1.Where do i put the code?
2.How do i make a button?

1.Where do i put the code?
2.How do i make a button?

1. Sorry, forgot to explain, not used to completely new people. The part in the code is for the in-game events system. Hit a brick with the wrench and click "Events" at the bottom. Click each box to set that section of the event. I posted them in order, so, just click on the first gray box and select "OnActivate". This means, basically, "When you click on this brick...". Repeat for the rest of the boxes.

2. Any brick can be a button. If you want to, you can also download JVS switches, as they include interactive buttons, but you might want to wait until you get comfy with Blockland first.

So do u have to put anything in the brick button? and can it be any block or what?

Well i still dont quite get where u put the code in teh brick

So do u have to put anything in the brick button? and can it be any block or what?

1. You have to put the events on the button.
2. It can be any brick. It can even be a fence, if you really want it to be.

Well i still dont quite get where u put the code in teh brick

Step 1: Place a brick.
Step 2: Take out your wrench.
Step 3: Hit the brick with it.
Step 4: Look at the bottom of the brick options menu that pops up and click the "Events" button.
Step 5: Enter the events into the event menu by clicking on the gray boxes and selecting the option you would like.
Step 6: Click Send.

One last thing. i got it to fakekill the brick when i touched it but whihc one do i do like onplayertouch or whatever how do i get it to fakekill the brick when a car hits it or a brick hits it? which one do i choose?

brick hits it
Sadly, there is no 'OnBrichTouch' event.
car hits it
Someone made an event called 'OnVehicleTouch' but I don't know where that add-on is.
i got it to fakekill the brick when i touched it but whihc one do i do like onplayertouch
Yes, then you use 'OnPlayerTouch'.

I got it to work when i run into it with a car and i mastered it i think!