Comments
Rectus 26 Jul @ 11:35am 
I'm glad you like it!
Dekaloss 26 Jul @ 10:56am 
gnome guardians is soo gooddd
devlos 25 May @ 11:53am 
thanks! :)
Rectus 25 May @ 8:06am 
Great work!
devlos 25 May @ 7:28am 
Kinda , i do manipulate some but i still had to code all the weapon logic myself just like you did for the custom weapon base. :d
Rectus 25 May @ 6:01am 
Oh, that's really neat. I'm guessing it works by manipulating the netprops of the regular weapon entities. I never thought of doing it that way.
devlos 25 May @ 5:37am 
Well i just released this , it's the mod. You can now add custom primary weapons without requiring melee_scripts , still a work in progress but it's based off your work rectus!
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3254000850
Jhoshua "Kanshi11" Wolfox 31 Mar @ 9:33am 
Ouch, that impossibility to reload would kill any weapons idea. It was worth a shot, you have been amazing at explaining, i just wish Left 4 Dead 2 would be more open ended on the weapons aspect of the game. Thank you for your time, i still remember how crazy it was back in the day when your mod was posted!
Rectus 31 Mar @ 9:10am 
Yeah, it's pretty much like you say. It should be possible to make the script auto-fire, but the more complicated the waepon, the harder it gets to sync up the scripted behavior with what the in-game part. I think it would be hard to make a precision gun that feels good to shoot in the first place, that's why I went with weapons that don't require that much accuracy to use. And yeah, the shotgun reload is just part of the firing animation. It will easily desync from the actual firing if you mess around with other actions while firing.
Jhoshua "Kanshi11" Wolfox 31 Mar @ 8:44am 
Ah i see, i see. Left 4 Dead 2 limitations at play here. I'm guessing there is no way to modify the firing state of the player for them being a masked melee weapon? I was curious about the weapons modifiers you have added inside the custom_shotgun.nut, you are saying it is entirely impossible to have a custom firearm with more than one shot? The auto-firing ♥♥♥♥♥♥♥♥♥♥♥♥ of a weapon does seem implemented inside Left 4 Dead core hexes as there was never any way to add or modify any weapon shooting method (single-shot, auto, sniper, ecc) I am also wondering and guessing the shotgun reloading function is part of the animation itself?
Rectus 31 Mar @ 8:17am 
The custom weapons are set up as additional melee weapons. All the actual weapon functionality has to be manually implemented in a VScript. Without the script, it just functions like an ordinary melee weapon. This means that you can not use the normal gun features already in the game, and weapon scripts do nothing.

With the shotgun, I have to detect when the player presses the fire button with the right weapon equipped, do ray-cats for the pellets, and damage anything the casts hit. There is no way to properly access or modify the firing state of the player, so it's very hard to guns well, especially auto fire. There is also no way of directly displaying the ammo count, so it's hard to have limited ammo without it being frustrating for the player. The bow and flamethrower display the ammo count by swapping out the entire viewmodel.
Jhoshua "Kanshi11" Wolfox 31 Mar @ 8:01am 
I am not ready to give up yet and before dwelling in all it's possibilities i've decided to ask you first, figured might as well do it!

I would like to ask you for a moment of your time, this could lead to a really interesting mod project, i would really love to have new secondary weapons in mine Rising Sun mod project as well, please let me know if you're interested in exploring your mod possibilities!
Jhoshua "Kanshi11" Wolfox 31 Mar @ 8:01am 
hello, i see it's been a while since you have posted any mod of your custom melee weapons, but i've decided to try a shot in the dark regardless. This is not a request but rather i would like to understand the way it works as i would like to plan adding different secondary fireweapons with different functionalities, first and before hand there is absolutely no way in hell to let the vscripts read new weapons files? Trying to port a weapon script inside the melee folder simply lead to a crash upon firing, altough the model was loaded correctly. I tried reading the custom_shotgun file but i could not find any string about weapons functionality, like a single-shot or auto-firing variation and no clip size options.
Rectus 31 Mar @ 6:15am 
Nope, sorry. Not accepting friend requests at the moment.
Sarubia NOP-03 31 Mar @ 6:12am 
Hello author, can I add you as a friend to exchange technology?
Rectus 3 Mar @ 6:44am 
<3
Eyli 3 Mar @ 5:47am 
Jag tyckem om din workshop! <3
Rectus 10 Feb @ 8:07am 
That sounds great. The system was really limited due to the features available at the time. At least with TLS there are a lot of new scripting features to work with now.
devlos 10 Feb @ 6:25am 
Alright. Tbh i always liked your work on this project. I think it never took off because of requiring still a hefty amount of vscript knowledge.

I hope we can make a difference in that department by adding on where you left off. It's a modified version where you can easily add any weapon you like by use off .cfg files inside the EMS folder.

We also added lots off new features that where orignally not implemented , i also kept all the compability for your original mods so they still work flawlessly with the modified custom base.
Rectus 10 Feb @ 6:16am 
Just mentioning it in the workshop page description should be enough.
devlos 10 Feb @ 6:07am 
So , i think i added you last time but the request seemed to be denied unfortunately. Someone commissioned me to improve upon your current weapon_base for personal and public use. Now i read the software agreement inside the vscript files but i was curious to what extend you wanted to be credited since this is originally your work.
Rectus 27 Jan @ 1:23pm 
Not easily. You would have to use the third party tool Source 2 Viewer to decompile the map files, but that still requires a ton of work to get the complete map back. https://valveresourceformat.github.io/
I'd recommend starting over.
Fox G∆MING/Nolan the Fox 27 Jan @ 11:01am 
Hey Rectus, I recently lost all my old world files for SteamVR. Is there a way I can extract mine from my workshop uploads?
Rectus 27 Jan @ 10:38am 
I guess that would be possible with a VScript. I haven't tried it though, so not sure. It's been a long time, so I can't really remember how everything works with the weapon entities. You would probably need to store all instances of weapon spawns on map load, and then periodically loop through the weapon spawns and delete any that weren't present at spawn.
Exempt ♥ 27 Jan @ 10:28am 
hi rectus! :p2cube: im trying to make a map for l4d2 and ive been trying to figure out how to remove all the weapons and items dropped on the floor, is there a vscript that would help me with that? or would i have to use vslib? i cant seem to find any discussions on it ;p ive heard vslib is easier to use for complex stuff but ive never used it before, im not good at scripting in the first place :(
Zaden 26 Jan @ 9:16am 
Alright.
I'll do that.
Rectus 25 Jan @ 11:58pm 
No thanks, credits in the description is enough.
Zaden 25 Jan @ 4:58pm 
We want to add you as a collaborator, since it is thanks to you that made the base to make this possible! :health:
Rectus 25 Jan @ 3:24pm 
Looks great, nice work!
Zaden 25 Jan @ 1:14pm 
Understandable, no worries.
I made it an unlisted YouTube; https://youtu.be/oV9oCyZIBIs

Your Custom Weapons Base is being used. What do you think? :D
Rectus 25 Jan @ 12:25am 
Sorry, I'm not really comfortable doing that.
Zaden 24 Jan @ 3:13pm 
Do you have a Discord or somewhere I can show you privately?
(Tell me through Steam or Twitter)
Zaden 24 Jan @ 3:09pm 
I want to show you a clip of it (don't want to say exactly what it is in public);
Lets say that we found a way to add a new type of weapon using your Custom Weapon Base, and we want to add you as a collaborator.
Rectus 24 Jan @ 2:08pm 
What is it?
Zaden 24 Jan @ 12:29pm 
I neeeeeeed to show you something!!!
Zaden 24 Jan @ 12:22pm 
@Rectus
HEY!!! HEY!!!
I have some exciting news I want to show you related to your Custom Weapon Base!! :health:
YOU'RE NOT OBAMA 16 Jan @ 9:15am 
Hi Rectus I have some problems with scripting, do you mind helping out a little bit? Here's a link https://gtm.steamproxy.vip/app/250820/discussions/4/6087244701384335283/
Thank You!
LittleGamer45 21 Dec, 2023 @ 9:09am 
i ate a door
kurochama 27 Nov, 2023 @ 9:44am 
Thanks a lot for your permission. I'll upload the modified homemade sentry turret soon.
Rectus 27 Nov, 2023 @ 9:09am 
You are welcome to upload any modified weapons as long as you give me credit. No need to add me as contibutor.
kurochama 27 Nov, 2023 @ 8:24am 
Hello, Mr. Rectus. I'm the same kurochama as one on gamemaps. As handmade sentry turret is one of my favourites, I'd like to ask for your permission to upload a modified handmade sentry turret that replaces baseball bat. If you give permission, I'd upload it & at the same time add you as the contributor, if you don't mind. Probably in the future I'd also help port some of your custom weapons as official melee (baseball bat) if you give permission. Your custom weapons have made L4D2 more fun. Have a nice day.
Lotvk 22 Nov, 2023 @ 7:58pm 
very cute aya pfp
xBrightShadows 31 Oct, 2023 @ 2:26pm 
Doing it with a console command worked, thanks!
Rectus 31 Oct, 2023 @ 4:38am 
Not sure if it is even possible to make a mod for alyx for it. IIRC it should be possible to do it with a single console command instead. I don't have any experience with it though.
xBrightShadows 31 Oct, 2023 @ 4:25am 
Hello Rectus!
I have developed a new type of omnidirectional treadmill for VR. I'm very excited that the tracking is finally working and with our emulator, we can walk and run in basically every VR game.

The problem is just that the maximum in-game speed is slower than the maximum real-world speed. So in order to solve this problem, we want to build mods for the most popular games, to change the maximum in-game speed.
Please send me a message, If you are interested in developing a Half Life Alyx mod for this purpose.
You can find me on Discord under marvinfachtner or send a mail to marvin@xelerate-vr.com.
YOU'RE NOT OBAMA 14 Sep, 2023 @ 4:05am 
Hey Rectus I need some help with soundscapes in SteamVR hammer, would you mind help me figure it out? here's the link to the discussion: https://gtm.steamproxy.vip/app/250820/discussions/0/5966762350803053132/
Rectus 4 Sep, 2023 @ 2:10pm 
It's not possible, since the custom weapons are technically melee weapons.
Grimmy 4 Sep, 2023 @ 1:31pm 
hey rectus, when u make a custom weapon is it possible to make it take a different slot like primary? i know theres scripts to make primary guns like the silenced smg into a secondary, so im curious if this is possible.
Rectus 26 Aug, 2023 @ 3:13pm 
Great to hear that you like it!
rh4xor 26 Aug, 2023 @ 3:10pm 
thank you for your beautiful map me and my friends liked it very much if you want we can play together on my own server when you are available (versus)