Description

A fix for when the faction's starter long guns do not show up in new game loadout fields.

Preview
[1.5.1-1.5.2] New game loadout fix
Post comment Comments
Senaattori89
Senaattori89 - - 207 comments

whats the fix? delete the last ",1"? some guns only seem to appear on the easiest economy mode if there is ,1 at the end

Reply Good karma Bad karma0 votes
jackbigwolf Author
jackbigwolf - - 7 comments

I may not be a programmer, but i also am not an idiot.

Guns that should appear on the easiest economy were not displayed on my screen for some reason (probably aspect ratio).

At first, i made a crutch (changed fal width to 4 cells) to test my hypothesis that both fields are only 4 cells wide, they were. I spent some time looking for actual way of fixing that and found it. I changed cell scale for inventory and loadout fields in "ui_mm_faction_select.script" and, suddenly, it worked!

So my findings were posted here as a fix for that specific problem.

Reply Good karma+5 votes
Rasc@l
Rasc@l - - 58 comments

This is not a bug…

Edit: I see, I stand corrected then, my apologies

Reply Good karma Bad karma+1 vote
KronQ
KronQ - - 278 comments

There is a bug that prevents weapons with grid width higher than 5 to not appear on the new game loadout screen. Doesn't affect vanilla game, but can affect loadout addons. This addon fixes that problem.

However for some reason the author claims 1.5.2 compatibility while lacking the 1.5.2 version of the modified script in the archive.

Reply Good karma Bad karma+4 votes
jackbigwolf Author
jackbigwolf - - 7 comments

Fella, thank you for reminding, i totally forgot.

Reply Good karma+2 votes
Harald_ino
Harald_ino - - 247 comments

Nice one! I did not even notice some weapons are missing in my loadout selections

Reply Good karma Bad karma+2 votes
蒙娜丽
蒙娜丽 - - 32 comments

This bring mp133 to the load out, but some guns like all ppsh variants, pp-19, cz skorpion evo still won't show up on my side. Their icon size do looks close though.

Reply Good karma Bad karma+1 vote
蒙娜丽
蒙娜丽 - - 32 comments

never mind. I found out that some weapons have different code name in in-game console and st_item_weapons file. I used wrong ones and I'm so ******. The mod works perfect now.

Reply Good karma Bad karma+2 votes
Ironwall
Ironwall - - 10 comments

Please if you ever have some time, look into making a compatibility patch for Warfare Alife Overhaul, Would be nice to be able to use this bug fix alongside that mod.

Reply Good karma Bad karma+2 votes
jackbigwolf Author
jackbigwolf - - 7 comments

OOF i will probably look into that that later, but, like, very much later.
Tho i will read through the code right now, I might have to prioritize other stuff in life.

Reply Good karma+1 vote
jackbigwolf Author
jackbigwolf - - 7 comments

Awaiting moderation.

Reply Good karma+1 vote
scottian3214
scottian3214 - - 19 comments

What specific lines in the file did you change?

I'm using a custom file and I'd like to use this mod alongside the custom one seamlessly.

Reply Good karma Bad karma+1 vote
jackbigwolf Author
jackbigwolf - - 7 comments

I literally went to "gamedata/scripts/ui_mm_faction_select.script" and changed "cc:SetGridSpecs(35, 2)" to cc:SetGridSpecs(28, 2)"

I think i should add it to mod description.

Reply Good karma+1 vote
Jhon_Doe
Jhon_Doe - - 25 comments

THIS IS A LIFE SAVER THANK YOU

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: