![]() |
||
|
[solved] Template cast weapon - Printable Version +- Little Fighter Empire - Forums (https://lf-empire.de/forum) +-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7) +--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11) +---- Forum: Solved Problems (https://lf-empire.de/forum/forumdisplay.php?fid=14) +---- Thread: [solved] Template cast weapon (/showthread.php?tid=5235) |
||
[solved] Template cast weapon - zuzza - 07-12-2010 Hello. I installed the spirit weapon The item drop with luck from sky but i want it like freeze... ------------------------------------- Short description of the problem: 1.I cant spell the item...If i spell it with def jum att ( hit_ja) it spell 2knights... wth??? 2.I dont want,that it falling from sky ------------------------------------ Problem 1: I copy the Freeze sword frames and add it to my template... I changed the oid to 105 ---------------------------- Data.txt ids id: 105 type: 1 file: data\spirit_sword.dat #spirit_sword id: 299 type: 3 file: data\spirit_sword_spirit.dat ---------------------------- First the move: I make it to hit_ja Code: ยด<frame> 0 standing
pic: 0 state: 0 wait: 3 next: 1 dvx: 0 dvy: 0 centerx: 39 centery: 79
hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 235 hit_ja: 272 hit_Dj: 260
wpoint:
kind: 1 x: 33 y: 45 weaponact: 21 attacking: 0 cover: 0
dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>
<frame> 1 standing
pic: 1 state: 0 wait: 3 next: 2 dvx: 0 dvy: 0 centerx: 38 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 235 hit_Dj: 260 hit_ja: 272
wpoint:
kind: 1 x: 33 y: 47 weaponact: 21 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>
<frame> 2 standing
pic: 2 state: 0 wait: 3 next: 3 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 235 hit_Dj: 260 hit_ja: 272
wpoint:
wpoint:
kind: 1 x: 32 y: 45 weaponact: 21 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>
<frame> 3 standing
pic: 3 state: 0 wait: 3 next: 999 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 235 hit_Dj: 260 hit_ja: 272
wpoint:
wpoint:
kind: 1 x: 32 y: 44 weaponact: 21 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>
<frame> 5 walking
pic: 4 state: 1 wait: 3 next: 999 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 235 hit_Dj: 260 hit_ja: 272
wpoint:
wpoint:
kind: 1 x: 45 y: 53 weaponact: 21 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
itr:
kind: 1 x: 40 y: 16 w: 25 h: 65
catchingact: 120 120 caughtact: 130 130
itr_end:
bdy:
kind: 0 x: 28 y: 15 w: 27 h: 65
bdy_end:
<frame_end>
<frame> 6 walking
pic: 5 state: 1 wait: 3 next: 999 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 235 hit_Dj: 260 hit_ja: 272
wpoint:
wpoint:
kind: 1 x: 40 y: 55 weaponact: 21 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
itr:
kind: 1 x: 40 y: 16 w: 25 h: 65
catchingact: 120 120 caughtact: 130 130
itr_end:
bdy:
kind: 0 x: 28 y: 15 w: 27 h: 65
bdy_end:
<frame_end>
<frame> 7 walking
pic: 6 state: 1 wait: 3 next: 999 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 235 hit_Dj: 260 hit_ja: 272
wpoint:
wpoint:
kind: 1 x: 33 y: 57 weaponact: 22 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
itr:
kind: 1 x: 40 y: 16 w: 25 h: 65
catchingact: 120 120 caughtact: 130 130
itr_end:
bdy:
kind: 0 x: 28 y: 15 w: 27 h: 65
bdy_end:
<frame_end>
<frame> 8 walking
pic: 7 state: 1 wait: 3 next: 999 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 235 hit_Dj: 260 hit_ja: 272
wpoint:
wpoint:
kind: 1 x: 24 y: 56 weaponact: 23 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
itr:
kind: 1 x: 40 y: 16 w: 25 h: 65
catchingact: 120 120 caughtact: 130 130
itr_end:
bdy:
kind: 0 x: 28 y: 15 w: 27 h: 65
bdy_end:
<frame_end>Code: <frame> 272 Sword
pic: 160 state: 3 wait: 1 next: 271 dvx: 0 dvy: 0 dvz: 0 centerx: 52 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 mp: 150
sound: data\074.wav
wpoint:
kind: 3 x: 40 y: 43 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 24 y: 14 w: 31 h: 64
bdy_end:
<frame_end>
<frame> 273 Sword
pic: 161 state: 3 wait: 1 next: 272 dvx: 0 dvy: 0 dvz: 0 centerx: 52 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 24 y: 14 w: 31 h: 64
bdy_end:
<frame_end>
<frame> 274 Sword
pic: 162 state: 3 wait: 1 next: 273 dvx: 0 dvy: 0 dvz: 0 centerx: 52 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 24 y: 14 w: 31 h: 64
bdy_end:
<frame_end>
<frame> 275 Sword
pic: 163 state: 3 wait: 1 next: 274 dvx: 0 dvy: 0 dvz: 0 centerx: 52 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 24 y: 14 w: 31 h: 64
bdy_end:
<frame_end>
<frame> 276 Sword
pic: 164 state: 3 wait: 2 next: 275 dvx: 0 dvy: 0 dvz: 0 centerx: 52 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 24 y: 14 w: 31 h: 64
bdy_end:
<frame_end>
<frame> 277 Sword
pic: 165 state: 3 wait: 3 next: 999 dvx: 0 dvy: 0 dvz: 0 centerx: 52 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
opoint:
kind: 2 x: 42 y: 51 action: 35 dvx: 0 dvy: 0 oid: 105 facing: 0
opoint_end:
wpoint:
kind: 1 x: 42 y: 51 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 24 y: 14 w: 31 h: 64
bdy_end:
<frame_end>Problem 2 But it wont works... I want to make this item only for me..also it dont should falling from the sky so that im only i can spell it... and i cant spell it what im doing wrong? RE: Template cast weapon - no one - 07-13-2010 You have to change the weapon's id value to some thing smaller than 100 or bigger than 199. that way, it won't fall from the sky. Spoiler (Click to View) RE: Template cast weapon - zuzza - 07-13-2010 hmm ok ill change the next from all frames thx... and the id: i change it from data.txt right? RE: Template cast weapon - forgetlatios - 07-13-2010 opoint: kind: 2 x: 42 y: 51 action: 35 dvx: 0 dvy: 0 oid: 105 facing: 0 opoint_end: and in data.txt RE: Template cast weapon - zuzza - 07-13-2010 It wont work.. i cant cast the weapon... well i changed the id from data txt to 400.. thats not the problem.. If i cast the weapon...im invisble ok thats because the pics but i cant move or cant see the item i cant doing anything only if a person hit me i can move... I changed all next look like this: Code: <frame> 272 Sword
pic: 160 state: 3 wait: 1 next: 273 dvx: 0 dvy: 0 dvz: 0 centerx: 52 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 mp: 150
sound: data\074.wav
wpoint:
kind: 3 x: 40 y: 43 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 24 y: 14 w: 31 h: 64
bdy_end:
<frame_end>
<frame> 273 Sword
pic: 161 state: 3 wait: 1 next: 274 dvx: 0 dvy: 0 dvz: 0 centerx: 52 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 24 y: 14 w: 31 h: 64
bdy_end:
<frame_end>
<frame> 274 Sword
pic: 162 state: 3 wait: 1 next: 275 dvx: 0 dvy: 0 dvz: 0 centerx: 52 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 24 y: 14 w: 31 h: 64
bdy_end:
<frame_end>
<frame> 275 Sword
pic: 163 state: 3 wait: 1 next: 275 dvx: 0 dvy: 0 dvz: 0 centerx: 52 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 24 y: 14 w: 31 h: 64
bdy_end:
<frame_end>
<frame> 276 Sword
pic: 164 state: 3 wait: 2 next: 276 dvx: 0 dvy: 0 dvz: 0 centerx: 52 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 24 y: 14 w: 31 h: 64
bdy_end:
<frame_end>
<frame> 277 Sword
pic: 165 state: 3 wait: 3 next: 999 dvx: 0 dvy: 0 dvz: 0 centerx: 52 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
opoint:
kind: 2 x: 42 y: 51 action: 35 dvx: 0 dvy: 0 oid: 400 facing: 0
opoint_end:
wpoint:
kind: 1 x: 42 y: 51 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 24 y: 14 w: 31 h: 64
bdy_end:
<frame_end>Pls help me..im a beginner at Dc RE: Template cast weapon - forgetlatios - 07-13-2010
into
you should watch the next: values RE: Template cast weapon - zuzza - 07-13-2010 Ohhhhhh THANK YOU i dont see that i think that a already changed it from all but ok im blind XD It works very nice!!! edit2 Dont need i just copy the frames from Freeze of Lf2 reinforced ^^ ----- |