Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Enemies break doors faster
Storfigge Offline
Member

Posts: 101
Threads: 31
Joined: Sep 2012
Reputation: 0
#1
Enemies break doors faster

Yea I've been posting quite a lot recently Confused but I'm quite the noob on this but here's my problem.
How do I do so a grunt for example breaks a door in 1 or 2 hits? At the moment i think it takes them about 4 hits to break a door.

11-16-2012, 12:56 PM
Find
Unearthlybrutal Offline
Posting Freak

Posts: 775
Threads: 12
Joined: May 2011
Reputation: 26
#2
RE: Enemies break doors faster

Edit the monster's .ent file or make the door break with script.

When Life No Longer Exists
Full-conversion mod
11-16-2012, 01:22 PM
Website Find
Storfigge Offline
Member

Posts: 101
Threads: 31
Joined: Sep 2012
Reputation: 0
#3
RE: Enemies break doors faster

(11-16-2012, 01:22 PM)Unearthlybrutal Wrote: Edit the monster's .ent file or make the door break with script.
As I said I'm a noob at this. I don't know how to edit it with script.

11-16-2012, 01:24 PM
Find
Unearthlybrutal Offline
Posting Freak

Posts: 775
Threads: 12
Joined: May 2011
Reputation: 26
#4
RE: Enemies break doors faster

This will break the door:


SetPropHealth("your door name", 0);

When Life No Longer Exists
Full-conversion mod
(This post was last modified: 11-16-2012, 01:28 PM by Unearthlybrutal.)
11-16-2012, 01:27 PM
Website Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#5
RE: Enemies break doors faster

Copy the enemy into your custom story. Open the .ent file in model editor. Go to settings, and variables.
There you can find door breaking damage

Trying is the first step to success.
11-16-2012, 01:28 PM
Find
Kreekakon Offline
Pick a god and pray!

Posts: 3,063
Threads: 70
Joined: Mar 2012
Reputation: 124
#6
RE: Enemies break doors faster

The easiest way of course is to check how much damage the monster does, and use SetPropHealth to change the health of the door so that it will be destroyed in two hits.

[Image: Tv0YgQb.gif]
Image by BandyGrass
11-16-2012, 01:45 PM
Find
Mackiiboy Offline
Member

Posts: 101
Threads: 7
Joined: Jan 2012
Reputation: 11
#7
RE: Enemies break doors faster

1. Open ModelEditor
2. Press file -> Open, and open up servant_grunt.ent
3. Press Settings -> User defined variables
4. Scroll down till' you find BreakDoorAttackDamage

[Image: nhoxPQLOzivEaJ1RTThsdPujw.png]

5. Change the values to a desired amount, 100 would for example make the grunt break the door in one hit.
6. Save your enemy as a new one with a different name inside your custom story entities folder. (DO NOT OVERWRITE THE ORIGINAL FILE).
7. Done!
.
(11-16-2012, 12:56 PM)Storfigge Wrote: Yea I've been posting quite a lot recently Confused but I'm quite the noob on this but here's my problem.
How do I do so a grunt for example breaks a door in 1 or 2 hits? At the moment i think it takes them about 4 hits to break a door.
11-16-2012, 03:45 PM
Website Find
Storfigge Offline
Member

Posts: 101
Threads: 31
Joined: Sep 2012
Reputation: 0
#8
RE: Enemies break doors faster

Thank you really appreaciate the picture Big Grin

11-18-2012, 11:30 PM
Find
Storfigge Offline
Member

Posts: 101
Threads: 31
Joined: Sep 2012
Reputation: 0
#9
RE: Enemies break doors faster

If I send my custom story to someone will they automatically get my new model?

11-19-2012, 09:18 AM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#10
RE: Enemies break doors faster

If it is in [YOUR CUSTOM STORY]/entities/ -
then yes Wink It of course has to be inside your custom story folder for them to have it

Trying is the first step to success.
11-19-2012, 10:00 AM
Find




Users browsing this thread: 2 Guest(s)