Jump to content

Modding Tools

8 files

  1. Fix modded player characters missing from new-u selection on existing saves

    Most new player character mods seem to have a passage like below. Without changes they won't appear as an option  in new-u when you load a pre-existing savegame.
    :: core character add lulu [initialize init_new] (unless:$core_chars contains "lulu")[(set:$core_chars to it + (a:"lulu"))]
    As a fix the below lines could be added to the above.
    (unless:$available_dna contains "lulu")[(set:$available_dna to it + (a:"lulu"))] (unless:$character_list contains "lulu")[(set:$character_list to it + (a:"lulu"))]  
    Alternatively, this mod fixes the issue for all modded in player characters that use the same "core  character add ______" passage. Examples include Lulu, Casey & Tiffany.
     

    1,008 downloads

    Updated

  2. Inventory Rebuilder: Mod Uninstall Utility

    WARNING: THIS DOES NOT WORK OUT OF THE BOX.  YOU NEED TO EDIT IT TO SUIT YOUR NEEDS.
    Have you uninstalled a mod that added pills and now you're stuck with unusable things in your inventory?
    I've got the mod for you!
    Inventory Rebuilder is a utility mod designed to tear apart your Pill Inventory, remove/replace the old pills, and stitch it back together.
     
    How to use:
    1: Load up the save file in question.
    2: Use the debug console (opened with ~`), type in $pill_inventory and press enter.
    This will bring up a table of your Pill Inventory, separated into the Pill Names, and the amount you have.
    3: Take note of the pills you want removed.  Ensure you copy them exactly as they are shown in the table, including capitalization and spelling.
     
    4: Open Inventory Rebuilder.twee
    You can use Visual Studio Code, Notepad++, or (if you have nothing else) Notepad.
     
    Edit the mod to insert what you want.  There are comments in it to help describe it, or see what's in the spoiler if you want the full explanation.
     
     
    5: Save your work!
    6: Load the edited Inventory Rebuilder.twee with the mod loader.
    7: Load up the game, load your save.
    8: Success! (Hopefully)
    9: (Optional) disable Inventory Rebuilder.  Unless you have more saves to strip.
     
     
     
    Are you a Mod Author looking to rename your pills?  See the Code in the Spoiler below for a version update script that works the same way!
     
     

    81 downloads

    Updated

  3. [XCL] Unofficial Modding Tools

    ** DISCLAIMER ** - This is now being hosted at https://x-change.life/modding/tools.html. All future revisions will be posted there. If you downloaded a copy of this originally DO NOT USE IT. It has bugs. Bugs that have been fixed and posted on the hosted site.   ------------------------------------------------

    Welcome to the **X-Change Life Unofficial Modding Tools**!   This is a suite of tools to create and customize content for the game, with six specialized tools to streamline the modding process. Each tool is accessible via the tabs across the top of the page, allowing you to work with different modding aspects and generate necessary game files with ease.  
    This is not a mod!!! This does not get loaded into the game. Do not put this in the mod loader.
    It is a standalone file that you open in your browser.
     
    ## Playable Character   The **Playable Character** tab is designed for creating a fully fleshed-out character mod. This tool provides fields for:   - **Character Information**: Personal information like name and body measurements. - **Descriptions**: Provide descriptions that will appear in-game, like physical appearance changes or mirror thoughts. - **Media Locations and Counts**: Specify the location and quantity of character media.   When all fields are complete, you can generate a `.twee` file containing the character data, along with media directories structured for easy integration into the game.   ## Positions   The **Positions** tab is dedicated to configuring bedroom positions related to your character. The fields allow you to define one position at a time.   1. Fill in the fields with attributes about a position, then click **Add Position** to add it to the list. 2. When finished, generate a **Positions file**.   You can also import an existing file to edit or build upon prior work.   ## Outfits   The **Outfits** tab works similarly to the Positions tab, but for configuring your character’s wardrobe. Each outfit has its own fields:   1. Complete the fields to define a single outfit and click **Add Outfit**. 2. After adding all desired outfits to the list, generate an **Outfits file**.   As with Positions, you can import an existing file if you want to modify or extend a pre-existing list of outfits.   ## BLACKED Expansion   The **BLACKED** tab allows you to create additional content for an existing playable character. This tool is primarily focused on media additions, so there’s no need to repeat character details or descriptions.   - Fields in this tab apply specifically to the BLACKED content, focusing on new media tagging and categorization.   Like the Playable Character tab, this tool also generates a `.twee` file.   ## Bar Girl   The **Bar Girl** tab is for creating a **non-playable character** (NPC) that your playable character will interact with at the bar. Fields in this tab include:   - **Character Information**: General characteristics of the NPC. - **Personality Traits**: Select traits that influence in-game interactions. - **Scene Descriptions**: Define scenes related to this character. - **Bar Conversations**: Add custom Traits and Topics to converse about with your Bar Girl.   Once complete, this tab will generate a `.twee` file for the new bar girl NPC.   ## Meta Maker   The **Meta Maker** tab allows for creating standalone `.meta` files, which store metadata for your mods. Each of the other tabs has a section for meta information, but this tab enables you to create or update meta data independently.   - If you need to update or create a meta file without revisiting your playable character’s mod configuration, use this tool to create a **Meta file** directly.   ## Installation   To use the X-Change Life Unofficial Modding Tools:   1. Download and unzip to your machine. Go to the site and use it online! 2. Launch index.html   ## Contributing Contributions are welcome! If you have ideas or enhancements, feel free to visit the github page to open an issue or submit a pull request. You can also submit questions/feedback on the official XCL discord (it's the best place to reach me.)   ## License This project is licensed under the GNU General Public License v3.0.   You are free to use, modify, and distribute this project under the terms of the GPL-3.0 License. Any modifications or derivatives must also be licensed under GPL-3.0, ensuring that this tool and any improvements remain open and accessible to the community. For full details, please see the LICENSE file.
     

    1,308 downloads

    Updated

  4. [ obsolete] XCL Mod Listing

    A quick mod to show the mods installed.
    The button to show the mods is on the Game Settings page.
    This is mostly to replace the button overwritten by the achievements mod on the menu page.
     
     
    Note: Mods that have an underline in the name will cause a spurious error on the display page.  Just ignore it.

     

    1,132 downloads

    Updated

  5. [XCL] Mod Updater

    Python script to help you update your mod when a new version comes out. Intended for use on Windows, may not work correctly on other OS.
     
    Description: A python script that looks at old twee, new twee, and your mod, then outputs up to 5 files. The files are as follows:
    missing.txt, passage titles that have been deleted or renamed mismatches.txt, passage titles of passages that are a mismatch between old and new twee new_mod.twee, passages from your mod, exactly as they were before, if the passage is unchanged in the new version old_passages.twee, the original passages from xcl.twee new_passages.twee, the new passages from xcl.twee (WARNING: if for some reason you had a file with the same name, it'll be overwritten) The intent is that new_mod.twee should contain the majority of your passages, and you can be confident they will work in the new version. old_passages.twee and new_passages.twee are created to allow you to compare the diff, so you can easily understand the change. To compare them, open in an IDE such as vscode, right click the file name, and select compare.
     
    How to use:
    In the same folder as mod_updater.py, include the following (file names must match): mod.twee - Your mod old_xcl.twee - The old X Change Life twee file new_xcl.twee - The old X Change Life twee file In the correct folder, run the script, requires having python3 installed. WARNING: If for some reason you have a file with the same name as files output by this mod, it'll be overwritten. python mod_updater.py To install python3: https://www.python.org/downloads/ Google it if you have questions. I'm not going to help you with this. Check missing.txt and mismatches.txt to see if there were any passages that changed These files will not be created if there is nothing to display. If not, your mod is all finished in new_mod.twee Use IDE to compare new_passages.twee and old_passages.twee by right clicking the file name in IDE These files will not be created if there is nothing to display. Manually edit your passages that are mismatches, and add them to new_mod.twee  
    Licensing: Feel free to edit and reupload as necessary for your purposes
     
    Known Issues: Not exactly known, because I have no idea if this works on mac and linux. They may have different file paths and newline characters, and I can't test it.

    744 downloads

    Updated

  6. XCL event scheduler

    This is a utility file or framework.
    This lets you schedule events to be called at some time in the future.  The events can be run on 'advance time' or 'advance day'.  You can add, remove or update events in the scheduler.
     
    You no longer need to keep track of your own events using the [advance_time_pre], [advance_time_post], [advance_day_pre], or [advance_time_post] passage tags. 

    Further documentation is in the mod file.
     

    9,649 downloads

    Submitted

  7. Onyx Addons

    This just does a bunch of things from the API pretty much.
     
    (female) Orgasm counter in sex stats It's own sub-menu button in the menu for a few misc things. Mostly showing off what can be done An alternate mods list menu to the base game one Makes $npc's preference an array rather than a string of ass/tits and adds racial preferences (further things coming with this) catcalls will only mention racial comments if the race matches the PC

    1,391 downloads

    Submitted

  8. Onyx API

    Just adds a few things, changes a few passages, provides a bit of a framework for things I'd like to see added in the main game, like some passage tags and stuff. It's mostly documented. Just ping me on the Discord if any questions come up

    2,094 downloads

    Updated


×
×
  • Create New...