Author Topic: [Gamemode] Singularity  (Read 4915 times)

Glider⠠⠵

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 472
  • ⠠⠵
    • View Profile
[Gamemode] Singularity
« on: January 04, 2011, 11:27:26 PM »
Something random I wrote while procrastinating on a race  :D

SINGULARITY

Description:
  • Buying items is disabled
  • When you spawn you receive a random item
  • When you kill someone you receive one of the items they were holding
  • When you die you lose all your items

Cvars:
  • war3_singularity "0" // 0/1 Disable/Enable
  • war3_singularity_max_items "5" // Amount of items one can hold during Singularity
  • war3_singularity_allow "tome" // Comma seperated shortnames of items people can still buy during Singularity
  • war3_singularity_restrict "tome,mole" // Comma seperated shortnames of items you don't want people to obtain when spawning.
« Last Edit: March 07, 2011, 11:47:37 AM by TedTheodoreLogan »

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: [Gamemode] Singularity
« Reply #1 on: January 04, 2011, 11:28:24 PM »
and victim loses that 1 item, but keeps the rest? or victim loses all items, gains 1 random one again on spawn

Glider⠠⠵

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 472
  • ⠠⠵
    • View Profile
Re: [Gamemode] Singularity
« Reply #2 on: January 04, 2011, 11:29:03 PM »
When you die you lose all items and receive a new one when you spawn. Updated description with that  ;D

[Oddity]TeacherCreature

  • Sr. Member
  • ****
  • Posts: 467
    • View Profile
Re: [Gamemode] Singularity
« Reply #3 on: January 05, 2011, 08:40:10 AM »
when u refer to "items" is that shopmenu or weapons?

qwerty

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: [Gamemode] Singularity
« Reply #4 on: January 05, 2011, 08:45:05 AM »
when u refer to "items" is that shopmenu or weapons?

i'm guessing shopmenu

Glider⠠⠵

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 472
  • ⠠⠵
    • View Profile
Re: [Gamemode] Singularity
« Reply #5 on: January 05, 2011, 10:39:14 AM »
Shopmenu obviously... Works in all games.

Scyther

  • Full Member
  • ***
  • Posts: 121
    • View Profile
    • Email
Re: [Gamemode] Singularity
« Reply #6 on: February 27, 2011, 11:34:39 PM »
Can you make it so players can still buy tomes as they are the only item most people buy :/

Glider⠠⠵

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 472
  • ⠠⠵
    • View Profile
Re: [Gamemode] Singularity
« Reply #7 on: February 28, 2011, 02:51:40 AM »
Added cvar "war3_singularity_can_buy_tomes" wich defaults to 1
« Last Edit: February 28, 2011, 10:00:57 AM by Foolishfox »

Scyther

  • Full Member
  • ***
  • Posts: 121
    • View Profile
    • Email
Re: [Gamemode] Singularity
« Reply #8 on: March 02, 2011, 05:59:47 AM »
Does it support / automatically add in shopmenu items that are seperate (such as sticky grenades / tripmines) ?

Glider⠠⠵

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 472
  • ⠠⠵
    • View Profile
Re: [Gamemode] Singularity
« Reply #9 on: March 02, 2011, 09:03:39 AM »
Of course, else there would not be much point to it now would there  ;D?. Consumables (Items that are consumed upon receiving) might bug. For example the tome is blacklisted so you can never randomly spawn with it, since it won't be used and just randomly sit in your inventory. Other items like mole you can spawn with, but are consumed right away so you can never steal it from somebody else, only spawn with it if you were killed.

If you have other items that are similiar to the tome you might experience some problems. If that should be the case I might implement a blacklist cvar to blacklist multiple items
« Last Edit: March 02, 2011, 11:40:14 AM by TedTheodoreLogan »

Scyther

  • Full Member
  • ***
  • Posts: 121
    • View Profile
    • Email
Re: [Gamemode] Singularity
« Reply #10 on: March 03, 2011, 12:11:58 AM »
That would be nice as i dont like mole in general, i had it at around 100gold on my server so if you could add a blacklist or quickly tell me how to restrict it from coming that would be great.

Glider⠠⠵

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 472
  • ⠠⠵
    • View Profile
Re: [Gamemode] Singularity
« Reply #11 on: March 03, 2011, 01:07:16 PM »
Added cvar "war3_singularity_restrict" to blacklist items.

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: [Gamemode] Singularity
« Reply #12 on: March 05, 2011, 01:40:27 PM »
great work, this game mode could be included with main releases

iceman

  • Full Member
  • ***
  • Posts: 220
    • View Profile
Re: [Gamemode] Singularity
« Reply #13 on: March 06, 2011, 07:57:28 AM »
Cheers, gonna try it out today. can you also add "can buy necklace"
"is the biggest item whore with" lol
« Last Edit: March 06, 2011, 08:00:59 AM by iceman »

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: [Gamemode] Singularity
« Reply #14 on: March 06, 2011, 12:56:04 PM »
might as well make a cvar war3_singularity_can_buy "blah,blah"

Glider⠠⠵

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 472
  • ⠠⠵
    • View Profile
Re: [Gamemode] Singularity
« Reply #15 on: March 07, 2011, 11:47:56 AM »
Removed "war3_singularity_can_buy_tomes", added "war3_singularity_allow". Killing players while you're dead does no longer award items.

supergreg

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: [Gamemode] Singularity
« Reply #16 on: March 26, 2011, 10:17:46 AM »
Nice addon! Needs some sort of hud display of current items though, so you know which items you have. Hard to keep track when there's 5-6 of  them.

Btw, what is the shortname I put in to allow purchase of respawn scroll?

Glider⠠⠵

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 472
  • ⠠⠵
    • View Profile
Re: [Gamemode] Singularity
« Reply #17 on: March 26, 2011, 10:50:17 AM »
Shortname is "scroll".

HUD display is kinda meh. Firstly of course Source sucks for such a kind of display, second it would look fugly when you run it with infinite inventory space (Like I do  ;D). What's wrong with using myinfo?