Wolfpa
Junior Member
Posts: 14
Threads: 3
Joined: Aug 2013
Reputation:
0
|
How to make a breakable wall breake?
Hi guys, its me again.
When I published my first CS ( http://www.mediafire.com/?y851ola18vw9y03) the comments were not so bad but someone wrote I should make more complex maps so I started working on it.
I was trying to find a tutorial about how to make a breakable script, but nothing.So I saw someone write that the breakable wall is designed so when a object collides with the wall it should brake, and of course it didn't worked to me so pls help.
(This post was last modified: 08-26-2013, 12:58 PM by Wolfpa.)
|
|
08-26-2013, 12:57 PM |
|
Kullin
Member
Posts: 218
Threads: 23
Joined: May 2013
Reputation:
3
|
RE: How to make a breakable wall breake?
(08-26-2013, 12:57 PM)Wolfpa Wrote: Hi guys, its me again.
When I published my first CS (http://www.mediafire.com/?y851ola18vw9y03) the comments were not so bad but someone wrote I should make more complex maps so I started working on it.
I was trying to find a tutorial about how to make a breakable script, but nothing.So I saw someone write that the breakable wall is designed so when a object collides with the wall it should brake, and of course it didn't worked to me so pls help.
Im on my phone so I cant give the script right now!
But what you wanna do is make the script so when, for example a stone, hits the wall you want to set the wall entity inactive and then set the brooken wall active. With me so far?
Then you just add some particles and stones falling!
Do you understand?
|
|
08-26-2013, 02:04 PM |
|
summit
Senior Member
Posts: 273
Threads: 20
Joined: Jun 2013
Reputation:
7
|
RE: How to make a breakable wall breake?
(08-26-2013, 02:04 PM)Kullin Wrote: (08-26-2013, 12:57 PM)Wolfpa Wrote: Hi guys, its me again.
When I published my first CS (http://www.mediafire.com/?y851ola18vw9y03) the comments were not so bad but someone wrote I should make more complex maps so I started working on it.
I was trying to find a tutorial about how to make a breakable script, but nothing.So I saw someone write that the breakable wall is designed so when a object collides with the wall it should brake, and of course it didn't worked to me so pls help.
Im on my phone so I cant give the script right now!
But what you wanna do is make the script so when, for example a stone, hits the wall you want to set the wall entity inactive and then set the brooken wall active. With me so far?
Then you just add some particles and stones falling!
Do you understand? You are right, but when he broke it, he can give a sanity boost so this will be a good effect and make it realistic.
|
|
08-26-2013, 04:26 PM |
|
FlawlessHappiness
Posting Freak
Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation:
171
|
|
08-26-2013, 04:41 PM |
|
Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
|
RE: How to make a breakable wall breake?
GiveSanityBoostSmall is better for giving the puzzle accomplishment feeling.
|
|
08-26-2013, 06:12 PM |
|
FlawlessHappiness
Posting Freak
Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation:
171
|
RE: How to make a breakable wall breake?
Don't they work the same way, except you can choose the value yourself in one of them?
The effects will still play sanity isn't full already
Trying is the first step to success.
|
|
08-26-2013, 07:46 PM |
|
SilentStriker
Posting Freak
Posts: 950
Threads: 26
Joined: Jul 2011
Reputation:
43
|
RE: How to make a breakable wall breake?
SetPropHealth is easier. Also use GiveSanityBoostSmall
(This post was last modified: 08-26-2013, 09:45 PM by SilentStriker.)
|
|
08-26-2013, 09:41 PM |
|
Wolfpa
Junior Member
Posts: 14
Threads: 3
Joined: Aug 2013
Reputation:
0
|
RE: How to make a breakable wall breake?
Look guys what should I throw at the wall to brake?
Yes I know its a silly question but serious.With what!?
|
|
08-31-2013, 12:11 PM |
|
Kreekakon
Pick a god and pray!
Posts: 3,063
Threads: 70
Joined: Mar 2012
Reputation:
124
|
RE: How to make a breakable wall breake?
A rock? A chair? Anything you like really.
|
|
08-31-2013, 12:20 PM |
|
FlawlessHappiness
Posting Freak
Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation:
171
|
RE: How to make a breakable wall breake?
(08-31-2013, 12:20 PM)Kreekakon Wrote: A rock? A chair? Anything you like really.
Well, anything that is throwable. All entities that aren't static, as long as they're appearing in the script.
Trying is the first step to success.
|
|
08-31-2013, 01:20 PM |
|
|