2014-01-13 10:12:37 k73游戏之家 作者:小時
.generatedgun随机生成射击武器系列设定说明:商人所贩卖的射击武器几乎都是随机生成射击武器,除了弓或是特殊武器之外,目前所有的射击武器都是依此生成出来。
{
//名称
"name" : "aviangun",
//最大堆叠
"maxStack" : 1,
//稀有度 可分为 "common"(常见), "uncommon"(不常见), "rare"(稀有), "legendary"(传说)
"rarity" : "common",
//种类
"inspectionKind" : "gun",
//手部位置
"handPosition" : [7, 0],
//不明
"firePosition" : [-2, 10],
//武器类型
"weaponType" : "Avian Blaster",
//基本伤害[最小伤害,最大伤害]
"baseDps" : [6, 6.5],
//射速[最小射速,最大射速]
"rateOfFire" : [7, 20],
//不明(应该是分单或双手)
"hands" : [2, 2],
//后座力时间
"recoilTime" : 0.1,
//扩散範围
"spread" : [1, 1],
//不明(应该是攻击倍率)
"multiplier" : 1.0,
//準度(百分比)
"accuracy" : 100,
//枪口的闪光动画
"muzzleFlashes" : [
"/animations/muzzleflash/bulletmuzzle3/bulletmuzzle3.animation"
],
//发射体类型,也可称为使用弹药种类,对应projectiles资料夹的.projectile系列设定
"projectileTypes" : [ "bullet-1", "bullet-2", "bullet-3", "bullet-4" ],
//枪体使用图片目录,并以barrel(枪管)、middle(枪机)、butt(枪托)组合出来
"directories" : [ "/items/guns/randomgenerated/aviangun/" ],
//发射音效
"fireSound" : [ "/sfx/gun/ar6.wav" ],
//调色板(目前不明)
"palette" : [
{ "5d3a1f" : "5d3a1f", "be9f55" : "be9f55", "dac782" : "dac782", //main colour
"510011" : "510011", "a80014" : "a80014", "d4003c" : "d4003c", "ff063f" : "ff063f" //crystals
},
{ "5d3a1f" : "5d3a1f", "be9f55" : "be9f55", "dac782" : "dac782", //main colour
"510011" : "001e51", "a80014" : "255f9a", "d4003c" : "6196cc", "ff063f" : "a2d9ef" //crystals
},
{ "5d3a1f" : "712c57", "be9f55" : "9a477a", "dac782" : "c472a3", //main colour
"510011" : "2b3c0e", "a80014" : "5a7728", "d4003c" : "86a74d", "ff063f" : "c2e18b" //crystals
}
],
//名称生成,格式为"(名称).config:nameGen"
"nameGenerator" : "aviannames.config:nameGen"
}
.config:nameGen设定说明
这是配套随机生成系列设定的.config
主要是生成武器名称,目前看到名称最大组合为叁组,是否可以组到4组以上不得而知
{
"nameGen" : [
{ "mode" : "alts" },
[
{ "mode" : "serie" },
//组合名称1(必要,若要使用两组以上要在中括号后面打逗号隔开,不然会出错)
[ { "mode" : "alts" }, "Burst", "Kill", "Thunder", "Death", "Storm", "Dude", "Strike", "Raid", "Charge", "Thrash", "Rage", "Blast", "Blam", "Cover", "Corpse", "Carrion", "Widow" ],
//组合名称2(可选)
[ { "mode" : "alts" }, "rifle", "barrel", "enator", "eriser", "maker", "boy", "sprayer", "pelter", "-Shooter", "razer", "razor", "plugger", "riddler", "killer" ]
]
]
}