XCOM 2
149 valoraciones
Random Weapon Name Button
   
Premio
Favoritos
Favorito
Quitar
Tamaño
Publicado el
Actualizado el
69.496 KB
28 FEB 2016 a las 7:52 p. m.
22 MAY 2016 a las 10:55 a. m.
9 notas sobre cambios ( ver )

Suscríbete para descargar
Random Weapon Name Button

En 1 colección creada por thades
Mods compatible with my mods.
70 artículos
Descripción
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 comentarios
Dragon32 22 AGO 2019 a las 10:05 a. m. 
@dmc32:
Add to the nickname list in XComGame.int

Those are per class.
dmc32 21 AGO 2019 a las 4:21 p. m. 
@thade, is there a way to add names to the list of generated names?
onestrongbow GocleCD 21 AGO 2019 a las 2:36 p. m. 
@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  [autor] 21 AGO 2019 a las 5:48 a. m. 
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 AGO 2019 a las 4:11 a. m. 
any way to make the new weapon nickname a colorfull one ?
Gleen Cross 19 OCT 2018 a las 5:28 p. m. 
Thank you mate =)
thades  [autor] 19 OCT 2018 a las 4:49 p. m. 
@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 OCT 2018 a las 4:39 p. m. 
@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  [autor] 19 OCT 2018 a las 7:47 a. m. 
Definitely still working for me with my metric ton of mods, @Gleen Cross. :( Sorry you've having trouble.
Gleen Cross 19 OCT 2018 a las 6:24 a. m. 
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 =/