This is a thread for custom main characters for both mine (http://nifflas.lpchip.nl/index.php?topic=4253) and egomassive's (http://nifflas.lpchip.nl/index.php?topic=4175) mods.
Please post your characters. When you post characters here and don't tell otherwise, it is assumed that anyone is free to use and modify them as long as proper credit is given and the derivative work is non-profit and KS-related.
Archive with all characters for KS Ex. (https://www.dropbox.com/s/tiw5htf05850ana/Custom%20Characters.rar?dl=1) Let's assume you put them into "Custom Characters" subfolder in your level. Then to use a character you should press Ctrl+D in Level Editor Ex and put these two lines of code there:
dofile(WorldPath.."Custom Characters/manage.lua")
DefaultCharacter = "Knytt" (put character name instead of Knytt here)
You can change character on shift with a code like this:
function x1000y1000()
function events.ShiftA()
LoadCharacter("Knytt")
end
end
Again, substitute Knytt with the name of the character you want to use.
To use a custom character in KS+ download the sprite-sheet image you see and follow the instructions of KS+:
:hiddenstar: Add sprite sheets to Custom Objects folder.
:hiddenstar: Declare sprite sheets in world.ini as follows:
[Custom Character]
Image1=MySpriteSheet.png
Image2=AnotherCharacter.png
...
Image255=YetAnother.png
Note: The Image number doesn't matter, this section is just for caching.
:hiddenstar: Set the starting character in the [World] group.
[World]
Character=MySpriteSheet
Note: It's the name of your image file minus the ".png"
Note: Leave blank or write "Juni" to use the default character
Now you have a custom character, but if you want to change characters during play
:hiddenstar: Use Shifts to change the character.
[x1000y1000]
ShiftCharacter(A)=MySpriteSheet
Note: It's the name of your image file minus the ".png"
Note: Write "Juni" to switch to the default character.
Characters
Knytt
(https://www.dropbox.com/s/q7a85dax059qi1a/Knytt.png?dl=1)
Authors: Nifflas, egomassive, GrayFace
Used in: KS+ Features Demonstration, Ship Parts (http://nifflas.lpchip.nl/index.php?topic=4175).
Cat
(https://www.dropbox.com/s/9luxu7vwmxgyoyw/Cat.png?dl=1)
Authors: Firecat, GrayFace
UCat
(https://www.dropbox.com/s/8h2j5o8qby71tma/UCat.png?dl=1)
Author: Firecat
Specifically for Cat. Note that you can do without it in KS Ex, cat can wear normal umbrella there.
Ghost
(https://www.dropbox.com/s/vtsvm0odi6g6649/Ghost.png?dl=1)
Authors: Toenail, GrayFace
Used in: Toenail - The World is Changing (http://nifflas.lpchip.nl/index.php?topic=5273.0).
UGhost
(https://www.dropbox.com/s/xct8dorcjnj6qhr/UGhost.png?dl=1)
Authors: Toenail, GrayFace
Mario
(https://www.dropbox.com/s/a5xgwgmaovldyup/Mario.png?dl=1)
Authors: Nintendo, Toenail, GrayFace
(no attempts made to ask Nintendo's permission)
Mario1
(https://www.dropbox.com/s/idr1qjkdyhbar0m/Mario1.png?dl=1)
Authors: Nintendo, Toenail, GrayFace
(older version of Mario with a different falling animation)
Used in: Toenail - The World is Changing (http://nifflas.lpchip.nl/index.php?topic=5273.0).
Dragon
(https://www.dropbox.com/s/3ulk8d8uqz8vnox/Dragon.png?dl=1)
Authors: richtaur, Toenail, GrayFace
Used in: Toenail - The World is Changing (http://nifflas.lpchip.nl/index.php?topic=5273.0).
squareman
(https://www.dropbox.com/s/ixtxqqzoc2plbrp/squareman.png?dl=1)
Authors: Elpis, GrayFace
(I've no idea how to contact Elpis about permission)
Used in: Elpis - Squaremans Adventure (http://knyttlevels.com/levels/Elpis%20-%20Squaremans%20Adventure%28KS%20Ego%21%29.knytt.bin).
Otto
(https://www.dropbox.com/s/0klht3mtoh01lwl/Otto.png?dl=1)
Authors: Nifflas, Raicuparta, GrayFace
You are free to use it as you please, but please notify Raicuparta via PM if you do so.
Rabbit
(https://www.dropbox.com/s/vf4fgv73it6khpf/Rabbit.png?dl=1)
Authors: Nifflas, GrayFace
JuniOld
(https://www.dropbox.com/s/zs2u4kjtn7yazzi/JuniOld.png?dl=1)
Authors: Nifflas, Pumpkinbot, Plural, GrayFace
General Purpose Umbrellas
UParachute
(https://www.dropbox.com/s/nslotre7m3k0qgd/UParachute.png?dl=1)
Authors: Firecat, GrayFace
Now it's completely fair with my name written in gray.
Oh very cool, so the actual active area changes? for instance, if I made juni a pixel high, she could walk under three pixel tall ceilings?
Yes. Non-rectangle shape will also work, though who knows how adequate it would be in various situations.
Forgive me for going off topic a bit, but does this change how the player interacts with slopes?
If you cut 2 pixels at the bottom on the right and left sides of Juni she would climb steeper slopes.
Edit: Now I've also made a character :) I'm not satisfied with climbing animation...
That would be cool. :) Some of them do already. BTW, it's a good idea to put in levels that use the characters.
I've updated [https://www.dropbox.com/s/euyzbaoqdt4r3uo/Standard%20Frames.rar?dl=0]Standard Frames[/url] archive with Player Sounds folder. Now you can easily replace sounds for custom characters.
Edit: Another update. In KS Ex manage.lua handles character replacement now and replaces sounds automatically. Simply copy your versions of sound files from Player Sounds (in Standard Frames (https://www.dropbox.com/s/euyzbaoqdt4r3uo/Standard%20Frames.rar?dl=0)) into character folder and they would be used. Don't copy sounds that shouldn't be replaced.
I've also modified Mario character.
I've updated the links. Stupid Dropbox.
Thanks so much for looking into this! The archive links are fine, but the images still aren't working for me. I can only guess that Dropbox has disabled image hotlinking entirely?
Edit: Seems it's just some of my older devices that can't render the images and newer ones are fine. Carry on!