Re: Func_breakable Problem
Posted by Necromancer on
Thu Aug 25th 2011 at 5:26am
392 posts
1499 snarkmarks
Registered:
May 5th 2008
I am currently making a mod. And in one of the levels there are some air duct vents that you can break and go inside. Whenever I test play the levels running through hammer the func_breakables work perfectly. But for some reason when I run the mod through the custom games menu the func_breakables can only be destroyed by bullets and no matter how many times I hit it with the knife it never breaks. The mod has been working fine and everythig is set up properly so I'm not sure what the issue is.
As I said before though it works like it is supposed to when running it through Hammer.
Thanks for the help
Re: Func_breakable Problem
Posted by Orpheus on
Thu Aug 25th 2011 at 12:34pm
Posted
2011-08-25 12:34pm
Orpheus
member
13860 posts
2024 snarkmarks
Registered:
Aug 26th 2001
Occupation: Long Haul Trucking
Location: Long Oklahoma - USA
If it breaks with bullets and nothing else it sounds like the damage (or whatever the setting is called) is way high.
The fact that it can be broke tells me its working. Try checking and lowering the damage it takes to break it.
The best things in life, aren't things.
Re: Func_breakable Problem
Posted by Necromancer on
Fri Aug 26th 2011 at 12:45am
Posted
2011-08-26 12:45am
392 posts
1499 snarkmarks
Registered:
May 5th 2008
Thanks for the idea. But the damage is set to "1" and it does break with a knife when I play through hammer but it only breaks by bullets when I play through custom games in half-life,(which is what I want.) So if you have any ideas how to solve this issue while playing the level through custom games then please let me know.
Thanks.
Re: Func_breakable Problem
Posted by Condus Mundus on
Wed Aug 31st 2011 at 10:16pm
Posted
2011-08-31 10:16pm
169 posts
118 snarkmarks
Registered:
Apr 24th 2010
Occupation: Thinking up random profile details
Location: Forty minutes south of Nowhere.
Is the above stated "knife" an added in-weapon?
Now remember kids. Asking questions is a good way to get censored by the government.
Re: Func_breakable Problem
Posted by Necromancer on
Thu Sep 1st 2011 at 3:28am
392 posts
1499 snarkmarks
Registered:
May 5th 2008
No. The "knife" is the standard weapon entity used by Opposing Force. So I am not sure what the issue is. It only has this problem when played outside of Hammer.
Re: Func_breakable Problem
Posted by Orpheus on
Thu Sep 1st 2011 at 6:06pm
Orpheus
member
13860 posts
2024 snarkmarks
Registered:
Aug 26th 2001
Occupation: Long Haul Trucking
Location: Long Oklahoma - USA
Decompile an OP4 map and see how they did it.
The best things in life, aren't things.
Re: Func_breakable Problem
Posted by Necromancer on
Fri Sep 2nd 2011 at 4:21am
392 posts
1499 snarkmarks
Registered:
May 5th 2008
I just looked at an OP4 map and I discovered that if the flag for instant crowbar is checked then the knife does work.
However, it breaks instantly even if the damage is set higher.
But I will still take this over the prior. Thanks for the idea, it definitely helped a lot.
Re: Func_breakable Problem
Posted by Necromancer on
Sat Sep 10th 2011 at 3:37am
392 posts
1499 snarkmarks
Registered:
May 5th 2008
This issue needs some more work again. Although checking the flag: instant crowbar did mostly solve the func_break problem, the real problem that I discovered is actually much more serious and threatening than I anticipated.
The func_breakable was not the problem at all. For instance the crowbar works fine. The real problem is that for some reason Opposing Force Weapons do not work in my mod. (Except on opposing force monsters) I tried looking at every file in the opposing force directory and copying them into mine but still no luck.
This is where it gets really detrimental: Opposing Force weapons, such as the knife and other guns, such as eagle, or anything else, can ONLY kill Opposing Force Monsters and not regular Half-Life monsters. However, regular HL weapons can kill both HL and Opposing force monsters. I really would like to use both opposing force weapons and HL weapons in this mod. So any help would be very appreciated!
It seems like there is some file or something that is missing from my mod directory but as I said before I already checked and I cannot find anything that seems like it could fix this.
Thanks.
Re: Func_breakable Problem
Posted by Necromancer on
Mon Sep 19th 2011 at 5:00am
392 posts
1499 snarkmarks
Registered:
May 5th 2008
I think I finally discovered the real problem. I needed the skillop.cfg file and I finally found it. I haven't actually tried it out yet, but it makes since. The cfg defines weapon damage and monster HP values so I assume that is what the issue was. The weapons had no damage! Thanks for your support.