Raised This Month: $32 Target: $400
 8% 

[L4D & L4D2] Mission and Weapons - Info Editor (1.25) [25-Oct-2023]


Post New Thread Reply   
 
Thread Tools Display Modes
moekai
Member
Join Date: Jul 2019
Old 08-23-2019 , 10:56   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.1.1) [09-Jun-2019]
Reply With Quote #21

Quote:
Originally Posted by Silvers View Post
...
Thank you this is exactly what I was looking for.
moekai is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 08-23-2019 , 15:49   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.1.1) [09-Jun-2019]
Reply With Quote #22

Quote:
Originally Posted by GoGetSomeSleep View Post
Is there an incap weapons only version?
It would be nice if you could.
Quote:
// Incapped Weapons
// Uncomment the following to enable usage of weapons while incapped by changing "WeaponType" to "pistol"
"weapon_chainsaw"
{
"WeaponType" "pistol"
}
... etc
It's already provided, change the weapon classname, delete the rest of the config etc. You'll have to make the changes yourself, it's not hard and I don't have time. I have no idea what else this affects. This plugin is provided as is, you'll have to configure and the test.
__________________
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 08-25-2019 , 02:29   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.1.1) [09-Jun-2019]
Reply With Quote #23

Conflicts:
  • [EXTENSION] Melee Spawn Control is replaced by this plugin.
  • For maps with custom melee weapons, add a section for that map and add "meleeweapons" with the custom melee weapon classnames. See "helms_deep" for example.
  • Please provide map sections with custom "meleeweapons" and I will update the config to include.

Added this to the first post. If other maps have custom melee please send me the data and I will add so they're not blocked for everyone else.
__________________
Silvers is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 08-25-2019 , 14:26   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.1.1) [09-Jun-2019]
Reply With Quote #24

Plugin is causing segment fault issues for me. It was on Dark Carnival Remix and Haunted Forest.

https://crash.limetech.org/v3jrgl4b7rtm

Crash ID: V3JR-GL4B-7RTM
__________________

Last edited by Spirit_12; 08-25-2019 at 21:15.
Spirit_12 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 08-27-2019 , 07:41   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.1.1) [09-Jun-2019]
Reply With Quote #25

Quote:
Originally Posted by Spirit_12 View Post
Plugin is causing segment fault issues for me. It was on Dark Carnival Remix and Haunted Forest.
Could you upload or PM me the config (if you want to keep private) you're using please.

I have no idea why this would segfault, only thing I could think would be bad config data, something the games not liking.
__________________
Silvers is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 08-28-2019 , 02:13   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.1.1) [09-Jun-2019]
Reply With Quote #26

I know this for a fact that some of the map have bad mission files so that could be the prime culprit. Let me do some tests and I'll get back to you.
__________________
Spirit_12 is offline
hoanganh81097
Senior Member
Join Date: Apr 2016
Old 08-31-2019 , 03:48   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.1.1) [09-Jun-2019]
Reply With Quote #27

i cant use another weapon when incapped
hoanganh81097 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-17-2019 , 12:32   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.1.1) [09-Jun-2019]
Reply With Quote #28

Quote:
Originally Posted by hoanganh81097 View Post
i cant use another weapon when incapped
PHP Code:
// Incapped Weapons
// Uncomment the following to enable usage of weapons while incapped by changing "WeaponType" to "pistol"
/* 
Find this section and remove the /* to uncomment the lines enabling the function. It works for me.



Updated fixing a mistake left since testing.
__________________
Silvers is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 09-17-2019 , 17:02   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.2) [17-Sep-2019]
Reply With Quote #29

I done some tests and it seems that bad mission files were indeed the problem. I stripped the weapons function from the plugin and removed mission related code. It works as intended now and saved me a lot of time editing 100+ mission files.

Maybe split the plugin into two separate plugins wouldn't be a bad idea?
__________________
Spirit_12 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-17-2019 , 17:14   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.2) [17-Sep-2019]
Reply With Quote #30

Quote:
Originally Posted by Spirit_12 View Post
Maybe split the plugin into two separate plugins wouldn't be a bad idea?
Why? Both similar using similar functions. Would make lots of duped code etc. If it's the detour you're trying to optimize simply because you don't use it, well they only fire at round start so it's pointless removing. No.
__________________
Silvers is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode