Left 4 Dead 2

Left 4 Dead 2

M72 LAW Rocket Launcher (Custom Weapon)
 This topic has been pinned, so it's probably important
Rectus  [developer] Jun 28, 2016 @ 5:16am
FAQ, Troubleshooting & Known Issues
FAQ

  • Does the LAW replace any weapon?
    No, it is a brand new weapon. It does however replace a few melee weapon spawns on each map.

  • Does the LAW work in single player?
    Yes

  • Does the LAW work in multiplayer?
    Yes, but every player and, if using one, the server, needs to have the add-on as sell as the Custom Weapon Base installed.

  • Does the LAW work on custom campaigns?
    No, the LAW would have to be added to each individual campaign in order to work.

  • How do you enable infinite ammo?
    Using the sv_infinite_ammo 1 console command (cheat).

  • What mods are incompatible with the LAW?
    Mods that alter gameplay by running scripts are incompatible. That includes tha Admin System and CS:S weapon unlockers. The LAW is compatible with other mods using the Custom Weapon Base. A special compatible CS:S weapon unlocker also exists.

  • How do I spawn the LAW from console?
    Use the command:
    give m72law


Troubleshooting guide
  • The LAW does not fire properly.
    This is likely caused by incompatibility with other mods. Disable other addons, especially conflicting ones. To fire, the button may need to be held in a short time.

  • The LAW does not spawn.
    Disable other addons featuring custom melee weapons. Make sure the Custom weapon Base is installed. Make sure you are not playing on a custom campaign/map.

Known issues and Limitations

  • The viewmodel complains about bone access.
  • Does not work with custom campaigns unless the campaign is modified to include it.
  • Incompatible with other addons that globally execute scripts.
Last edited by Rectus; May 12, 2017 @ 10:11am
< >
Showing 1-14 of 14 comments
It does not work when i have the admin system and the admin menu on.
Rectus  [developer] Jun 28, 2016 @ 12:19pm 
Yeah, unfortunately they are incompatible.
frookey Jul 4, 2016 @ 5:01pm 
Is there any way to get it to work with C:SS weapon spawns? Or am I screwed in that regard?
Rectus  [developer] Jul 5, 2016 @ 12:14am 
The only way would be to modify the system script to run both mods and repack it into both vpk files.
Ickleslimer Jul 8, 2016 @ 1:00pm 
Picked it up in the first saferoom on Dead Air. Switched to my shotgun to clear out some infected for some space before test-firing it. As soon as I reselected it it crashed my game. All other custom script weapons disabled.
Rectus  [developer] Jul 8, 2016 @ 1:28pm 
Thanks for reporting it. Not sure how much I can do about crashes, but I'll look into it.
Ickleslimer Jul 8, 2016 @ 2:15pm 
No worries. Maybe just try recreating it. Wasn't too long in, maybe 5 mins tops.
i cant get it to fire all the time, it will fire at points and at other times it just wont. i dont have any conflictions at all.
Rectus  [developer] May 28, 2017 @ 7:58am 
Somethimes the script doesn't seem to want to detect the button press. It might be worse if you have a low-end CPU, although I'm not sure. Holding down the button may help.
-Mr.Unknown- Aug 26, 2019 @ 7:47am 
Will your custom weapons work with your css weapon unlocker ?
Rectus  [developer] Aug 26, 2019 @ 8:53am 
Yes they will. The whole reason I made the unlocker was so there would be one compatible with the custom weapons.
The Djentleman Sep 29, 2020 @ 4:53pm 
I got an issue where all of your custom weapons work fine on startup, but if the survivors fail the level and it restarts, I get these errors in my console http://prntscr.com/uq8m77 and none of the custom weapons will work anymore until I restart the game. pretty confident I got rid of all other script addons and I disabled my sourcemods as well.
Rectus  [developer] Sep 30, 2020 @ 12:09am 
Thanks for the report, I'll check it out.
Rectus  [developer] Sep 30, 2020 @ 1:31am 
It should be fixed now.
< >
Showing 1-14 of 14 comments
Per page: 1530 50