Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Problem: How to walk on interior surfaces of a pipe
Problem: How to walk on interior surfaces of a pipe
2003-12-06, 10:50 AM #1
Oops, now I feel really stupid. I inadvertently deleted this initial post.

It was about a space station shaped like a pipe, and it explained that the main problem with attaching and orienting to walls was JK's pushing the player back to the floor or ceiling.


[This message has been edited by ZeqMacaw (edited December 10, 2003).]
2003-12-06, 11:43 PM #2
hm.. thats quite hard problem. Ship would look like this arnt it?

Code:
---------- rotate line

    _
   / \
   \_/ pipe

so in fact there will be only 1 place that will work fine hm...
i tried to make 2 grav level (with grav change in middle, but it wont work anymore. Other way, i think there is no way to set grav vector.. if there is way, your problem is simple, else.. perhaps not. Unknown for me.


PS (i soluted my problem by using ghost aporting, so there was in fact 2 levels rotated by 180 degresses but this will not help ya)

------------------
The miners of Kiith Somtaaw sacificed much, and risked all. For their efforts they were brought into the inner most circle of Hiigaren power. Naabal, S'jet, and Sobanii bowed before them. And from that day to this, Somtaaw's children have been known to one and all as Beastslayers..
2003-12-07, 5:52 AM #3
The problem really can be reworded as: How do we allow players to walk on walls as if they were floors? (I should have worded it that way to begin with. Drat!)

I have seen many discussions on this forum about this problem, but it looks like it has not been resolved (or at least revealed to the forum).

I really enjoy FPS games and I enjoy getting the most out of them, so I keep trying to get this one idea to work.

A simplified picture of the level looking from one end of the "pipe":
Code:
  ------   <-- ceiling
 /      \
/        \ <-- All angles push player to ceiling
|        |
|        | <-- 90 deg. wall pushes player to floor
|        |
\        / <-- Steep angles push player to floor
 \      /
  ------   <-- floor


[This message has been edited by ZeqMacaw (edited December 07, 2003).]

[This message has been edited by ZeqMacaw (edited December 07, 2003).]
2003-12-07, 8:17 AM #4
Is the level geometry itself actually rotating (the pipe -- is it moving)?
This is what I mean: (the numbers indicate a particular surface -- 1=ceiling, 2=wall, 3=floor, 4=wall)
Code:
Frame 1
  -----
 /  1  \
/       \
|4     2|
|       |
\       /
 \  3  /
  -----

And when it rotates counterclockwise to the next "frame"...
Code:
Frame 2
  -----
 /  2  \
/       \
|1     3|
|       |
\       /
 \  4  /
  -----

Is this what you're trying to make your level like, or are you shifting the gravity so it pushes to another spot while the level geometry retains its orientation?
I'm just not entirely clear on the plan for your level.

------------------
[Meow Mix]
Meow Meow Meow Meow
Meow Meow Meow Meow
Meow Meow Meow Meow Meow Meow Meow Meow

[This message has been edited by Darth Slaw (edited December 07, 2003).]
May the mass times acceleration be with you.
2003-12-07, 11:13 AM #5
Sorry for the confusion.

Forget about the pipe; forget about the space station. (The gravitational effects of a "rotating" space station can be simulated with sector thrusts, which we have already resolved.)

The real problem is: How do we get the player to walk on the walls and ceiling as if the walls and ceiling are floors?

Here are the ideas I have either found or thought of myself:

1. Use attachment flags for orienting and attaching player to walls. (This is what the WoW mod did.) The main disadvantage is that JK pushes the player to the floor or ceiling if on certain surfaces. Also, jumping would have to be altered so that player isn't always sent in the +z axis direction.

2. Use physics flag for flying. This requires reworking the walking sounds, reorienting the player when the player touches a surface, adding the crouch and jump effects, and changing the acceleration/deceleration effects of flying to match those of walking/running.

3. Rotate the level. I suspect this would be infeasible. It would likely require many 3dos or would be extremely cumbersome to do in multiplayer.

4. Give up and work on something else. [http://forums.massassi.net/html/smile.gif]

What are some other ideas?

I am currently working on Idea 2, because I have not found a way around the automatic pushing of player and the jumping might be easier to handle.
2003-12-08, 11:25 AM #6
Checksum wrote something for me a long time ago, it allows the player to fly in all dirrections in the air, and allows them to orient themselves to any surface they'd like, by simply rotating in that general direction with the strefe keys, and moving towards the wall.

JediKirby

------------------
"I was driving along listening to the radio, when Judas Priest comes on. It was 'You've got another thing coming.' All of a sudden, I enter 'VICE CITY RAMAGE MODE' and nearly ran some guy over"
- ]-[ellequin
ᵗʰᵉᵇˢᵍ๒ᵍᵐᵃᶥᶫ∙ᶜᵒᵐ
ᴸᶥᵛᵉ ᴼᵑ ᴬᵈᵃᵐ
2003-12-10, 5:28 AM #7
I am concluding this topic because I have been confusing two different ideas. I will post new topics once I have researched JK a little more.

Thanks to all for your help.
2003-12-11, 2:48 AM #8
Quote:
<font face="Verdana, Arial" size="2">
3. Rotate the level. I suspect this would be infeasible. It would likely require many 3dos or would be extremely cumbersome to do in multiplayer.
</font>


if you mean contnuously rotateing the entire level it shouldent be so hard..

select the hole level (giveing every few sectors a different layer if its complex) then change to surface mode (look all he surfaces are selected) hit [ALT+I] to invert them then eport the hhole level as a 3do. then make a bog box, plop the levle in, change the physics mode, andd a angvel(00.000/90.000/00.000) to the template as well as the phsyics mode. and yahh boo, the hole thing rotates in circles...

the only problem is if you have switches or doors. but if you make them seperaite 3do's and use cog to attach them to the space station, you should ahve no problems.. :P

------------------
I am pjb.
Another post......
another moment of my life wasted.....
at least i made a level.
PJB's JK page's

-the PJB jedi rule book-
rule one, "never trust a bartender with bad grammar"-kyle katarn in JO

Rule Two, "Gravity is a crule misstress" -kyle katarn in MotS, and the alternatior MK I in AJTD

rule three, "asprines good, but it hasent got the kick of morphine. and its not gonna stop the hurting in my arm, the ones thats on the otherside of the room i mean" -the alternatior
I am Darth PJB!
well, go on, run away!

i have a plastic lightsaber and a jedi cape.. am i a nerd?

If gravity is a crule mistress, and bar tenders with bad grammar are untrustworthy, what is air?

↑ Up to the top!