help with platforms

gabo-hanzo

Well-known member
Hi everybody how are you...
can someone help me to create platforms.
My English is not good and I find it difficult to understand things from the manual.
a hug and thanks
 
paltforms, wall & holes are tricky..

there was a post somewhere that illustrated the values as colors,but i cant find it


wall {xpos} {zpos} {upperleft} {lowerleft}
{upperright} {lowerright} {depth} {alt} {type}

so basically the green dot is where your wall/hole/platform "offset" is at the blues are where the dots of the left side's edges are going to be, the reds are the right side's, orange is how deep it is, purple is how high

H                                          H
H                                          H
H                                          H

UL             D                  UR
                    D
                      D
      LL             Cxy                       LR
 
UL LL, UR & LR are pixels/values added or subtracted  from the "C" (center offset) of the wall/hole/platform

to make it easier, you can create an excel or Openoffice calc document titled "wall/platform/hole"maker where you have these labels set up on top cells & the values you need below.
even after all this time, i keep forgetting how the values go...
 
oldyz said:
UL LL, UR & LR are pixels/values added or subtracted  from the "C" (center offset) of the wall/hole/platform

to make it easier, you can create an excel or Openoffice calc document titled "wall/platform/hole"maker where you have these labels set up on top cells & the values you need below.
even after all this time, i keep forgetting how the values go...



in level***
music data/music/forest1.ogg
bossmusic data/music/jeffboss.ogg

background data/bgs/st3/back.gif
#frontpanel data/bgs/st4/f01.gif
panel data/bgs/st3/n01.gif

order a
direction right

platform 358 224 -27 30 426 486  54 52

It doesn't work for me, maybe I didn't understand well
 
oldyz said:
paltforms, wall & holes are tricky..

there was a post somewhere that illustrated the values as colors,but i cant find it


wall {xpos} {zpos} {upperleft} {lowerleft}
{upperright} {lowerright} {depth} {alt} {type}

so basically the green dot is where your wall/hole/platform "offset" is at the blues are where the dots of the left side's edges are going to be, the reds are the right side's, orange is how deep it is, purple is how high

H                                          H
H                                          H
H                                          H

UL             D                  UR
                    D
                      D
      LL             Cxy                       LR

Someone upload that in image format to the OpenBOR wiki! Thanks for the explanation!
 
Gabo Hanzo said:
oldyz said:
UL LL, UR & LR are pixels/values added or subtracted  from the "C" (center offset) of the wall/hole/platform

to make it easier, you can create an excel or Openoffice calc document titled "wall/platform/hole"maker where you have these labels set up on top cells & the values you need below.
even after all this time, i keep forgetting how the values go...



in level***
music data/music/forest1.ogg
bossmusic data/music/jeffboss.ogg

background data/bgs/st3/back.gif
#frontpanel data/bgs/st4/f01.gif
panel data/bgs/st3/n01.gif

order a
direction right

platform 358 224 -27 30 426 486  54 52

It doesn't work for me, maybe I didn't understand well

well, what i do is plot the points on the panel image i am using, add  a new layer in gimp & plot the points to see their numbers with gimp's coordinate systems display to figure out where points are...

I have  good example of walls in the NS mod, in one of the level 4 bonus levels (level 4bX or something like that), if you download that thing and examine, you will be able to open the panel image & using the text file & the image on your graphics editor, you will see how i arranged the points & made compensations for the sprite's hitboxes

NOTE: walls become platforms if their altitude is low enough

Also be aware that if your panel image has an offset , you have to modify your numbers accordingly
 
i will expand the example

wall {xpos} {zpos} {upperleft} {lowerleft} {upperright} {lowerright} {depth} {alt} {type}

pppppppppppppppppppppppppppppp
p                                                                      p                                                                                                                                             
p                UL                              UR              p
p                h                                 h                p
p                h      LL                      h      LR    p
p                h       h                        h        h      p
p                h      h                        h        h      p
p              UL     h       D           UR      h      p
p                          h          D                    h      p
p                        LL           Cxy               LR     p
ppppppppppppppppppppppppppppppp


Our "panel" is 30 pixels wide by ``11 pixels tall (there is no 0)
at pixel 2-18 is the center point/offset of the base of the wall/platform

the lower left is -6 pixels the upper left is at  -9,

lower right is at +9, the upper right is at +4

the platform is 2 pixels deep

& its 4 pixels high





 
oldyz: I bet you were trying to look for the image I made long ago. It's also in the manual. Search the name called wall and you will see that image.

Gabo Hanzo: You cannot use platform as a wall in a level like that. You should use wall. Walls and platforms work the same with 8 parameters. For using wall in the level, note that you cannot use it to float anywhere in the level. But using platform as a platform entity, you CAN use it for making it float anywhere you want.

If you are new to using walls or platforms, start with wall with all 0's (zeros). You can adjust it later if you get used to/a little good at it. Around in the level when you have wall in place with all 0s, it's located at the top left of the very beginning of the level (in pixels). OpenBOR reads images/pixels too.

Code:
wall 0 0 0 0 0 0 0 0 #wall {xpos} {zpos} {upperleft} {lowerleft} {upperright} {lowerright} {depth} {alt} {type}

You can label too in case you won't forget. The ninth one is optional which I don't use much.

EDIT: For instance, if your z is 160 220, you can place a wall at 170 in y and with the width/depth as 10 or 15 to increase the walkable size. Even 8 for height. You can increase the right side corners as 100 pixels.

Example:
Code:
wall 0 170 0 0 100 100 15 8
 

Attachments

  • Wall_tutorial.png
    Wall_tutorial.png
    14.9 KB · Views: 9
maxman said:
oldyz: I bet you were trying to look for the image I made long ago. It's also in the manual. Search the name called wall and you will see that image.

Gabo Hanzo: You cannot use platform as a wall in a level like that. You should use wall. Walls and platforms work the same with 8 parameters. For using wall in the level, note that you cannot use it to float anywhere in the level. But using platform as a platform entity, you CAN use it for making it float anywhere you want.

If you are new to using walls or platforms, start with wall with all 0's (zeros). You can adjust it later if you get used to/a little good at it. Around in the level when you have wall in place with all 0s, it's located at the top left of the very beginning of the level (in pixels). OpenBOR reads images/pixels too.

Code:
wall 0 0 0 0 0 0 0 0 #wall {xpos} {zpos} {upperleft} {lowerleft} {upperright} {lowerright} {depth} {alt} {type}

You can label too in case you won't forget. The ninth one is optional which I don't use much.

EDIT: For instance, if your z is 160 220, you can place a wall at 170 in y and with the width/depth as 10 or 15 to increase the walkable size. Even 8 for height. You can increase the right side corners as 100 pixels.

Example:
Code:
wall 0 170 0 0 100 100 15 8

hehe, for some reason i have 2 versions of the manual in the bookmarks & the pic would not show....
 
thanks everyone equally.

I cannot understand his explanations well, I think it may be due to my language.
I only know that platforms do not exist but rather are walls that one uses as platforms.
but when using several walls they collapse or do not work properly.
I also appreciate the good will that everyone had with me.
Regards


pic fee


pic fee

PS: I use the level editor to preview the walls
 
Gabo Hanzo, there is no rule against uploading tools unless they have a limited license. AFAIK all the OpenBOR tools ever released are freeware and have no distribution limits.

DC
 
Back
Top Bottom