Posted 05 March 2017 - 08:48 PM Edited by Silent, 06 March 2017 - 08:05 PM.
It also handles camera definitions (train.dat), see my post below.
Put into 3ds max' startup directory and open the rollout from the maxscript panel.
You can add train stations by putting the distances in the edit box and click "add stations" with the track spline selected. When you click "info", the default (hardcoded) train stops are printed to the maxscript listener for copy and paste convenience.
The stops are imported as dummies as children of the spline object. On export all objects that are children of that spline are printed as distance values as used by III in the maxscript listener.
EDIT: Maybe you want to know how to actually edit the train stations:
The calls to CTrain::ReadAndInterpretTrackFile at 54F035 (el-train) and 54F06D (subway) have as arguments the number of stations and the station distances on the path measuring from the first path node.
float StationDist at 602284
float StationDist_S at 602290
Moving and removing stations is easy. Just change the distance value and (optionally) decrease the number of distances in the function call. Adding stations might need increasing of arrays.
- Ash_735, Blackbird88, George Costanza and 11 others like this
Posted 05 March 2017 - 09:34 PM Edited by fastman92, 05 March 2017 - 09:36 PM.
Adding stations might need increasing of arrays.
; Max number of track stations (6) #Max number of track stations = 6 ; Enables track config loader #Enable track config loader = 0
Posted 05 March 2017 - 11:15 PM Edited by The Hero, 06 March 2017 - 06:38 AM.
EDIT: After looking at the code it looks like what the wiki suggests might be far clip seems to be unused actually. And the value would be too low for far clip, looks more like FOV.
EDIT2: FOV is fixed at 70, so either unused or something else.
- miclin and Mr. Jago like this
Posted 06 March 2017 - 07:27 PM
So this is for GTA San Andreas? Could you make one for GTA V?
Posted 06 March 2017 - 07:34 PM Edited by The Hero, 06 March 2017 - 07:41 PM.
(EDIT: but I really should clarify this is for III, the tags suck)
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users