Raised This Month: $ Target: $400
 0% 

Versus mode, Keep item spawns the same on both rounds


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 02-05-2023 , 06:58   Re: Versus mode, Keep item spawns the same on both rounds
Reply With Quote #1

Maybe you have some plugin changing the spawn set, as Spirit said, by default, in Official maps, should work the same for both teams.
__________________
Marttt is offline
yzybb
Member
Join Date: Jul 2020
Old 02-05-2023 , 11:26   Re: Versus mode, Keep item spawns the same on both rounds
Reply With Quote #2

Quote:
Originally Posted by Marttt View Post
Maybe you have some plugin changing the spawn set, as Spirit said, by default, in Official maps, should work the same for both teams.
I used vscripts to change spawn set, but it should still not make the items of both parties inconsistent.

Code:
DirectorOptions <-
{
	weaponsToConvert =
	{
		weapon_autoshotgun	  = "weapon_pumpshotgun_spawn"
		weapon_shotgun_spas	 = "weapon_shotgun_chrome_spawn"
		weapon_rifle			= "weapon_smg_spawn"
		weapon_rifle_desert	 = "weapon_smg_spawn"
		weapon_rifle_sg552	  = "weapon_smg_silenced_spawn"
		weapon_rifle_ak47	   = "weapon_smg_silenced_spawn"
		weapon_hunting_rifle	= "weapon_smg_silenced_spawn"
		weapon_sniper_military  = "weapon_shotgun_chrome_spawn"
		weapon_sniper_awp	   = "weapon_pumpshotgun_spawn"
		//weapon_sniper_scout	 = "weapon_sniper_scout_spawn"
		weapon_first_aid_kit	= "weapon_pistol_spawn"
		weapon_molotov = "weapon_smg_spawn"
		//weapon_pipe_bomb = "weapon_pipe_bomb_spawn"
		//weapon_vomitjar = "weapon_vomitjar_spawn"
		weapon_grenade_launcher = "weapon_pistol_magnum_spawn"
		weapon_rifle_m60 = "weapon_pistol_magnum_spawn"
		weapon_chainsaw = "weapon_pistol_magnum_spawn"
		weapon_defibrillator = "weapon_pistol_magnum_spawn"
		weapon_adrenaline = "weapon_shotgun_chrome_spawn"
		//weapon_pain_pills = "weapon_pain_pills_spawn"
		weapon_upgradepack_incendiary = "weapon_sniper_scout_spawn"
		weapon_upgradepack_explosive = "weapon_smg_silenced_spawn"
		//upgrade_item = "weapon_pistol_magnum_spawn"
	}

	function ConvertWeaponSpawn( classname )
	{
		if ( classname in weaponsToConvert )
		{
			return weaponsToConvert[classname];
		}
		return 0;
	}


	DefaultItems =
	[
		"weapon_pain_pills",
		"weapon_pistol",
	]

	function GetDefaultItem( idx )
	{
		if ( idx < DefaultItems.len() )
		{
			return DefaultItems[idx];
		}
		return 0;
	}
}
yzybb is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode