请翻译成中文 保留原有代码
["handshake"] = {
"mp_ped_interaction",
"handshake_guy_a",
"Handshake",
"handshake2",
AnimationOptions = {
EmoteMoving = true,
EmoteDuration = 3000,
SyncOffsetFront = 0.9
}
},
["handshake2"] = {
"mp_ped_interaction",
"handshake_guy_b",
"Handshake 2",
"handshake",
AnimationOptions = {
EmoteMoving = true,
EmoteDuration = 3000
}
},
["hug"] = {
"mp_ped_interaction",
"kisses_guy_a",
"Hug",
"hug2",
AnimationOptions = {
EmoteMoving = false,
EmoteDuration = 5000,
SyncOffsetFront = 1.05
}
},
["hug2"] = {
"mp_ped_interaction",
"kisses_guy_b",
"Hug 2",
"hug",
AnimationOptions = {
EmoteMoving = false,
EmoteDuration = 5000,
SyncOffsetFront = 1.18
}
},
["hugr"] = {
"misscarsteal2chad_goodbye",
"chad_armsaround_chad",
"Hug Romantic 1",
"hugr2",
AnimationOptions = {
EmoteMoving = false,
EmoteLoop = true,
SyncOffsetSide = -0.05,
SyncOffsetFront = 0.52
}
},
["hugr2"] = {
"misscarsteal2chad_goodbye",
"chad_armsaround_girl",
"Hug Romantic 2",
"hugr",
AnimationOptions = {
EmoteMoving = false,
EmoteLoop = true,
SyncOffsetSide = -0.05,
SyncOffsetFront = 0.52
}
},
["bro"] = {
"mp_ped_interaction",
"hugs_guy_a",
"Bro",
"bro2",
AnimationOptions = {
SyncOffsetFront = 1.14
}
},
["bro2"] = {
"mp_ped_interaction",
"hugs_guy_b",
"Bro 2",
"bro",
AnimationOptions = {
SyncOffsetFront = 1.14
}
},
["give"] = {
"mp_common",
"givetake1_a",
"Give",
"give2",
AnimationOptions = {
EmoteMoving = true,
EmoteDuration = 2000
}
},
["give2"] = {
"mp_common",
"givetake1_b",
"Give 2",
"give",
AnimationOptions = {
EmoteMoving = true,
EmoteDuration = 2000
}
},
["baseball"] = {
"anim@arena@celeb@flat@paired@no_props@",
"baseball_a_player_a",
"Baseball",
"baseballthrow"
},
["baseballthrow"] = {
"anim@arena@celeb@flat@paired@no_props@",
"baseball_a_player_b",
"Baseball Throw",
"baseball"
},
["stickup"] = {
"random@countryside_gang_fight",
"biker_02_stickup_loop",
"Stick Up",
"stickupscared",
AnimationOptions = {
EmoteLoop = true,
EmoteMoving = true
}
},
["stickupscared"] = {
"missminuteman_1ig_2",
"handsup_base",
"Stickup Scared",
"stickup",
AnimationOptions = {
EmoteMoving = true,
EmoteLoop = true
}
},
["punch"] = {
"melee@unarmed@streamed_variations",
"plyr_takedown_rear_lefthook",
"Punch",
"punched"
},
["punched"] = {
"melee@unarmed@streamed_variations",
"victim_takedown_front_cross_r",
"Punched",
"punch"
},
["headbutt"] = {
"melee@unarmed@streamed_variations",
"plyr_takedown_front_headbutt",
"Headbutt",
"headbutted"
},
["headbutted"] = {
"melee@unarmed@streamed_variations",
"victim_takedown_front_headbutt",
"Headbutted",
"headbutt"
},
["slap2"] = {
"melee@unarmed@streamed_variations",
"plyr_takedown_front_backslap",
"Slap 2",
"slapped2",
AnimationOptions = {
EmoteLoop = true,
EmoteMoving = true,
EmoteDuration = 2000
}
},
["slap"] = {
"melee@unarmed@streamed_variations",
"plyr_takedown_front_slap",
"Slap",
"slapped",
AnimationOptions = {
EmoteLoop = true,
EmoteMoving = true,
EmoteDuration = 2000
}
},
["slapped"] = {
"melee@unarmed@streamed_variations",
"victim_takedown_front_slap",
"Slapped",
"slap"
},
["slapped2"] = {
"melee@unarmed@streamed_variations",
"victim_takedown_front_backslap",
"Slapped 2",
"slap2"
},
["receiveblowjob"] = {
"misscarsteal2pimpsex",
"pimpsex_punter",
"Receive Blowjob",
"giveblowjob",
AnimationOptions = {
EmoteMoving = false,
EmoteDuration = 30000,
SyncOffsetFront = 0.63
},
AdultAnimation = true
},
["giveblowjob"] = {
"misscarsteal2pimpsex",
"pimpsex_hooker",
"Give Blowjob",
"receiveblowjob",
AnimationOptions = {
EmoteMoving = false,
EmoteDuration = 30000,
SyncOffsetFront = 0.63
},
AdultAnimation = true
},
["streetsexmale"] = {
"misscarsteal2pimpsex",
"shagloop_pimp",
"Street Sex Male",
"streetsexfemale",
AnimationOptions = {
EmoteMoving = false,
EmoteLoop = true,
SyncOffsetFront = 0.50
},
AdultAnimation = true
},
["streetsexfemale"] = {
"misscarsteal2pimpsex",
"shagloop_hooker",
"Street Sex Female",
"streetsexmale",
AnimationOptions = {
EmoteMoving = false,
EmoteLoop = true,
SyncOffsetFront = 0.50
},
AdultAnimation = true
},
["carry"] = {
"missfinale_c2mcs_1",
"fin_c2_mcs_1_camman",
"Carry",
"carry2",
AnimationOptions = {
EmoteMoving = true,
EmoteLoop = true
}
},
["carry2"] = {
"nm",
"firemans_carry",
"Be carried",
"carry",
AnimationOptions = {
EmoteMoving = false,
EmoteLoop = true,
Attachto = true,
bone = 40269,
xPos = -0.14,
yPos = 0.15,
zPos = 0.14,
xRot = 0.0,
yRot = -59.0,
zRot = -4.5
}
},
["carry3"] = {
"anim@heists@box_carry@",
"idle",
"Carry 2",
"carry4",
AnimationOptions = {
EmoteMoving = true,
EmoteLoop = true
}
},
["carry4"] = {
"amb@code_human_in_car_idles@generic@ps@base",
"base",
"Be carried 2",
"carry3",
AnimationOptions = {
EmoteMoving = false,
EmoteLoop = true,
Attachto = true,
bone = 28252,
xPos = 0.350,
yPos = 0.15,
zPos = -0.15,
xRot = -42.50,
yRot = -22.50,
zRot = 22.50
}
},
-- 握手动作配置
["handshake"] = {
"mp_ped_interaction", -- 动作字典
"handshake_guy_a", -- 动作名称
"Handshake", -- 动作描述
"handshake2", -- 同步动作
AnimationOptions = {
EmoteMoving = true, -- 动作是否可以在移动时执行
EmoteDuration = 3000, -- 动作持续时间(毫秒)
SyncOffsetFront = 0.9 -- 前方同步偏移
}
},
-- 握手动作配置第二部分
["handshake2"] = {
"mp_ped_interaction",
"handshake_guy_b",
"Handshake 2",
"handshake",
AnimationOptions = {
EmoteMoving = true,
EmoteDuration = 3000
}
},
-- 拥抱动作配置
["hug"] = {
"mp_ped_interaction",
"kisses_guy_a",
"Hug",
"hug2",
AnimationOptions = {
EmoteMoving = false,
EmoteDuration = 5000,
SyncOffsetFront = 1.05
}
},
-- 拥抱动作配置第二部分
["hug2"] = {
"mp_ped_interaction",
"kisses_guy_b",
"Hug 2",
"hug",
AnimationOptions = {
EmoteMoving = false,
EmoteDuration = 5000,
SyncOffsetFront = 1.18
}
},
-- 浪漫拥抱动作配置
["hugr"] = {
"misscarsteal2chad_goodbye",
"chad_armsaround_chad",
"Hug Romantic 1",
"hugr2",
AnimationOptions = {
EmoteMoving = false,
EmoteLoop = true,
SyncOffsetSide = -0.05,
SyncOffsetFront = 0.52
}
},
-- 浪漫拥抱动作配置第二部分
["hugr2"] = {
"misscarsteal2chad_goodbye",
"chad_armsaround_girl",
"Hug Romantic 2",
"hugr",
AnimationOptions = {
EmoteMoving = false,
EmoteLoop = true,
SyncOffsetSide = -0.05,
SyncOffsetFront = 0.52
}
},
-- 兄弟拥抱动作配置
["bro"] = {
"mp_ped_interaction",
"hugs_guy_a",
"Bro",
"bro2",
AnimationOptions = {
SyncOffsetFront = 1.14
}
},
-- 兄弟拥抱动作配置第二部分
["bro2"] = {
"mp_ped_interaction",
"hugs_guy_b",
"Bro 2",
"bro",
AnimationOptions = {
SyncOffsetFront = 1.14
}
},
-- 给予动作配置
["give"] = {
"mp_common",
"givetake1_a",
"Give",
"give2",
AnimationOptions = {
EmoteMoving = true,
EmoteDuration = 2000
}
},
-- 给予动作配置第二部分
["give2"] = {
"mp_common",
"givetake1_b",
"Give 2",
"give",
AnimationOptions = {
EmoteMoving = true,
EmoteDuration = 2000
}
},
-- 棒球动作配置
["baseball"] = {
"anim@arena@celeb@flat@paired@no_props@",
"baseball_a_player_a",
"Baseball",
"baseballthrow"
},
-- 投棒球动作配置
["baseballthrow"] = {
"anim@arena@celeb@flat@paired@no_props@",
"baseball_a_player_b",
"Baseball Throw",
"baseball"
},
-- 持枪抢劫动作配置
["stickup"] = {
"random@countryside_gang_fight",
"biker_02_stickup_loop",
"Stick Up",
"stickupscared",
AnimationOptions = {
EmoteLoop = true,
EmoteMoving = true
}
},
-- 持枪抢劫害怕动作配置
["stickupscared"] = {
"missminuteman_1ig_2",
"handsup_base",
"Stickup Scared",
"stickup",
AnimationOptions = {
EmoteMoving = true,
EmoteLoop = true
}
},
-- 拳击动作配置
["punch"] = {
"melee@unarmed@streamed_variations",
"plyr_takedown_rear_lefthook",
"Punch",
"punched"
},
-- 被拳击动作配置
["punched"] = {
"melee@unarmed@streamed_variations",
"victim_takedown_front_cross_r",
"Punched",
"punch"
},
-- 头槌动作配置
["headbutt"] = {
"melee@unarmed@streamed_variations",
"plyr_takedown_front_headbutt",
"Headbutt",
"headbutted"
},
-- 被头槌动作配置
["headbutted"] = {
"melee@unarmed@streamed_variations",
"victim_takedown_front_headbutt",
"Headbutted",
"headbutt"
},
-- 耳光动作配置 2
["slap2"] = {
"melee@unarmed@streamed_variations",
"plyr_takedown_front_backslap",
"Slap 2",
"slapped2",
AnimationOptions = {
EmoteLoop = true,
EmoteMoving = true,
EmoteDuration = 2000
}
},
-- 耳光动作配置
["slap"] = {
"melee@unarmed@streamed_variations",
"plyr_takedown_front_slap",
"Slap",
"slapped",
AnimationOptions = {
EmoteLoop = true,
EmoteMoving = true,
EmoteDuration = 2000
}
},
-- 被耳光动作配置
["slapped"] = {
"melee@unarmed@streamed_variations",
"victim_takedown_front_slap",
"Slapped",
"slap"
},
-- 被耳光动作配置 2
["slapped2"] = {
"melee@unarmed@streamed_variations",
"victim_takedown_front_backslap",
"Slapped 2",
"slap2"
},
-- 接受口交动作配置
["receiveblowjob"] = {
"misscarsteal2pimpsex",
"pimpsex_punter",
"Receive Blowjob",
"giveblowjob",
AnimationOptions = {
EmoteMoving = false,
EmoteDuration = 30000,
SyncOffsetFront = 0.63
},
AdultAnimation = true -- 成人动画
},
-- 进行口交动作配置
["giveblowjob"] = {
"misscarsteal2pimpsex",
"pimpsex_hooker",
"Give Blowjob",
"receiveblowjob",
AnimationOptions = {
EmoteMoving = false,
EmoteDuration = 30000,
SyncOffsetFront = 0.63
},
AdultAnimation = true
},
-- 街头性行为男性动作配置
["streetsexmale"] = {
"misscarsteal2pimpsex",
"shagloop_pimp",
"Street Sex Male",
"streetsexfemale",
AnimationOptions = {
EmoteMoving = false,
EmoteLoop = true,
SyncOffsetFront = 0.50
},
AdultAnimation = true
},
-- 街头性行为女性动作配置
["streetsexfemale"] = {
"misscarsteal2pimpsex",
"shagloop_hooker",
"Street Sex Female",
"streetsexmale",
AnimationOptions = {
EmoteMoving = false,
EmoteLoop = true,
SyncOffsetFront = 0.50
},
AdultAnimation = true
},
-- 携带动作配置
["carry"] = {
"missfinale_c2mcs_1",
"fin_c2_mcs_1_camman",
"Carry",
"carry2",
AnimationOptions = {
EmoteMoving = true,
EmoteLoop = true
}
},
-- 被携带动作配置
["carry2"] = {
"nm",
"firemans_carry",
"Be carried",
"carry",
AnimationOptions = {
EmoteMoving = false,
EmoteLoop = true,
Attachto = true,
bone = 40269, -- 骨骼ID
xPos = -0.14,
yPos = 0.15,
zPos = 0.14,
xRot = 0.0,
yRot = -59.0,
zRot = -4.5
}
},
-- 携带动作配置 2
["carry3"] = {
"anim@heists@box_carry@",
"idle",
"Carry 2",
"carry4",
AnimationOptions = {
EmoteMoving = true,
EmoteLoop = true
}
},
-- 被携带动作配置 2
["carry4"] = {
"amb@code_human_in_car_idles@generic@ps@base",
"base",
"Be carried 2",
"carry3",
AnimationOptions = {
EmoteMoving = false,
EmoteLoop = true,
Attachto = true,
bone = 28252,
xPos = 0.350,
yPos = 0.15,
zPos = -0.15,
xRot = -42.50,
yRot = -22.50,
zRot = 22.50
}
},
这些代码段是配置不同人物动作的,可以用于FiveM服务器的角色扮演中。所有这些动画选项和配置都以相应的注释翻译和解释。这些代码段一般放在`client.lua`文件中,以处理客户端相关的动画逻辑。
页:
[1]