pubgv3/assets/scripts/game/clientbattle/battleNewbieConfig.js
2022-05-26 11:46:36 +08:00

713 lines
17 KiB
JavaScript

var itemcfg = require("gameConfig").itemConfig
itemcfg["170001"] = {
"attack_type": 1,
"name": "testevent",
"img": "",
"thing_id": 170001,
"height": 32,
"width": 32,
"type": 2,
"event": 101,
}
itemcfg["170002"] = {
"attack_type": 1,
"name": "testevent",
"img": "",
"thing_id": 170002,
"height": 32,
"width": 32,
"type": 2,
"event": 101,
}
itemcfg["160001"] = {
"attack_type": 1,
"name": "move",
"img": "",//
"thing_id": 160001,
"height": 128,
"width": 128,
"type": 2,
"event": 1,
}
itemcfg["160002"] = {
"attack_type": 2,
"name": "airwall",
"img": "",
"thing_id": 160002,
"height": 24,
"width": 2413,
"type": 2,
}
itemcfg["160003"] = {
"attack_type": 2,
"name": "airwall",
"img": "",
"thing_id": 160003,
"height": 2413,
"width": 24,
"type": 2,
}
itemcfg["160004"] = {
"attack_type": 2,
"name": "airwall",
"img": "",
"thing_id": 160004,
"height": 2413,
"width": 24,
"type": 2,
"destroykey": "map1open",
}
itemcfg["160005"] = {
"attack_type": 2,
"name": "airwall",
"img": "",
"thing_id": 160005,
"height": 2413,
"width": 24,
"type": 2,
"destroykey": "map2open",
}
itemcfg["160006"] = {
"attack_type": 1,
"name": "airwall",//
"img": "",
"thing_id": 160006,
"height": 0,
"width": 0,
"type": 2,
"prefab":"newbie_airwall_1",
"destroykey": "wall1",
}
itemcfg["160007"] = {
"attack_type": 1,
"name": "airwall",//
"img": "",
"thing_id": 160007,
"height": 0,
"width": 0,
"type": 2,
"prefab": "newbie_airwall_1",//
"destroykey": "wall2",
}
itemcfg["160010"] = {
"attack_type": 1,
"name": "get gun",//
"img": "",
"thing_id": 160010,
"height": 98,
"width": 98,
"type": 2,
"event": 10,
"prefab": "newbie1_pos",//
}
itemcfg["160011"] = {
"attack_type": 1,
"name": "shoot",
"img": "",
"thing_id": 160011,
"height": 50,
"width": 50,
"type": 2,
"event": 11,
"prefab": "newbie2_gun",
"is_tree":3,
}
itemcfg["160012"] = {
"attack_type": 1,
"name": "move",
"img": "",
"thing_id": 160012,
"height": 128,
"width": 128,
"type": 2,
"event": 12,
}
itemcfg["160013"] = {
"attack_type": 2,
"name": "arrow",
"img": "",
"thing_id": 160013,
"height": 0,
"width": 0,
"type": 2,
"prefab": "newbie3_goto",
"is_tree":3,
}
itemcfg["160020"] = {
"attack_type": 2,
"name": "air",//
"img": "",
"thing_id": 160020,
"height": 88,
"width": 88,
"type": 2,
"event": 20,
"prefab": "newbie1_pos",
"is_tree":3,
}
itemcfg["160029"] = {//
"attack_type": 1,
"name": "box",
"img": "map-airdrop",
"thing_id": 160029,
"height": 32,
"width": 32,
"type": 2,
"button_name": 1,
"prefab": "newbie4_air",
"nextloot":160030,
}
itemcfg["160030"] = {
"attack_type": 1,
"name": "box",//
"img": "map-airdrop",
"thing_id": 160030,
"height": 32,
"width": 32,
"type": 2,
"event": 30,
// "prefab": "newbie4_air",
}
itemcfg["160031"] = {
"attack_type": 2,
"name": "fangun",//
"img": "",
"thing_id": 160031,
"height": 128,
"width": 128,
"type": 2,
"event": 31,
}
itemcfg["160032"] = {
"attack_type": 1,
"name": "move",//
"img": "",
"thing_id": 160032,
"height": 128,
"width": 128,
"type": 2,
"event": 32,
}
itemcfg["160040"] = {
"attack_type": 2,
"name": "move",
"img": "",
"thing_id": 160040,
"height": 88,
"width": 88,
"type": 2,
"event": 40,
"prefab": "newbie1_pos",
"is_tree":3,
}
itemcfg["160041"] = {
"attack_type": 1,
"name": "move",
"img": "",
"thing_id": 160041,
"height": 32,
"width": 32,
"type": 2,
}
itemcfg["160050"] = {
"attack_type": 1,
"name": "celebrate",
"img": "",
"thing_id": 160050,
"height": 128,
"width": 128,
"type": 2,
"event": 50,
}
itemcfg["160051"] = {
"attack_type": 1,
"name": "enemy",
"img": "",
"thing_id": 160052,
"height": 128,
"width": 128,
"type": 2,
"event": 51,
"prefab": "",
}
itemcfg["160060"] = {
"attack_type": 2,
"name": "ill",
"img": "",
"thing_id": 160060,
"height": 88,
"width": 88,
"type": 2,
"event": 60,
}
itemcfg["160070"] = {
"attack_type": 1,
"name": "distention",
"img": "",
"height": 0,
"width": 0,
"type": 2,
"prefab":"newbie_destination_1",
"object_vision":"50|50",
"layer_layering":0,
"build_transparent":1,
"xiuzheng":1,
"hit_sound":"hit_common",
"destroykey": "goto1",
"is_tree":1,
}
itemcfg["160071"] = {
"attack_type": 1,
"name": "arrow",
"img": "",
"height": 0,
"width": 0,
"type": 2,
"prefab":"newbie_arrow_1",
"layer_layering":0,
"destroykey": "goto1",
"is_tree":3,
}
itemcfg["160080"] = {
"attack_type": 1,
"name": "gun1",
"img": "",
"height": 8,
"width": 12,
"type": 2,
"prefab":"newbie_gun_1",
"object_vision":"50|50",
"layer_layering":20,
"build_transparent":1,
"xiuzheng":1,
"destroykey": "gun1",
}
itemcfg["160090"] = {
"attack_type": 1,
"name": "drop2",
"img": "",
"height": 0,
"width": 0,
"type": 2,
"prefab":"newbie_boom_1",
"object_vision":"50|50",
"layer_layering":20,
"build_transparent":1,
"xiuzheng":1,
"destroykey": "boom1",
}
itemcfg["160091"] = {
"attack_type": 1,
"name": "fire",
"img": "",
"height": 0,
"width": 0,
"type": 2,
"prefab":"newbie_boom_2",
"object_vision":"50|50",
"layer_layering":20,
"build_transparent":1,
"xiuzheng":1,
"destroykey": "boom2",
}
itemcfg["160100"] = {
"attack_type": 1,
"name": "jijia",
"img": "",
"height": 40,
"width": 40,
"type": 2,
"prefab":"newbie_pbcar",
"object_vision":"50|50",
"layer_layering":20,
"build_transparent":1,
"xiuzheng":1,
}
itemcfg["160101"] = {
"attack_type": 1,
"name": "duorenjijia",
"img": "",
"height": 40,
"width": 40,
"type": 2,
"prefab":"newbie_pbcar_1",
"object_vision":"50|50",
"layer_layering":20,
"build_transparent":1,
"xiuzheng":1,
}
itemcfg["160102"] = {
"attack_type": 1,
"name": "cao",
"img": "",
"height": 0,
"width": 0,
"type": 2,
"prefab":"newbie_grass_1",
"object_vision":"20|20",
"layer_layering":20,
"build_transparent":1,
"xiuzheng":1,
}
var bNewbieEnum = {
createloot:1,//
createdrop:2,//
createair:3,//
gamepause:4,
gameresume:5,
waitforemit:6,
playerpause:7,
touch:8,
tipsPosAndRotation:9,
handPosAndRotation:10,
setText:11,
showHand:12,
hideHand:13,
createnewbieenemy:14,
emit:15,
destroyloot:16,//
timescale:17,
dir:18,
maidian:19,//
delay:20,//
shownode:21,
hidenode:22,
dowin:23,
}
var bNewbieConfig = {
"1":[
[bNewbieEnum.createloot,52008,64,1438,0],
[bNewbieEnum.createloot,52004,139,1496,0],
[bNewbieEnum.createloot,52004,263,1468,0],
[bNewbieEnum.createloot,52010,957,1429,0],
[bNewbieEnum.createloot,52004,1690,1471,0],
[bNewbieEnum.createloot,52008,1842,1452,0],
[bNewbieEnum.createloot,52008,1777,1417,0],
[bNewbieEnum.createloot,52006,2123,1459,0],
[bNewbieEnum.createloot,52010,690,932,0],
[bNewbieEnum.createloot,52009,631,905,0],
[bNewbieEnum.createloot,52004,758,907,0],
[bNewbieEnum.createloot,52004,2256,839,0],
[bNewbieEnum.createloot,52004,1587,965,0],
[bNewbieEnum.createloot,52017,2370,873,0],
[bNewbieEnum.createloot,59012,385,1070,0],
[bNewbieEnum.createloot,59012,385,1259,0],
[bNewbieEnum.createloot,52007,385,1407,0],
[bNewbieEnum.createloot,59012,2045,1070,0],
[bNewbieEnum.createloot,59012,2045,1259,0],
[bNewbieEnum.createloot,52007,2045,1407,0],
[bNewbieEnum.createloot,59043,782,1326,0],
[bNewbieEnum.createloot,59095,720,1048,0],
[bNewbieEnum.createloot,59071,1193,988,0],
[bNewbieEnum.createloot,59062,1213,1309,0],
[bNewbieEnum.createloot,59086,1884,1287,0],
[bNewbieEnum.createloot,59043,1932,1129,0],
[bNewbieEnum.createloot,59080,1845,1052,0],
[bNewbieEnum.createdrop,30602,1468,1031,0],
[bNewbieEnum.createdrop,30602,1342,1316,0],
[bNewbieEnum.createdrop,30606,1521,1036,0],
[bNewbieEnum.createdrop,30606,1939,1023,0],
[bNewbieEnum.createloot,61311,984,1014,0],
[bNewbieEnum.createloot,59043,967,1237,0],
[bNewbieEnum.createloot,160101,1688,1297,0],
// [bNewbieEnum.createloot,160102,1335,1284,0],
// [bNewbieEnum.createloot,160102,1486,1007,0],
// [bNewbieEnum.createloot,160102,900,1092,0],
[bNewbieEnum.hidenode,"Canvas/GameUI/hidenode/nd_buttom/btn_dash"],
[bNewbieEnum.hidenode,"Canvas/GameUI/hidenode/nd_buttom/ndskill"],
[bNewbieEnum.hidenode,"Canvas/GameUI/hidenode/nd_top3/btn_fake"],
[bNewbieEnum.tipsPosAndRotation,10,-90,0],
[bNewbieEnum.maidian,"newbiebattle1"],
[bNewbieEnum.setText,"hi!", true,true],
[bNewbieEnum.setText,"hi", true],
[bNewbieEnum.setText,"zou", true],
[bNewbieEnum.setText,"go", true],
[bNewbieEnum.createloot,160010,544,1043,0],
[bNewbieEnum.createloot,160070,544,1043,0],
[bNewbieEnum.createloot,160013,588,1182,0],
[bNewbieEnum.emit,"newhand1"],
[bNewbieEnum.delay,0.1],
],
"10":[
[bNewbieEnum.delay,0.01],
[bNewbieEnum.destroyloot,"goto1"],
[bNewbieEnum.delay,0.01],
[bNewbieEnum.createloot,160070,969,1286,0],
[bNewbieEnum.createloot,160080,969,1286,0],
[bNewbieEnum.createloot,160011,969,1286,0],//
[bNewbieEnum.createdrop,30602,0,0,1],
[bNewbieEnum.createdrop,30602,0,0,1],
[bNewbieEnum.createloot,160071,900,1171,0],//
[bNewbieEnum.createloot,160071,600,1171,0],
[bNewbieEnum.delay,0.01],
[bNewbieEnum.tipsPosAndRotation,10,-90,0],//
[bNewbieEnum.delay,0.01],
[bNewbieEnum.maidian,"newbiebattle2"],//
[bNewbieEnum.setText,"go", true,true],
[bNewbieEnum.setText,"pick", true,true],
[bNewbieEnum.delay,0.01],
],
"11":[
[bNewbieEnum.createdrop,20115,0,0,1,true,true],//
[bNewbieEnum.destroyloot,"goto1"],
[bNewbieEnum.destroyloot,"gun1"],
[bNewbieEnum.delay,0.1],
[bNewbieEnum.handPosAndRotation,18,-20,0],//
[bNewbieEnum.tipsPosAndRotation,10,-90,0],//
[bNewbieEnum.delay,0.5],
[bNewbieEnum.maidian,"newbiebattle3"],//
[bNewbieEnum.setText,"click", true,true],
[bNewbieEnum.showHand],
[bNewbieEnum.touch,"Canvas/GameUI/hidenode/nd_buttom/btn_gun2"],//
[bNewbieEnum.hideHand],
[bNewbieEnum.delay,0.1],
[bNewbieEnum.handPosAndRotation,30,-20,0],//
[bNewbieEnum.tipsPosAndRotation,10,-90,0],//
[bNewbieEnum.maidian,"newbiebattle4"],//
[bNewbieEnum.setText,"play", false,true],
[bNewbieEnum.showHand],
[bNewbieEnum.touch,"Canvas/GameUI/hidenode/nd_buttom/btn_pushBullet"],//
[bNewbieEnum.hideHand],
[bNewbieEnum.delay,1],
[bNewbieEnum.setText,"", true,true],
[bNewbieEnum.setText,"", true],
[bNewbieEnum.createnewbieenemy,420,1300,0,20115,1001],//
[bNewbieEnum.delay,0.5],
[bNewbieEnum.emit,"newhand2"],
[bNewbieEnum.delay,0.1],
],
"12":[
[bNewbieEnum.delay,0.1],
[bNewbieEnum.createloot,160013,920,1182,0],//
[bNewbieEnum.createloot,160013,1070,1182,0],//
[bNewbieEnum.destroyloot,"map1open"],//
[bNewbieEnum.destroyloot,"wall1"],//
[bNewbieEnum.createloot,160020,1200,1171,0],//
[bNewbieEnum.createloot,160070,1200,1171,0],//
[bNewbieEnum.createloot,160071,900,1171,0],//
[bNewbieEnum.tipsPosAndRotation,10,-90,0],//
[bNewbieEnum.maidian,"newbiebattle5"],//
[bNewbieEnum.createloot,160090,920,1400,0],//
[bNewbieEnum.delay,0.5],
[bNewbieEnum.createloot,160090,740,887,0],//
[bNewbieEnum.delay,0.3],
[bNewbieEnum.createloot,160090,556,1175,0],//
[bNewbieEnum.delay,0.3],
[bNewbieEnum.createloot,160091,920,1278,0],//
[bNewbieEnum.createloot,160091,740,765,0],//
[bNewbieEnum.createloot,160091,556,1023,0],//
[bNewbieEnum.setText,"go", true,true],
[bNewbieEnum.delay,0.1],
],
"20":[
[bNewbieEnum.destroyloot,"goto1"],//
[bNewbieEnum.destroyloot,"boom1"],//
[bNewbieEnum.delay,0.1],
[bNewbieEnum.createair,160029,0,0,1],//
[bNewbieEnum.delay,0.2],
[bNewbieEnum.tipsPosAndRotation,10,-90,0],//
[bNewbieEnum.maidian,"newbiebattle6"],//
[bNewbieEnum.setText,"aha", true,true],
[bNewbieEnum.setText,"look", true],
[bNewbieEnum.delay,0.1],
],
"30":[
[bNewbieEnum.delay,0.1],
[bNewbieEnum.createdrop,100001,0,0,1,true],//
[bNewbieEnum.createdrop,30606,0,0,1,true],//
[bNewbieEnum.createdrop,30606,0,0,1,true],
[bNewbieEnum.createnewbieenemy,1800,1170,0,20711,1002],//
[bNewbieEnum.delay,0.1],
[bNewbieEnum.handPosAndRotation,38,-20,0],//
[bNewbieEnum.tipsPosAndRotation,10,-90,0],
[bNewbieEnum.maidian,"newbiebattle7"],//
[bNewbieEnum.setText,"wachout", true,true],
[bNewbieEnum.setText,"change", false],
[bNewbieEnum.showHand],
[bNewbieEnum.touch,"Canvas/GameUI/hidenode/nd_buttom/btn_gun3"],//
[bNewbieEnum.hideHand],
[bNewbieEnum.delay,2],
],
"31":[
[bNewbieEnum.delay,0.1],
[bNewbieEnum.timescale,0.2],
[bNewbieEnum.delay,0.01],
[bNewbieEnum.dir,1,1],
[bNewbieEnum.handPosAndRotation,38,-20,0],//
[bNewbieEnum.tipsPosAndRotation,10,-90,0],//
[bNewbieEnum.maidian,"newbiebattle8"],//
[bNewbieEnum.setText,"go", false,true],
[bNewbieEnum.showHand],
[bNewbieEnum.shownode,"Canvas/GameUI/hidenode/nd_buttom/btn_dash"],
[bNewbieEnum.touch,"Canvas/GameUI/hidenode/nd_buttom/btn_dash"],//
[bNewbieEnum.hideHand],
[bNewbieEnum.delay,0.3],
[bNewbieEnum.timescale,1],
[bNewbieEnum.delay,0.3],
[bNewbieEnum.handPosAndRotation,33,-25,0],//
[bNewbieEnum.setText,"asd", false,true],
[bNewbieEnum.showHand],
[bNewbieEnum.shownode,"Canvas/GameUI/hidenode/nd_buttom/ndskill"],
[bNewbieEnum.touch,"Canvas/GameUI/hidenode/nd_buttom/ndskill/joyskill"],//
[bNewbieEnum.hideHand],
[bNewbieEnum.delay,0.1],
],
"32":[
[bNewbieEnum.createloot,160040,1810,1145,0],//
[bNewbieEnum.createloot,160070,1810,1145,0],
[bNewbieEnum.createloot,160071,1510,1145,0], //
[bNewbieEnum.createloot,160071,1210,1145,0],
[bNewbieEnum.createloot,160071,910,1145,0],
[bNewbieEnum.createloot,160071,610,1145,0],
[bNewbieEnum.maidian,"newbiebattle9"],//
[bNewbieEnum.setText,"go", true,true],
[bNewbieEnum.delay,0.1],
],
"40":[
[bNewbieEnum.destroyloot,"goto1"],//
[bNewbieEnum.delay,0.1],
[bNewbieEnum.handPosAndRotation,29,-30,0],//
[bNewbieEnum.tipsPosAndRotation,10,-90,0],//
[bNewbieEnum.maidian,"newbiebattle10"],//
[bNewbieEnum.setText,"11", true,true],
[bNewbieEnum.setText,"22", true],
[bNewbieEnum.setText,"33", false],
[bNewbieEnum.showHand],
[bNewbieEnum.touch,"Canvas/GameUI/hidenode/nd_top3/btn_fake"],
[bNewbieEnum.handPosAndRotation,32,-25,0],//
[bNewbieEnum.touch,"Canvas/GameUI/hidenode/nd_fake/btn1"],
[bNewbieEnum.hideHand],
[bNewbieEnum.delay,0.1],
[bNewbieEnum.createnewbieenemy,1400,1170,0,12112,1003],//
[bNewbieEnum.playerpause,3.5],//
[bNewbieEnum.delay,3],
//[bNewbieEnum.createloot,60041,0,0,1],//
[bNewbieEnum.maidian,"newbiebattle11"],//
[bNewbieEnum.setText,"44", true,true],
[bNewbieEnum.createloot,160070,1708,1046,0],
],
//"41":[
// [bNewbieEnum.delay,0.1],
//
// [bNewbieEnum.delay,0.1],
//],
"50":[
[bNewbieEnum.delay,0.1],
[bNewbieEnum.destroyloot,"goto1"],//
[bNewbieEnum.tipsPosAndRotation,10,-90,0],//
[bNewbieEnum.maidian,"newbiebattle13"],//
[bNewbieEnum.setText,"22", true,true],
[bNewbieEnum.setText,"33", true],
[bNewbieEnum.delay,0.1],
[bNewbieEnum.createloot,160051,0,0,1],//
],
"51":[
[bNewbieEnum.delay,0.1],
[bNewbieEnum.createnewbieenemy,1300,1056,0,20115,1005],//
[bNewbieEnum.createnewbieenemy,1300,1166,0,20115,1004],//
[bNewbieEnum.createnewbieenemy,1300,1276,0,20115,1006],//
[bNewbieEnum.createdrop,30302,0,0,1,true],//
[bNewbieEnum.delay,0.1],
],
"60":[
[bNewbieEnum.delay,0.1],
[bNewbieEnum.handPosAndRotation,33,-25,0],//
[bNewbieEnum.tipsPosAndRotation,10,-90,0],//
[bNewbieEnum.maidian,"newbiebattle14"],//
[bNewbieEnum.setText,"11", false],
[bNewbieEnum.showHand],
[bNewbieEnum.touch,"Canvas/GameUI/hidenode/nd_buttom/btn_eat"],//
[bNewbieEnum.hideHand],
[bNewbieEnum.delay,0.1],
[bNewbieEnum.playerpause,3],//time
[bNewbieEnum.delay,3],
[bNewbieEnum.waitforemit,"newbieover"],
[bNewbieEnum.setText,"22", true,true],
[bNewbieEnum.setText,"33 :)", true],
[bNewbieEnum.dowin],
],
}
module.exports = {
cfg:bNewbieConfig,
enu:bNewbieEnum
}