Guild Upgrades 2d

You are here:
← All Topics
Version: 2019.100 Requirements:uMMORPG2d, ToolsScript Define:_IMMOGUILDUPGRADES
Core Changes:YesTutorial Video:No

Description

Allows the guild master or vice to upgrade the guild. Upgrading a guild increases member capacity and can reward the upgrading player with an item. The guild level can be used in all “UCE Interaction Requirements” to control access to teleporters etc. as well.


Core Changes

  1. [Required] Open the following script UITarget.cs. See Changes...

    Locate this line:
    player.guild.CanInvite(player.name, target.name) &&

    Modify to match:

    player.UCE_CanInvite(player.name, target.name) &&

Installation

  1. [Required] Do the Core Change as described above.
  2. [Required] Create a new “Guild Upgrades” Scriptable Object via the context menu and move it to your projects resources folder.
  3. [Required] Locate each one of your Player prefabs and assign the “Guild Upgrade” to it.
  4. [Required] Add the new “GuildUpgradePanel” your Canvas
  5. [Required] Add the new “GuildUpgradeButton” to the Npc Buttons in your Canvas
  6. [Required] Attach the Script in “Scripts [Attach to Canvas – NpcDialogue as new component]” to your NpcDialoge Script inside the canvas as a new component.
  7. [Required] Link all components in the freshly attached Script
  8. [Required] To test, create a guild and then upgrade the guild at a Npc that offers that service. Please note that there is no UI yet that shows the guild level to your players!

Support the IndieMMO Team Today!

Leave a reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.