Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Mission and Weapons - Info Editor (1.26) [15-May-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 04-19-2023 , 15:24   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.19) [16-Dec-2022]
Reply With Quote #241

I don't see spread in the example config provided so maybe it doesn't work with this method, although lots of other keyvalues are missing too. I would suggest making a plugin using left4dhooks to modify spread, I remember it was working with that.
__________________
Silvers is offline
Fsky
Junior Member
Join Date: Mar 2023
Old 04-20-2023 , 08:55   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.19) [16-Dec-2022]
Reply With Quote #242

Yes, I noticed that l4d2_weapon_attributes can be modified via dhook,I modified with it and got these in the console,I modified it with this plugin and showed success in the console, but the game did not take effect, the funny is:When I uploaded the VPK while installing these two plugins, and carried the VPK into the game, the "spread" modification succeeded, and I felt that there was some setting on my server that blocked it.
Fsky is offline
choppledpickusfungus
Junior Member
Join Date: Dec 2022
Location: in a cardboard box
Old 04-21-2023 , 21:31   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.19) [16-Dec-2022]
Reply With Quote #243

Sorry for the late reply, but I found out how to change the viewmodels and such. The only issue I have now is editing the sound. I have it formatted as
PHP Code:
"SoundData/single_shot"    "Rifle.Fire"
"SoundData/shoot_incendiary"    "Rifle.FireIncendiary" 
but it still doesn't work.
choppledpickusfungus is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 04-23-2023 , 17:19   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.19) [16-Dec-2022]
Reply With Quote #244

Quote:
Originally Posted by choppledpickusfungus View Post
Sorry for the late reply, but I found out how to change the viewmodels and such. The only issue I have now is editing the sound. I have it formatted as
PHP Code:
"SoundData/single_shot"    "Rifle.Fire"
"SoundData/shoot_incendiary"    "Rifle.FireIncendiary" 
but it still doesn't work.
Guess you would need a plugin to replace the weapon sounds. Some things like this are probably client side only.
__________________
Silvers is offline
Fsky
Junior Member
Join Date: Mar 2023
Old 04-24-2023 , 06:30   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.19) [16-Dec-2022]
Reply With Quote #245

Hey silver, I found out after several modifications,The accuracy of the weapons on my server depends entirely on the first player to enter the server,even if I don't modify any data on the server, as long as that player modifies his "Spread" data, it can affect the entire server, Perhaps this is a bug from the server,Have you ever seen a similar error?

Last edited by Fsky; 04-24-2023 at 06:40.
Fsky is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 04-24-2023 , 15:04   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.19) [16-Dec-2022]
Reply With Quote #246

Quote:
Originally Posted by Fsky View Post
Hey silver, I found out after several modifications,The accuracy of the weapons on my server depends entirely on the first player to enter the server,even if I don't modify any data on the server, as long as that player modifies his "Spread" data, it can affect the entire server, Perhaps this is a bug from the server,Have you ever seen a similar error?
How are you modifying it? Both Info Editor and Left4DHooks methods are global, affecting all players, you would have to set it before each shot if you wanted it player specific.
__________________
Silvers is offline
Fsky
Junior Member
Join Date: Mar 2023
Old 04-25-2023 , 02:24   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.19) [16-Dec-2022]
Reply With Quote #247

It's my fault, I think I know why, it's just a visual effect, when you change the local "Spread", you get the corresponding shooting visual, which does not actually affect the bullet hit.
Fsky is offline
3ipKa
Member
Join Date: Jul 2013
Location: Western Siberia
Old 04-25-2023 , 06:33   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.19) [16-Dec-2022]
Reply With Quote #248

Quote:
Originally Posted by Fsky View Post
It's my fault, I think I know why, it's just a visual effect, when you change the local "Spread", you get the corresponding shooting visual, which does not actually affect the bullet hit.
If you change server side "spread" values, client will see impact decals as usual yet, as if nothing had changed, while in fact spread changed... To fix this, client and server both should have the modified script.
3ipKa is offline
z282846139
Member
Join Date: Aug 2018
Old 06-14-2023 , 00:50   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.19) [16-Dec-2022]
Reply With Quote #249

I want to report a bug, which makes my model wrong in some three-party maps, the details are as follows:
ALL my cfg is default, I just installed it and never changed them.

l4d_info_editor_mission.cfg
Spoiler


l4d_info_editor_weapons.cfg
Spoiler


MAP1
When I installed this plugin, the model of the third-party map will be lost
Please see the attachment for details: PIC1.
Map:https://steamcommunity.com/sharedfil...?id=2396847377.

Here are the melee weapons included in this map:
Code:
sm_info_melee
StringTable  1: [meleejb]
StringTable  2: [finger]
StringTable  3: [wrench]
StringTable  4: [chair]
StringTable  5: [onion]
StringTable  6: [caidao]
StringTable  7: [fireaxe]
StringTable  8: [frying_pan]
StringTable  9: [machete]
StringTable 10: [baseball_bat]
StringTable 11: [crowbar]
StringTable 12: [cricket_bat]
StringTable 13: [tonfa]
StringTable 14: [katana]
StringTable 15: [electric_guitar]
StringTable 16: [knife]
 
MissionData  1. meleejb
MissionData  2. finger
MissionData  3. wrench
MissionData  4. chair
MissionData  5. onion
MissionData  6. caidao
MissionData  7. fireaxe
MissionData  8. frying_pan
MissionData  9. machete
MissionData 10. baseball_bat
MissionData 11. crowbar
MissionData 12. cricket_bat
MissionData 13. tonfa
MissionData 14. katana
MissionData 15. electric_guitar
MissionData 16. knife
Total melee weapons: 16/16
And I can create them by other plugin:
Please see the attachment for details: PIC4.

And at the same time, the console of the client will frantically list errors like this:
Code:
Material models/error/new light1 has bad reference count -254 when being bound
Material models/error/new light1 has bad reference count -254 when being bound
Material models/error/new light1 has bad reference count -254 when being bound
Material models/error/new light1 has bad reference count -254 when being bound
Material models/error/new light1 has bad reference count -254 when being bound
Material models/error/new light1 has bad reference count -254 when being bound
Material models/error/new light1 has bad reference count -254 when being bound
Material models/error/new light1 has bad reference count -254 when being bound
Please see the attachment for details: PIC2.

MAP2
And when I play another third-party map, strange thing happened, I was able to generate another map's melee weapons which does not exist at all in this map.
Map:https://steamcommunity.com/sharedfil...?id=1817763184.

Please see the attachment for details: PIC3.

And when I create those melees, it comes out with ERROR model, and use the animation of their own map's animation.

Here are the melee weapons included in this map:
Code:
sm_info_melee
StringTable  1: [finger]
StringTable  2: [wrench]
StringTable  3: [chair]
StringTable  4: [pingpang]
StringTable  5: [caidao]
StringTable  6: [onion]
StringTable  7: [meleejb]
StringTable  8: [fireaxe]
StringTable  9: [frying_pan]
StringTable 10: [machete]
StringTable 11: [baseball_bat]
StringTable 12: [crowbar]
StringTable 13: [cricket_bat]
StringTable 14: [tonfa]
StringTable 15: [katana]
StringTable 16: [electric_guitar]
 
MissionData  1. finger
MissionData  2. wrench
MissionData  3. chair
MissionData  4. pingpang
MissionData  5. caidao
MissionData  6. onion
MissionData  7. meleejb
MissionData  8. fireaxe
MissionData  9. frying_pan
MissionData 10. machete
MissionData 11. baseball_bat
MissionData 12. crowbar
MissionData 13. cricket_bat
MissionData 14. tonfa
MissionData 15. katana
MissionData 16. electric_guitar
Total melee weapons: 16/16
Hope these could help you.
Attached Thumbnails
Click image for larger version

Name:	image-20230614114640892.jpg
Views:	111
Size:	103.6 KB
ID:	200935   Click image for larger version

Name:	image-20230614114753207.jpg
Views:	87
Size:	97.1 KB
ID:	200936   Click image for larger version

Name:	image-20230614115111483.jpg
Views:	89
Size:	100.3 KB
ID:	200937   Click image for larger version

Name:	QQ图片20230614121330.jpg
Views:	88
Size:	32.6 KB
ID:	200938  

Last edited by z282846139; 06-14-2023 at 00:58. Reason: Change the number of pictures above
z282846139 is offline
maclarens
Senior Member
Join Date: Jul 2020
Location: Kz
Old 06-14-2023 , 00:58   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.19) [16-Dec-2022]
Reply With Quote #250

i wanna say about bug 2, with this plugin after type in linux server console quit ,server not quit and crash..il check many times only Mission and Weapons - Info Editor (1.19) [16-Dec-2022] plugin, crash server l4d2

Last edited by maclarens; 06-15-2023 at 06:48.
maclarens is offline
Reply



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 01:33.


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