![]() |
#1 |
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 |
|
![]() |
![]() |
#2 |
Re: Problem with subways
If you mean by mixing, connecting the second track with the first track, you can't do that.
|
|
![]() |
![]() |
#3 |
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." |
|
![]() |
![]() |
#4 |
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 ] |
|
![]() |
![]() |
#6 |
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.
|
|
![]() |
![]() |
#7 |
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) |
|
![]() |
![]() |
#8 |
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. |
|
![]() |
![]() |
#9 |
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.
|
|
![]() |
![]() |
#10 |
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.
Last edited by Usurper; 04-28-2008 at 07:35 AM.
|
|
![]() |
![]() |
#11 |
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.
|
|
![]() |
![]() |
#12 |
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. |
|
![]() |
Bookmarks |
|
|