首页 求生之路2武器源码分析

求生之路2武器源码分析

举报
开通vip

求生之路2武器源码分析WeaponData{// Terror-specific Data --------------------"VerticalPunch" "3"----武器的后坐力,数值越低后坐力越小。"SpreadPerShot" "20"----射击偏离准心的程度,数值越低越准。"MaxSpread" "5"----准心最大扩散程度,数值越低扩散越小。"SpreadDecay" "5"----准心扩散衰减程度。"MinDuckingSpread" "0"----下蹲时准心扩散程度,数值越低扩散越小。"MinStanding...

求生之路2武器源码分析
WeaponData{// Terror-specific Data --------------------"VerticalPunch" "3"----武器的后坐力,数值越低后坐力越小。"SpreadPerShot" "20"----射击偏离准心的程度,数值越低越准。"MaxSpread" "5"----准心最大扩散程度,数值越低扩散越小。"SpreadDecay" "5"----准心扩散衰减程度。"MinDuckingSpread" "0"----下蹲时准心扩散程度,数值越低扩散越小。"MinStandingSpread" "0.8"----站立时准心扩散程度,数值越低扩散越小。"MinInAirSpread" "2.5"----空中准心扩散程度,数值越低扩散越小。"MaxMovementSpread" "1.5"----移动时准心扩散程度,数值越低扩散越小。"PelletScatterPitch" "4.0" //increased accuracy"PelletScatterYaw" "8.5" //decreased accuracy"ReloadDuration" "0.396"----装弹速度,对散弹枪作用不大。"AddonAttachment" "primary""team" "survivor""Tier" "2" // valid entries are 0, 1, 2"ResponseRulesName" "AutoShotgun"// particle muzzle flash effect to play when fired"MuzzleFlashEffect_1stPerson" "weapon_muzzle_flash_shotgun_FP""MuzzleFlashEffect_3rdPerson" "weapon_muzzle_flash_autoshotgun"// model for the shell casing to eject when we fire bullets"EjectBrassEffect" "weapon_shell_casing_shotgun"// Used in the music system when this weapon fires"MusicDynamicSpeed" "1.5""DisplayName" "#L4D_Weapon_AutoShotgun""DisplayNameAllCaps" "#L4D_Weapon_AutoShotgun_CAPS"// 360 Terror Data"MaxAutoAimDeflection1" "10.0""MaxAutoAimRange1" "0"//This value determins how "big" a target is for auto aim. If a target is 10.0 units big then it is considered 10.0*scale. //You can think about this value controlling a falloff value on distant targets, the smaller the value the harder it is to hit at a distance."WeaponAutoAimScale" "1.0"// End Terror-specific Data ----------------"Rumble" "5"----开枪时候的噪音,数值越大吸引僵尸越多。"MaxPlayerSpeed" "240"----持枪最大移动速度,数值越大速度越快。"WeaponType" "shotgun""WeaponPrice" "3000""WeaponArmorRatio" "1.0""CrosshairMinDistance" "9"----准心的直径,越小越好。"CrosshairDeltaDistance" "4"----开火时准心的扩散程度,数值越低扩散越小。&q uot;Team" "ANY""BuiltRightHanded" "1"----左右手。1代 关于同志近三年现实表现材料材料类招标技术评分表图表与交易pdf视力表打印pdf用图表说话 pdf 右手,0代表左手。"PlayerAnimationExtension" "xm1014""MuzzleFlashScale" "1.3""CanEquipWithShield" "0"// Weapon characteristics:"PenetrationNumLayers" "2"----穿透物体的层数,数值越高穿透层数越多。"PenetrationPower" "30"----穿透过后子弹的威力,默认值为30%,数值高穿透威力越大。"PenetrationMaxDistance" "500"----最大穿透距离,数值越高穿透距离越远。"CharacterPenetrationMaxDistance" "300"----角色穿透距离,数值越高穿透距离越远。(僵尸不是用这个计算的)"Damage" "23"----武器单发威力,数值越高威力越大,高难度下可能会一发子弹误杀队友。"Range" "3000"----子弹飞行距离,数值越高飞得越远。"RangeModifier" "0.7"----距离修正值,默认值为0.7,也就是说在射击距离内,威力的衰减值为70%,如果改成1.0,则没有威力衰减。"Bullets" "11"----一次射击的子弹数量,数值越高子弹数越多,但对显卡的负荷较大。"CycleTime" "0.15"----射速,数值越低射速越快,对散弹枪作用不大。// Weapon data is loaded by both the Game and Client DLLs."printname" "Auto Shotgun""playermodel" "models/w_models/weapons/w_autoshot_m4super.mdl""viewmodel" "models/v_models/v_autoshotgun.mdl""CharacterViewmodelAddon"{"Coach" "models/weapons/arms/v_arms_coach_new.mdl""Mechanic" "models/weapons/arms/v_arms_mechanic_new.mdl""Producer" "models/weapons/arms/v_arms_producer_new.mdl""Gambler" "models/weapons/arms/v_arms_gambler_new.mdl""Manager" "models/weapons/arms/v_arms_louis.mdl""Biker" "models/weapons/arms/v_arms_francis.mdl""TeenGirl" "models/weapons/arms/v_arms_zoey.mdl""NamVet" "models/weapons/arms/v_arms_bill.mdl"}"anim_prefix" "anim""bucket" "0"----武器位置。0代表主武器位置,1代表近身武器和手枪位置,2代表投掷武器位置,3代表急救包以及爆炸燃烧铁盒的位置,4代表止痛药和肾上腺素的位置,5代表油桶等物品的位置。修改此项可以将主武器移至副武器甚至是投掷武器的位置,以达到装备多把主武器的效果。如果将数值改为6-9中任意一个,则地图中不会刷出该武器(一些特定的地点除外)
本文档为【求生之路2武器源码分析】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_682974
暂无简介~
格式:doc
大小:6KB
软件:Word
页数:2
分类:
上传时间:2017-06-01
浏览量:373