Jump to content


New Nolower/Noroof/Nomiddle/Nowhole system


  • Please log in to reply
6 replies to this topic

#1 BoeMan

BoeMan

    Developer

  • Administrators
  • 4025 posts
  • LocationFryslân

Posted 25 November 2013 - 06:06 PM

This topic is here to inform of a fundamental change in the nolower and noroof entities, and the addition of two other entities: nomiddle and nowhole.

This system will be introduced to the mass in 0.72, BETA Testers can test it in the upcoming 0.72t - beta1.

CVARs

The following CVARs have been removed:
General:
- g_autoNoLower (to specify if the auto nolower system is enabled).

Admin:
- g_nolower (to set the required admin level of toggling nolower).
- g_noroof (to set the required admin level of toggling noroof).

The following CVARs have been added:
- g_useNoRoof (sets if no roof can be enabled in the server).
- g_useNoMiddle (sets if no middle can be enabled in the server).
- g_useNoWhole (sets if no whole can be enabled in the server).
- g_nosection (Admin level required to toggle nolower, noroof, nomiddle and nowhole).

Entities

All of these entities now include an "auto" system, which can be linked on other entities (blockers and stuff) to block sections off from players.

Nolower and noroof still maintain their original "system", to kill players going too high or too low. Please note though that you can either add one system, or add both.

Described below all are the entities, and how they can work:

Nolower:
{
"classname" "nolower" // The classname.
"origin" "0 0 -280"   // Only value of importance is the last one, determines the height (when below people get killed).
"auto" "yes"		  // Enables the auto system when set to "yes". 
					  // *NOTE* the entries above this value will also work even when these values are removed (regarding the auto system).
"wait" "5"			// When lower is opening or closing, this is its delay (e.g. Lower will be closed in 5 seconds!). Default is 10.
"team" "all"		  // In what team the minimum players should be in order for lower to open. Default is "all".
"min_players" "2"	 // Minimum players required in order to open lower.
}

Noroof:
{
"classname" "noroof"  // The classname.
"origin" "0 0 -280"   // Only values of importance are the last two values:
					  // 2nd value: how many seconds the player gets in order to leave roof.
					  // 3rd value: determines the height (when above people get killed when the timer runs out).
"auto" "yes"		  // Enables the auto system when set to "yes". 
					  // *NOTE* the entries above this value will also work even when these values are removed (regarding the auto system).
"wait" "5"			// When roof is opening or closing, this is its delay (e.g. Roof will be closed in 5 seconds!). Default is 10.
"team" "all"		  // In what team the minimum players should be in order for roof to open. Default is "all".
"min_players" "2"	 // Minimum players required in order to open roof.
}

Nomiddle and Nowhole don't have regular systems, only auto systems.

Nomiddle:
{
"classname" "nomiddle"// The classname.
"auto" "yes"		  // Enables the auto system when set to "yes". Without this, the entity might as well be removed.
"wait" "5"			// When middle is opening or closing, this is its delay (e.g. Middle will be closed in 5 seconds!). Default is 10.
"team" "all"		  // In what team the minimum players should be in order for middle to open. Default is "all".
"min_players" "2"	 // Minimum players required in order to open middle.
}

Nowhole:
{
"classname" "nowhole" // The classname.
"auto" "yes"		  // Enables the auto system when set to "yes". Without this, the entity might as well be removed.
"wait" "5"			// When whole is opening or closing, this is its delay (e.g. Whole will be closed in 5 seconds!). Default is 10.
"team" "all"		  // In what team the minimum players should be in order for whole to open. Default is "all".
"min_players" "2"	 // Minimum players required in order to open whole.
}

Kind regards,

BoeMan

#2 BoeMan

BoeMan

    Developer

  • Administrators
  • 4025 posts
  • LocationFryslân

Posted 25 November 2013 - 06:08 PM

Here's how you link existing blockers or other entities to an auto system:

Example misc_bsp:

{
"classname" "misc_bsp"
"bspmodel" "instances/hongkong/cover1"
"origin" "203 -478 1084"
"angles" "90 180 0"
"target" "noroof" // Valid options are: "nolower", "noroof", "nomiddle" and "nowhole".
}

After entities are linked using the target line they will disappear or appear when the auto system opens.
Kind regards,

BoeMan

#3 Janno

Janno

    henkie loves me

  • Moderators
  • 614 posts
  • LocationTallinn, Estonia

Posted 31 March 2014 - 04:04 PM

Now that's nice!
HENKHODOREHODOREHODORE

#4 nautica

nautica

    BETA Tester

  • Validating
  • PipPipPip
  • 82 posts
  • LocationAustralia

Posted 01 April 2014 - 08:27 AM

im liking it boeman :)
Posted Image

#5 Janno

Janno

    henkie loves me

  • Moderators
  • 614 posts
  • LocationTallinn, Estonia

Posted 21 April 2014 - 09:04 PM

HARASO IDINAHUI
HENKHODOREHODOREHODORE

#6 Shoke

Shoke

    1fx. Douchebag

  • 1fx. Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2057 posts
  • LocationHenkie is my hero

Posted 21 April 2014 - 09:51 PM

A7A
Posted Image
Posted Image

View PostBlackwyn, on 11 March 2012 - 07:28 PM, said:

Fu boe tell me the way! I've got every file! I just need to fuck the VM protection!

EDIT: Anyway, let's celebrate the failure of the 2k3 Mod and its security!

View PostPoOoCe, on 11 March 2012 - 08:17 PM, said:

decompile it :) use debug or create fake mod lol...

View PostPoOoCe, on 11 March 2012 - 08:50 PM, said:

Lets see.. i know what debug is, it was a joke ffs.. de - bug, 2k3 mod have bugs... and decompile were bullshit :).
btw you need 2k3 mod for publish it in web lol...

View Postg4stt, on 02 March 2013 - 10:17 PM, said:

dont talk 2 me like i dont know about sof i now 2 mutch and Rap!st yes i can hack but i dont do it :)) why i would do it  if they want they can call the police and report me i dont use a proxy or vpn ;) You can Hack 2 is you want

#7 Stallion

Stallion

    1fx. Member

  • 1fx. Members
  • PipPipPipPipPipPipPip
  • 1286 posts
  • LocationGreece

Posted 02 May 2014 - 10:04 PM

u like what? u dont even know what it is ....
Posted Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users