Garry's Mod

Garry's Mod

Half-Life 2 Campaign w/ GMOD features
55 Comments
meierhans 14 Aug @ 7:22pm 
I am building on my server again. As now campaign mode works pretty ok for most of the part, I tried to implement Combine Suits and Pills, so people can also join the combine side in big battles. Sadly I can not get friendly fire working. It seems that the campaign addon has it hardcoded, so while I can collide with and also damage custom citizens and rebels, the basic npc_citizen based one are immune.

Here might be the explanation for this:
https://github.com/Facepunch/garrysmod-issues/issues/3324

I could live with collide on for these kind of maps.
meierhans 23 Jul @ 5:38pm 
but please note, that IP and port might change some day, yet you can always find it in server list under "Half Life 2 Campaign" gamemode. They even added the lambda symbol, just for us ! :steamhappy:
meierhans 23 Jul @ 5:36pm 
Hey, thanks for accepting friends request. And it is good news: The weapon sharing problem is gone! Thank you so much, finally all that I have been building up to the last 6 months makes sense. No more free, unwanted weapons cluttering slots. And no more selling these in the shop, making the whole (rubber) money earning thing useless.

Just played a small campaign on my own after resetting my "bank account" to default, and it really made me think twice before I fired an "expensive" weapon. It is limiting the resources to raise the fun I guess, the opposite of noclipping trough maps in godmode..

Gibhaus Lambda is now online 24/7 under:

45.142.112.200: 20311

You have mod there, let me know if you need more rights to test out things.
meierhans 19 Jul @ 4:59pm 
Wow, some companies could learn a bit from this ultra fast service when it comes to their customers.. :steamthumbsup::steamthumbsup::steamthumbsup:

I just restarted the server, it should have downloaded your updated version. I am right now connected to it, but would need a second player to verify that it works.

Also did send you a friend invite, just in case..

best!
icedchai  [author] 19 Jul @ 3:37pm 
If you could test it when the update comes out just really quick and let me know how it works that would be great. It'll only take a few minutes.
icedchai  [author] 19 Jul @ 3:35pm 
I would be interested in seeing this server, I might join it at some point because I enjoy campaigns. I'll update it and see if there is any complaints about it.

I will add another patch with a server variable at a later date if I ever figure it out, but at the current moment I think I'll just remove the code.
meierhans 19 Jul @ 3:13pm 
We run a modified server based on your plugin, you earn money (not real..) by killing, then you spend it to buy health, weapons and the like. The bug kills the complete concept.. multiple people even left the server because it was cluttering their weapon slots.
It seems as there is currently no way to directly link a server from here, but I guess that you will find it under the Half Life 2 Campaign gamemode.

It´s called Gibhaus Lambda, beside regular HL2 campaign (+ all [bugged] episodes), features a plethora of custom campaigns and coop maps, many connected via a transition addon. NPCs get replaced by a small chance using ANP replacer, no playtrough is the same.
In many maps we placed custom NPC´s to make it a challenge, even in Coop. Skill level is set to "regular spicy", can be changed to "habanero" if needed.
If you took the time to mod the original HL2 Campaign addon, you might like our sauce as well.
All the best!
meierhans 19 Jul @ 3:08pm 
OMG, actually did not expect you to answer. Very cool! Gmod just never dies!!
I looked into sh_init.lua, seems like line 140 is the cause:

139 -- Give them weapons they don't have
140 for _, ply2 in ipairs( player.GetAll() ) do

Could you just comment it out, and update the addon? I only heard complains about this feature, and after all, this is the version with spawn menu enabled, so if stuck one could simply spawn the weapon. And for the "purists" there is still the original version and Lambda Coop.
If you want to keep this in, and this is ok, I will dig into repacking GMA and uploading to workshop for sure. But I would rather gibb some combine to pieces in this time.. :steamhappy:
icedchai  [author] 18 Jul @ 5:14pm 
I'm not gonna be very fast to update because i hate working with addons. If you're wondering, the relevant code is located in sh_init.lua under the gamemodes folder.
icedchai  [author] 18 Jul @ 8:20am 
I'll see what I can do. I looked through the git and found what I believe to be the weapon sharing code.
meierhans 18 Jul @ 12:41am 
Is there ANY way to disable wepon sharing? Beside this, the addon is perfect, but this single "feature" destroys all the gameplay.

Do I really need to unpack this and fiddle with the code myself???
Mr. Bob 2 Jul @ 12:16pm 
Game mode still does not show though... No problems on garry's mod since I have hl2. ep1 & 2
icedchai  [author] 19 Jun @ 2:39pm 
Hey, do you have the original addon downloaded? If so, then you will need to disable that one before using this one. This is a modified version of that add-on, it is incompatible with the original.
13Liliya12 19 Jun @ 6:51am 
Hey, icedchai. I can't figure out how to open the spawn menu in the mode. I tried to rebind the key in the settings, but there was still a quick change of weapons. Can you explain to me how to do it correctly? // Я не могу понять как открыть спавн меню в режиме, объясни как правильно сделать.
animalisback01 6 Jun @ 5:11am 
For any unfortunate soul wondering how to play with your friends, here is your salvation:
To play with your friends, you need to find the button that (usually) says sandbox that is located in the down right corner and press on it. Then, find and press on the "half-life campaign" button. Then, you may play with your friends.

Disclaimer:
This mod will not work without buying the half-life 2, some cutsceens may not work and
killing /disturbing npc's may broke the proggretion. And if you want to save your game, i don't know how to do so
iLof 3 Jun @ 2:22pm 
Hi. I dont understand how to use the spawnmenu? this is the addon that is supposed to allow it, but it is still disabled? how do I fix this
icedchai  [author] 1 Apr @ 6:08pm 
Last time I tried, it did. That was several several months ago, though.
Ghoul_Hollow 1 Apr @ 5:18pm 
Does it work with 2 players?
icedchai  [author] 4 Mar @ 3:40pm 
I may have to investigate this
Mr. Bob 3 Mar @ 11:02pm 
The game mode does not display (like the campaign is not within the game mode or anywhere)
abobus256512 19 Feb @ 12:06am 
blarp
icedchai  [author] 9 Feb @ 12:45pm 
What thing won't pull up?
Phanny 8 Feb @ 9:38pm 
I tried using it but it won't work. The thing still won't pull up
icedchai  [author] 9 Jan @ 4:42pm 
Not in this add-on.
Hakurei Reimu 9 Jan @ 2:22am 
is there a way for it to only work for admin so no one can abuse the gmod functions?
icedchai  [author] 1 Jan @ 7:07pm 
no problem
Marisa Freeman 1 Jan @ 12:36pm 
oh nice it works, the player menu also works, thanks
icedchai  [author] 31 Dec, 2024 @ 9:14pm 
I removed the manual override for the quickswitch key. The code where it detects if you press Q and denies the spawn menu is gone. Try it.
Marisa Freeman 31 Dec, 2024 @ 6:24pm 
Yeah the spawn menu is also something i want to pull out, is there a spawnmenu command so that i can bind it? Cuz the menu key gets replaced by the quickswitch key.
icedchai  [author] 31 Dec, 2024 @ 3:56pm 
You have to use an alternative playermodel selector. This was mainly for the prop menu anyways.
Marisa Freeman 31 Dec, 2024 @ 12:46pm 
I can't make use of the gmod features despite only specifically activating this version. it still says playermodels are disabled
icedchai  [author] 30 Dec, 2024 @ 2:22pm 
click start game and go to half life 2 and find the map d1_trainstation_01
George Droyd 30 Dec, 2024 @ 1:48pm 
what does one do after selecting HL2 campaign?
icedchai  [author] 27 Dec, 2024 @ 1:06pm 
you run it by clicking "Sandbox" or "TTT" in the bottom right corner, and it will open a drop-down menu, where you can then select HL2 Campaign Addon.
Tillertheshark 27 Dec, 2024 @ 7:02am 
how tf do i even run this, its not in the "new game" menu option
VukaRedCross 21 Nov, 2024 @ 8:56am 
poop
icedchai  [author] 2 Nov, 2024 @ 4:30pm 
Consult the original developer, linked in my description.
[I'mThe] Scatman 2 Nov, 2024 @ 3:58pm 
Hello. When a friend and I are playing, any time one of us picks up a weapon the other person does not have, it forces said other player to spawn that weapon. Is there any way to disable that?
tdh42501 18 Oct, 2024 @ 11:58am 
@Fire Bones TFA weapon base sucks, try a weapon base that allows you to disable its HUD
Honokou 9 Oct, 2024 @ 3:22am 
there's small problem with the SWEPs (I tried TFA since I use this base one the most) and it's , whenever I pick a gun from a weapon base, my HUD automatically gets disabled till I drop the weapon. is there any fix?
SoulWolfPup07 6 Oct, 2024 @ 2:23pm 
thx
icedchai  [author] 6 Oct, 2024 @ 2:18pm 
Correction: the addon they add has the same name, so one will inevitably override the other. The original is not needed.
icedchai  [author] 6 Oct, 2024 @ 2:17pm 
This addon and the original are mutually exclusive, they take up the same addon slot. Subscribe to both, and enable only one at a time.
SoulWolfPup07 6 Oct, 2024 @ 1:14pm 
is the original addon needed for this one to work?
icedchai  [author] 1 Oct, 2024 @ 5:04pm 
click the bottom right corner labeled "Sandbox", and it should show Half-Life 2 Campaign. If that doesn't work, unsubscribe from this addon and subscribe to the original addon and see what happens.
That One WW2 Cat 1 Oct, 2024 @ 3:47pm 
this addon dose nothing
icedchai  [author] 28 Sep, 2024 @ 10:42pm 
do you have allow custom playermodels allowed in server variables?
The Funny One (Debatable) 28 Sep, 2024 @ 7:35pm 
I would use the Black Autumn Playermodel Selector, as a bandaid solution for now, Uncivil, you can use the playermodel menu with a console command
TheToucanman 27 Sep, 2024 @ 4:20pm 
it doesn't work even after death in singleplayer