Caves of Qud

Caves of Qud

70 ratings
Appearance Change Wish
3
   
Award
Favorite
Favorited
Unfavorite
Type: Cosmetic, Wish
Asset: Sprite
File Size
Posted
Updated
18.123 KB
7 May, 2020 @ 2:29am
16 Jul, 2023 @ 10:16am
17 Change Notes ( view )

Subscribe to download
Appearance Change Wish

In 1 collection by Null_Error
NullAllocationError's Wish Mods
2 items
Description
Adds a wish that lets you change your appearance to that of any object in the game. The code was partially based on NalathniDragon's now nonfunctional "Look Like Anything" mod: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1797254317.

The wish is "looklike", and will create a textbox when used, which will then accept the name of the object whose appearance you wish to copy. Player callings or castes are "Player" followed by the calling/caste name in CamelCase and with no spaces (e.g. "PlayerNomad").

Now supports both all of the preset build tiles (using the same format of "Player" followed by the name of the build, e.g. "PlayerDreamTortoise") as well as custom appearances or use of any unused or alternate sprites the game has; this includes some extremely ancient and odd looking sprites from before Qud got its current artstyle. Simply wish for "looklikeCustom" and input the path (e.g. "Creatures/sw_eater_5_flipped.bmp" for a base game Eater statue sprite) to your desired sprite.
When adding your own custom sprites, just make a folder in your game's Mods folder, add a Textures subfolder, and put the sprite you want to use in it, and you'll be able to simply input your sprite's name into looklikeCustom's textbox to see it in-game.

UPDATE: Now includes the long-requested ability to flip your tile, and you can do so both horizontally and vertically! Simply use "FlipTileH" or "FlipTileV" as inputs to looklike.
Further, you can now choose your sprite's colors with looklikeColor (this unfortunately uses text inputs, rather than a color picker, due to color pickers not being able to use certain colors (e.g. orange)). No more needing to spawn in tattoo guns at the start of a run!


TLDR: The following wishes are included:
"looklike" (takes the name of an in-game object; or "Player" followed by a CamelCase version of the name of a caste, calling or preset build; or "FlipTileH" or "FlipTileV")
"looklikeCustom" (takes a path to a sprite in a Textures folder from either the base game or a mod)
"looklikeColor" (opens two input boxes in sequence; each accepts one base-game color code)
109 Comments
Null_Error  [author] 24 Jul @ 4:49pm 
@Sokkxx After that, you can just use looklikeCustom to change to your new sprite by typing in itws name.

But in your case, you don't even need to add a tile, you can just look up where in the Astartes mod's 'Textures' folder the sprite you want is, and input the part of its path starting from that folder to looklikeCustom.
Null_Error  [author] 24 Jul @ 4:46pm 
@Sokkxx Yes. Just make a folder in your Mods folder (on Windows, this is \AppData\LocalLow\Freehold Games\Caves of Qud\Mods by default) with whatever name you want, make a folder called 'Textures' inside of that, and put whatever sprites you want to use in there. They do have to be the standard 16x24 size and in .png format, though.
Sokkxx 20 Jul @ 10:01am 
Is there any way to add your own tile? I've been trying to figure it out for a bit. I made a Space Marine tile I want to play as with the Astartes mod and I have all the CYF mods.
Null_Error  [author] 18 Jul @ 6:20am 
I'll have to see if anything changed recently. Could you please give an example of what input you tried to give it? Did you try it with the testaloe sprite included in this mod?
Nullcapella 17 Jul @ 4:09pm 
I try and use the looklikeCustom wish and no matter what I do, it just turns my character into a white box
Null_Error  [author] 9 Feb @ 6:29am 
I haven't experienced that one myself, so barring more information on when exactly that happens (including what other mods you may have active), I'll have a hard time fixing that.
Zanna 9 Feb @ 1:02am 
Great mod but for some reason when i use the charge skill my character color revert back to the original during the charge, is there a way around that ?
Null_Error  [author] 23 Jan @ 12:05pm 
@Bormac Yeah, unfortunately creatures aren't defined as "level 1 stats + level ups", they're made with manually-defined stats the devs consider appropriate for their intended threat type and area, and assigned a level with the same thought process.
Bormac 23 Jan @ 10:36am 
Thank you, that does work. I was hoping it would reduce their stats as well, would be kind of a curb stomp with 500 HP and 30+ in most stats alas. >..> I can reduce those too but not sure what a level one should have. But thank you this does work for me at least insofar as body swapping
Null_Error  [author] 23 Jan @ 1:27am 
@Bormac: You can just wish for the cherub's name, wish to swap with it, and then use the wish for stat modification (as described on the wiki: https://wiki.cavesofqud.com/wiki/Wishes) to de-level it and reduce your XP back to 0 ("stat:Level:-39" and "stat:XP:-960100" should be right, but I don't know the exact XP amount off the top of my head). That would make you exactly a cherub but at level 1.

Alternatively, you could use either the "rebuildbody" wish to change to a general body plan, or Limbsmith to change your body's anatomy to your exact liking, although that won't duplicate a cherub's heating or reflection abilities.