亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? items.htm

?? Quake 的 各 種 文 檔 格 式 說 明
?? HTM
?? 第 1 頁 / 共 5 頁
字號:
	{
		<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_nextthink">nextthink</a> = <a href="qc-glob.htm#time">time</a> + 20;
		<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_think">think</a> = <a href="items.htm#SUB_regen">SUB_regen</a>;
	}
};

<i>/*
===============================================================================

ARMOR

===============================================================================
*/</i>


<a href="qc-types.htm#void">void</a>() <a href="items.htm#armor_touch">armor_touch</a>;

<a href="qc-types.htm#void">void</a>() <b>armor_touch</b><a name="armor_touch">=</a>
{
	<b>local</b>	<a href="qc-types.htm#float">float</a>	type, value, bit;
	
	<b>if</b> (<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_health">health</a> &lt;= 0)
		<b>return</b>;
	<b>if</b> (<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_classname">classname</a> != <b>"player"</b>)
		<b>return</b>;

	<b>if</b> (<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_classname">classname</a> == <b>"item_armor1"</b>)
	{
		type = 0.3;
		value = 100;
		bit = <a href="qc-defs.htm#IT_ARMOR1">IT_ARMOR1</a>;
	}
	<b>if</b> (<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_classname">classname</a> == <b>"item_armor2"</b>)
	{
		type = 0.6;
		value = 150;
		bit = <a href="qc-defs.htm#IT_ARMOR2">IT_ARMOR2</a>;
	}
	<b>if</b> (<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_classname">classname</a> == <b>"item_armorInv"</b>)
	{
		type = 0.8;
		value = 200;
		bit = <a href="qc-defs.htm#IT_ARMOR3">IT_ARMOR3</a>;
	}
	<b>if</b> (<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_armortype">armortype</a>*<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_armorvalue">armorvalue</a> &gt;= type*value)
		<b>return</b>;
		
	<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_armortype">armortype</a> = type;
	<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_armorvalue">armorvalue</a> = value;
	<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_items">items</a> = <a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_items">items</a> - (<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_items">items</a> &amp; (<a href="qc-defs.htm#IT_ARMOR1">IT_ARMOR1</a> | <a href="qc-defs.htm#IT_ARMOR2">IT_ARMOR2</a> | <a href="qc-defs.htm#IT_ARMOR3">IT_ARMOR3</a>)) + bit;

	<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_solid">solid</a> = <a href="qc-defs.htm#SOLID_NOT">SOLID_NOT</a>;
	<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_model">model</a> = <a href="defs.htm#string_null">string_null</a>;
	<b>if</b> (<a href="qc-glob.htm#deathmatch">deathmatch</a> == 1)
		<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_nextthink">nextthink</a> = <a href="qc-glob.htm#time">time</a> + 20;
	<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_think">think</a> = <a href="items.htm#SUB_regen">SUB_regen</a>;

	<a href="qc-built.htm#sprint">sprint</a>(<a href="qc-glob.htm#other">other</a>, <b>"You got armor\n"</b>);
<i>// armor touch sound</i>
	<a href="qc-built.htm#sound">sound</a>(<a href="qc-glob.htm#other">other</a>, <a href="qc-defs.htm#CHAN_ITEM">CHAN_ITEM</a>, <b>"items/armor1.wav"</b>, 1, <a href="qc-defs.htm#ATTN_NORM">ATTN_NORM</a>);
	<a href="qc-built.htm#stuffcmd">stuffcmd</a> (<a href="qc-glob.htm#other">other</a>, <b>"bf\n"</b>);
	
	<a href="defs.htm#activator">activator</a> = <a href="qc-glob.htm#other">other</a>;
	<a href="subs.htm#SUB_UseTargets">SUB_UseTargets</a>();				<i>// fire all targets / killtargets</i>
};


<i>/*QUAKED item_armor1 (0 .5 .8) (-16 -16 0) (16 16 32)
*/</i>


<a href="qc-types.htm#void">void</a>() <b>item_armor1</b><a name="item_armor1">=</a>
{
	<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_touch">touch</a> = <a href="items.htm#armor_touch">armor_touch</a>;
	<a href="qc-built.htm#precache_model">precache_model</a> (<b>"progs/armor.mdl"</b>);
	<a href="qc-built.htm#setmodel">setmodel</a> (<a href="qc-glob.htm#self">self</a>, <b>"progs/armor.mdl"</b>);
	<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_skin">skin</a> = 0;
	<a href="qc-built.htm#setsize">setsize</a> (<a href="qc-glob.htm#self">self</a>, '-16 -16 0', '16 16 56');
	<a href="items.htm#StartItem">StartItem</a> ();
};

<i>/*QUAKED item_armor2 (0 .5 .8) (-16 -16 0) (16 16 32)
*/</i>


<a href="qc-types.htm#void">void</a>() <b>item_armor2</b><a name="item_armor2">=</a>
{
	<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_touch">touch</a> = <a href="items.htm#armor_touch">armor_touch</a>;
	<a href="qc-built.htm#precache_model">precache_model</a> (<b>"progs/armor.mdl"</b>);
	<a href="qc-built.htm#setmodel">setmodel</a> (<a href="qc-glob.htm#self">self</a>, <b>"progs/armor.mdl"</b>);
	<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_skin">skin</a> = 1;
	<a href="qc-built.htm#setsize">setsize</a> (<a href="qc-glob.htm#self">self</a>, '-16 -16 0', '16 16 56');
	<a href="items.htm#StartItem">StartItem</a> ();
};

<i>/*QUAKED item_armorInv (0 .5 .8) (-16 -16 0) (16 16 32)
*/</i>


<a href="qc-types.htm#void">void</a>() <b>item_armorInv</b><a name="item_armorInv">=</a>
{
	<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_touch">touch</a> = <a href="items.htm#armor_touch">armor_touch</a>;
	<a href="qc-built.htm#precache_model">precache_model</a> (<b>"progs/armor.mdl"</b>);
	<a href="qc-built.htm#setmodel">setmodel</a> (<a href="qc-glob.htm#self">self</a>, <b>"progs/armor.mdl"</b>);
	<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_skin">skin</a> = 2;
	<a href="qc-built.htm#setsize">setsize</a> (<a href="qc-glob.htm#self">self</a>, '-16 -16 0', '16 16 56');
	<a href="items.htm#StartItem">StartItem</a> ();
};

<i>/*
===============================================================================

WEAPONS

===============================================================================
*/</i>


<a href="qc-types.htm#void">void</a>() <b>bound_other_ammo</b><a name="bound_other_ammo">=</a>
{
	<b>if</b> (<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_shells">ammo_shells</a> &gt; 100)
		<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_shells">ammo_shells</a> = 100;
	<b>if</b> (<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_nails">ammo_nails</a> &gt; 200)
		<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_nails">ammo_nails</a> = 200;
	<b>if</b> (<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_rockets">ammo_rockets</a> &gt; 100)
		<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_rockets">ammo_rockets</a> = 100;		
	<b>if</b> (<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_cells">ammo_cells</a> &gt; 100)
		<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_cells">ammo_cells</a> = 100;		
};


<a href="qc-types.htm#float">float</a>(<a href="qc-types.htm#float">float</a> w) <b>RankForWeapon</b><a name="RankForWeapon">=</a>
{
	<b>if</b> (w == <a href="qc-defs.htm#IT_LIGHTNING">IT_LIGHTNING</a>)
		return 1;
	<b>if</b> (w == <a href="qc-defs.htm#IT_ROCKET_LAUNCHER">IT_ROCKET_LAUNCHER</a>)
		return 2;
	<b>if</b> (w == <a href="qc-defs.htm#IT_SUPER_NAILGUN">IT_SUPER_NAILGUN</a>)
		return 3;
	<b>if</b> (w == <a href="qc-defs.htm#IT_GRENADE_LAUNCHER">IT_GRENADE_LAUNCHER</a>)
		return 4;
	<b>if</b> (w == <a href="qc-defs.htm#IT_SUPER_SHOTGUN">IT_SUPER_SHOTGUN</a>)
		return 5;
	<b>if</b> (w == <a href="qc-defs.htm#IT_NAILGUN">IT_NAILGUN</a>)
		return 6;
	return 7;
};

<i>/*
=============
Deathmatch_Weapon

Deathmatch weapon change rules for picking up a weapon

.float		ammo_shells, ammo_nails, ammo_rockets, ammo_cells;
=============
*/</i>

<a href="qc-types.htm#void">void</a>(<a href="qc-types.htm#float">float</a> old, <a href="qc-types.htm#float">float</a> new) <b>Deathmatch_Weapon</b><a name="Deathmatch_Weapon">=</a>
{
	<b>local</b> <a href="qc-types.htm#float">float</a> or, nr;

<i>// change self.weapon if desired</i>
	or = <a href="items.htm#RankForWeapon">RankForWeapon</a> (<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_weapon">weapon</a>);
	nr = <a href="items.htm#RankForWeapon">RankForWeapon</a> (new);
	<b>if</b> ( nr &lt; or )
		<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_weapon">weapon</a> = new;
};

<i>/*
=============
weapon_touch
=============
*/</i>

<a href="qc-types.htm#float">float</a>() <a href="weapons.htm#W_BestWeapon">W_BestWeapon</a>;

<a href="qc-types.htm#void">void</a>() <b>weapon_touch</b><a name="weapon_touch">=</a>
{
	<b>local</b>	<a href="qc-types.htm#float">float</a>	hadammo, best, new, old;
	<b>local</b>	<a href="qc-types.htm#entity">entity</a>	stemp;
	<b>local</b>	<a href="qc-types.htm#float">float</a>	leave;

	<b>if</b> (!(<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_flags">flags</a> &amp; <a href="defs.htm#FL_CLIENT">FL_CLIENT</a>))
		<b>return</b>;

<i>// if the player was using his best weapon, change up to the new one if better		</i>
	stemp = <a href="qc-glob.htm#self">self</a>;
	<a href="qc-glob.htm#self">self</a> = <a href="qc-glob.htm#other">other</a>;
	best = <a href="weapons.htm#W_BestWeapon">W_BestWeapon</a>();
	<a href="qc-glob.htm#self">self</a> = stemp;

	<b>if</b> (<a href="qc-glob.htm#deathmatch">deathmatch</a> == 2 || <a href="qc-glob.htm#coop">coop</a>)
		leave = 1;
	<b>else</b>
		leave = 0;
	
	<b>if</b> (<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_classname">classname</a> == <b>"weapon_nailgun"</b>)
	{
		<b>if</b> (leave &amp;&amp; (<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_items">items</a> &amp; <a href="qc-defs.htm#IT_NAILGUN">IT_NAILGUN</a>) )
			<b>return</b>;
		hadammo = <a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_nails">ammo_nails</a>;			
		new = <a href="qc-defs.htm#IT_NAILGUN">IT_NAILGUN</a>;
		<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_nails">ammo_nails</a> = <a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_nails">ammo_nails</a> + 30;
	}
	<b>else</b> <b>if</b> (<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_classname">classname</a> == <b>"weapon_supernailgun"</b>)
	{
		<b>if</b> (leave &amp;&amp; (<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_items">items</a> &amp; <a href="qc-defs.htm#IT_SUPER_NAILGUN">IT_SUPER_NAILGUN</a>) )
			<b>return</b>;
		hadammo = <a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_rockets">ammo_rockets</a>;			
		new = <a href="qc-defs.htm#IT_SUPER_NAILGUN">IT_SUPER_NAILGUN</a>;
		<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_nails">ammo_nails</a> = <a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_nails">ammo_nails</a> + 30;
	}
	<b>else</b> <b>if</b> (<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_classname">classname</a> == <b>"weapon_supershotgun"</b>)
	{
		<b>if</b> (leave &amp;&amp; (<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_items">items</a> &amp; <a href="qc-defs.htm#IT_SUPER_SHOTGUN">IT_SUPER_SHOTGUN</a>) )
			<b>return</b>;
		hadammo = <a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_rockets">ammo_rockets</a>;			
		new = <a href="qc-defs.htm#IT_SUPER_SHOTGUN">IT_SUPER_SHOTGUN</a>;
		<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_shells">ammo_shells</a> = <a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_shells">ammo_shells</a> + 5;
	}
	<b>else</b> <b>if</b> (<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_classname">classname</a> == <b>"weapon_rocketlauncher"</b>)
	{
		<b>if</b> (leave &amp;&amp; (<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_items">items</a> &amp; <a href="qc-defs.htm#IT_ROCKET_LAUNCHER">IT_ROCKET_LAUNCHER</a>) )
			<b>return</b>;
		hadammo = <a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_rockets">ammo_rockets</a>;			
		new = <a href="qc-defs.htm#IT_ROCKET_LAUNCHER">IT_ROCKET_LAUNCHER</a>;
		<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_rockets">ammo_rockets</a> = <a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_ammo_rockets">ammo_rockets</a> + 5;
	}
	<b>else</b> <b>if</b> (<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_classname">classname</a> == <b>"weapon_grenadelauncher"</b>)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久精品蜜桃| 国产精品色婷婷久久58| 国产91高潮流白浆在线麻豆| 一区二区三区在线视频观看58| 日韩免费一区二区| 91美女精品福利| 国产一区二区三区不卡在线观看| 亚洲一区二区三区不卡国产欧美| 久久久精品免费观看| 亚洲一区二区在线视频| 国产欧美精品日韩区二区麻豆天美| 欧美日韩大陆一区二区| 成人精品免费看| 久久国内精品自在自线400部| 亚洲婷婷综合久久一本伊一区| 久久亚洲一区二区三区四区| 欧美日本一道本在线视频| 91视视频在线直接观看在线看网页在线看| 久久精品av麻豆的观看方式| 亚洲无人区一区| 亚洲欧美日韩成人高清在线一区| 久久久蜜桃精品| 337p粉嫩大胆噜噜噜噜噜91av| 欧美精品一二三区| 欧美色图天堂网| 色悠悠亚洲一区二区| 99精品热视频| av一区二区不卡| 丁香啪啪综合成人亚洲小说 | 7777精品伊人久久久大香线蕉的 | 欧美mv日韩mv亚洲| 91麻豆精品国产91久久久资源速度| 91丨porny丨首页| 99精品久久只有精品| 国产成人免费xxxxxxxx| 国产成人精品免费一区二区| 国产精品一区二区三区网站| 国产一区二区三区| 国产在线观看一区二区| 国产美女视频一区| 国产乱码字幕精品高清av| 国产不卡视频在线观看| 成人综合在线观看| www.综合网.com| 欧美中文字幕久久| 欧美三级电影在线观看| 欧美一级片免费看| 日韩免费一区二区| 国产亚洲自拍一区| 国产精品国模大尺度视频| 日韩美女精品在线| 一区二区免费视频| 日本在线观看不卡视频| 裸体歌舞表演一区二区| 国产一二三精品| 本田岬高潮一区二区三区| 一本色道**综合亚洲精品蜜桃冫| 欧美色图天堂网| 日韩一区二区三区观看| 久久久久久久性| 亚洲日本va午夜在线影院| 亚洲一区二区三区四区中文字幕| 视频一区欧美日韩| 国产在线精品一区二区三区不卡| 粉嫩aⅴ一区二区三区四区| 91精品办公室少妇高潮对白| 欧美日本韩国一区| 久久久久久久免费视频了| 亚洲欧洲综合另类在线| 日韩国产成人精品| 国产成人在线看| 91久久精品一区二区| 欧美大片国产精品| 中文字幕一区二区三区av| 亚洲影院免费观看| 精品一区二区三区免费毛片爱 | 日韩电影在线观看网站| 国产精品99久久久久久久女警| 91丝袜国产在线播放| 91精品国产色综合久久不卡蜜臀| 久久在线免费观看| 一区二区三区中文字幕电影 | 国模无码大尺度一区二区三区| av欧美精品.com| 日韩视频一区在线观看| 国产精品久久免费看| 首页综合国产亚洲丝袜| av成人免费在线| 日韩午夜在线播放| 亚洲天堂福利av| 国产一区不卡在线| 欧美三级日韩三级| 国产精品免费视频观看| 日本不卡高清视频| 一本大道久久a久久综合| 久久久综合视频| 天堂在线一区二区| 93久久精品日日躁夜夜躁欧美| 日韩亚洲欧美在线观看| 一区二区三区加勒比av| 国产精品1区二区.| 3d动漫精品啪啪1区2区免费| 国产精品不卡一区| 国产麻豆日韩欧美久久| 91精品婷婷国产综合久久竹菊| 亚洲三级视频在线观看| 国产精品一区二区在线播放| 日韩欧美国产电影| 日日欢夜夜爽一区| 欧美伊人精品成人久久综合97| 国产精品伦一区| 国产成人午夜视频| 欧美videos大乳护士334| 亚洲一区在线免费观看| 色噜噜偷拍精品综合在线| 国产欧美综合在线观看第十页| 免费日韩伦理电影| 宅男在线国产精品| 亚洲一区二区三区视频在线 | 国产欧美综合在线| 狠狠色丁香久久婷婷综合_中| 7777精品伊人久久久大香线蕉超级流畅 | 成人动漫精品一区二区| 久久久久久久久久久黄色| 久久国产综合精品| 日韩精品一区二区三区四区| 视频一区中文字幕| 91麻豆精品国产91久久久久 | 国产美女av一区二区三区| 日韩午夜激情视频| 视频在线观看一区| 5858s免费视频成人| 日本成人中文字幕在线视频| 欧美日韩一区久久| 五月天中文字幕一区二区| 911精品国产一区二区在线| 亚洲国产va精品久久久不卡综合| 欧美在线|欧美| 性做久久久久久久久| 欧美日韩国产大片| 麻豆成人综合网| 久久久影院官网| 成人免费高清视频| 亚洲你懂的在线视频| 一本久道久久综合中文字幕| 亚洲美女免费在线| 欧美性猛交xxxx黑人交| 日韩激情视频在线观看| 日韩视频一区在线观看| 国内精品在线播放| 中国色在线观看另类| 99视频一区二区| 亚洲国产精品天堂| 欧美一区二区精品| 激情文学综合丁香| 国产精品久久久一本精品| 色哟哟一区二区三区| 性做久久久久久久免费看| 日韩欧美精品三级| 丁香亚洲综合激情啪啪综合| 亚洲女同一区二区| 欧美人成免费网站| 国产一区二区三区日韩| 最好看的中文字幕久久| 欧美日韩的一区二区| 国产麻豆午夜三级精品| 一区二区在线观看视频 | 亚洲欧洲制服丝袜| 欧美精品久久久久久久多人混战 | 成人国产精品免费网站| 亚洲动漫第一页| 久久先锋影音av鲁色资源| 99国产精品99久久久久久| 亚洲成人免费视| 久久久久久9999| 日本久久电影网| 久久99热这里只有精品| 中文字幕中文字幕在线一区| 欧美日韩成人激情| 国产成人自拍高清视频在线免费播放| 亚洲卡通欧美制服中文| 欧美成人高清电影在线| 99re66热这里只有精品3直播 | 精品一二三四在线| 国产精品大尺度| 欧美一区二区三区系列电影| 波多野结衣在线一区| 热久久久久久久| 亚洲欧美日韩一区二区| 精品成人一区二区三区四区| 色综合久久久久| 国产精品91一区二区| 五月婷婷综合网| |精品福利一区二区三区| 日韩欧美在线观看一区二区三区| 91在线观看一区二区| 久久99九九99精品| 亚洲成人精品影院| 中文字幕欧美一| 国产亚洲欧美一级|