#how to do certain things with modding

9 messages · Page 1 of 1 (latest)

magic sapphire
#

i use steamodded + lovely and have that set up already
how do i:

  • change some text in game (i know there's a lua file in the .exe that has display text in it, but changing the contents of that does nothing for some reason, so i assume i have to do it with a mod)
  • make custom suits??? if that's even possible (custom card ranks as well)
vestal musk
#

I don't have a lot of experience with adding suits (i know that there's an api that aure (i think?) made for it), but changing in-game text isn't super difficult

#

what text do you want to change specifically?

magic sapphire
#

to start just text for the card descriptions (like "ace of spades" that kinda thing)
i found the text for that in game.lua in the exe file but apparently you can't just edit it from there

oblique gazelle
#

Custom suits and ranks are easily possible with my playing card API. I have yet to actually make docs for it explaining everything, but looking at the code for it should give you a good enough idea of what you need to do

#

as for changing text, the object that all of these get loaded into is G.localization, so you can change whatever values you want from it by just assigning to that

vestal musk
#

for card descriptions specifically, you need to assign new values to G.localization.misc.ranks.[whatever the rank is] (i think)?

oblique gazelle
#

playing card loc text isn't specific per card, so you would have to also dig into the code for loading that if you wanted to change 'Ace of Spades' specifically into something else

#

misc.ranks works for changing the display name of a rank, sure