Caves of Qud

Caves of Qud

76 个评价
Appearance Change Wish
3
   
奖励
收藏
已收藏
取消收藏
Type: Cosmetic, Wish
Asset: Sprite
标签: Appearance, Wishes
文件大小
发表于
更新日期
18.123 KB
2020 年 5 月 7 日 上午 2:29
2023 年 7 月 16 日 上午 10:16
17 项改动说明 ( 查看 )

订阅以下载
Appearance Change Wish

在 Null_Error 的 1 个合集中
NullAllocationError's Wish Mods
2 件物品
描述
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://psteamcommunity.yuanyoumao.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)
112 条留言
Some Rando 9 月 2 日 下午 12:58 
Oh, thank you.
Null_Error  [作者] 9 月 2 日 上午 11:48 
Type just "looklike" and enter that as the wish, it'll open up a textbox where you can enter "Mechanimist Warden".
I changed it from being typed all in one go a while back for reasons I can't quite remember.
Some Rando 9 月 2 日 上午 6:36 
I have the mod activated but when type the wish: looklike Mechanimist Warden, it just spawns in a Warden of the Sanctum instead of changing my appearance. I assumed I would just type in the ID. Do I need to find the file path instead?
Null_Error  [作者] 7 月 24 日 下午 4:49 
@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  [作者] 7 月 24 日 下午 4:46 
@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 7 月 20 日 上午 10:01 
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  [作者] 7 月 18 日 上午 6:20 
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 7 月 17 日 下午 4:09 
I try and use the looklikeCustom wish and no matter what I do, it just turns my character into a white box
Null_Error  [作者] 2 月 9 日 上午 6:29 
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 2 月 9 日 上午 1:02 
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 ?