Half-Life 2

Half-Life 2

Infinite ammo
댓글 33
Longkiff 2025년 4월 10일 오후 2시 57분 
@golder use sv_cheats 1 and then put sv_infinite_aux 1
Golder95ⓦ 2025년 1월 25일 오후 8시 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 2025년 1월 15일 오후 6시 05분 
how use it?
Apple Guy 2025년 1월 14일 오후 1시 46분 
thx 4 this, now i can feel even more satisfied using custom weapon models:steamthumbsup:
Winter Rose  [작성자] 2025년 1월 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 2025년 1월 2일 오전 2시 38분 
This is not work and i dont have mods that may conflict
Winter Rose  [작성자] 2024년 12월 28일 오후 2시 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 2024년 12월 28일 오전 9시 19분 
I do not have any SMG grenades after I download this.
Xtreme_Shoot 2024년 12월 24일 오후 12시 07분 
just off the limits!
Winter Rose  [작성자] 2024년 12월 2일 오후 5시 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 2024년 12월 2일 오후 3시 06분 
@Winter am i able to use the mod without Multi-Script
Winter Rose  [작성자] 2024년 12월 2일 오후 2시 51분 
@Skarbrand What do you mean?
Skarbrand the Exiled 2024년 12월 2일 오후 2시 44분 
can i use this without the script?
Unknown_404 2024년 12월 1일 오전 4시 28분 
:dealerrizz:
Snowé 2024년 11월 30일 오전 12시 04분 
:GooglyEye::GooglyEye:
Neckro_Agent931 PL ATP 2024년 11월 25일 오전 9시 43분 
;-;
Winter Rose  [작성자] 2024년 11월 24일 오후 8시 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 2024년 11월 24일 오후 5시 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 2024년 11월 22일 오후 9시 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 2024년 11월 22일 오전 7시 01분 
thanks lad saw your old post can wait to have some fun
Kanelakis 2024년 11월 20일 오전 8시 37분 
ok thx.
Winter Rose  [작성자] 2024년 11월 20일 오전 8시 06분 
By start a game I mean actually in campaign-
Winter Rose  [작성자] 2024년 11월 20일 오전 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 2024년 11월 20일 오전 3시 07분 
Hi,can do a mod Infinite Aux Power?
bomba15899 2024년 11월 19일 오전 9시 05분 
peak mod
Copper Boltwire 2024년 11월 19일 오전 7시 18분 
It's fine. Felt like 'yammering' myself ;)
Winter Rose  [작성자] 2024년 11월 19일 오전 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 2024년 11월 19일 오전 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  [작성자] 2024년 11월 18일 오후 9시 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 2024년 11월 18일 오후 5시 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  [작성자] 2024년 11월 18일 오후 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 2024년 11월 18일 오후 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) 2024년 11월 18일 오전 10시 27분 
if someones lazy and hates no ammo, then this is the best mod for em