Left 4 Dead 2

Left 4 Dead 2

Custom Scripted Weapons
179 kommentarer
Rectus  [skapare] 22 mar @ 16:20 
See the FAQ posts in the mod pages for troubleshooting tips.
SnowyTavera 22 mar @ 16:03 
no me aparce el mod enla workshop
Rectus  [skapare] 18 jan, 2022 @ 11:59 
Whoa, that's some dedication. Great job!
PöpThèséFøøls 18 jan, 2022 @ 11:55 
potat 13 jan, 2022 @ 0:56 
nvm its working now sorry
Rectus  [skapare] 12 jan, 2022 @ 0:14 
When the map loads, does it print the names of the custom weapons to console in blue text?
potat 11 jan, 2022 @ 22:48 
still not working :(
Rectus  [skapare] 11 jan, 2022 @ 2:02 
Make sure you are playing on a loncal server on an official map, and you don't have any other mods interfering.
potat 11 jan, 2022 @ 1:58 
i cant spawn all the wepons
it just says NULL Ent 'weapon_m72law' in GiveNamedItem! in the console
and also only the bow and the rocket launcher spawns the others do not
help pls thx
SupremeJustice63 25 dec, 2021 @ 13:26 
okay sorry
Rectus  [skapare] 25 dec, 2021 @ 13:24 
If it modifies melee weapons, it likely will not be possible.
SupremeJustice63 25 dec, 2021 @ 13:23 
ah

any idea if this mod could work around it?
Rectus  [skapare] 25 dec, 2021 @ 13:19 
No idea. Most conflicting mods add new melee weapons or modify them, so if it does that there is a big chance it will.
SupremeJustice63 25 dec, 2021 @ 13:16 
does this still conflict with Drop the treasure mod?
Rectus  [skapare] 24 dec, 2021 @ 2:40 
It should be fixed now.
Rectus  [skapare] 24 dec, 2021 @ 2:14 
Thanks, I'll fix it then.
PöpThèséFøøls 24 dec, 2021 @ 2:12 
It does, can't play survival mode: says "download add-on"
also by removing these excessive lines fixed laser pack spawn ability on DC
Rectus  [skapare] 24 dec, 2021 @ 2:11 
Heh, looks like I must have pasted an entire copy of the script in there. Luckily it's there in a way that still makes it parse correctly, and just adds extra keys the game doesn't do anything with. It doesn't seem to do any harm, so I don't think there is any point in releasing an update just to fix that.

Thanks for pointing it out though.
PöpThèséFøøls 24 dec, 2021 @ 1:57 
There's an error in campaign1.txt - https://imgur.com/a/0f9FQsB
PöpThèséFøøls 19 dec, 2021 @ 13:14 
actually you were right, the limit is probably 16, it's dead center won't load it for some reason...
Rectus  [skapare] 19 dec, 2021 @ 12:58 
Not at all, go ahead. Feel free to delete my weapons as well. I think I added a laser pistol entry I never finished.
PöpThèséFøøls 19 dec, 2021 @ 12:56 
do you mind if i upload my edited cwb? (your weapons are still in list, only l4d's are shortened)
Rectus  [skapare] 19 dec, 2021 @ 12:04 
It's possible. I had the impression it was 16, but haven't tested it myself.
PöpThèséFøøls 19 dec, 2021 @ 12:01 
ok I got it what's wrong.
it works on c2m1 becasue there's 14 melee weapons and laser pack comes 15th

so limit is 15 weapons?
Rectus  [skapare] 19 dec, 2021 @ 11:54 
Does running mission_reload in dev mode return any errors, and does the weapon show up in melee_dump_weapons?
PöpThèséFøøls 19 dec, 2021 @ 11:47 
yes, I even unloaded all mods beside cwb and packs
Rectus  [skapare] 19 dec, 2021 @ 11:43 
Your vscripts shouldn't matter at this stage, if they don't work, the weapon wil still spawn and work as a regular melee wepon. Have you verified that that it actuall loads the right mission file?
PöpThèséFøøls 19 dec, 2021 @ 11:40 
seems like there is something wrong

Registered custom weapon script custom_laser_pack
Registered custom weapon script custom_ammo_pack
weapon_melee_spawn specifying an invalid melee weapon ( for this campaign? ) : custom_laser_pack
weapon_melee_spawn failed to spawn a melee weapon - using string 'custom_laser_pack'

did I miss some line or wrote it incorrectly?
{
classname = "upgrade_spawn"
targetname = "laser"
origin = Vector(0, 0, 0)
angles = Vector(0, 0, 0)
spawnflags = 2
laser_sight = 1
upgradepack_incendiary = 0
upgradepack_explosive = 0
}
Rectus  [skapare] 19 dec, 2021 @ 11:31 
Do you have the stock version of the custom weapon base installed, or something else with mission files. It could be taking priority over your version.
PöpThèséFøøls 19 dec, 2021 @ 11:26 
compiled working models
custom_laser_pack .txt and .nut files with correct entity/model names
added line in scriptedmode_addon.nut in local weapons
added weapon in mission file

no idea what's wrong
Rectus  [skapare] 19 dec, 2021 @ 11:08 
That error suggests the issue is either with the mission file or the melee weapon script. Make sure that the game is loading the right mission file.
PöpThèséFøøls 19 dec, 2021 @ 10:26 
Even with less than 16 melee weapons in list it still won't see it with give command:

Attempted to create unknown entity type weapon_custom_laser_pack!
NULL Ent 'weapon_custom_laser_pack' in GiveNamedItem!
Rectus  [skapare] 19 dec, 2021 @ 0:51 
Yes, there is a limit of 16 melee weapons in a mission file if I remember right.
PöpThèséFøøls 18 dec, 2021 @ 16:14 
Is there a limit set for adding new weapons? Becasue I added one and controller won't see it.
Rectus  [skapare] 20 apr, 2020 @ 22:39 
The only way is to merge the conflicing scripts. There are a few mods around that do that with some of the popular script mods.
Banjo 20 apr, 2020 @ 22:18 
is there anyway of having this compatable with other script addons?
Rectus  [skapare] 7 mar, 2020 @ 2:32 
If they aren't firing, the scripts aren't running. Check for conflicting addons or try removing any other script mods.
turret_man 7 mar, 2020 @ 2:05 
how can get these weapon's ammo?
i was spawn the bow, it doesn't have arrow
and LAW was doesn't shoot the rocket
flamethrower doesn't have gauge bar
Music&Manga 26 feb, 2020 @ 14:39 
@rectus
I see then ok I understand thank you
Rectus  [skapare] 26 feb, 2020 @ 2:41 
It would be possible, but I'm not planning on adding the knife.
Music&Manga 26 feb, 2020 @ 2:16 
Ok I got one question for counter strike weapons and before that I just wanna say that these weapons including the barnacle guns look so amazing and should be official weapons (and for barnacle gun it should be like an Easter egg just saying) anyway back to the question and it might be dumb to ask but would you ever manage to get the counter strike knife? Like this is my honest question and I’m sorry if that was dumb to ask
Coochie Criminal 16 feb, 2020 @ 7:22 
Yeah I noticed it after I posted the comment sorry :p, love your mods keep it up please!
Rectus  [skapare] 16 feb, 2020 @ 0:48 
It does have limited ammo, check the gauge on it.
Coochie Criminal 15 feb, 2020 @ 19:22 
The flamethrower is op tho lmao, could you give it like a little bar like the chainsaw? I dont think anyone will miss the chainsaw if you just replace it with the flamethrower
Coochie Criminal 15 feb, 2020 @ 10:42 
Love this.
zhezhiMASTER 20 jan, 2020 @ 7:03 
Well,it's pretty good,but i had a strange feeling while playing it.The flamethrower and the SDL are too strong that they break the balance.
HHG#hoho8292011 16 jan, 2020 @ 14:04 
Can you make the sniper rifle which can shot a huge explosion? The sniper which can be charge and shot
Zaxel 27 nov, 2019 @ 9:25 
Where the gauss gun from HL1?
Flaming Oddball 7 nov, 2019 @ 19:17 
You guys gonna make a crossbow at some point ?
LaserEyedTreefrog 12 okt, 2019 @ 15:49 
how about like a med gun like from tf2