Kingdom-LF2 DC Tech - Bataillon - MH-Razen - 03-08-2008
MH-LF2
Bataillon (Stage Mode)
A large army and all guys just come randomlike? Hm… actually a real army would have a special formation – and that’s where the bataillon code comes in…
It’s nothing special, you activate the knights in a stuckframe waiting for a special bdy so their itr/kind 8 will bring them to the right place. In the meantime, a ball created from a criminal in stage will move through the area and activate templates in the right place. These templates have the bdy the knights need and catch them afterwards.
Data.txt
Code: id: 59 type: 0 file: data\template.dat
id: 6 type: 0 file: data\louis.dat
id: 37 type: 0 file: data\knight.dat
id: 210 type: 3 file: data\firen_ball.dat
id: 300 type: 5 file: data\criminal.dat
Stage.dat
Code: id: 300 hp: 0 x: 350 act: 100
id: 6 hp: 250 x: 800 act: 390
id: 37 hp: 50 x: 800 act: 261 ratio: 4.0
id: 37 hp: 30 x: 800 act: 266 ratio: 16.0
criminal.dat
Code: <frame> 100 bataillon
pic: 0 state: 0 wait: 0 next: 101
<frame_end>
<frame> 101 bataillon
pic: 0 state: 0 wait: 0 next: 1000
opoint:
kind: 1 x: 0 y: -1 action: 50 dvx: 0 dvy: 0 oid: 210 facing: 1
opoint_end:
<frame_end>
firen_ball.dat
Code: <frame> 50 bataillon-start
pic: 1000 state: 3005 wait: 4 next: 51 dvx: 0 dvy: 0 dvz: 0 hit_j: 100
<frame_end>
<frame> 51 bataillon
pic: 1000 state: 3005 wait: 1 next: 52 dvx: 0 dvy: 0 dvz: 0 hit_j: 30
<frame_end>
<frame> 52 bataillon
pic: 1000 state: 3005 wait: 1 next: 53 dvx: 0 dvy: 0 dvz: 0 hit_j: 30
opoint:
kind: 1 x: 0 y: 0 action: 60 dvx: 0 dvy: 0 oid: 210 facing: 0
opoint_end:
<frame_end>
<frame> 53 bataillon
pic: 1000 state: 3005 wait: 1 next: 54 dvx: 0 dvy: 0 dvz: 0 hit_j: 40
opoint:
kind: 1 x: 0 y: 0 action: 60 dvx: 0 dvy: 0 oid: 210 facing: 0
opoint_end:
<frame_end>
<frame> 54 bataillon-louis
pic: 1000 state: 3005 wait: 1 next: 55 dvx: 0 dvy: 0 dvz: 0 hit_j: 40
opoint:
kind: 1 x: 150 y: 0 action: 235 dvx: 0 dvy: 0 oid: 59 facing: 0
opoint_end:
<frame_end>
<frame> 55 bataillon
pic: 1000 state: 3005 wait: 1 next: 56 dvx: 0 dvy: 0 dvz: 0 hit_j: 30
opoint:
kind: 1 x: 0 y: 0 action: 60 dvx: 0 dvy: 0 oid: 210 facing: 0
opoint_end:
<frame_end>
<frame> 56 bataillon
pic: 1000 state: 3005 wait: 1 next: 1000 dvx: 0 dvy: 0 dvz: 0 hit_j: 30
opoint:
kind: 1 x: 0 y: 0 action: 60 dvx: 0 dvy: 0 oid: 210 facing: 0
opoint_end:
<frame_end>
<frame> 60 bataillon-row-start
pic: 1000 state: 3005 wait: 0 next: 61 dvx: 0 dvy: 0 dvz: 0
<frame_end>
<frame> 61 bataillon-row-start
pic: 1000 state: 3005 wait: 1 next: 62 dvx: -35 dvy: 0 dvz: 0
opoint:
kind: 1 x: 0 y: 0 action: 236 dvx: 0 dvy: 0 oid: 59 facing: 0
opoint_end:
<frame_end>
<frame> 62 bataillon-row-start
pic: 1000 state: 3005 wait: 1 next: 63 dvx: 550 dvy: 550 dvz: 550
<frame_end>
<frame> 63 bataillon-row-start
pic: 1000 state: 3005 wait: 1 next: 64 dvx: -31 dvy: 0 dvz: 0
opoint:
kind: 1 x: 0 y: 0 action: 239 dvx: 0 dvy: 0 oid: 59 facing: 0
opoint_end:
<frame_end>
<frame> 64 bataillon-row-star
pic: 1000 state: 3005 wait: 1 next: 65 dvx: -31 dvy: 0 dvz: 0
opoint:
kind: 1 x: 0 y: 0 action: 239 dvx: 0 dvy: 0 oid: 59 facing: 0
opoint_end:
<frame_end>
<frame> 65 bataillon-row-start
pic: 1000 state: 3005 wait: 1 next: 66 dvx: -31 dvy: 0 dvz: 0
opoint:
kind: 1 x: 0 y: 0 action: 239 dvx: 0 dvy: 0 oid: 59 facing: 0
opoint_end:
<frame_end>
<frame> 66 bataillon-row-start
pic: 1000 state: 3005 wait: 1 next: 1000 dvx: -31 dvy: 0 dvz: 0
opoint:
kind: 1 x: 0 y: 0 action: 239 dvx: 0 dvy: 0 oid: 59 facing: 0
opoint_end:
<frame_end>
template.dat
Code: <frame> 235 bataillon-Louis
pic: 1000 state: 3005 wait: 1 next: 1000 dvx: 550 dvy: 550 dvz: 550
bdy:
kind: 0 x: -1000 y: 50000 w: 2000 h: 750
bdy_end:
<frame_end>
<frame> 236 bataillon-MainKnight
pic: 1000 state: 18 wait: 1 next: 236 dvx: 550 dvy: 550 dvz: 550 centerx: 0 centery: 0
bdy:
kind: 0 x: -1000 y: 51000 w: 2000 h: 250
bdy_end:
itr:
kind: 3 x: -10 y: 51500 w: 20 h: 250 arest: 10
catchingact: 237 237 caughtact: 262 262
itr_end:
<frame_end>
<frame> 237 bataillon-MainKnight
pic: 1000 state: 9 wait: 30 next: 238 dvx: 550 dvy: 550 dvz: 550 centerx: 0 centery: 0
cpoint:
kind: 1 x: 0 y: 0 vaction: 262
cpoint_end:
<frame_end>
<frame> 238 bataillon-MainKnight
pic: 1000 state: 9 wait: 0 next: 1000 dvx: 550 dvy: 550 dvz: 550 centerx: 0 centery: 0
cpoint:
kind: 1 x: 0 y: 0 vaction: 263
cpoint_end:
<frame_end>
<frame> 239 bataillon-Knight
pic: 1000 state: 18 wait: 1 next: 239 dvx: 550 dvy: 550 dvz: 550 centerx: 0 centery: 0
bdy:
kind: 0 x: -1000 y: 52000 w: 2000 h: 250
bdy_end:
itr:
kind: 3 x: -10 y: 52500 w: 20 h: 250 arest: 10
catchingact: 240 240 caughtact: 267 267
itr_end:
<frame_end>
<frame> 240 bataillon-Knight
pic: 1000 state: 9 wait: 30 next: 241 dvx: 550 dvy: 550 dvz: 550 centerx: 0 centery: 0
cpoint:
kind: 1 x: 0 y: 0 vaction: 267
cpoint_end:
<frame_end>
<frame> 241 bataillon-Knight
pic: 1000 state: 9 wait: 0 next: 1000 dvx: 550 dvy: 550 dvz: 550 centerx: 0 centery: 0
cpoint:
kind: 1 x: 0 y: 0 vaction: 268
cpoint_end:
<frame_end>
knight.dat
Code: <frame> 261 bataillon-MainKnight
pic: 1000 state: 3005 wait: 1 next: 261 dvx: 550 dvy: 550 dvz: 550 centerx: 0 centery: 0
itr:
kind: 8 x: -1000 y: 51000 w: 2000 h: 250 dvx: 261 injury: 0 zwidth: 500
itr_end:
bdy:
kind: 0 x: -10 y: 51500 w: 20 h: 250
bdy_end:
<frame_end>
<frame> 262 bataillon-MainKnight
pic: 1000 state: 10 wait: 1 next: 0 dvx: 550 dvy: 550 dvz: 550 centerx: 0 centery: 0
cpoint:
kind: 2 x: 0 y: 0
cpoint_end:
<frame_end>
<frame> 263 bataillon-MainKnight
pic: 1000 state: 3005 wait: 0 next: 264 dvx: 550 dvy: 550 dvz: 550 centerx: 0 centery: 0
<frame_end>
<frame> 264 bataillon-MainKnight
pic: 145 state: 3005 wait: 100 next: 265 dvx: 550 dvy: 550 dvz: 550 centerx: 39 centery: 99
<frame_end>
<frame> 265 bataillon-MainKnight
pic: 145 state: 8037 wait: 1 next: 999 dvx: 550 dvy: 550 dvz: 550 centerx: 39 centery: 99
<frame_end>
<frame> 266 bataillon-Knight
pic: 1000 state: 3005 wait: 1 next: 266 dvx: 550 dvy: 550 dvz: 550 centerx: 0 centery: 0
itr:
kind: 8 x: -1000 y: 52000 w: 2000 h: 250 dvx: 266 injury: 0 zwidth: 500
itr_end:
bdy:
kind: 0 x: -10 y: 52500 w: 20 h: 250
bdy_end:
<frame_end>
<frame> 267 bataillon-Knight
pic: 1000 state: 10 wait: 1 next: 0 dvx: 550 dvy: 550 dvz: 550 centerx: 0 centery: 0
cpoint:
kind: 2 x: 0 y: 0
cpoint_end:
<frame_end>
<frame> 268 bataillon-Knight
pic: 1000 state: 3005 wait: 0 next: 269 dvx: 550 dvy: 550 dvz: 550 centerx: 0 centery: 0
<frame_end>
<frame> 269 bataillon-Knight
pic: 5 state: 3 wait: 100 next: 999 dvx: 550 dvy: 550 dvz: 550 centerx: 39 centery: 99
<frame_end>
louis.dat
Code: <frame> 390 bataillon-louis
pic: 1000 state: 3005 wait: 1 next: 390 dvx: 0 dvy: 0 dvz: 0
itr:
kind: 8 x: -5000 y: 50000 w: 10000 h: 750 dvx: 391 injury: 0 zwidth: 500
itr_end:
<frame_end>
<frame> 391…….
<frame_end>
Lauli
Wouldn't it be easier with creating the knights with facing: XX and then an itr with state: 18 to set down the hp (and maybe a dvz: 550 after a few TUs) ?
Blue Phoenix
Or you just opoint an id: 5 (or 52) object and use state 8037 (as knight has the 140-pics division right now, there won't occur very much work smilie
Then you could also use itr/kind: 0 with injury: -40 and effect: 5.
I haven't tested MH's method out, but the problem with Lauli's idea is that the enemies are not positioned this way:
|||||||||||
|||||||||||
|||||||||||
but this way:
///////////
//////////
/////////
(OK, after some more opoints smilie )
Lauli
Well then you can still make it with hit_j: 20/whatever and then opointing the characters with facing: 0
@MH: And maybe if you made it like I said, the black screen in Kingdom-LF2 (1-9) will disappear earlier...
Blue Phoenix
Forget that stuff above, I found a technique smilie
Just clone before you're opointing the knights
Lauli
Or just using "hit_a: 1" several times. And maybe a invisible ball which creates the "battalion" creating balls.
MH-LF2
Well, up to you - I'll stay with this method smilie
And the black thing needs to stay there since it's a few more things which appears there (with zero placer and stuff)
Also the opo idea has the problem that he'll still be able to heal up to 500 with drinks...
|