Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Breaking doors and litting candles
Author Message
Slegg Offline
Junior Member

Posts: 5
Joined: Mar 2011
Reputation: 0
Post: #1
Breaking doors and litting candles
Hey guys

I tried searching but failed - Im trying to make a door break (like the way grunt breaks it but instantly, not three hits) after a trigger and making a few candles not be lit.

Also, is there any way to make a grunt active without him doing his enabled sound?
03-24-2011 06:37 PM
Find all posts by this user Quote this message in a reply
Viperdream Offline
Member

Posts: 124
Joined: Jan 2011
Reputation: 0
Post: #2
RE: Breaking doors and litting candles
SetPropHealth("door_1", 1);

To make it break instantly.

Then you could add an area, and when the grunt enters it. He activates the script to set the lights off:
SetLampLit("candle_1", false);

03-24-2011 06:41 PM
Find all posts by this user Quote this message in a reply
Pandemoneus Offline
Senior Member

Posts: 328
Joined: Sep 2010
Reputation: 0
Post: #3
RE: Breaking doors and litting candles
Concerning the grunt sound:

Copy the entities\enemy\grunt\grunt.ent to your custom story folder using the same path and edit it. There are some self-explanatory options you can edit in there.

(This post was last modified: 03-24-2011 07:14 PM by Pandemoneus.)
03-24-2011 07:14 PM
Find all posts by this user Quote this message in a reply
Slegg Offline
Junior Member

Posts: 5
Joined: Mar 2011
Reputation: 0
Post: #4
RE: Breaking doors and litting candles
Great thats what i needed thanks for the help.
03-24-2011 07:42 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)