Welcome to Open Carnage

A resource for Halo Custom Edition and MCC modding, with unique means of rewarding content creation and support. Have a wander to see why we're worth the time! - EST. 2012

Chalwk

Map Vote System

Tiddy-bits:

Sun, May 9th 2021

 

Updates:

  • Added the option to limit how many times a player can re-vote (once by default).
  • In the case that all maps voted for have equal votes, the script will now pick a random one.
  • Added the option to clear the player's console each time we need to print the vote options.
  • Refactored a couple of functions for improved performance & updated script documentation.
Edited by Chalwk
Tucker933 and Enclusion like this

Add me on discord: Chalwk#9284
I invite you to join my Halo: CE / Minecraft network (JeriCraft):

https://discord.gg/mEjbFJWpe5

Share this post


Link to post
Share on other sites

Tues, May 11th 2021

 

Updates:

  • Corrected an error that appears when the script is unloaded.
  • Added 3 new customizable messages:

    1). You cannot re-vote at this time.
    If a player tries to vote more than "re_vote_count" times, this message will be sent to them.

    2). Please wait X second(s)...
    Message sent to player when they attempt to vote too early.
    This is after the game ends but before the PGCR is shown:


    3). Invalid map vote id. Please type a number between 1 & (max)
    Message sent to player when they type an invalid map vote id:

     

  • Tweaked script documentation.
  • Added new "error_log" property.
    If there are any errors, this will be the file to which they are logged (located in the root directory)
Edited by Chalwk
Tucker933 likes this

Add me on discord: Chalwk#9284
I invite you to join my Halo: CE / Minecraft network (JeriCraft):

https://discord.gg/mEjbFJWpe5

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.