XCOM 2
149 rating
Random Weapon Name Button
   
Penghargaan
Favorit
Difavoritkan
Batalkan favorit
Ukuran File
Diposting
Diperbarui
69.496 KB
28 Feb 2016 @ 7:52pm
22 Mei 2016 @ 10:55am
9 Catatan Perubahan ( lihat )

Berlangganan untuk mengunduh
Random Weapon Name Button

Dalam koleksi 1 dari thades
Mods compatible with my mods.
Item 70
Deskripsi
This mod seems to work for both vanilla and WOTC. Let me know if your experience is different.

Did you know that the game actually has code that generates random nicknames for weapons? Well, I attached a button to it.

This adds a single button to the top left of the Armory's weapon mod UI. I've never actually seen a weapon get a name in the game without my intervention before, but this code seems to work; if they left it out for a reason, maybe we'll all find out as we click this...but it seems to work for me! :)

Enjoy!

KNOWN COMPATIBILITIES

Thanks to steamuser /dev/null, this button now works with his Rename Secondary Weapons mod, as well as mods that add custom weapons (e.g. Yard1PL's models). Let me know if you run into any that don't work.

EXPERIMENTAL SUPPORT NOW IN FOR GRIMY'S LOOT MOD: Users have reported that Grimy's Loot Mod and mine run aground on one another; Grimy's wins and mine runs away. i'm hoping the patch I just pushed will address this.

KNOWN ISSUES AND BUGS.

It seems the button will not generate weapon nicknames for weapons held by Rookies (i.e. soldiers that don't have a class). This isn't the mod: this is because the game won't do it. I've added code that will disable the button when the game won't support it, just as I did for the Random Nickname Button.

If you click the button while in a submenu of the Weapons Modification screen (e.g. the color selector) the mod list will render *beneath* whatever submenu you're in. It looks a bit weird and is certainly a bug, but seems harmless. Hop out of the menu then back in to remedy it.

Sometimes the button takes a longer-than-reasonable moment to load in on the Weapons Mod screen. I've seen it take upwards of 1.5 seconds, which is a bummer, but it still works when it loads in.
94 Komentar
Dragon32 22 Agu 2019 @ 10:05am 
@dmc32:
Add to the nickname list in XComGame.int

Those are per class.
dmc32 21 Agu 2019 @ 4:21pm 
@thade, is there a way to add names to the list of generated names?
onestrongbow GocleCD 21 Agu 2019 @ 2:36pm 
@thade well i was thinking about the colors , something like puting an RBG code before generating a weapon name , so the weapon will have a RED name or blue (what ever) a bit like what we can see in grimy loot box u know , normal weapons have a green name , rare go with purple name and epic is gold .
thades  [pembuat] 21 Agu 2019 @ 5:48am 
Hi @onestrongbow! What do you mean? If you mean literally change the color of the letters, not without a LOT of work. If you mean "more interesting" Yes. As I recall, the weapon name gen uses the same name list as the class of soldier wielding it (or at least the one that would wield it in vanilla) so if you pull down new nickname lists or edit them yourself, you should see those pop up.
onestrongbow GocleCD 21 Agu 2019 @ 4:11am 
any way to make the new weapon nickname a colorfull one ?
Gleen Cross 19 Okt 2018 @ 5:28pm 
Thank you mate =)
thades  [pembuat] 19 Okt 2018 @ 4:49pm 
@Gleen Cross Ha! uuhhh I guess I can do that, it's kind of a lot. I'll set up a collection or something.
Gleen Cross 19 Okt 2018 @ 4:39pm 
@thade can you post your mod list? Sorry to bother, I am trying some combinations, but the game still crashes =/ It worked flawless some months ago
thades  [pembuat] 19 Okt 2018 @ 7:47am 
Definitely still working for me with my metric ton of mods, @Gleen Cross. :( Sorry you've having trouble.
Gleen Cross 19 Okt 2018 @ 6:24am 
I tried it out with a sniper, then again with a ranger... it did not worked. It's weird because I used this mod some months ago and it worked fine, I wonder if the recent updates broke the mod. But the mod is still working for you two, so the problem is on my end it seems. I will try the troubleshooting later, I'm getting constant ctds with this game =/