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
1
Re: Func_breakable Problem
Posted by Orpheus on Thu Aug 25th at 12:34pm 2011

Orpheus
member
13860 posts
1547 snarkmarks
Registered: Aug 26th 2001
Location: Long Oklahoma - USA
Occupation: Long Haul Trucking
The best things in life, aren't things.
Posted by Orpheus on Thu Aug 25th at 12:34pm 2011
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 fact that it can be broke tells me its working. Try checking and lowering the damage it takes to break it.
Orpheus
member
13860 posts
1547 snarkmarks
Registered: Aug 26th 2001
Location: Long Oklahoma - USA

Occupation: Long Haul Trucking
The best things in life, aren't things.
Re: Func_breakable Problem
Posted by Necromancer on Fri Aug 26th at 12:45am 2011
Posted by Necromancer on Fri Aug 26th at 12:45am 2011
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.
Thanks.
Re: Func_breakable Problem
Posted by Condus Mundus on Wed Aug 31st at 10:16pm 2011

Condus Mundus
member
169 posts
118 snarkmarks
Registered: Apr 24th 2010
Location: Forty minutes south of Nowhere.
Occupation: Thinking up random profile details
Posted by Condus Mundus on Wed Aug 31st at 10:16pm 2011
Is the above stated "knife" an added in-weapon?
Condus Mundus
member
169 posts
118 snarkmarks
Registered: Apr 24th 2010
Location: Forty minutes south of Nowhere.
Occupation: Thinking up random profile details
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 at 3:28am 2011
Posted by Necromancer on Thu Sep 1st at 3:28am 2011
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 Condus Mundus on Thu Sep 1st at 1:32pm 2011
Ah, I must've missed that this was in OP4... Nevermind then.

Condus Mundus
member
169 posts
118 snarkmarks
Registered: Apr 24th 2010
Location: Forty minutes south of Nowhere.
Occupation: Thinking up random profile details
Posted by Condus Mundus on Thu Sep 1st at 1:32pm 2011
Quoting Necromancer
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.
Ah, I must've missed that this was in OP4... Nevermind then.
Condus Mundus
member
169 posts
118 snarkmarks
Registered: Apr 24th 2010
Location: Forty minutes south of Nowhere.
Occupation: Thinking up random profile details
Now remember kids. Asking questions is a good way to get censored by the government.
Re: Func_breakable Problem
Posted by Orpheus on Thu Sep 1st at 6:06pm 2011

Orpheus
member
13860 posts
1547 snarkmarks
Registered: Aug 26th 2001
Location: Long Oklahoma - USA
Occupation: Long Haul Trucking
The best things in life, aren't things.
Posted by Orpheus on Thu Sep 1st at 6:06pm 2011
Decompile an OP4 map and see how they did it.
Orpheus
member
13860 posts
1547 snarkmarks
Registered: Aug 26th 2001
Location: Long Oklahoma - USA

Occupation: Long Haul Trucking
The best things in life, aren't things.
Re: Func_breakable Problem
Posted by Necromancer on Fri Sep 2nd at 4:21am 2011
Posted by Necromancer on Fri Sep 2nd at 4:21am 2011
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.
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 Orpheus on Fri Sep 2nd at 12:18pm 2011

Orpheus
member
13860 posts
1547 snarkmarks
Registered: Aug 26th 2001
Location: Long Oklahoma - USA
Occupation: Long Haul Trucking
The best things in life, aren't things.
Posted by Orpheus on Fri Sep 2nd at 12:18pm 2011
You bet bud. 
Orpheus
member
13860 posts
1547 snarkmarks
Registered: Aug 26th 2001
Location: Long Oklahoma - USA

Occupation: Long Haul Trucking
The best things in life, aren't things.
Re: Func_breakable Problem
Posted by Condus Mundus on Fri Sep 2nd at 1:18pm 2011
Really? I gotta write that down.

Condus Mundus
member
169 posts
118 snarkmarks
Registered: Apr 24th 2010
Location: Forty minutes south of Nowhere.
Occupation: Thinking up random profile details
Posted by Condus Mundus on Fri Sep 2nd at 1:18pm 2011
Quoting Necromancer
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.
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.
Really? I gotta write that down.
Condus Mundus
member
169 posts
118 snarkmarks
Registered: Apr 24th 2010
Location: Forty minutes south of Nowhere.
Occupation: Thinking up random profile details
Now remember kids. Asking questions is a good way to get censored by the government.
Re: Func_breakable Problem
Posted by Necromancer on Sat Sep 10th at 3:37am 2011
Posted by Necromancer on Sat Sep 10th at 3:37am 2011
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.
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 at 5:00am 2011
Posted by Necromancer on Mon Sep 19th at 5:00am 2011
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.
1
© Snarkpit.net 2001 - 2023, about us, donate, contact
Snarkpit v6.1.0 created this page in 0.0155 seconds.

Snarkpit v6.1.0 created this page in 0.0155 seconds.

