Announcement

Collapse
No announcement yet.

Modded Weapon Upgrades

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Modded Weapon Upgrades

    This script will allow modders to add events to Kevin and Ino without replacing their events in the game, and thereby adding their own weapon upgrades in a safe way and avoid conflicts with the base game updating or other modders for that sake

    ***For Players***
    If you are just here to get the script for a mod that uses it, simply download ModdedWeaponUpgrades v1.zip and install as usual

    Compatible Mods
    Helping Hand

    Install instructions:
    1. Download the mod from the link below
    2. Unzip this file into your /HaremCollector_vxxx folder
    3. Play the game and enjoy the mod

    Mega Download Link

    ***For Modders***
    If you are here to use this script to have an option for your mod. You can either dowload the Menu_Addon guide.txt for an explanation or continue reading here:

    To add event you'll need to create an event in your event store with all the stuff you want to add to either Ino or Kevin. If you want to add to both, create two seperate events, make a note of the event ID it will be needed. Make sure all the content is on event page 1, anything on page 2 or higher will not be added. If you want conditionals for your stuff, put it in a conditional branch or make a condition in the code to add it. A page condition will not be factored in.

    To add to Kevin
    Code:
    alias ALIAS_NAME add_kevin_splice_events
    def add_kevin_splice_events
      $splice[:KEY]=[EVENT_ID, "Mods/Data/FOLDERNAME/FILENAME.rvdata2"]
      ALIAS_NAME
    end
    
    #-----------------------------------------------------------------------------
    # ALIAS_NAME = Alias name, can be whatever you want, so long as it's unique
    # KEY = A key name, can be whatever you want, so long as it's unique
    # EVENT_ID = The ID of the event you wanna splice on your event store
    # FOLDERNAME = The foldername for your map pack
    # FILENAME = The map filename
    #-----------------------------------------------------------------------------
    end
    to add to Ino
    Code:
    alias ALIAS_NAME add_ino_splice_events
    def add_ino_splice_events
      $splice[:KEY]=[EVENT_ID, "Mods/Data/FOLDERNAME/FILENAME.rvdata2"]
      ALIAS_NAME
    end
    
    #-----------------------------------------------------------------------------
    # ALIAS_NAME = Alias name, can be whatever you want, so long as it's unique
    # KEY = A key name, can be whatever you want, so long as it's unique
    # EVENT_ID = The ID of the event you wanna splice on your event store
    # FOLDERNAME = The foldername for your map pack
    # FILENAME = The map filename
    #-----------------------------------------------------------------------------
    #end
    You can download file AddWeaponEventsGuide.txt that has the above code in it

    You are free to include the ModdedWeaponUpgrades script itself in your mod, I however suggest not doing so, because I might update or bugfix the original code, so if you included it in yours, you would have to update aswell or your mod would revert it back. Instead I'd suggest just refering people to this page instead
    Last edited by RomeoPapa; 12-17-2022, 02:40 AM.

  • #2
    Now has a mega link

    Comment

    Working...
    X