Author Topic: How to remove SAFEGATE from GSX INI file?  (Read 1957 times)

trisho0

  • Sr. Member
  • ****
  • Posts: 365
How to remove SAFEGATE from GSX INI file?
« on: December 15, 2021, 10:40:38 pm »
How to remove or to exclude a SAFEGATE (Docking System) from the GSX.ini file?

[gate d 22]
nopassengerstairs = 0
nopassengerbus = 0
ignoreicaoprefixes = 0
ignorepreferredexit = 0
parkingsystem = 9
hasjetway = 1
pushback = 1
pushbacklabels = Nose Right/Tail Left (LEFT)|Nose Left/Tail Right (RIGHT)
maxwingspan = 46.0
radiusleft = 23.0
radiusright = 18.4
exclude_radius = 1.0
loadertype = 3 3 2
airlinecodes = BAW,QTR,AFL,THY,KAL,RJA,ELY,OHY,KAC,AHY,NLY,IRA,SDM,DAH,MSR,EIN,MGX,EXS,EVA,AZQ,SXD
type = 9
jetway_name = GSX2 Custom Jetway
jetway_staticlinkedsimobjectsmask = 0
usercustomized = 1
jetway_pos = 48.1185628473759 16.5604788064957 278.399047851562
jetway_simtitle = FSDT_SODE_JW_TB_39_23_WHITE
jetway_linkedsimobjectsmask = 14
jetway_logo = FSDT_SODE_JW_TB_2_8_LOGO_UNIQA
jetway_gate_number_font_name = Arial
jetway_gate_number_font_size = 36.0
jetway_gate_number_font_color = 0,0,0,255
jetway_gate_number_bg_color = 255,255,255,255
jetway_gate_number_font_weight = 700
jetway_gate_number_font_style = 0
jetway_gate_number_font_stretch = 5
jetway_gate_number_text = D22
pushback_pos = 48.1184268798988 16.5603620359103 -71.7846069335937
baggage_train_front_pos = 48.1183466982805 16.5602549446789 -56.7846069335938
baggage_train_rear_pos = 48.1182675099169 16.5599912842388 -56.7846069335938
this_parking_pos = 48.1185143487838 16.56000789925 123.215393066406
parkingsystem_objectposition = 48.1182028988676 16.5607192830482 -56.7846069335938 0
parkingsystem_stopposition = 48.1184577035732 16.5601375177321

When I leave the INI file renamed to Off then there is no SAFEGATE showing in the Parking. So, I think it has to be some of the sentence line that needs to REM or to change.
Patricio Valdes
« Last Edit: December 15, 2021, 10:42:13 pm by trisho0 »

Captain Kevin

  • Beta tester
  • Hero Member
  • *****
  • Posts: 1866
  • Captain Kevin
    • Captain Kevin
Re: How to remove SAFEGATE from GSX INI file?
« Reply #1 on: December 15, 2021, 11:59:41 pm »
Without having checked myself, I believe it is the parkingsystem_objectposition line.
Captain Kevin

trisho0

  • Sr. Member
  • ****
  • Posts: 365
Re: How to remove SAFEGATE from GSX INI file?
« Reply #2 on: December 16, 2021, 12:22:39 am »
Hellooooo Captain Kevin ready for Xmas (LOL) ?
I did REM (adding "//") on the 2 last lines as:

//parkingsystem_objectposition = 48.1182028988676 16.5607192830482 -56.7846069335938 0
//parkingsystem_stopposition = 48.1184577035732 16.5601375177321

not a success, the docking system SAFEGATE still present (circled green).

Patricio Valdes
« Last Edit: December 16, 2021, 12:57:12 am by trisho0 »

trisho0

  • Sr. Member
  • ****
  • Posts: 365
Re: How to remove SAFEGATE from GSX INI file?
« Reply #3 on: December 16, 2021, 02:20:06 am »
Resolved with "//" in the GSX INI file:

//parkingsystem = 9

done for every Gates and Parking spaces, the Safegate docking system became normal as expected.
Patricio Valdes

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51367
    • VIRTUALI Sagl
Re: How to remove SAFEGATE from GSX INI file?
« Reply #4 on: December 18, 2021, 02:11:46 am »
Why you took the complex route to edit the .INI file directly, trying to figure out the parameters and their meaning, when there's an editor that would allowed you to do it way more easily by simply:

- Selecting all the gates you wanted to remove/change the parking system

- Select the parking system kind from an easy to read list

Also, you commented the line, but used C++ style comments, which are illegal for .INI files ( there's no real standard, since an .INI file is not structured but, the de-facto standard for comments in .INI files is the semicolon )

Not that you should have used comments in the first place but, if you REALLY wanted to edit the .INI file, the proper way should have been setting the parking system to 1 ( Marshaller ) or 0 ( Nothing )
« Last Edit: December 18, 2021, 02:35:09 am by virtuali »

trisho0

  • Sr. Member
  • ****
  • Posts: 365
Re: How to remove SAFEGATE from GSX INI file?
« Reply #5 on: December 18, 2021, 02:26:48 am »
Hi Umberto, I appreciate your help but I am not really a PC programmer but basic computer matters. I used to edit INI files in the past and learned how to REM lines. Adding REM, "//" or ";" used to be the same action.
I thanks your tips to edit properly the mentioned line "parkingsystem = 9" changing "9" to "0".
I will change that line as commented.
Best Regards,
Patricio Valdes