Half-Life 2
Infinite ammo
Комментариев: 33
Longkiff 10 апр в 14:57 
@golder use sv_cheats 1 and then put sv_infinite_aux 1
Golder95ⓦ 25 янв в 20:41 
To have it complete the only thing missing would be to have infinite stamina, It's really annoying to see how that bar always goes down, despite having everything "infinite"
Matheus_dcac 15 янв в 18:05 
how use it?
Apple Guy 14 янв в 13:46 
thx 4 this, now i can feel even more satisfied using custom weapon models:steamthumbsup:
Winter Rose  [создатель] 2 янв в 3:08 
@fixerxd Did you make sure you have the required Script Multiloader addon?

There's really not much I can do other than point to that
anything that conflicts with the multiloader will by extension conflict with this
And as I told the other person a few days ago, there are other mods that also use multiloader that could/do edit the same commands this does and would end up overwriting this addon
fixcerxd 2 янв в 2:38 
This is not work and i dont have mods that may conflict
Winter Rose  [создатель] 28 дек. 2024 г. в 14:21 
@domuzk Sounds like you may have another addon subbed to that conflicts with this one. I do know there are a couple mods on the script multiloader's list that have slot ids greater than this one and thus are loaded after, that probably change the max ammo values
snonge 28 дек. 2024 г. в 9:19 
I do not have any SMG grenades after I download this.
Xtreme_Shoot 24 дек. 2024 г. в 12:07 
just off the limits!
Winter Rose  [создатель] 2 дек. 2024 г. в 17:44 
Oh
Well, no, because multiloader makes use of its own skill_manifest file to help load the addons that depend on it
Won't load automatically otherwise, without the manifest file calling on it

The requirement is so this can be compatible with other mods. There's plenty of good or interesting ones out there that also use multiloader, so this way it'd be possible to use most of them at the same time

Half Life 2's workshop unfortunately isn't like Garry's Mod where you can just load up whatever, it's more like file replacements, just more convenient.
Skarbrand the Exiled 2 дек. 2024 г. в 15:06 
@Winter am i able to use the mod without Multi-Script
Winter Rose  [создатель] 2 дек. 2024 г. в 14:51 
@Skarbrand What do you mean?
Skarbrand the Exiled 2 дек. 2024 г. в 14:44 
can i use this without the script?
Unknown_404 1 дек. 2024 г. в 4:28 
:dealerrizz:
Snowé 30 ноя. 2024 г. в 0:04 
:GooglyEye::GooglyEye:
Neckro_Agent931 PL ATP 25 ноя. 2024 г. в 9:43 
;-;
Winter Rose  [создатель] 24 ноя. 2024 г. в 20:28 
@Neckro I don't think that is possible unfortunately, far as I'd be aware of. Your best bet would be a mod that sets the ammo limit ridiculously high, which I know there is one on the workshop that also relies on Script Multiloader
Neckro_Agent931 PL ATP 24 ноя. 2024 г. в 17:58 
i wonder tho.. would you make the mod that ELIMINATES, the ammo limit? so you can just pick up ammo boxes all the time?
Kriegsmen 22 ноя. 2024 г. в 21:55 
Had to use this sadly for the mission where you in episode two where you had to fend of the striders holy so many i ran out of ammo to kill the hunters thank you
panbot72 22 ноя. 2024 г. в 7:01 
thanks lad saw your old post can wait to have some fun
Kanelakis 20 ноя. 2024 г. в 8:37 
ok thx.
Winter Rose  [создатель] 20 ноя. 2024 г. в 8:06 
By start a game I mean actually in campaign-
Winter Rose  [создатель] 20 ноя. 2024 г. в 8:05 
@Kanelakis You can just write sv_infinite_aux_power 1 in console when in game, or put it in the game.cfg file so it's ran automatically when you start a game. Even though it's labelled a cheat, it still runs without sv_cheats. Though turning cheats off after they've been on will turn off infinite aux with it
Kanelakis 20 ноя. 2024 г. в 3:07 
Hi,can do a mod Infinite Aux Power?
bomba15899 19 ноя. 2024 г. в 9:05 
peak mod
Copper Boltwire 19 ноя. 2024 г. в 7:18 
It's fine. Felt like 'yammering' myself ;)
Winter Rose  [создатель] 19 ноя. 2024 г. в 5:35 
Maybe. Still I try to bring attention to it where I can to remedy that.
Either way, thanks for humoring me yammer about some random integer value used by the source engine lol.
Copper Boltwire 19 ноя. 2024 г. в 3:57 
Well, it's easy to over look because it's relatively unusual.
Most other games uses -1 as inf ammo, but source uses -2 for some weird reason.
It's rare that people will even experiment and even try -2 out of frustration or something.
As far as i can recall, Source games are the only ones that uses -2. So that could be the reason?
Winter Rose  [создатель] 18 ноя. 2024 г. в 21:32 
Unfortunately that would be difficult to confirm by any means. But that being said, I wouldn't be surprised if the code was in the engine since half life 2's development to make testing certain things easier.

Just a shame that these days this method of infinite ammo seems to be relatively overlooked by most, from what I'd seen. What with everyone using workarounds like givecurrentammo or impulse 101.. to changing 'bullet' types in weapon txt files in left 4 dead games, though I can understand l4d1's case since the sk ammo commands are locked down
Copper Boltwire 18 ноя. 2024 г. в 17:14 
If i remember, Gmod came out before l4d, and it had unlimited ammo (aka sk_max_<ammo> -2)
back in v0.4a if memory serves me right.
It was reverted back in v0.6a due to demand and instead, you were given a toggle option console command you could call before starting or loading a map. Things have been more streamlined these days.
Winter Rose  [создатель] 18 ноя. 2024 г. в 12:43 
@Copper Boltwire
Correct. And the dependency of the script multiloader boils down to the fact the skill_manifest is run every time you change maps. So outside of editing the skill cfg itself, not taking advantage of the manifest means the values would otherwise be reverted amid a transition.

The value -2 is a funny story though. Simply put, it's hardcoded in the engine, and I noticed the value back in 2016 when looking into mods with Left 4 Dead 2. I can't be certain if it was like that back in 2004, but the code certainly had to have existed since the first Left 4 Dead
Copper Boltwire 18 ноя. 2024 г. в 12:00 
So basically it's just a bunch of SK commands, like
sk_max_<ammo> -2
But run at the start of the game via "scripts" or in this case, just CFG commands.
Soggy Cat (real) 18 ноя. 2024 г. в 10:27 
if someones lazy and hates no ammo, then this is the best mod for em