Forum Archive

Go Back   3D Realms Forums > 3D Realms Topics > Duke Nukem > Duke Nukem 3D Modifications
Blogs FAQ Community Calendar

Notices

 
 
Thread Tools
Old 10-23-2001, 04:56 PM   #1
alejandro
Problem with subways
Hi

I am making a subway on my map, i have one track with one subway (3 cars) and it works correctly, but i made another subway and it mixes with the first subway (?!) What am i missing, or what is wrong?

Bye
alejandro is offline  
Old 10-24-2001, 01:21 AM   #2
Ding Bat

Ding Bat's Avatar
Re: Problem with subways
If you mean by mixing, connecting the second track with the first track, you can't do that.
Ding Bat is offline  
Old 10-24-2001, 04:16 AM   #3
NutWrench

NutWrench's Avatar
Re: Problem with subways
If the second subway is on a different track, then you need to give both subway cars different HiTags to keep them from mixing.

Here's a level I made that has two subways in it. In this example I used "[1,0]" for the subways on one level and "[4,0]" for the subways on the other level. (I could have made the second subway "[2,0]". If you're wondering why I jumped from 1 to 4: my original level idea was a LOT more ambitious. [img]images/icons/grin.gif[/img] )

[edit] In case you're talking about 2 subways on the SAME track that are mixing:
Subways always start at Locator 0, work their way up to the highest Locator and then seek out the 0 Locator again. If you place subway cars on another part of the same track, away from Locator 0, make sure you give the "engine" [0,6] and any trailing cars [0,14] the same hightag as the Locator directly in fron of the car. For example, if your subway starts out on the opposite side of the track, just before Locator 19, make sure the engine is tagged "[19,6]" and any trailing cars are tagged "[19,14]". If you don't do this, the subway will head straight for Locator 0, when you start the map for the first time, passing through walls and other objects until it gets to Locator 0. This looks very weird and will be very uncomfortable for anyone riding the subway when this happens. [img]images/icons/grin.gif[/img]

P.S. Make sure your are using Locators and not ActivatorLockeds. Locators look almost identical, except that they have a little "+" sign next to them.

[ 10-24-2001: Message edited by: NutWrench ]
__________________
"If by chance some day you're not feeling well and you should remember some silly thing I've said or done and it brings back a smile to your face or a chuckle to your heart, then my purpose as your clown has been fulfilled."
NutWrench is offline  
Old 10-24-2001, 08:15 AM   #4
alejandro
Re: Problem with subways
Ok, now the 2 subways work fine (they are in the same track, the problem was that I don't gave them the same hitag as nearest locator)

Thanx!
Bye

[ 10-24-2001: Message edited by: alejandro ]
alejandro is offline  
Old 10-24-2001, 08:54 AM   #5
Kef Nukem
Re: Problem with subways
City of Screams rock [img]images/icons/smile.gif[/img]
Btw Alejandro, if you have more questions, don't hesitate to ask 'em [img]images/icons/smile.gif[/img] you can always ask me via icq ok?
__________________
---===Kuffi.NET
Kef Nukem is offline  
Old 12-10-2001, 11:20 AM   #6
martyd
Re: Problem with subways
Okay, I have this slightly different querry. I made this really long sub track and I get these wierd things like the single engine going through walls and such. I checked the 40 plus locators for errors, widened the track, all sorts of things but haven't found what it wants. The track is all one sector and not sloped or with panned floor/ceiling. [img]images/icons/rolleyes.gif[/img] (I got a lot of stuff like this I'm trying to solve [gulp]). Thanx.
martyd is offline  
Old 12-11-2001, 03:24 AM   #7
Ding Bat

Ding Bat's Avatar
Re: Problem with subways
<blockquote><font size="1" face="Verdana, Arial">quote:</font><hr>Originally posted by martyd:
Okay, I have this slightly different querry. I made this really long sub track and I get these wierd things like the single engine going through walls and such. I checked the 40 plus locators for errors, widened the track, all sorts of things but haven't found what it wants. The track is all one sector and not sloped or with panned floor/ceiling. [img]images/icons/rolleyes.gif[/img] (I got a lot of stuff like this I'm trying to solve [gulp]). Thanx.<hr></blockquote>

I'm not sure exactally what you talking about, but double check your locator numbers and make sure you start off with no hitag then make sure the rest tags are sequential(NO SKIPPED OR DOUBLED UP NUMBERS)
Ding Bat is offline  
Old 12-11-2001, 01:15 PM   #8
cyborg

cyborg's Avatar
Re: Problem with subways
In order to sucessfully have two sets of locators the objects which use the locators must find the locator with the hitag you want them to find, as if you hadn't noticed you'll now have a lot of locators which are basically the same.
Now I'm not sure I remember exactly how Duke3d is programmed to search out the next locators but it probably simply searches up through the sprite list for the next locator sprite with the correct hitag. This would mean that if you have two hitags with the same number then the one with the lower hitag is the one that will be found first. Hence if you were building your tracks at the same time the internal sprite list would be a bit like this:
L0L0L1L1L2L2 etc...
and only one track would ever be used since the lower sprite number locator would always be used. The locators must be organised like this:
L0L1L2L0L1L2
As you should be able to see when starting at either L0 you'll progress up the list. Once at the end of the list I suspect that it would use a pointer to get quickly back to L0 rather than search from the start. If this method is the one used then if the second built loop has more locators then clearly the loops would mix.
The other method would be to seek out the nearest locator but I'm not sure about this as this would again basically require searching up the list but it would assume it expects to find more than one - judging by the docs I don't think this is the way Todd Replogle would have programmed it.
Hence I can probably safely say that you must ensure that your sprite numbers don't cross and that each sucessive loop has fewer or the same number of locators than the last.
__________________
You lose.
cyborg is offline  
Old 04-28-2008, 07:15 AM   #9
Q-qeo
Re: Problem with subways
Hi,
I have a problem with the locaters on the subway, see the picture..
I hope you can help me

Last edited by Q-qeo; 04-28-2008 at 07:36 AM.
Q-qeo is offline  
Old 04-28-2008, 07:29 AM   #10
Usurper

Usurper's Avatar
Re: Problem with subways
Tx showed me where you put the pic in your profile. If you send the map to usurper @ duke4.net I can look at it for you.
__________________
Meadhall of the Comitatus | RTCM
Last edited by Usurper; 04-28-2008 at 07:35 AM.
Usurper is offline  
Old 04-28-2008, 07:39 AM   #11
Q-qeo
Re: Problem with subways
Hi,

I sent the picture in the album you see it?....
Last edited by Q-qeo; 04-28-2008 at 07:43 AM.
Q-qeo is offline  
Old 04-28-2008, 08:03 AM   #12
Q-qeo
Re: Problem with subways
Subway error

Hi All,

I have this error when I lauching Duke "Could not find any locators for SE# 6 and 14 whith a hitag of 1"
Strange message, can you help my with this??...

Greetings Fred.
Q-qeo is offline  
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 12:42 PM.

Page generated in 0.11893392 seconds (100.00% PHP - 0% MySQL) with 18 queries

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

Website is ©1987-2014 Apogee Software, Ltd.
Ideas and messages posted here become property of Apogee Software Ltd.