Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object from perspective
#1
I need help with ,,perspective'' with which can make object in map. I want create object at the selected location(like platform in ntsd II). I tried do this like:
F1:
dvx: -1000

F2:
dvx: 550

F3:
dvx: 1500

F4:
dvx: 550

But still no work, any suggestions?
Reply
Thanks given by:
#2
I don't know about that F1:... thingies but here is solution:
1)Create a new char.(You can copy any fighter)
2)Make that's dvy: 2000 in that's jump frames.
3)Make that's next: "the frame of object creation" in that's crouch frames.
4)Prepare the "frame of object creation".(Add your opoint of object)
5)In "frame of object creation"; before opoint, give it a dvx:999 to stick it into a side of screen.
6)Then make that frame's next:1000
7)Make the perspective: "The id of the char".
8)Also make the used frames of the char; pic:999 to make it invisible.
Step 1,2 and 3 is necessary for performing an action on the ground.
Because perspective tag opoints the id on the up-screen.

For z-placing a new ball creation needed.
I don't have time to explain that:D

And also you can investigate my Teleporter Machine's(in Projects section) summoning style to understand...(z-placing is applied there)

I wish it helps...
[Image: afro-davis.jpeg][Image: afro-davis.jpeg][Image: afro-davis.jpeg][Image: afro-davis.jpeg]
Reply
Thanks given by:
#3
What I do wrong? Object spawning on the bottom of the map but on random dvx, And I not see pic of object :/

Char:

    DC-Code:
<frame> 210 jump
   pic: 999  state: 4  wait: 2  next: 211  dvx: 0  dvy: 2000  centerx: 35  centery: 79  hit_a: 0  hit_d: 0  hit_j: 210 hit_Fa: 339 mp: 20
   bdy:
      kind: 0  x: 25  y: 33  w: 30  h: 42
   bdy_end:
<frame_end>
 
<frame> 211 jump
   pic: 999  state: 4  wait: 1  next: 212  dvx: 0  dvy: 2000 centerx: 35  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 339
 
   bdy:
      kind: 0  x: 25  y: 33  w: 30  h: 42
   bdy_end:
opoint:
      kind: 1  x: 33  y: 75  action: 33  dvx: 0  dvy: 0  oid: 200  facing: 0
   opoint_end:
<frame_end>
 
<frame> 212 jump
   pic: 999  state: 4  wait: 1  next: 0  dvx: 0  dvy: 2000  centerx: 38  centery: 79 hit_a: 81  hit_d: 0  hit_j: 245 hit_Fa: 339
   bdy:
      kind: 0  x: 22  y: 19  w: 33  h: 50
   bdy_end:
<frame_end>
 
<frame> 178 crouch
   pic: 47  state: 15  wait: 1  next: 280  dvx: -999  dvy: 0  centerx: 35  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
 
   bdy:
      kind: 0  x: 20  y: 46  w: 30  h: 32
   bdy_end:
<frame_end>
 
<frame> 280 crouch
   pic: 999  state: 15  wait: 0  next: 281  dvx: 900  dvy: 0  centerx: 35  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 281 crouch
   pic: 999  state: 15  wait: 0  next: 282  dvx: 1000 dvy: 0  centerx: 35  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
 
<frame> 282 crouch
   pic: 999  state: 15  wait: 0  next: 283  dvx: 550  dvy: 0  centerx: 35  centery: 79  hit_a: 0  hit_d: 0  hit_j: 1
 opoint:
      kind: 1  x: 30  y: 76   action: 90 dvx: 0 dvy: 0 oid: 228 facing: 0
   opoint_end:
<frame_end>
 
 
<frame> 283 crouch
   pic: 999  state: 15  wait: 0  next: 999  dvx: 550  dvy: 0  centerx: 35  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
 
<frame_end>




Object:


    DC-Code:
<bmp_begin>
file(0-0): BG\sys\IP\impel_down.bmp  w: 794  h: 448  row: 0  col: 0
 
<bmp_end>
<frame> 100 BG
 
    pic: 999 state: 15 wait: 0 next: 101 dvx: -999 dvy: 550 dvz: 0 centerx: 448 centery: 448 hit_a: 0 hit_d: 0 hit_j: 1 
 
<frame_end>
 
<frame> 101 BG
 
    pic: 999 state: 15 wait: 0 next: 102 dvx: 500 dvy: 550 dvz: 0 centerx: 448 centery: 448 hit_a: 0 hit_d: 0 hit_j: 1 
 
<frame> 102 BG
 
    pic: 999 state: 15 wait: 0 next: 103 dvx: 550 dvy: 550 dvz: 0 centerx: 448 centery: 448 hit_a: 0 hit_d: 0 hit_j: 1 
 
<frame_end>
 
<frame> 103 BG
 
    pic: 0 state: 15 wait: 0 next: 103 dvx: 550 dvy: 550 dvz: 0 centerx: 448 centery: 448 hit_a: 0 hit_d: 0 hit_j: 1 
 
<frame_end>


Download:

http://www.speedyshare.com/files/29755307/IDO.rar
Reply
Thanks given by:
#4
file(0-0): BG\sys\IP\impel_down.bmp w: 794 h: 448 row: 0 col: 0

Shouldn't it be "row: 1 col: 1" ?
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#5
I still not see the sprite, btw someone say me that if u want make object on up/z then u have to write hit_j: 1, I do that on fireball and works but not works in this object (even if no 550 in dvx and dvy).;/
Reply
Thanks given by:
#6
(08-07-2011, 03:50 PM)Infern112 Wrote:  I still not see the sprite, btw someone say me that if u want make object on up/z then u have to write hit_j: 1, I do that on fireball and works but not works in this object (even if no 550 in dvx and dvy).;/

As i understood; It works for fireballs but not for your object.

So make sure your object's type: 3 (ball) in data.txt .
My suggestion: Try changing (working)fireballs into your ball step by step to understand where you fail...

I don't have time to try and perfect your files:'(...
AAAAAAAAAAAAAAAAAHHHRGH! Now I realised!
You must never give a ball dvx:999,500,etc. Your ball is going to for away of screen.
Use the edited codes upwards.
I wish it is a type:3 object...
And as BP said ; col: 1, row: 1.
I guess it is solved:D
[Image: afro-davis.jpeg][Image: afro-davis.jpeg][Image: afro-davis.jpeg][Image: afro-davis.jpeg]
Reply
Thanks given by:
#7
I must say it disturbed me because anybody -especially you Infern112- wrote any posts under my last post...

A little struggled but perfected :D
You made so many mistakes.

1. mistake: In Your download; you gave a char named "ID" which you didn't gave his sprites, so I had problems when I opened LF2.exe.
2. mistake: Your "ID.dat" was a "type: 3" object! It would suppose to be a "type: 0" object!
3. mistake: Your ID char was so wrong so i created myself another char named "stupid_com" which I added and changed frames for perspective summoning.
4. mistake: As I told in previous post, yor "ID2.dat" ball had its own mistakes.

It doesn't matter at all because I prepared a working "Impel Down" BG for you!

Here is Your Perfected Download (Impel Down BG) : CLICKY

It really works!

And it can be added to the mainsite;)
You can find out what to do in your next Pespective Projects by investigating this working sh*t...

Please don't forget to press "SOLVED" button...


~xmfcx
[Image: afro-davis.jpeg][Image: afro-davis.jpeg][Image: afro-davis.jpeg][Image: afro-davis.jpeg]
Reply
Thanks given by: Infern112
#8
Everything works fine, thanks xmfcx. But I have another question:
If hit_j: 1, is responsible for being the object on top, so what to do to make object was at the bottom?
Reply
Thanks given by:
#9
(08-16-2011, 11:23 AM)Infern112 Wrote:  Everything works fine, thanks xmfcx. But I have another question:
If hit_j: 1, is responsible for being the object on top, so what to do to make object was at the bottom?

Quote:hit_j: ...
Here you note if the ball should move on z-axis. If you set this value to 50, it's the same as 0 - no movement. If you use 51 and higher the ball goes to the front with one pixel per TU (if you use 52 he moves 2 Pixels), if you use 49 it goes to the back.

http://lf-empire.de/en/lf2-empire/data-c...-3-attacks
Reply
Thanks given by:
#10
(08-16-2011, 11:23 AM)Infern112 Wrote:  Everything works fine, thanks xmfcx. But I have another question:
If hit_j: 1, is responsible for being the object on top, so what to do to make object was at the bottom?

bashcrazy is right.
You can easily use j: 99 for sticking bottom.
[Image: afro-davis.jpeg][Image: afro-davis.jpeg][Image: afro-davis.jpeg][Image: afro-davis.jpeg]
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)