Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Game Modes

Discussion in 'World Editor Help Zone' started by Raging Ent, Feb 9, 2011.

  1. Raging Ent

    Raging Ent

    Joined:
    Jul 15, 2009
    Messages:
    552
    Resources:
    40
    Icons:
    34
    Packs:
    3
    Maps:
    3
    Resources:
    40
    Hello there!

    Can anyone help me make a game mode system just like DotA's?
    I need players to be able to select 1 'primary' and unlimited 'secondary' game modes but can't seem to get it working.


    Greetings, Naro.
     
  2. defskull

    defskull

    Joined:
    Mar 27, 2008
    Messages:
    7,978
    Resources:
    17
    Spells:
    17
    Resources:
    17
    Primary, secondary, what ?
     
  3. Raging Ent

    Raging Ent

    Joined:
    Jul 15, 2009
    Messages:
    552
    Resources:
    40
    Icons:
    34
    Packs:
    3
    Maps:
    3
    Resources:
    40
    Well, just like dota, my map has primary and secondary game modes.
    primary modes decide how you pick your hero / what the win condition is, important stuff.
    secondary modes decide whether or not you respawn, if all int heroes get removed, etc.

    Meaning you should be able to pick 1 'Primary' Game Mode.
    And unlimited 'Secondary' Game Mode.

    (DotA e.g.: -apemomaidmso
    Where All Pick is the primary game mode, it decides how you pick your hero.
    And EasyMode, OnlyMid, AllInt, DeathMatch, SwitchOn decide other stuff and can be chosen all at once.)
     
  4. Bribe

    Bribe

    Joined:
    Sep 26, 2009
    Messages:
    8,374
    Resources:
    25
    Maps:
    3
    Spells:
    10
    Tutorials:
    3
    JASS:
    9
    Resources:
    25
    Definitely moved to World Editor Help Zone.
     
  5. Raging Ent

    Raging Ent

    Joined:
    Jul 15, 2009
    Messages:
    552
    Resources:
    40
    Icons:
    34
    Packs:
    3
    Maps:
    3
    Resources:
    40
    Oh yeah sorry, I misread the note that said they do NOT go there.
     
  6. Raging Ent

    Raging Ent

    Joined:
    Jul 15, 2009
    Messages:
    552
    Resources:
    40
    Icons:
    34
    Packs:
    3
    Maps:
    3
    Resources:
    40
    Do I really need to *bump* ?
     
  7. millzy

    millzy

    Joined:
    Jul 9, 2008
    Messages:
    1,540
    Resources:
    6
    Maps:
    5
    Spells:
    1
    Resources:
    6
    better not to just say i want this like dota .... not every one plays it. any ways i will help u a bit. iv never messed around with this so its probs not going to work 100% and could be done better

    • player types
      • Events
        • Player - Player 1 (Red) types a chat message containing - as A substring
      • Conditions
      • Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Entered chat string) Equal to (Substring(ap, 2, 3))
          • Then - Actions
            • -------- do actions for this mode --------
          • Else - Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Entered chat string) Equal to (Substring(ar, 2, 3))
          • Then - Actions
            • -------- do actions for this mode --------
          • Else - Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Entered chat string) Equal to (Substring(sd, 2, 3))
          • Then - Actions
            • -------- do actions for this mode --------
          • Else - Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Entered chat string) Equal to (Substring(om, 4, 5))
          • Then - Actions
            • -------- do actions for this mode --------
          • Else - Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Entered chat string) Equal to (Substring(em, 4, 5))
          • Then - Actions
            • -------- do actions for this mode --------
          • Else - Actions


    so notic how ap/ar/sd use the strings 2 and 3 this is your primary game mode and om and em use 4 and 5 they are your Secondary Game Mode. this will only work for somthing like -apem -arem -sdom

    to make it somthing like -apemom -sdomem
    just add the if then else for the secondary modes for substrings 6 and 7.
    so its going to be alot of work when making alot of secondary modes unless you or some one can work out a system for you i cant i dont mess around with substrings :(
     
  8. Raging Ent

    Raging Ent

    Joined:
    Jul 15, 2009
    Messages:
    552
    Resources:
    40
    Icons:
    34
    Packs:
    3
    Maps:
    3
    Resources:
    40
    Yeah I use something like that right now but like you said, gonna use alot of substrings..
     
  9. millzy

    millzy

    Joined:
    Jul 9, 2008
    Messages:
    1,540
    Resources:
    6
    Maps:
    5
    Spells:
    1
    Resources:
    6
    i suggest u work out some system
     
  10. Raging Ent

    Raging Ent

    Joined:
    Jul 15, 2009
    Messages:
    552
    Resources:
    40
    Icons:
    34
    Packs:
    3
    Maps:
    3
    Resources:
    40
    Maybe we should make it the other way around,

    The event should be player typed a chat message containing ap
    Condition would be that the first character of the chat message is -

    And primary modes should disable eachother in the actions so you can't overlap.

    This would require more shorter triggers but it's easier to add / edit.
     
  11. x3GlikE

    x3GlikE

    Joined:
    Jul 7, 2010
    Messages:
    658
    Resources:
    0
    Resources:
    0
    You can try use my cheatpack system than just reconfig every command to your needs
    Here
    Or you can try this:

    EDIT: If you want me to make the whole system for you pm me everything I need to know about the mode system, the modes ect.
     

    Attached Files:

  12. Raging Ent

    Raging Ent

    Joined:
    Jul 15, 2009
    Messages:
    552
    Resources:
    40
    Icons:
    34
    Packs:
    3
    Maps:
    3
    Resources:
    40
    I'll have a look at it :) Thanks for the effort anyway!