• Garry Ware (Fretta) - Contribute and craft your own minigames!
    202 replies, posted
  • Avatar of Ha3
  • Hi ! [img]http://www.hurricaaanes.info/ai/garryware_two_banner_2.png[/img] Have you guys ever played Wario Ware ? That stupid great game where you have to perform actions in a short timespan ? Well, as I am a fan of this series of games, I've thought I could try to make a gamemode where every Lua coder could contribute by adding their own minigame ! It's still an early prototype, but I'm in need of feedback. [highlight]We are not recruiting, but you can submit your scripts if you made one ![/highlight] _____________________________________________ [b]Essential Links[/b] [b]Download[/b] The game is available but still in a prototype status. [highlight]Garry's Mod Beta contains a "stable revision" of our SVN.[/highlight] If you want to take part in the [highlight]experimental revision[/highlight] with maybe new minigames but also code tweak and on-work gameplay changes, [highlight]use this[/highlight]: [list] [*] Create a folder called "garryware" in "SourceMods/garrysmod/gamemodes/". [*] Use this SVN on the folder : [url]http://subversion.assembla.com/svn/garryware[/url] [/list] If you people desire, you can join [url=http://steamcommunity.com/gid/103582791430384528]Garry Ware Steam Community Group[/url]. [b]Changelog[/b] [url=http://code.assembla.com/garryware/subversion/node/logs]SVN Changelog[/url] _____________________________________________ In descendant chronological order : Most recent YouTube videos : GarryWare Two [hd]http://www.youtube.com/watch?v=kiyOfJEIqJM[/hd] Old (Garry Ware One, but on a public server) Revision 161 with 24 players (public). [hd]http://www.youtube.com/watch?v=LvUjn_5rewk[/hd] Older YouTube videos : Gameplay with 24-32 players [hd]http://www.youtube.com/watch?v=M4qLkeeCfMA[/hd] What new minigames (2): [hd]http://www.youtube.com/watch?v=huEvSScTZEk[/hd] What new minigames : [hd]http://www.youtube.com/watch?v=gIrhjFkkUoQ[/hd] Real gameplay footage, at an early stage : [hd]http://www.youtube.com/watch?v=xekDCyFIPjE[/hd] [media]http://www.youtube.com/watch?v=8fpHOz4oYJg[/media] [media]http://www.youtube.com/watch?v=NR9q0lO9JT8[/media] _____________________________________________ [b]What is that game?[/b] It's a game where you play very rapidly a series of microgames. Every microgame lasts from 4 to 12 seconds, and requires the player to be very active. [b]Can you name example of microgames?[/b] [list] [*] [b]Don't move ![/b] : You have 3.5 seconds to hide, and then don't move or don't get hit by other player's thrown crowbars for 2 seconds ! [*] [b]Break 1 chair ![/b] : Chair spawns in the map, but there is not enough for all the players. Break at least one ! [*] [b]Watch the props ... Stand on the missing prop ![/b] : Dryers randomly spawns on boxes. Watch them all, and the one will be disappearing, so rush on the box to earn a point ! You could also block the others players from jumping on the box. [/list] [b]How many microgames are there?[/b] There are currently 34 microgames. It is possible to make minigames for it just by placing your script in a folder that will be automatically loaded. Currently available minigames: [lua] Added wares (33) : "alarmcrates" "avoidball" "barrelroll" "battery" "bigcrate" "breakallcrates" "buildtothetop" "bullseye" "calc" "calcthink" "catchball" "chair" "climb" "dontmove" "findthemissing" "flee" "forest" "getoncolor" "hlss" "jumpbox" "meloncrates" "melonharvest" "memorycrates" "paparazzi" "pickupthatcan" "rightorder" "rocketjump" "rollingcolor" "shootcolor" "sprint" "touchsky" "tryclimb" "_empty" Author [wares] : [1 wares] Kilburn [8 wares] Kelth [5 wares] Frostyfrog [1 wares] Hurricaaane (Ha3) [17 wares] xandar [1 wares] [/lua] [b]Where to download it ?[/b] The game is available but still in a prototype status. [list] [*] Create a folder called "garryware" in "SourceMods/garrysmod/gamemodes/". [*] Use this SVN on the folder : [url]http://subversion.assembla.com/svn/garryware[/url] [/list] Outdated screenies : [url]http://www.hurricaaanes.info/ai/garryware_test1.jpg[/url] [url]http://www.hurricaaanes.info/ai/garryware_test2.jpg[/url] [b]Technical details about making minigames[/b] [b]What do I need ?[/b] First, you need an idea. You need to stay within this nomenclature : - All players are equal. You give them the same weapons and the same abilities. That means, no "haunted" minigame where a player needs to flee from the other players. - Players can't get damage or be killed. - Presence of an item disappears when the minigame ends. - Player must win or fail at a minigame. No draw game is possible. [b]The minigames[/b] Basically, a minigame is composed of 2 phases : - The Warmup period, where players winning or losing isn't defined. For example, in the "Don't move", it's the time where the players can still move without being penalized. - The Action period, where a trigger gets activated. In the case of "Stand on the missing prop !", it's the time when a hidden landmark is used to find all the entities in a box. If a player gets in the bix, he wins. - The time required for the warmup and the action phases are defined during the warmup using a function. - You can hook functions by naming the function using the hook name as the WARE method name. [b]The map[/b] The map contains hidden landmarks used for the coder in order to spawns entities in or use them for detection. There are: - On the boxes. - Over the boxes. - Over the boxes in the sky level. - In the cross of the corridors. You can get the list of all the entities in a table using a function. [b]The victory states[/b] When a minigame starts, an "Achieved" status is set : It determines if the player starts with a winning scenario or a losing scenario. It can take 3 values : false : The player starts as a loser and much complete something to win. true : The player starts as a winner, but needs to avoid doing something. nil : The player starts as a loser, but won't know if he won until the end of the minigame. (Currently, only one minigame uses this.) During the minigame, a player Achieved status can dynamically change. When he completed a certain thing (bad or good), we can change his Achieved status and Lock his state. Locking validates the point for a player, and prevents that player from changing their Achieved state and/or lock multiple times. You can't unlock a player's status, there is no point. Something else can also be done : We can Lock the status a player currently have. When a minigame ends, a function in the minigame is called to do some stuff. AFTER this function has been called, every player that doesn't have their status Locked, gets it Locked. That means it is possible to change someone's Achieved state at the very end of the minigame, which is useful for games like "Break all crates !" or "Stand on a missing prop !". [b]Where do I put my minigames ?[/b] In garrysmod\gamemodes\garryware2\gamemode\wareminigames all files will be loaded automatically. Create a new file in there with your nickname. [b]I need to play all your minigames to finally test my own ! Can I test my minigame rightaway ?[/b] Yes : "ware_debug 1" : Enables debug mode, no waiting time before game starts, only one minigame game plays repeteadly. "ware_debugname dontmove" : Replace dontmove with the name of your minigame to debug. Other options : "ware_debug 2" : Enables complete game mode with no waiting time (Solo mode) "ware_debug 3" : Enables complete game mode with no introduction minigame (Beware : the introduction minigame is not a useless phase : It helps players to perform a double-model caching so that game doesn't stutter. Beware ! These settings sticks on server shutdown. Be sure to put debug to "0" when you don't need it anymore ! Do you want to contribute? Read the minigame examples and don't hesitate to post your minigames. Here's an example of the "Calc" minigame : [lua]WARE.Author = "Hurricaaane (Ha3)" WARE.Room = "none" WARE.CorrectColor = Color(0,0,0,255) WARE.ChatCorrect = Color(0,192,0,0)
  • Avatar of Lord Ned
  • While I can't code anything, here's a few suggestions: Avoid falling boxes/smashing fists Some sort of race, where you can delay the other people by hitting them with crates, furthest person along wings Moving floor/ "The-floor-is-lava" type thing.
  • Avatar of Ha3
  • I admit there is still a problem with having a static map. If we find good designs of other rooms that can be used by more than one minigame, we could make very fast (8 second) races and other cool stuff.
  • Avatar of Lord Ned
  • There's plenty of space in both the X Y and Z spaces of a map. ;) I'd suggest making all the rooms look the same, and then have a entity in the center of the room. After the mini-gamemode switches, teleport them to the appropriate room, and that way that room can be moving and look different. If done right, no one would notice the teleporting around, and it would look like one big multi-dimension moving room.
  • Avatar of _Kilburn
  • Now that looks pretty awesome, can't wait to code a few contribution for you guys. By the way, can't you just automatically register Think and other various hooks inside the registerMinigame function? Having to do the whole "if GAMEMODE:GetWareID() == "dontmove" then" doesn't look really practical.
  • Avatar of Ha3
  • [QUOTE=_Kilburn;14678153]Now that looks pretty awesome, can't wait to code a few contribution for you guys. By the way, can't you just automatically register Think and other various hooks inside the registerMinigame function? Having to do the whole "if GAMEMODE:GetWareID() == "dontmove" then" doesn't look really practical.[/QUOTE] I may try to make a registerTrigger or similar. Thanks for asking, it's in the works. EDIT: Well, it might not be possible...
  • Avatar of TheGreatVax
  • What about 'Catch the X' Give the players a gravity gun and make em catch an extremely quickly bouncing thing
  • Avatar of Viking666
  • How about one with platforms that appear that you have to jump on, and they disappear, so you have to move fast, and they keep going faster and faster.
  • Avatar of Nerdboy
  • How about everyone is on fire and a whole bunch of medkits are spawned. Everyone alive after about 30 seconds wins.
  • Avatar of Ha3
  • [QUOTE=TheGreatVax;14679897]What about 'Catch the X' Give the players a gravity gun and make em catch an extremely quickly bouncing thing[/QUOTE] Thanks for the suggestion ! Kelth made this minigame into the list of available minigames. [QUOTE=Viking666;14681514]How about one with platforms that appear that you have to jump on, and they disappear, so you have to move fast, and they keep going faster and faster.[/QUOTE] Not yet possible with the available map concept. [QUOTE=Nerdboy;14681794]How about everyone is on fire and a whole bunch of medkits are spawned. Everyone alive after about 30 seconds wins.[/QUOTE] Nomenclature says : - Players can't get damage or be killed. Still, this concept can be adapted.
  • Avatar of Jmax
  • The only thing I don't like is the math part.. No one wants to play Gmod to do math.. No one even likes math.. edit: also, is there a server for this up?
  • Avatar of Ha3
  • [QUOTE=Jmax;14681978]The only thing I don't like is the math part.. No one wants to play Gmod to do math.. No one even likes math.. edit: also, is there a server for this up?[/QUOTE] The most funny thing is when we talk on voice chat about how ridiculous a player got wrong at math. I know no one likes to do math, but well, the funny part is when someone miscounts :D Currently there is no server running the mod, but you will occasionally find ourselves testing the mod live under the name of "Garry Ware - Test server" with a variable IP.
  • Avatar of Nerdboy
  • How about a gamemode where you need to whack someone with your crowbar in two seconds, but they can't have been whacked already? [QUOTE=Jmax;14681978]The only thing I don't like is the math part.. No one wants to play Gmod to do math.. No one even likes math..[/QUOTE] I love math. Add in integrals.
  • Avatar of jonney934
  • A quick randomized Simon says concept, example would be to pick up a crate <random number between 2 and 4> times
  • Avatar of supertoaster
  • How about a bunch of bouncy balls and if it touches you, you die :O Last person alive wins And a hot potatoe gamemode. Don't know how you could implement that
  • Avatar of NanoSquid
  • WOW :xd: Looks amazing! The "Meet the Sniper" clips are a nice touch! You should have the "Jump!" minigame where you hop when something hits the ground.
  • Avatar of Ha3
  • [QUOTE=jonney934;14683036]A quick randomized Simon says concept, example would be to pick up a crate <random number between 2 and 4> times[/QUOTE] Concept needs to be refined to make it better, but can be nice. I can think of a floating bullseye you must hit for a exact number of times. Edit : "Hit the bullseye exactly x times !" preparing to be committed ! [QUOTE=supertoaster;14683055]How about a bunch of bouncy balls and if it touches you, you die :O Last person alive wins And a hot potatoe gamemode. Don't know how you could implement that[/QUOTE] The bouncy balls already exist. Hot potato doesn't seem to be in accordinance with the "All players are equal" rule, but maybe this can be exploited. [QUOTE=NanoSquid;14683356]WOW :xd: Looks amazing! The "Meet the Sniper" clips are a nice touch! You should have the "Jump!" minigame where you hop when something hits the ground.[/QUOTE] Yeah, the Jump when it's gonna hit is a good concept, although players can be disadvantaged by lag, we'll see what it's gonna do. Thanks for your suggestions ! Remember if you desire you can code your minigames yourself !
  • Avatar of Kwigg
  • EPIC! Can't wait for full release! Is there a test server or sommat? I wanna try multiplayer, it's gonna be hilarious.
  • Avatar of Ha3
  • Major update adds a clock in the HUD : Yellow during warmup, smoothly coloured blue/red when winning/losing, strongly coloured blue/red when having won/lost. [img]http://www.hurricaaanes.info/ai/wa_grid5x50006_clock.jpg[/img]
  • Avatar of thomasfn
  • Maybe there should be a minigame where an npc stands at one end of the room, and the players have to run and press "e" on him but they have to stand still if he looks at them. If he catches them moving, they are out.
  • If you PM me I can put this on the Gmod Beta SVN if you want which will then go on the FP Test Server.
  • Avatar of Ha3
  • [QUOTE=SteveUK;14699435]If you PM me I can put this on the Gmod Beta SVN if you want which will then go on the FP Test Server.[/QUOTE] It's OK, check your PMs ;) . Major bugs are fixed, involving weapon switch, and end of game (it used to play the games while we were frozen). If you people desire, you can join [url=http://steamcommunity.com/gid/103582791430384528]Garry Ware Steam Community Group[/url]. [img]http://media.steampowered.com/steamcommunity/public/images/avatars/d0/d0606045fefd90055a60a089b53a8241e02b4428_full.jpg[/img]
  • Avatar of _Kilburn
  • [QUOTE=DrDaxxy;14706528]Good idea, but this fails in a 3D multiplayer environment, sadly.[/QUOTE] You should try playing it before saying that, it's completely different, but still very addicting.