Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Tue Apr 16, 2024 9:47 pm
All times are UTC + 0
Help with Trains
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [28 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Thu Sep 12, 2019 7:54 am    Post subject:  Help with Trains Reply with quote  Mark this post and the followings unread

So, I was testing out the "hack" to make train bridges from the Terrain Expansion work (all you have to do is simply change the Image= of either BRIDGE1 and BRIDGE2 or BRIDGEB1 and BRIDGEB2 to RAILBRDG with the TX installed) and script a train to move through it.

Now, here's my issue: the train itself is not working correctly, and for some reason is not MindControllable!.

The train engine spawns and moves over the bridge like in TS, no problems there.
My problem is that the nothing but the Locomotive shows up on the map, and that locomotive gets crushed by a freshly spawned locomotive instead of being recruited.

So pretty much a Trigger/Team/Script issue. I think.
A little help please?
Spoiler (click here to read it):
Artmd.ini:
Code:
[MONOCAR]
Voxel=yes
[CARGOCAR]
Voxel=yes
[MONOENG]
Voxel=yes


Rulesmd.ini:
Code:
[BRIDGEB1]
Image=RAILBRDG
Name = Wood Bridge 1
LegalTarget=true
RadarColor=115,115,115;92,92,92
Overrides=yes
NoUseTileLandType=false
[BRIDGEB2]
Image=RAILBRDG
Name = Wood Bridge 2
LegalTarget=true
RadarColor=115,115,115;92,92,92
Overrides=yes
NoUseTileLandType=false

[SMCV]
DeploysInto=NAHAND

[YURIPR]
Cost=1
PrerequisiteOverride=NAHAND

[LOCOMOTIVE]
Name=Locomotive
Nominal=yes
Image=MONOENG
Strength=100
Category=Transport
DeployTime=.022
Armor=light
TechLevel=-1
Sight=5
PipScale=Passengers
Speed=8
Crusher=yes
Owner=Russians,Confederation,Africans,Arabs,YuriCountry
AllowedToStartInMultiplayer=no
Cost=800
Points=25
ROT=5
Passengers=2
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=
VoiceMove=
VoiceAttack=
VoiceFeedback=
MaxDebris=5
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
Weight=3.9
MovementRestrictedTo=Railroad
SlowdownDistance=700
DeaccelerationFactor=0.001
AccelerationFactor=0.01
IsTrain=yes
MovementZone=Crusher
ThreatPosed=0
DamageParticleSystems=SparkSys,SmallGreySSys
ImmuneToPsionics=no

[TRAINCAR]
Name=Train Car
Nominal=yes
Image=MONOCAR
Strength=100
Category=Transport
DeployTime=.022
Armor=light
TechLevel=-1
Sight=5
PipScale=Passengers
Speed=8
Crusher=yes
Owner=Russians,Confederation,Africans,Arabs,YuriCountry
AllowedToStartInMultiplayer=no
Cost=800
Points=25
ROT=5
Passengers=10
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=
VoiceMove=
VoiceAttack=
VoiceFeedback=
MaxDebris=4
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
Weight=3.9
MovementRestrictedTo=Railroad
Passive=yes
IsTrain=yes
MovementZone=Crusher
ThreatPosed=0
DamageParticleSystems=SparkSys,SmallGreySSys

[CARGOCAR]
Name=Cargo Car
Nominal=yes
Image=CARGOCAR
Strength=100
Crusher=yes
Category=Transport
DeployTime=.022
Armor=light
TechLevel=-1
Sight=5
PipScale=Passengers
Speed=8
Owner=Russians,Confederation,Africans,Arabs,YuriCountry
AllowedToStartInMultiplayer=no
Cost=800
Points=25
ROT=5
Passengers=10
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=
VoiceMove=
VoiceAttack=
VoiceFeedback=
MaxDebris=4
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
Weight=3.9
MovementRestrictedTo=Railroad
Passive=yes
IsTrain=yes
MovementZone=Crusher
ThreatPosed=0   ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
CarriesCrate=yes



rbbltst.yrm
 Description:
The test map. Spawn at 1 as Soviets for best view & MindControl-test.

Download
 Filename:  rbbltst.yrm
 Filesize:  54.95 KB
 Downloaded:  16 Time(s)


_________________
One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done. #Tongue

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Thu Sep 12, 2019 10:02 am    Post subject: Reply with quote  Mark this post and the followings unread

If you want a train with multiple sections then it has to be pre-placed on the map & linked together, spawning it with triggers wont work.

Also multi section trains cant be used by the player, only individual ones work as they will lose their connection with each other once the player has control.

If you want to the player to be able to use trains then I'd suggest making a "train factory" instead.



train.gif
 Description:
 Filesize:  2.53 MB
 Viewed:  2861 Time(s)

train.gif



_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Thu Sep 12, 2019 11:40 am    Post subject: Reply with quote  Mark this post and the followings unread

Mig Eater wrote:
If you want a train with multiple sections then it has to be pre-placed on the map & linked together, spawning it with triggers wont work.


I know that. My question is how to set up the triggers and teams and scripts and taskforces appropriately so things won't blow up and the front of the train moves.
See the attached map and look at its triggers and what-not.

Mig Eater wrote:
Also multi section trains cant be used by the player, only individual ones work as they will lose their connection with each other once the player has control.


That's interesting...
Doesn't explain what the issue with the YURIPR is to prevent him from mind controlling the locomotive even after ImmuneToPsionics=no tho.

Mig Eater wrote:
If you want to the player to be able to use trains then I'd suggest making a "train factory" instead.

Instructions unclear, built War Factory instead #Tongue

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
E1 Elite
General


Joined: 28 May 2013

PostPosted: Thu Sep 12, 2019 11:45 am    Post subject: Reply with quote  Mark this post and the followings unread

Made the changes to the map:
- Loop uses line number, not index.
- Use create team. Re-inforcement team doesn't recruit.
- Train parts should use follow ID correctly.

Also for this to work, change WoodBridgeSet = 152 ;101 in urbanmd.ini. Can use only two high bridges.

Can't say why it explodes before reaching the destination waypoint. May be terrain problem.



rbbltst.zip
 Description:

Download
 Filename:  rbbltst.zip
 Filesize:  13.68 KB
 Downloaded:  11 Time(s)


Back to top
View user's profile Send private message
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Thu Sep 12, 2019 12:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

Wait a sec...

This doesn't make sense.
Spoiler (click here to read it):
Code:
[Units]
0=Neutral,LOCOMOTIVE,256,32,57,128,Guard,None,0,-1,0,    1,1,0
1=Neutral,TRAINCAR,256,32,56,128,Guard,None,0,-1,0,      2,1,0
2=Neutral,TRAINCAR,256,32,55,128,Guard,None,0,-1,0,      3,1,0
3=Neutral,CARGOCAR,256,32,54,128,Guard,None,0,-1,0,      -1,1,0

LOCOMOTIVE has FOLLOWS_INDEX 1, TRAINCAR 2 & 3, CARGOCAR -1?
Shouldn't it be the other way around? LOCOMOTIVE -1, TRAINCAR 1 & 2, CARGOCAR 3?
Either way, doesn't FOLLOWS_INDEX take the 0-based ID?

The order of the train cars is:
1: LOCOMOTIVE,256,32,57
2: TRAINCAR,256,32,56
3: TRAINCAR,256,32,55
4: CARGOCAR,256,32,54

The new Follows_ID values make no sense...
E1 Elite wrote:

For this to work, change WoodBridgeSet = 152 ;101 in urbanmd.ini. Can use only two high bridges.

It works even if I haven't... All I did was change the graphics used by the game and FA2.
What's the effect of changing it?

EDIT: both trains and units pass over normally only with this, else they get stuck somewhere on the bridge.
Next question: what about the other terrain INIs? What's their set number or when can I get it from?

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
E1 Elite
General


Joined: 28 May 2013

PostPosted: Thu Sep 12, 2019 12:38 pm    Post subject: Reply with quote  Mark this post and the followings unread

It is more of a follower ID, which takes the index of the next following unit from the list. FA2 wording follows ID gives opposite meaning.

TX terrain INIs have the IDs in front of TrainBridgeSet which wont work, get those and put it in WoodBridgeSet, if you are replacing the high wooden bridge.

Back to top
View user's profile Send private message
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Thu Sep 12, 2019 12:44 pm    Post subject: Reply with quote  Mark this post and the followings unread

E1 Elite wrote:
It is more of a follower ID, which takes the index of the next following unit from the list. FA2 wording follows ID gives opposite meaning.

I'll chk it when I get the cars working: https://ppmforums.com/viewtopic.php?p=581058#581058

E1 Elite wrote:
TX terrain INIs have the IDs in front of TrainBridgeSet which wont work, get those and put it in WoodBridgeSet, if you are replacing the high wooden bridge.

Would overriding the wooden bridge SHPs with the train bridge SHPs do the trick? By actually renaming the files instead of relying on Image=.
https://ppmforums.com/viewtopic.php?p=571949#571949

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
E1 Elite
General


Joined: 28 May 2013

PostPosted: Thu Sep 12, 2019 1:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

I copy pasted your code for the rules. Art already had the entries. It works in both FA2 and Game.

If you are replacing wooden bridge graphics with train bridge ends tiles, like Mig Eater mentioned in that thread, then it will work without replacing the tileset numbers in terrain INIs.

Back to top
View user's profile Send private message
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Thu Sep 12, 2019 1:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

E1 Elite wrote:
If you are replacing wooden bridge graphics with train bridge ends tiles, like Mig Eater mentioned in that thread, then it will work without replacing the tileset numbers in terrain INIs.

Nope, it won't. At least not for urban. I just tested.
The train and other player controlled units get stuck somewhere before the bridge ends.
Player units also will refuse to use the bridge at all unless you more or less force them to after several retries.
I'll go and remake the bridge, see if the problem lies in an unfinished bridge, but I doubt it.

EDIT: Exception handler fired when forcing player units over!
Exception C0000005 at 00583232 should you opt for simply renaming the railbrdg.urb to bridgeb.urb.

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Fri Sep 13, 2019 10:01 am    Post subject: Reply with quote  Mark this post and the followings unread

OK, here's what I got: replacing the wooden bridge with the train bridge with the methods described above works...

Except for newurban. There only player-controlled units can move over, but not scripted trains.

Also, the TX theatre INIs are a real mess... why did they opt for creating entirely new tilesets instead of reusing the existing ones that had simply been coded by WW to not included anything? Would have saved a precious few KBs #Tongue

Attached is the test map in newurban and the urbannmd.ini I'm using.

After 5 frames/seconds have passed, the train moves close to the start of the bridge on the bottom/southern cliff edge. If it stays there then the bridge doesn't work.
The train will go in a nice loop if it does work.

Happy debugging...



urbannmd.ini
 Description:

Download
 Filename:  urbannmd.ini
 Filesize:  52.84 KB
 Downloaded:  7 Time(s)


rbbltst.yrm
 Description:
start at 1

Download
 Filename:  rbbltst.yrm
 Filesize:  55.28 KB
 Downloaded:  9 Time(s)


_________________
One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done. #Tongue

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Fri Sep 13, 2019 10:38 am    Post subject: Reply with quote  Mark this post and the followings unread

TAK02 wrote:
Also, the TX theatre INIs are a real mess... why did they opt for creating entirely new tilesets instead of reusing the existing ones that had simply been coded by WW to not included anything? Would have saved a precious few KBs #Tongue

Because when you change TileSets, you break all existing maps that use this or any following TileSet.

That's why mods add new TileSets and don't touch the original ones.
That's why mods mostly set TilesInSet = 99 for their new sets, because changing that later breaks maps as well and modders want to keep room for future additions.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Fri Sep 13, 2019 6:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

And as usual, LKO is right. With my custom urbannmd.ini, original maps are messed up...
And perhaps I should have worded it better.


I still have the train-not-working problem tho. How to tackle that?

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
E1 Elite
General


Joined: 28 May 2013

PostPosted: Sat Sep 14, 2019 5:27 am    Post subject: Reply with quote  Mark this post and the followings unread

The new urban train bridge tiles in TX don't have the correct terrain type set for the track cells like in tovrps06.ubn or tovrps06a.ubn, the track cells have been set with terrain type number 11 instead of 6. You can correct those by using XCC TMP Editor 1.05. Check with say tovrps06.tem and set the same for tovrps06.ubn. I didn't check all the remaining tiles.

Back to top
View user's profile Send private message
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Mon Sep 16, 2019 7:16 am    Post subject: Reply with quote  Mark this post and the followings unread

Does anyone have a link for the meanings of all the Terrain Type numbers?
Google and rules(md) are not helping me here. I've also tried Bing, but nothing.

All I know now is that 6 stands for rails, 15 is impassable and unbuildable, 11 is passable and can be built on.

_________________
One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done. #Tongue

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
E1 Elite
General


Joined: 28 May 2013

PostPosted: Mon Sep 16, 2019 9:19 am    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
HG_SCIPCION
Gauss Rifle Trooper


Joined: 07 Jun 2013
Location: Perú

PostPosted: Mon Sep 16, 2019 8:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

Why TAK02 Whyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

_________________
https://www.moddb.com/mods/global-crisis
https://www.patreon.com/scipcion

Back to top
View user's profile Send private message Facebook Profile URL
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Tue Sep 17, 2019 9:20 am    Post subject: Reply with quote  Mark this post and the followings unread

What did I do (or didn't do) this time..?

_________________
One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done. #Tongue

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Wed Sep 18, 2019 11:19 am    Post subject: Reply with quote  Mark this post and the followings unread

OK, now for a different problem.

As the train with the carriages moves, the carriages behind it go boom as they're crushed one by one.

I've already tracked the problem down to the Speed and Acceleration settings.
My current problem is what values they should be, since the carriages still go boom even after all the speed settings are the same...

In my case the values are straight from the TS LOCOMOTIVE:
Code:
Speed=8
MovementZone=Crusher
SlowdownDistance=700
DeaccelerationFactor=0.001
AccelerationFactor=0.01
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
;;tho I'm sure ^this^ is the only one that trains will work with anyway

With SpeedType not defined/explicitly stated, I guess this means the default Track is used since we have a Crusher=yes VehicleType.



Yuri_s-Revenge-2019-09-18-13-08-42-00_00_03-00_00_11.rm
 Description:

Download
 Filename:  Yuri_s-Revenge-2019-09-18-13-08-42-00_00_03-00_00_11.rm
 Filesize:  1.11 MB
 Downloaded:  5 Time(s)


Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
E1 Elite
General


Joined: 28 May 2013

PostPosted: Thu Sep 19, 2019 12:27 am    Post subject: Reply with quote  Mark this post and the followings unread

Speed=6 works for this map. Better to keep the turns/bends at wide angles.

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Thu Sep 19, 2019 12:35 am    Post subject: Reply with quote  Mark this post and the followings unread

You can also define the unit speeds by configuring a the land type the way beaches and cliffs are...

What do you have under [Railroad]?

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Thu Sep 19, 2019 1:32 am    Post subject: Reply with quote  Mark this post and the followings unread

Speed=8 works fine as such, but not for the shared map. The idea is, after the train accelerates, it shouldn't get sharp turns.

Back to top
View user's profile Send private message
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Thu Sep 19, 2019 7:09 am    Post subject: Reply with quote  Mark this post and the followings unread

Code:
[Railroad]
Foot=90%
Track=100%
Wheel=50%
Float=0%
FloatBeach=0%
Hover=100%
Amphibious=50%
Buildable=no


I haven't tested to see how the trains would behave if none of them accelerate/deaccelerate with custom factors and instead use the default ones, so maybe that'll work.
My idea is to make it so that sharp turns can still be made...

I wonder if setting the carriages' speed to 7 or 6 while the locomotive stays at 8 would fix it and/or cause the carriages to decouple when going a straight line for a while.

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Fri Sep 20, 2019 6:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'm hoping the lack of response to this topic is because of everyone loving trains so much, they want it to be perfect, and they still haven't managed it yet #Tongue

Now, here's what I have. I'm not sure if it's completely perfect, but for the test map with the slightly sharper than usual turns, here's what you can do:

A) add a waypoint just before a sharp turn and make sure the waypoint is included in the train's script. (theoretically)
That way, you prevent the locomotive from stopping and turning, with the carriages right behind it still moving, and thus the locomotive and carriage occupying the same cell and the carriage outrunning the locomotive, thus triggering the train and making it crush the carriage that was supposed to be right behind it.
Well, in theory, anyway.

B) mess with the acceleration and train ROT.
Spoiler (click here to read it):
Code:
[LOCOMOTIVE]
ROT=20 ;;5
;;^^this has to be high enough to avoid the locomotive wasting too much time at sharp turns and making it possible for the cars to catch up to the engine, and thus causing some booms no-one wants, for once...
SlowdownDistance=1 ;;700
;;not sure if ^^this can remain 700. Might be more realistic, but might break the train sooner rather than later...
DeaccelerationFactor=0.001
AccelerationFactor=0.9999 ;;0.01

[Train carriages/cars]
SlowdownDistance=1400 ;700
DeaccelerationFactor=0.999 ;;0.1
AccelerationFactor=0.001


TAK02 wrote:
I wonder if setting the carriages' speed to 7 or 6 while the locomotive stays at 8 would fix it and/or cause the carriages to decouple when going a straight line for a while.

The train does "decouple". But in RA2/YR/Ares this just means that the distance between locomotive and carriages grows bigger, until eventually the locomotive catches up to its cars and blows them up.
Details:
Spoiler (click here to read it):
As the train is faster than the cars, the distance between the cars (assuming they all have the same speed so they don't presumably crush each other) and the locomotive simply grows.
The cars will still "follow" the engine, but at distance.
This means that if your script has the locomotive heading for a waypoint and stopping there, the cars will "follow", until the engine reaches the waypoint in its script and wait.
As soon as it reaches the waypoint and starts waiting, so do the cars:
The just stop the instant their engine does, and don't move until their locomotive moves, regardless of where they are.

I'm guessing this means that the "follow" logic as WW implemented it (or maybe Ares had a hand or two in it), is for the "followers" to just do what their "leader" is doing, as opposed to "don't stray more than one cell away from him".
To be fair, the former would've been easier to implement...

But I'm sure the veterans here already knew or had an inkling...

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Sat Sep 21, 2019 7:13 am    Post subject: Reply with quote  Mark this post and the followings unread

I've always just used the same speed, ROT & acceleration settings on both the locomotives & carriages, never had or heard of anyone else having any problems with them crushing each other :/

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Sat Sep 21, 2019 8:40 am    Post subject: Reply with quote  Mark this post and the followings unread

Then your turns weren't sharp enough #Tongue

The turns have to be so sharp, the locomotive actually has to stop and turn for a few frames. If done a few times in succession, the cars will eventually catch up to and outrun the locomotive.

What values were/are you using?

_________________
One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done. #Tongue

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Sat Sep 21, 2019 3:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ah so the problem is that you're not laying out the tack correctly, there should always be a vertical/horizontal section in the middle of every corner. Trains can only do a 1/8 turn per cell so if you dont have the extra track section they get stuck & as you have discovered collide & blow up. Fiddling with the speed or acceleration setting wont fix it, what you need to fix is the tracks.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Sun Sep 22, 2019 1:40 pm    Post subject: Reply with quote  Mark this post and the followings unread

Mig Eater wrote:
Fiddling with the speed or acceleration setting wont fix it, what you need to fix is the tracks.


Or set the ROT high enough.

Or make sure the train stops completely before it attempts to make a sharp turn to buy the locomotive a few more frames to escape the current cell.

Or make the locomotive faster than the cars! #Tongue

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Wed Dec 09, 2020 9:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

Mig Eater wrote:
multi section trains cant be used by the player, only individual ones work as they will lose their connection with each other once the player has control.
This quote is not quite a lie but not a truth either. Trains are a bit more broken than that.
Also, my earlier observation regarding train wagons "decoupling" seems to be wrong. See for yourself.



Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [28 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.2274s ][ Queries: 14 (0.0115s) ][ Debug on ]