Announcement

Collapse
No announcement yet.

Modded Start Map

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

  • Modded Start Map

    This script allows modders to have their own events or script run during the starting map where you choose your name, difficulty, etc.

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

    Compatible Mods:
    Unlock Erryone

    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 add to the starting menu for your mod, you can either download the Add_Modded_Start.txt for an explanation or continue reading here:

    Code:
    #-----------------------------------------------------------------------------
    # To add your own events to the starting screen do the following:
    #
    # alias ALIAS_NAME modded_starting_splice
    # def modded_starting_splice
    #   @start_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
    #
    # Example:
    #
    # alias example_alias modded_starting_splice
    # def modded_starting_splice
    # @start_splice[:example]=[69, "Mods/Data/Examplemod/Map666.rvdata2"]
    # example_alias
    # end
    #-----------------------------------------------------------------------------
    
    #-----------------------------------------------------------------------------
    # To add your own scripts to the starting screen do the following:
    #
    # alias ALIAS_NAME modded_starting_script
    # def modded_starting_script
    # YOUR_CODE
    # ALIAS_NAME
    # end
    #
    # ALIAS_NAME = Alias name, can be whatever you want, so long as it's unique
    # YOUR_CODE = Whatever code you wanna run, whether it be whole blocks of code
    # or just calling a function from somewhere
    #
    # Example:
    #
    # alias example_script_alias modded_starting_script
    # def modded_starting_script
    #   $game_actors[1].name = "Healbot"
    #   example_script_alias
    # end
    #-----------------------------------------------------------------------------
    You are free to include the ModMenu 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.

    Oh and a little note for modders, don't know if it matters to you or not but the code of operations goes:
    Base event first
    Modded events second
    Modded scripts third
    Last edited by RomeoPapa; 12-17-2022, 02:38 AM.

  • #2
    Now has a mega link

    Comment

    Working...
    X