Home : Downloads : Forums : Contact Us Copyright

AMC Web Forums

  • June 18, 2013, 08:59:47 AM *
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: * Urgent! Subway Problem  (Read 889 times)

Rusty Nails

  • Moderator
  • Member
  • Offline Offline
  • Posts: 8002
    • ICQ Messenger - 156850845
    • View Profile
    • WWW
    • Email
* Urgent! Subway Problem
« on: December 01, 2004, 11:35:57 PM »


First of all, don't laugh at the picture. :P

Alright, secondly, here we have the train, on its set path, the level starts in it like that, as soon as you spawn the train will begin to move towards its final destination.

I've tried this for a couple of days now, I've used some other build maps as a reference, the subway in CBP5 and I believe this one on the picture is Zaxtor's subway from Alien Sanctuary.

When I enter the level, the train starts to move, but the white walls are just stranding still it seems, and just.. being ugly. (they don't move with the train, but stretch out when it moves - try to imagine that)

I also tried to surround the subway car with a red rectangular sector, and have the sectoreffector and all that in that, to try and see if all the stuff would be drawn with it when it was moving. But it wasn't moving at all.

All of the effect-sprites are pointed towards the final destination and all.. And just..

I'm clueless! Can anyone help me out here?

Thanks.

Edit: This is my first try at doing a subwaycar.

-Rusty Nails
« Last Edit: December 01, 2004, 11:38:12 PM by Rusty_Nails »
Logged
Quote from: Geoffrey intoxicated
fuuuuck going down the stairs was like a
good duke nukem level
gameplay 9/10

Flickr: http://www.flickr.com/photos/sebastianfritzon
Last.fm: http://www.last.fm/user/Rusty_Nails/

CryptoproctaFerox

  • AMC TC member/guest
  • Member
  • Offline Offline
  • Posts: 3294
  • Death is among us
    • MSN Messenger - zaxtor2001@yahoo.com
    • AOL Instant Messenger - Zaxtor+Znort
    • Yahoo Instant Messenger - Zaxtor2001
    • View Profile
    • WWW
    • Email
* Urgent! Subway Problem
« Reply #1 on: December 02, 2004, 12:12:12 AM »
If is what i think

If the white lines are not surrounded by the moving sector (lotag 31)
It will stretch and being ugly.

The train's law is the white lines (wall) must be surrounded by a sector
Train's main sector.
Logged
OBLIVION'S STATUS. {FINISHED}..
Current status RELEASED
http://www.fileplanet.com/hosteddl.aspx?/hst/m/s/msandt/oblivionfinal.zip .

BTW  My website about the fossa at:
Fossa's Lair  and
My second site about fireworks at:
The Bomb Baron'

Rusty Nails

  • Moderator
  • Member
  • Offline Offline
  • Posts: 8002
    • ICQ Messenger - 156850845
    • View Profile
    • WWW
    • Email
* Urgent! Subway Problem
« Reply #2 on: December 02, 2004, 12:20:17 AM »
So if I do what you say, should I erase all the sectorlotags within the train itself?

-Rusty Nails
Logged
Quote from: Geoffrey intoxicated
fuuuuck going down the stairs was like a
good duke nukem level
gameplay 9/10

Flickr: http://www.flickr.com/photos/sebastianfritzon
Last.fm: http://www.last.fm/user/Rusty_Nails/

CryptoproctaFerox

  • AMC TC member/guest
  • Member
  • Offline Offline
  • Posts: 3294
  • Death is among us
    • MSN Messenger - zaxtor2001@yahoo.com
    • AOL Instant Messenger - Zaxtor+Znort
    • Yahoo Instant Messenger - Zaxtor2001
    • View Profile
    • WWW
    • Email
* Urgent! Subway Problem
« Reply #3 on: December 02, 2004, 12:26:13 AM »
Let say

█ is white line
▒ is red line / sector

1
███▒▒▒▒▒███
█▒▒▒▒▒▒▒▒▒█
█▒▒▒▒▒▒▒▒▒█
███▒▒▒▒▒███
Not good it will stretch and cause errors

2
▒▒▒▒▒▒▒▒▒▒▒▒▒
▒███▒▒▒▒▒███▒
▒█▒▒▒▒▒▒▒▒▒█▒
▒█▒▒▒▒▒▒▒▒▒█▒
▒███▒▒▒▒▒███▒
▒▒▒▒▒▒▒▒▒▒▒▒▒
Good it will work
Logged
OBLIVION'S STATUS. {FINISHED}..
Current status RELEASED
http://www.fileplanet.com/hosteddl.aspx?/hst/m/s/msandt/oblivionfinal.zip .

BTW  My website about the fossa at:
Fossa's Lair  and
My second site about fireworks at:
The Bomb Baron'

Rusty Nails

  • Moderator
  • Member
  • Offline Offline
  • Posts: 8002
    • ICQ Messenger - 156850845
    • View Profile
    • WWW
    • Email
* Urgent! Subway Problem
« Reply #4 on: December 02, 2004, 12:45:45 AM »
Okay, cool.

So what about if I have more red sectors within it? Like, I would need seats and stuff.
(plus the poles, which are white sectored)

-Rusty Nails
Logged
Quote from: Geoffrey intoxicated
fuuuuck going down the stairs was like a
good duke nukem level
gameplay 9/10

Flickr: http://www.flickr.com/photos/sebastianfritzon
Last.fm: http://www.last.fm/user/Rusty_Nails/

CryptoproctaFerox

  • AMC TC member/guest
  • Member
  • Offline Offline
  • Posts: 3294
  • Death is among us
    • MSN Messenger - zaxtor2001@yahoo.com
    • AOL Instant Messenger - Zaxtor+Znort
    • Yahoo Instant Messenger - Zaxtor2001
    • View Profile
    • WWW
    • Email
* Urgent! Subway Problem
« Reply #5 on: December 02, 2004, 12:59:27 AM »
█ is white lines which means

emptyness / non sector walls

▒ are sectored lines red lines

Trains are weird
if you make seat made of sectors it will cause problems
so make the seat in sprites
« Last Edit: December 02, 2004, 12:59:57 AM by Zaxtor »
Logged
OBLIVION'S STATUS. {FINISHED}..
Current status RELEASED
http://www.fileplanet.com/hosteddl.aspx?/hst/m/s/msandt/oblivionfinal.zip .

BTW  My website about the fossa at:
Fossa's Lair  and
My second site about fireworks at:
The Bomb Baron'

Quakis

  • Member
  • Offline Offline
  • Posts: 5378
    • MSN Messenger - quakis_962@hotmail.com
    • View Profile
    • WWW
    • Email
* Urgent! Subway Problem
« Reply #6 on: December 02, 2004, 02:03:12 AM »
Erm, I dunno if this works, but you could try making the white line walls red, and raise them up, and make each red sector move with it?
Logged

Rusty Nails

  • Moderator
  • Member
  • Offline Offline
  • Posts: 8002
    • ICQ Messenger - 156850845
    • View Profile
    • WWW
    • Email
* Urgent! Subway Problem
« Reply #7 on: December 02, 2004, 02:32:12 AM »
Yeah that crossed my mind there as well, I'll try that. :)

-Rusty Nails
Logged
Quote from: Geoffrey intoxicated
fuuuuck going down the stairs was like a
good duke nukem level
gameplay 9/10

Flickr: http://www.flickr.com/photos/sebastianfritzon
Last.fm: http://www.last.fm/user/Rusty_Nails/

Semicharm

  • Member
  • Offline Offline
  • Posts: 232
    • ICQ Messenger - 16426403
    • AOL Instant Messenger - RPGSpree
    • Yahoo Instant Messenger - Semi_charm
    • View Profile
    • WWW
    • Email
* Urgent! Subway Problem
« Reply #8 on: December 05, 2004, 05:08:43 PM »
There really isn't a much of a difference between using red or white sector lines in a train.  The rules are still the same.

The problem is how the sliding sector effects work.  The sliding effects, such as the 2-way train, look at all of the walls that are touching the main sector, the one with the SE, and only moves them.  Also the only
sprites that the effect will move are the ones that are in the main sector.  The same is even true for Duke himself.  If he leaves the main sector he will fall off.

The secret to making complected stuff like this move is to make it such that the main sector touches every single point of all of the sectors that are inside of it.  It doesn't actually have to touch the wall itself, just the point.  (Build is weird, I know).  Also, it doesn't work right if there are more than 3 walls intersecting at a single point.  The effect will only move Duke if he is inside the main sector, so he has to be able to stay in it while it is moving.  

That's basically all there is to it!  You can look at the jeep and forklift (ya, the forklift moves too) from my Jungle Factory map for some examples.
Logged
"Every day is now consumed with the struggle against the tides of madness that threaten to besiege my mind."
Children of Time: The Lost Souls, Jestique Larens
 

(C) 2009, Alejandro Glavic. http://www.amcwebforums.com Go top