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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? items.htm

?? Quake 的 各 種 文 檔 格 式 說 明
?? HTM
?? 第 1 頁 / 共 5 頁
字號:
<html><head><title>items.qc</title></head><body bgcolor="#C0F0D0">
<base target=examine>
<pre>
<a href="qc-types.htm#void">void</a>() <a href="weapons.htm#W_SetCurrentAmmo">W_SetCurrentAmmo</a>;
<i>/* ALL LIGHTS SHOULD BE 0 1 0 IN COLOR ALL OTHER ITEMS SHOULD
BE .8 .3 .4 IN COLOR */</i>



<a href="qc-types.htm#void">void</a>() <b>SUB_regen</b><a name="SUB_regen">=</a>
{
	<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_model">model</a> = <a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_mdl">mdl</a>;		<i>// restore original model</i>
	<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_solid">solid</a> = <a href="qc-defs.htm#SOLID_TRIGGER">SOLID_TRIGGER</a>;	<i>// allow it to be touched again</i>
	<a href="qc-built.htm#sound">sound</a> (<a href="qc-glob.htm#self">self</a>, <a href="qc-defs.htm#CHAN_VOICE">CHAN_VOICE</a>, <b>"items/itembk2.wav"</b>, 1, <a href="qc-defs.htm#ATTN_NORM">ATTN_NORM</a>);	<i>// play respawn sound</i>
	<a href="qc-built.htm#setorigin">setorigin</a> (<a href="qc-glob.htm#self">self</a>, <a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_origin">origin</a>);
};



<i>/*QUAKED noclass (0 0 0) (-8 -8 -8) (8 8 8)
prints a warning message when spawned
*/</i>

<a href="qc-types.htm#void">void</a>() <b>noclass</b><a name="noclass">=</a>
{
	<a href="qc-built.htm#dprint">dprint</a> (<b>"noclass spawned at"</b>);
	<a href="qc-built.htm#dprint">dprint</a> (vtos(<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_origin">origin</a>));
	<a href="qc-built.htm#dprint">dprint</a> (<b>"\n"</b>);
	<a href="qc-built.htm#remove">remove</a> (<a href="qc-glob.htm#self">self</a>);
};



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

plants the object on the floor
============
*/</i>

<a href="qc-types.htm#void">void</a>() <b>PlaceItem</b><a name="PlaceItem">=</a>
{
	<b>local</b> <a href="qc-types.htm#float">float</a>	oldz;

	<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_mdl">mdl</a> = <a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_model">model</a>;		<i>// so it can be restored on respawn</i>
	<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_flags">flags</a> = <a href="defs.htm#FL_ITEM">FL_ITEM</a>;		<i>// make extra wide</i>
	<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_solid">solid</a> = <a href="qc-defs.htm#SOLID_TRIGGER">SOLID_TRIGGER</a>;
	<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_movetype">movetype</a> = <a href="qc-defs.htm#MOVETYPE_TOSS">MOVETYPE_TOSS</a>;	
	<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_velocity">velocity</a> = '0 0 0';
	<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_origin_z">origin_z</a> = <a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_origin_z">origin_z</a> + 6;
	oldz = <a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_origin_z">origin_z</a>;
	<b>if</b> (!<a href="qc-built.htm#droptofloor">droptofloor</a>())
	{
		<a href="qc-built.htm#dprint">dprint</a> (<b>"Bonus item fell out of level at "</b>);
		<a href="qc-built.htm#dprint">dprint</a> (vtos(<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_origin">origin</a>));
		<a href="qc-built.htm#dprint">dprint</a> (<b>"\n"</b>);
		<a href="qc-built.htm#remove">remove</a>(<a href="qc-glob.htm#self">self</a>);
		<b>return</b>;
	}
};

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

Sets the clipping size and plants the object on the floor
============
*/</i>

<a href="qc-types.htm#void">void</a>() <b>StartItem</b><a name="StartItem">=</a>
{
	<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> + 0.2;	<i>// items start after other solids</i>
	<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_think">think</a> = <a href="items.htm#PlaceItem">PlaceItem</a>;
};

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

HEALTH BOX

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

<i>//</i>
<i>// T_Heal: add health to an entity, limiting health to max_health</i>
<i>// "ignore" will ignore max_health limit</i>
<i>//</i>
<a href="qc-types.htm#float">float</a> (<a href="qc-types.htm#entity">entity</a> e, <a href="qc-types.htm#float">float</a> healamount, <a href="qc-types.htm#float">float</a> ignore) <b>T_Heal</b><a name="T_Heal">=</a>
{
	<b>if</b> (e.<a href="qc-enty.htm#dot_health">health</a> &lt;= 0)
		return 0;
	<b>if</b> ((!ignore) &amp;&amp; (e.<a href="qc-enty.htm#dot_health">health</a> &gt;= <a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_max_health">max_health</a>))
		return 0;
	healamount = <a href="qc-built.htm#ceil">ceil</a>(healamount);

	e.<a href="qc-enty.htm#dot_health">health</a> = e.<a href="qc-enty.htm#dot_health">health</a> + healamount;
	<b>if</b> ((!ignore) &amp;&amp; (e.<a href="qc-enty.htm#dot_health">health</a> &gt;= <a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_max_health">max_health</a>))
		e.<a href="qc-enty.htm#dot_health">health</a> = <a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_max_health">max_health</a>;
		
	<b>if</b> (e.<a href="qc-enty.htm#dot_health">health</a> &gt; 250)
		e.<a href="qc-enty.htm#dot_health">health</a> = 250;
	return 1;
};

<i>/*QUAKED item_health (.3 .3 1) (0 0 0) (32 32 32) rotten megahealth
Health box. Normally gives 25 points.
Rotten box heals 5-10 points,
megahealth will add 100 health, then 
rot you down to your maximum health limit, 
one point per second.
*/</i>


<a href="qc-types.htm#float">float</a> <b><a name="H_ROTTEN">H_ROTTEN</a></b> = 1;
<a href="qc-types.htm#float">float</a> <b><a name="H_MEGA">H_MEGA</a></b> = 2;
.<a href="qc-types.htm#dot_float">float</a>	healamount, healtype;
<a href="qc-types.htm#void">void</a>() <a href="items.htm#health_touch">health_touch</a>;
<a href="qc-types.htm#void">void</a>() <a href="items.htm#item_megahealth_rot">item_megahealth_rot</a>;

<a href="qc-types.htm#void">void</a>() <b>item_health</b><a name="item_health">=</a>
{	
	<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_touch">touch</a> = <a href="items.htm#health_touch">health_touch</a>;

	<b>if</b> (<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_spawnflags">spawnflags</a> &amp; <a href="items.htm#H_ROTTEN">H_ROTTEN</a>)
	{
		<a href="qc-built.htm#precache_model">precache_model</a>(<b>"maps/b_bh10.bsp"</b>);

		<a href="qc-built.htm#precache_sound">precache_sound</a>(<b>"items/r_item1.wav"</b>);
		<a href="qc-built.htm#setmodel">setmodel</a>(<a href="qc-glob.htm#self">self</a>, <b>"maps/b_bh10.bsp"</b>);
		<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_noise">noise</a> = <b>"items/r_item1.wav"</b>;
		<a href="qc-glob.htm#self">self</a>.healamount = 15;
		<a href="qc-glob.htm#self">self</a>.healtype = 0;
	}
	<b>else</b>
	<b>if</b> (<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_spawnflags">spawnflags</a> &amp; <a href="items.htm#H_MEGA">H_MEGA</a>)
	{
		<a href="qc-built.htm#precache_model">precache_model</a>(<b>"maps/b_bh100.bsp"</b>);
		<a href="qc-built.htm#precache_sound">precache_sound</a>(<b>"items/r_item2.wav"</b>);
		<a href="qc-built.htm#setmodel">setmodel</a>(<a href="qc-glob.htm#self">self</a>, <b>"maps/b_bh100.bsp"</b>);
		<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_noise">noise</a> = <b>"items/r_item2.wav"</b>;
		<a href="qc-glob.htm#self">self</a>.healamount = 100;
		<a href="qc-glob.htm#self">self</a>.healtype = 2;
	}
	<b>else</b>
	{
		<a href="qc-built.htm#precache_model">precache_model</a>(<b>"maps/b_bh25.bsp"</b>);
		<a href="qc-built.htm#precache_sound">precache_sound</a>(<b>"items/health1.wav"</b>);
		<a href="qc-built.htm#setmodel">setmodel</a>(<a href="qc-glob.htm#self">self</a>, <b>"maps/b_bh25.bsp"</b>);
		<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_noise">noise</a> = <b>"items/health1.wav"</b>;
		<a href="qc-glob.htm#self">self</a>.healamount = 25;
		<a href="qc-glob.htm#self">self</a>.healtype = 1;
	}
	<a href="qc-built.htm#setsize">setsize</a> (<a href="qc-glob.htm#self">self</a>, '0 0 0', '32 32 56');
	<a href="items.htm#StartItem">StartItem</a> ();
};


<a href="qc-types.htm#void">void</a>() <b>health_touch</b><a name="health_touch">=</a>
{
	<b>local</b>	<a href="qc-types.htm#float">float</a> amount;
	<b>local</b>	<a href="qc-types.htm#string">string</a>	s;
	
	<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>.healtype == 2) <i>// Megahealth?  Ignore max_health...</i>
	{
		<b>if</b> (<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_health">health</a> &gt;= 250)
			<b>return</b>;
		<b>if</b> (!<a href="items.htm#T_Heal">T_Heal</a>(<a href="qc-glob.htm#other">other</a>, <a href="qc-glob.htm#self">self</a>.healamount, 1))
			<b>return</b>;
	}
	<b>else</b>
	{
		<b>if</b> (!<a href="items.htm#T_Heal">T_Heal</a>(<a href="qc-glob.htm#other">other</a>, <a href="qc-glob.htm#self">self</a>.healamount, 0))
			<b>return</b>;
	}
	
	<a href="qc-built.htm#sprint">sprint</a>(<a href="qc-glob.htm#other">other</a>, <b>"You receive "</b>);
	s = <a href="qc-built.htm#ftos">ftos</a>(<a href="qc-glob.htm#self">self</a>.healamount);
	<a href="qc-built.htm#sprint">sprint</a>(<a href="qc-glob.htm#other">other</a>, s);
	<a href="qc-built.htm#sprint">sprint</a>(<a href="qc-glob.htm#other">other</a>, <b>" health\n"</b>);
	
<i>// health 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>, <a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_noise">noise</a>, 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="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_model">model</a> = <a href="defs.htm#string_null">string_null</a>;
	<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>;

	<i>// Megahealth = rot down the player's super health</i>
	<b>if</b> (<a href="qc-glob.htm#self">self</a>.healtype == 2)
	{
		<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-defs.htm#IT_SUPERHEALTH">IT_SUPERHEALTH</a>;
		<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> + 5;
		<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_think">think</a> = <a href="items.htm#item_megahealth_rot">item_megahealth_rot</a>;
		<a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_owner">owner</a> = <a href="qc-glob.htm#other">other</a>;
	}
	<b>else</b>
	{
		<b>if</b> (<a href="qc-glob.htm#deathmatch">deathmatch</a> != 2)		<i>// deathmatch 2 is the silly old rules</i>
		{
			<b>if</b> (<a href="qc-glob.htm#deathmatch">deathmatch</a>)
				<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="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>
};	

<a href="qc-types.htm#void">void</a>() <b>item_megahealth_rot</b><a name="item_megahealth_rot">=</a>
{
	<a href="qc-glob.htm#other">other</a> = <a href="qc-glob.htm#self">self</a>.<a href="qc-enty.htm#dot_owner">owner</a>;
	
	<b>if</b> (<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_health">health</a> &gt; <a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_max_health">max_health</a>)
	{
		<a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_health">health</a> = <a href="qc-glob.htm#other">other</a>.<a href="qc-enty.htm#dot_health">health</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> + 1;
		<b>return</b>;
	}

<i>// it is possible for a player to die and respawn between rots, so don't</i>
<i>// just blindly subtract the flag off</i>
	<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_SUPERHEALTH">IT_SUPERHEALTH</a>);
	
	<b>if</b> (<a href="qc-glob.htm#deathmatch">deathmatch</a> == 1)	<i>// deathmatch 2 is silly old rules</i>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆国产精品官网| 亚洲欧美影音先锋| 久久精品国产成人一区二区三区| 日韩视频免费观看高清在线视频| 日韩激情av在线| 国产精品一区2区| 日日夜夜精品视频天天综合网| 欧美片网站yy| 老汉av免费一区二区三区| 久久亚洲综合av| 成人性生交大片免费看视频在线| 国产精品久久久久久亚洲伦| 在线视频国内一区二区| 日韩高清在线不卡| 久久久亚洲精品石原莉奈 | 色88888久久久久久影院野外 | 91九色最新地址| 日韩电影在线免费看| 久久综合九色欧美综合狠狠| 不卡av在线网| 午夜精品aaa| 国产丝袜美腿一区二区三区| 91猫先生在线| 激情丁香综合五月| 一区二区三区四区乱视频| 欧美一区二区三区四区视频| 国产精品456露脸| 亚洲制服丝袜av| 精品少妇一区二区三区在线视频| eeuss鲁一区二区三区| 天堂一区二区在线| 国产精品久久福利| 欧美刺激脚交jootjob| 91欧美激情一区二区三区成人| 日本三级韩国三级欧美三级| 国产精品乱码人人做人人爱| 欧美三电影在线| 成人午夜大片免费观看| 日韩精品成人一区二区在线| 国产精品福利av| 欧美成人三级在线| 欧美日韩国产不卡| 97国产精品videossex| 国模一区二区三区白浆| 亚洲福利电影网| 中文字幕在线观看一区| 欧美成人女星排行榜| 欧美美女bb生活片| 91猫先生在线| 99久久久久免费精品国产| 精品午夜一区二区三区在线观看 | 中文字幕一区二区三区四区| 日韩欧美国产一区二区在线播放 | 亚洲男人的天堂av| 国产视频一区不卡| 日韩欧美国产综合一区| 在线电影欧美成精品| 在线观看91视频| 99久久国产综合精品麻豆| 国产成人精品亚洲午夜麻豆| 日本在线播放一区二区三区| 亚洲综合一区二区| 亚洲人成7777| 日韩毛片一二三区| 国产精品麻豆一区二区| 国产精品色呦呦| 欧美极品美女视频| 国产一区二区免费在线| 国产午夜久久久久| 2020国产精品自拍| 久久久亚洲高清| 2023国产一二三区日本精品2022| 欧美一区二区人人喊爽| 91精品国产一区二区三区| 欧美日本不卡视频| 884aa四虎影成人精品一区| 欧美日韩国产影片| 欧美日韩免费高清一区色橹橹| 色999日韩国产欧美一区二区| 一本久久综合亚洲鲁鲁五月天 | 欧美久久高跟鞋激| 欧美三级在线看| 欧美日韩小视频| 91精品国产高清一区二区三区 | 国产白丝精品91爽爽久久| 国产精品中文有码| 成人中文字幕电影| 99re66热这里只有精品3直播 | 午夜亚洲福利老司机| 亚洲超碰精品一区二区| 视频一区中文字幕| 久久成人麻豆午夜电影| 国产福利精品一区| a级精品国产片在线观看| 波多野结衣亚洲| 91国产福利在线| 911国产精品| 久久尤物电影视频在线观看| 国产丝袜美腿一区二区三区| 亚洲手机成人高清视频| 亚洲影院久久精品| 毛片av一区二区| caoporn国产精品| 欧美日韩国产系列| 精品国产乱码久久久久久图片 | 国产精品久久久久一区| 亚洲一区国产视频| 精品一区精品二区高清| 国产成a人无v码亚洲福利| 色综合久久中文字幕| 欧美精品一级二级| 欧美韩日一区二区三区四区| 亚洲一区在线电影| 国产一区 二区| 日本高清免费不卡视频| 欧美大片免费久久精品三p| 中文成人综合网| 日韩精品高清不卡| 99久久99久久精品免费看蜜桃| 337p亚洲精品色噜噜| 国产成人av电影在线| 极品少妇一区二区| 日本道在线观看一区二区| 精品久久久三级丝袜| 一区二区三区不卡视频在线观看| 久久国产精品99久久人人澡| 99国内精品久久| 久久综合丝袜日本网| 亚洲一区二区三区视频在线播放 | 91美女在线视频| 欧美刺激午夜性久久久久久久| 亚洲视频精选在线| 经典一区二区三区| 3d成人动漫网站| 亚洲免费视频中文字幕| 国产精品一区免费在线观看| 欧美另类久久久品| 亚洲免费毛片网站| 国产精品99久久久久久有的能看| 欧美日韩激情一区二区| 亚洲人成精品久久久久| 成人午夜视频福利| 久久综合久色欧美综合狠狠| 日韩精品一级中文字幕精品视频免费观看| 成人在线一区二区三区| 精品国产99国产精品| 日韩成人精品在线| 欧美色图12p| 一区二区三区免费网站| 成人黄色片在线观看| 国产片一区二区三区| 久久精品国产99| 91精品国产综合久久国产大片| 亚洲已满18点击进入久久| 99re6这里只有精品视频在线观看| 久久久久国产一区二区三区四区 | 成人99免费视频| 国产精品三级av| 成人中文字幕合集| 中文字幕一区二区三区在线播放| 国产高清不卡一区二区| 久久伊人中文字幕| 精品一区二区三区av| 精品国产乱码久久久久久免费 | 一区二区三区在线观看国产| 99国产精品一区| 国产精品电影一区二区三区| 大白屁股一区二区视频| 国产区在线观看成人精品| 国产福利精品导航| 中文字幕视频一区二区三区久| 成人免费视频app| 椎名由奈av一区二区三区| eeuss鲁一区二区三区| 亚洲蜜臀av乱码久久精品蜜桃| 色综合久久综合网欧美综合网| 亚洲影院久久精品| 正在播放一区二区| 久久99精品国产麻豆婷婷| 亚洲精品一区二区三区香蕉| 国产乱子伦一区二区三区国色天香| 欧美r级电影在线观看| 成人一区二区三区在线观看| 亚洲视频在线观看一区| 欧美亚洲国产怡红院影院| 日韩av电影天堂| 精品免费视频一区二区| 国产.欧美.日韩| 亚洲自拍与偷拍| 精品久久一二三区| 成人激情黄色小说| 亚洲成在人线在线播放| 欧美成人a视频| 成人av中文字幕| 国产精品一区免费在线观看| 亚洲国产你懂的| 日韩欧美在线网站| www.色精品| 亚洲大片在线观看| 久久精品男人的天堂|