08-21-2012, 09:46 PM
Pages: 1 2
08-21-2012, 10:14 PM
Well, you could probably fake it with invisible ropes and out-of-view wheel entities, or create a prop animation. Otherwise, i doubt it.
08-21-2012, 10:22 PM
hmm Then I have to make ropes invisible by model editor...
I hope it will be different in hpl3.
I want to script, that the player takes a brick and destroy a window.
Otherwise he only jumps out.
I hope it will be different in hpl3.
I want to script, that the player takes a brick and destroy a window.
Otherwise he only jumps out.
08-21-2012, 10:31 PM
(08-21-2012, 10:22 PM)ooadrianoo Wrote: [ -> ]I want to script, that the player takes a brick and destroy a window.
That's different than what you were asking. This is can be done without a script. Certain entity types have the ability to "break" when an object with certain force is thrown at it.
08-21-2012, 10:37 PM
Entities -> obstacles -> mb_window_noglass
Entities -> Special -> mansionbase_large_window_breakable
Combine these two and you can break the window by throwing things at it. It might be that you have to use bigger items than a brick, for example a chair.
Entities -> Special -> mansionbase_large_window_breakable
Combine these two and you can break the window by throwing things at it. It might be that you have to use bigger items than a brick, for example a chair.
08-21-2012, 10:43 PM
This is not the problem, it should be completely scriptet.
(08-21-2012, 10:31 PM)Your Computer Wrote: [ -> ]But I don't want do this without a script.(08-21-2012, 10:22 PM)ooadrianoo Wrote: [ -> ]I want to script, that the player takes a brick and destroy a window.
That's different than what you were asking. This is can be done without a script. Certain entity types have the ability to "break" when an object with certain force is thrown at it.
08-22-2012, 12:05 AM
(08-21-2012, 10:43 PM)ooadrianoo Wrote: [ -> ]But I don't want do this without a script.
But if the player is supposed to do it, why not have the player do it?
08-22-2012, 07:56 PM
It will be done completely in a script! The player hasn't got any controls.
The brick should be take up in a script, but I see it, it is not possible.
(Sorry for my bad language, I am from germany)
The brick should be take up in a script, but I see it, it is not possible.
(Sorry for my bad language, I am from germany)
08-22-2012, 08:00 PM
How about:
*Standing in front of window*
SetPlayerActive(false);
Then put the brick on a blockbox.
Give the brick some AddPropForce
and remove the blockbox.
*Standing in front of window*
SetPlayerActive(false);
Then put the brick on a blockbox.
Give the brick some AddPropForce
and remove the blockbox.
08-22-2012, 08:01 PM
(08-21-2012, 10:43 PM)ooadrianoo Wrote: [ -> ]This is not the problem, it should be completely scriptet.This may seem hard for you, but without a script, it is a lot easier. Trust me.
(08-21-2012, 10:31 PM)Your Computer Wrote: [ -> ]But I don't want do this without a script.(08-21-2012, 10:22 PM)ooadrianoo Wrote: [ -> ]I want to script, that the player takes a brick and destroy a window.
That's different than what you were asking. This is can be done without a script. Certain entity types have the ability to "break" when an object with certain force is thrown at it.
But if you want to go for the script, then go for it! Nobody's holding you back.
Pages: 1 2