Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] LF2 Kingdom Camera Tutorial Request
#1
! 
I need help because I'm creating a new stage mode but when I played LF2 Kingdom, I want to make the camera view like from the bataillon louis part at the beginning the camera goes from right to left. How do I do that? I've been searching all over the web and there wasn't any answer! I really need that code. :(
LF2 Data Changer

Visit My Website
Click Here!
OR Visit my Youtube Profile:
Click Here!
PEACE! ;)
Reply
Thanks given by:
#2
cause I never posted one :p

actually it`s quite simple - on the beginning of the stage an object catch the lf2 hero - there can only be one hero cause Louis is a DarkClone and is noted in another dat.-file and all the lf2 heros have characteristic bdy, I think from 10000 to 19500 (on the whole and for all ten heros). THen they move the hero as quick as possible to the other edge of the screen - during this process the screen is still black.

THen I get rid of the black part - you can see the stage and the batailoon and the object with the catched hero moves back to the left edge again - this is a bit more difficult since you have to count the distance from the right edge to the point you want him to stand and devide it to smaller parts - example: distance: 1000px, so use wait: 4 and dvx: -200 -> wait 4 = 0-4 = 5 TU, 5x200 = 1000.

Of course the hero is catched in a special frame where he`s hidden...

Tip: Maxbe search Kingdom LF2 and not the web for info...
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by: JossuaDC
#3
Heres my code. I searched through Kingdom LF2 but I REALLY don't know how to do it.
The phase is 2000 bounds.

<frame> 0 catch-hero
pic: 1000 state: 3005 wait: 0 next: 1
itr:
kind: 8 x: 88 y: 0 w: 1831.1 h: 399 dvx: 1 injury: 0 zwidth: 500
itr_end:
<frame_end>

<frame> 1 catch-hero
pic: 1000 state: 3005 wait: 0 next: 1
itr:
kind: 3 x: 88 y: 0 w: 1831.3 h: 399
itr_end:
<frame_end>

<frame> 2 catch-hero
pic: 1000 state: 9 wait: 0 next: 3
cpoint:
kind: 1 x: 88 y: 0 injury: 0 vaction: 130 dircontrol: 0 injury: 0 cover: 11
cpoint_end:
<frame_end>
Reply
Thanks given by:
#4
stage.dat:
    DC-Code:
<stage> id: 7  #stage 1-8  /  Louis - the Guardian of Standley Prison
        <phase> bound: 1683
		id: 303  x: -250  hp:    0  act: 245    #black
		id: 303  x:    0  hp:    0  act: 243  	#sp-portal
 
		id:  31	 x:  10  act: 261  hp: 0	#lf-catch !!!!!
		id:  31	 x:  10  act: 267  hp: 0	#bat-catch
		id: 303	 x:   0  act: 247  hp: 0	#bandit-catch  
 
		id:   6  hp: 1000  x: 1000  act: 280		     #louis
		id:  37  hp:  500  x: 1200  act: 343  ratio:  4.0    #bataillon1
		id:  37  hp:  200  x: 1200  act: 344  ratio: 16.0    #bataillon1
		id:  37  hp:  250  x:  300  act: 341  ratio:  8.0    #bataillon2+3
		id:  37  hp:  100  x:  300  act: 342  ratio: 32.0    #bataillon2+3
 
		id: 300  act: 107  x: 1300  #powerups
		id: 300  act: 156  x: 1350  times: 999	#milk-donator
		id: 300  act: 164  x: 1350  times: 999	#bear-donator
	<phase_end>


hunter.dat
    DC-Code:
<frame> 261 catch-lf(overview) (stage 1-8)
   pic: 1000  state: 3005  wait: 1  next: 261  centerx: 10
   itr:
      kind: 8  x: -5000  y: 50000  w: 10000  h: 9500  dvx: 262  injury: 0  zwidth: 500
   itr_end:
<frame_end>
<frame> 262 catch-lf(overview) (stage 1-8)
   pic: 1000  state: 3005  wait: 1  next: 261
   itr:
      kind: 3  x: -5000  y: 50000  w: 10000  h: 9500
      catchingact: 263 263  caughtact: 382 382
   itr_end:
<frame_end>
<frame> 263 catch-lf(overview) (stage 1-8)
   pic: 1000  state: 9   wait: 1  next: 264  dvx: 2000
   cpoint:
      kind: 1  x: 0  y: 0  vaction: 382
   cpoint_end:
<frame_end>
<frame> 264 catch-lf(overview) (stage 1-8)
   pic: 1000  state: 9   wait: 400  next: 265
   cpoint:
      kind: 1  x: 0  y: 0  vaction: 382
   cpoint_end:
<frame_end>
<frame> 265 catch-lf(overview) (stage 1-8)
   pic: 1000  state: 9   wait: 11  next: 266  dvx: -200  
   cpoint:
      kind: 1  x: 0  y: 0  vaction: 382
   cpoint_end:
<frame_end>
<frame> 266 catch-lf(overview) (stage 1-8)
   pic: 281  state: 9     wait: 0  next: 1000  dvx: 550  centerx: 18  centery: 3
   cpoint:
      kind: 1  x: 57  y: 4  vaction: 383  cover: 11
   cpoint_end:
<frame_end>


look at the dvx - the longer black screen is caused by this:
id: 303 x: -250 hp: 0 act: 245 #black

now the catch-frames in the lf-hero:
    DC-Code:
<frame> 382 hidden catch
   pic: 1000  state: 3005  wait: 0  next: 0  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79
   hit_a: 0  hit_d: 0  hit_j: 0
   cpoint:
      kind: 2  x: 39  y: 79  
   cpoint_end:
   wpoint: #hidden
      kind: 1  x: 0  y: 0  weaponact: 398  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
<frame_end>
 
<frame> 383 turned catch (stage 1-9)
   pic: 0  state: 3  wait: 0  next: 384  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79
   hit_a: 0  hit_d: 0  hit_j: 0
   cpoint:
      kind: 1  x: 39  y: 79  
   cpoint_end:
   wpoint:
      kind: 1  x: 23  y: 55  weaponact: 23  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
<frame_end>
<frame> 384 turned catch (stage 1-9)
   pic: 0  state: 3  wait: 215  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79
   hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 23  y: 55  weaponact: 23  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
<frame_end>
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)