Как найти в клиенте список social id которые поддерживает NPC?

Projack

Легендарный
VIP
Участник Новогоднего Фонда 2023
Победитель в номинации 2023
Победитель в номинации 2022
Стальной Визионер
Куратор Данных
Сообщения
562
Розыгрыши
0
Решения
2
Репутация
1 064
Реакции
1 120
Баллы
1 783
С сервера можно отправить пакет NPC для проигрывания social анимации. Обычно она одна, но бывает и больше.

Как найти в клиенте информацию о том какие social id можно засылать NPC?
Как привязать какую-то анимацию к social id?
 
зависит от версии клиента. В выше хф это PawnAnimData.dat. В более старых они в .u паках.
 
Решение
Пример NpcSocialAnimName
Код:
[chef_monkey]
WalkAnimName[0]=Walk
RunAnimName[0]=run
WaitAnimName[0]=Wait
AtkWaitAnimName[0]=Wait
Atk01AnimName[0]=Wait
Atk02AnimName[0]=Wait
Atk03AnimName[0]=Wait
SpAtk01AnimName[0]=SpAtk01
SpAtk02AnimName[0]=spatk02
SpAtk03AnimName[0]=SpAtk03
DeathAnimName[0]=Wait
DeathWaitAnimName[0]=Wait
NpcSocialAnimName[0]=SpAtk01
NpcSocialAnimName[1]=spatk02
NpcSocialAnimName[2]=spwait01
 
Ага и в датник они уехали вот примерно так

Код:
pawnanim_data_begin
name=[chef_monkey]
texture_params={
    {1;0;[Walk]};
    {2;0;[run]};
    {8;0;[Wait]};
    {9;0;[Wait]};
    {20;0;[Wait]};
    {21;0;[Wait]};
    {22;0;[Wait]};
    {28;0;[SpAtk01]};
    {29;0;[spatk02]};
    {30;0;[SpAtk03]};
    {60;0;[Wait]};
    {62;0;[Wait]};
    {92;0;[SpAtk01]};
    {92;1;[spatk02]};
    {92;2;[spwait01]}
}
int_params={}
int_params2={}
float_params={}
pawnanim_data_end

Осталось понять как связали первое инт поле с назначением.
Тут видно, что 92 - это NpcSocialAnimName
 
у меня сделано через енум + форматер ( в шару редактора не успело попасть ).
Сам список можно выдернуть с dll.
1731940320741.png
 
// anims
0 TurnAnimName
1 WalkAnimName
2 RunAnimName
3 SpRunAnimName
4 FallAnimName
5 DamageFlyAnimName
6 JumpAnimName
7 BJumpAnimName
8 WaitAnimName
9 AtkWaitAnimName
10 BigBodyAtkWaitAnimName
11 SitAnimName
12 SitWaitAnimName
13 StandAnimName
14 DeathStandAnimName
15 ChairSitAnimName
16 ChairWaitAnimName
17 PubChairWaitAnimName
18 ChairStandAnimName
19 StunAnimName
20 Atk01AnimName
21 Atk02AnimName
22 Atk03AnimName
23 AtkUpAnimName
24 AtkDownAnimName
25 ExceptionalClassAtk01AnimName
26 ExceptionalClassAtk02AnimName
27 ExceptionalClassAtk03AnimName
28 SpAtk01AnimName
29 SpAtk02AnimName
30 SpAtk03AnimName
31 SpAtk04AnimName
32 SpAtk05AnimName
33 SpAtk06AnimName
34 SpAtk07AnimName
35 SpAtk08AnimName
36 SpAtk09AnimName
37 SpAtk10AnimName
38 SpAtk11AnimName
39 SpAtk12AnimName
40 SpAtk13AnimName
41 SpAtk14AnimName
42 SpAtk15AnimName
43 SpAtk16AnimName
44 SpAtk17AnimName
45 SpAtk18AnimName
46 SpAtk19AnimName
47 SpAtk20AnimName
48 SpAtk21AnimName
49 SpAtk22AnimName
50 SpAtk23AnimName
51 SpAtk24AnimName
52 SpAtk25AnimName
53 SpAtk26AnimName
54 SpAtk27AnimName
55 SpAtk28AnimName
56 ShieldAtkAnimName
57 BigBodyAtkAnimName
58 DefenceAnimName
59 DodgeAnimName
60 DeathAnimName
61 ArenaDeathAnimName
62 DeathWaitAnimName
63 SitDeathAnimName
64 SitDeathWaitAnimName
65 DamageAnimName
66 CastShortAnimName
67 CastMidAnimName
68 CastLongAnimName
69 CastEndAnimName
70 MagicThrowAnimName
71 MagicShotAnimName
72 MagicNoTargetAnimName
73 MagicFriendAnimName
74 PicItemAnimName
75 ThrowAnimName
76 RiderWaitAnimName
77 RiderAtkAnimName
78 RiderRunAnimName
79 RiderWalkAnimName
80 RiderDeathWaitAnimName
81 RiderDeathAnimName
82 SwimDeathAnimName
83 SwimAnimName
84 SwimWaitAnimName
85 SwimDeathWaitAnimName
86 SwimAtkWaitAnimName
87 CastShort2AnimName
88 CastMid2AnimName
89 CastLong2AnimName
90 CastEnd2AnimName
91 PcSocialAnimName
92 NpcSocialAnimName
93 FishStartAnimName
94 FishWaitAnimName
95 FishControlAnimName
96 FishPullAnimName
97 FishEndAnimName
98 SocialCannonAnimName
99 SocialOperateAnimName
100 RiseAnimName
101 GlideAnimName
102 ShieldWaitAnimName
103 SpecialSocial1AnimName
104 SpecialSocial2AnimName
105 SpecialSocial3AnimName
106 DashWaitAnimName
107 DashAnimName
108 DashImpactAnimName
109 CastShortAnimNameA
110 CastMidAnimNameA
111 CastLongAnimNameA
112 CastEndAnimNameA
113 MagicNoTargetAnimNameA
114 MagicShotAnimNameA
115 MagicThrowAnimNameA
116 AirBindAnimName
117 AirBindWaitAnimName
118 AirBindHitAnimName
119 AirBindFloatAnimName
120 AirBindSinkAnimName
121 DblCastLoopAnimName
122 DblCastLeftShotAnimName
123 DblCastRightShotAnimName
124 ExAtk01AnimName
125 ExAtk02AnimName
126 ExAtk03AnimName
127 ExAtk04AnimName
128 ExAtk05AnimName
129 ExAtk06AnimName
130 ExAtk07AnimName
131 ExAtk08AnimName
132 ExAtk09AnimName
133 ExAtk10AnimName
134 ExAtk11AnimName
135 ExAtk12AnimName
136 ExAtk13AnimName
137 ExAtk14AnimName
138 ExAtk15AnimName
139 ExAtk16AnimName
140 ExAtk17AnimName
141 ExAtk18AnimName
142 ExAtk19AnimName
143 ExAtk20AnimName
144 ExAtk21AnimName
145 ExAtk22AnimName
146 ExAtk23AnimName
147 ExAtk24AnimName
148 ExAtk25AnimName
149 ExAtk26AnimName
150 ExAtk27AnimName
151 ExAtk28AnimName
152 ExAtk29AnimName
153 ExAtk30AnimName
154 ExAtk31AnimName
155 ExAtk32AnimName
156 ExAtk33AnimName
157 ExAtk34AnimName
158 ExAtk35AnimName
159 ExAtk36AnimName
160 ExAtk37AnimName
161 ExAtk38AnimName
162 ExAtk39AnimName
163 ExAtk40AnimName
164 ExAtk41AnimName
165 ExAtk42AnimName
166 ExAtk43AnimName
167 ExAtk44AnimName
168 ExAtk45AnimName
169 JumpRunAnimName
170 S_MagicNotarget_BAnimName
171 S_MagicThrow_BAnimName
172 S_Magicshot_BAnimName
173 S_MagicNotarget_CAnimName
174 S_MagicThrow_CAnimName
175 S_Magicshot_CAnimName
176 SpAtk_ready01AnimName
177 SpAtk_loop01AnimName
178 SpAtk_shot01AnimName
179 SpAtk_ready02AnimName
180 SpAtk_loop02AnimName
181 SpAtk_shot02AnimName
182 Weapon_InAnimName
183 Weapon_OutAnimName
184 CASTmid_BAnimName
185 CASTmid_CAnimName
186 CASTmid_DAnimName
187 CASTmid_EAnimName
188 CASTmid_FAnimName
189 CASTmid_GAnimName
190 CASTmid_HAnimName
191 CASTmid_IAnimName
192 CASTEND_BAnimName
193 CASTEND_CAnimName
194 CASTEND_DAnimName
195 CASTEND_EAnimName
196 CASTEND_FAnimName
197 CASTEND_GAnimName
198 CASTEND_HAnimName
199 CASTEND_IAnimName
200 MagicNotarget_BAnimName
201 MagicThrow_BAnimName
202 MagicShot_BAnimName
203 MagicNotarget_CAnimName
204 MagicThrow_CAnimName
205 MagicShot_CAnimName
206 MagicNotarget_DAnimName
207 MagicThrow_DAnimName
208 MagicShot_DAnimName
209 MagicNotarget_EAnimName
210 MagicThrow_EAnimName
211 MagicShot_EAnimName
212 MagicNotarget_FAnimName
213 MagicThrow_FAnimName
214 MagicShot_FAnimName
215 MagicNotarget_GAnimName
216 MagicThrow_GAnimName
217 MagicShot_GAnimName
218 MagicNotarget_HAnimName
219 MagicThrow_HAnimName
220 MagicShot_HAnimName
221 MagicNotarget_IAnimName
222 MagicThrow_IAnimName
223 MagicShot_IAnimName
224 Dash_HitAnimName
225 Set_AAnimName
226 Hide_AAnimName
227 BackDashAnimName
228 Walk_CatAnimName
229 Knock_DownAnimName
230 Knock_Down_waitAnimName
231 Knock_Down_StandupAnimName
232 Knock_BackAnimName
233 Knock_Down_HitAnimName
234 Knock_Back_KickAnimname
235 Knock_Down_SpinatkAnimname
236 Knock_Down_DownatkAnimname
237 Knock_Down_Appoint_BowAnimname
238 Knock_Down_Appoint_CrossbowAnimname
239 Hovering_WaitAnimName
240 Wait_shotAnimName
241 Drag_IdleAnimName
242 Drag_CastAnimName
243 Drag_ShotAnimName
244 Drag_LoopAnimName
245 ChargeAnimName
246 Social_JobAnimName
247 DCLoopLeftAnimName
248 DCShotLeftAnimName
249 DCLoopRightAnimName
250 DCShotRightAnimName
251 SheathingAnimName
252 Air_common_LoopAnimname
253 Air_common_ShotAnimname
254 Air_Melee_Shot_AAnimname
255 Air_Melee_Shot_BAnimname
256 Air_Magic_Shot_AAnimname
257 Air_Magic_Shot_BAnimname
258 Air_Archer_ShotAnimname
259 Air_Bowgun_ShotAnimname
260 FlyMove_JumpAnimName
261 FlyMove_MoveAnimName
262 FlyMove_AutoAnimName
263 FlyMove_LandAnimName
264 PainActionAnimName
265 DCDragLoop_LAnimName
266 DCDragLoop_RAnimName
267 S_MagicNotarget_DAnimName
268 S_MagicNotarget_EAnimName
269 Cast_Air_ShotAnimName
270 Cast_Air_LoopAnimName
271 Cast_Air_DragAnimName
272 AwakenAnimName
273 CASTmid_JAnimName
274 CASTEND_JAnimName
275 MagicNotarget_JAnimName
276 S_Magicshot_DAnimName
277 S_Magicshot_EAnimName
278 DCDragStart_RAnimName
279 DCDragStart_LAnimName
280 Esp01AnimName
281 Esp02AnimName
282 Esp03AnimName
283 Esp04AnimName
284 Esp05AnimName
285 Esp06AnimName
286 Esp07AnimName
287 Esp08AnimName
288 Esp09AnimName
289 Esp10AnimName
290 Esp11AnimName
291 Esp12AnimName
292 Esp13AnimName
293 Esp14AnimName
294 Esp15AnimName
295 Esp16AnimName
296 Esp17AnimName
297 Esp18AnimName
298 Esp19AnimName
299 Esp20AnimName
300 Esp21AnimName
301 Esp22AnimName
302 Esp23AnimName
303 Esp24AnimName
304 Esp25AnimName
305 Esp26AnimName
306 Esp27AnimName
307 Esp28AnimName
308 Esp29AnimName
309 Esp30AnimName
310 Esp31AnimName
311 Esp32AnimName
312 Esp33AnimName
313 Esp34AnimName
314 Esp35AnimName
315 Esp36AnimName
316 Esp37AnimName
317 Esp38AnimName
318 Esp39AnimName
319 Esp40AnimName
320 Esp41AnimName
321 Esp42AnimName
322 Esp43AnimName
323 Esp44AnimName
324 Esp45AnimName
325 Esp46AnimName
326 Esp47AnimName
327 Esp48AnimName
328 Esp49AnimName
329 Esp50AnimName
330 SpCast01AnimName
331 SpCast02AnimName
332 SpCast03AnimName
333 SpCast04AnimName
334 SpCast05AnimName
335 EventWaitAnimName
336 BaseBall01AnimName
337 BaseBall02AnimName
338 ThrowShieldAnimName
// other params
339 WalkAnimRate
340 RunAnimRate
341 Atk01AnimRate
342 Atk02AnimRate
343 Atk03AnimRate
344 AtkUpAnimRate
345 AtkDownAnimRate
346 SpAtk01AnimRate
347 SpAtk02AnimRate
348 SpAtk03AnimRate
349 SpAtk04AnimRate
350 ShieldAtkAnimRate
351 CastShortAnimRate
352 CastMidAnimRate
353 CastLongAnimRate
354 CastShortEndAnimRate
355 MagicThrowAnimRate
356 MagicShotAnimRate
357 MagicNoTargetAnimRate
358 MagicFriendAnimRate
359 ThrowAnimRate
360 SitAnimRate
361 StandAnimRate
361 PcSocialHideRightWeapon
363 PcSocialHideLeftWeapon
364 PcSocialLoop
365 NpcSocialHideRightWeapon
366 NpcSocialHideLeftWeapon
367 bPlayAtkAnimSequentially
 
Назад
Сверху Снизу