Difference between revisions of "Extensions:Character Transformations"

From Lorekeeper Wiki
Jump to navigation Jump to search
(make page)
Tag: 2017 source edit
 
(add desc)
Line 1: Line 1:
{{Extensioninfobox|title=the extension's name|desc=A short description|auth=Author(s)|status=status (such as WIP, testing, stable)|github={{Github|user=username|branch=branch}}|LKVer=What Lorekeeper version the ext is built on|migration=yes/no|package=yes/no}}
+
{{Extensioninfobox|title=Character Transformations|desc=Create alternate forms for characters to "swap" between|auth=CH3RVB (original code), Newt|status=stable|github={{Github|user=CH3RVB|branch=extensions/character-transformations}}|LKVer=2.1.1|migration=yes|package=no}}
<!-- Put a short summary of your extension here! -->
+
Allows the creation of "Transformations", special forms that characters can unlock. They display on profiles and can be added like subtypes.
 +
 
 +
Unlike subtypes, however, if a character has any valid image with a transformation associated with it, you will be able to switch between the character's "main" image and all of its alternate forms on its page.
 +
 
 +
Buttons have been added to the character images page to let users quickly create a design update for a transformation image if it has many alternate traits.
 +
 
 +
Thanks to Newt for adding the ajax tabs and generally editing this ext!
 
== Installation ==
 
== Installation ==
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. -->
+
<code>php artisan migrate</code>,<code>php artisan update-extension-tracker</code>,<code>php artisan optimize</code> after you edit the lang (see below)
 
== Configuration ==
 
== Configuration ==
<!-- Is any configuration necessary? Describe it here! -->
+
Includes a lang file + compatibility to easily reskin how you want the name for the extension to appear. This file easily lets you change the names of frontfacing parts of the extension, so you could change "Transformation" to "Alt" or something else simply by editing it.
 +
 
 +
You can find this file at <code>resources/lang/en/transformations.php</code> Please only edit the RIGHTMOST part of the code here, so <code>'transformation' => 'New Word',</code>. Thanks to Uri for the original idea/configuration guide!  
 
== Usage ==
 
== Usage ==
<!-- Is there anything users should know about using your extension? -->
+
 
 
== Troubleshooting ==
 
== Troubleshooting ==
<!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? -->
+
Due to the way the extension pulls for alternate images, things can get a bit wacky and can end up having multiple images in the character's image tabs. After a user submits and approves a design update with a transformation, be sure to mark the old one of that form as "invalid" so that it won't appear anymore.
 +
 
 +
Please contact me if you find any bugs!
 +
 
 +
i'm SUPERCOOL in the lk server!
 
== Images ==
 
== Images ==
<!-- Do you have any images to show what it looks like in action? -->
+
See it in action on my site with a few different character examples:
 +
 
 +
https://www.merlotarpg.com/character/RING-008
 +
https://www.merlotarpg.com/character/RING-004
 +
https://www.merlotarpg.com/character/MOTH-004
 
== See Also ==
 
== See Also ==
<!-- Any relevant other pages. You may consider linking to related extensions, for instance. -->
+
Support Newt!
  
 +
https://ko-fi.com/scuffednewt

Revision as of 15:17, 22 May 2023

Character Transformations
Description Create alternate forms for characters to "swap" between
Author(s) CH3RVB (original code), Newt
Status stable
Github extensions/character-transformations
LK Version 2.1.1
Contains a Migration






Allows the creation of "Transformations", special forms that characters can unlock. They display on profiles and can be added like subtypes.

Unlike subtypes, however, if a character has any valid image with a transformation associated with it, you will be able to switch between the character's "main" image and all of its alternate forms on its page.

Buttons have been added to the character images page to let users quickly create a design update for a transformation image if it has many alternate traits.

Thanks to Newt for adding the ajax tabs and generally editing this ext!

Installation

php artisan migrate,php artisan update-extension-tracker,php artisan optimize after you edit the lang (see below)

Configuration

Includes a lang file + compatibility to easily reskin how you want the name for the extension to appear. This file easily lets you change the names of frontfacing parts of the extension, so you could change "Transformation" to "Alt" or something else simply by editing it.

You can find this file at resources/lang/en/transformations.php Please only edit the RIGHTMOST part of the code here, so 'transformation' => 'New Word',. Thanks to Uri for the original idea/configuration guide!

Usage

Troubleshooting

Due to the way the extension pulls for alternate images, things can get a bit wacky and can end up having multiple images in the character's image tabs. After a user submits and approves a design update with a transformation, be sure to mark the old one of that form as "invalid" so that it won't appear anymore.

Please contact me if you find any bugs!

i'm SUPERCOOL in the lk server!

Images

See it in action on my site with a few different character examples:

https://www.merlotarpg.com/character/RING-008 https://www.merlotarpg.com/character/RING-004 https://www.merlotarpg.com/character/MOTH-004

See Also

Support Newt!

https://ko-fi.com/scuffednewt