Search for TRAIN in opcode search tool and you will found the necesary opcodes.
Basically is: If player is at crazy train location, destroy all trains and disable train traffic then spawn two trains, when the trains arrive a point destroy it and respawn. If the player go out of crazy trains point, destroy it and reenable train traffic.
:TRAIN_248 0247: load_model #FREIGHT 0247: load_model #FREIFLAT 0247: load_model #STREAK 0247: load_model #STREAKC 0001: wait 0 ms 00D6: if or 8248: not model #FREIGHT available 8248: not model #FREIFLAT available 8248: not model #STREAK available 8248: not model #STREAKC available 004D: jump_if_false @TRAIN_310 0002: jump @TRAIN_248
:TRAIN_237 00AE: set_car 33@ traffic_behaviour_to 3 Model.Load(#FREIGHT) Model.Load(#FREIFLAT) Model.Load(#STREAK) Model.Load(#STREAKC) wait 0 if or † not Model.Available(#FREIGHT) † not Model.Available(#FREIFLAT) † not Model.Available(#STREAK) † not Model.Available(#STREAKC) else_jump @TRAIN_306 jump @TRAIN_237
I want all the vehicles who are around the sphere to be aggressive and not a specific. I see that 33 here represents train. Now I can't find parser for each vehicle.
i thought you want that the trains pass more often, therefor the timecheck 33@ > 7000 but if i understand you right, you want to increase the traffic density remove that: 00AE: set_car 33@ traffic_behaviour_to 3 you need to check for random cars
This post has been edited by ZAZ on Sunday, Apr 29 2012, 14:26