Author Topic: Cards Against GMod 0.10  (Read 5959 times)

0 Members and 1 Guest are viewing this topic.

Offline Buzzkill

  • Respected Community Member
  • Full Member
  • *****
  • Posts: 176
  • Karma: 59
    • The Hundred Acre Bloodbath
Cards Against GMod 0.10
« on: October 10, 2015, 09:18:02 AM »
I'm starting to formalize some of the things I've worked on over the past few months and releasing as my pay-it-forward moment.  Even though not everything is ULib / ULX related, I'd like to release here since this is where I received the vast majority of support when I first came on the scene. 

First up is actually the most recent thing I created -- a chat based version of Cards Against Humanity.  This allows players to play CaH (or, rather, CaG) while in-game.  No docs yet, but the majority of the code is in sv_cag1.lua and is a pretty easy read.  You can also say "!cag help" in game for in-game docs.

The questions and answers are, of course, directly from CaH (and covered under their Creative Commons license, which I do need to place in the code).  Anyone who isn't familiar with CaH, be warned -- they can get quite vulgar.  Sense of humor needed.  :)


https://github.com/100acrebb/cards-against-gmod   (GitHub Source)
https://github.com/100acrebb/cards-against-gmod/archive/master.zip   (direct zip download from GitHub)
« Last Edit: October 10, 2015, 01:10:30 PM by Buzzkill »

Offline UnknownFusion

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Cards Against GMod 0.10
« Reply #1 on: October 12, 2015, 04:01:45 AM »
This is working great so far, and I see that it is in 0.10, as it gets updated, would there be any chance of you adding a delay to the games, that you could change in the config, or a certain ULX rank starts the games (which you could also edit in the config), or something like that?

Good luck with the development!

Offline Buzzkill

  • Respected Community Member
  • Full Member
  • *****
  • Posts: 176
  • Karma: 59
    • The Hundred Acre Bloodbath
Re: Cards Against GMod 0.10
« Reply #2 on: October 12, 2015, 07:42:38 AM »
Absolutely.   Right now, you can change delays in sv_cag1.lua, though it'll require a restart or map change

Code: [Select]
local cag_TimeBetweenRounds = 60
local cag_TimeToPickCard = 45

I'll be making these and others into formal cvars in the next version, along with Awesome Points support, some house rules variations, and ULX group rights to do things like start the game,etc.

Thanks,
Buzz

Offline UnknownFusion

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Cards Against GMod 0.10
« Reply #3 on: October 12, 2015, 02:14:07 PM »
Alright, thanks! (Im guessing this is in seconds). I will be looking forward to the ULX group rights, that will come in handy

You have my support :)

Offline XxLMM13xX

  • Sr. Member
  • ****
  • Posts: 265
  • Karma: -51
  • New to lua development
    • Twitch
Re: Cards Against GMod 0.10
« Reply #4 on: October 12, 2015, 05:37:47 PM »
Can you please add pictures and a video maybe  :o

That would be AWESOME!!!

Sounds really nice tho!

Offline Buzzkill

  • Respected Community Member
  • Full Member
  • *****
  • Posts: 176
  • Karma: 59
    • The Hundred Acre Bloodbath
Re: Cards Against GMod 0.10
« Reply #5 on: October 12, 2015, 10:43:57 PM »
It's chat-based, so not sure how exciting pics would be, but I'll take some screenshots.  :)