• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Game Modes

Status
Not open for further replies.
Level 17
Joined
Jul 15, 2009
Messages
632
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.)
 
Level 15
Joined
Jul 9, 2008
Messages
1,552
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 :(
 
Level 17
Joined
Jul 15, 2009
Messages
632
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.
 
Status
Not open for further replies.
Top