Home   Help Search Login Register  

Author Topic: mutli airfields  (Read 1350 times)

0 Members and 1 Guest are viewing this topic.

Offline wacko

  • Members
  • *
mutli airfields
« on: 09 Mar 2009, 15:53:43 »
hello everyone

Ok I've been trying to figure this out for days now, and i think ive gotten it narrowed down to this code here can be found in Client/GUI/GUI_Factory

Code: [Select]
if (Call Compile Format["_type != %1AIRPORTTYPE",sideJoinedText]) then {Goto "InitFactory"};

_name = "WingedAircraft"
_menuName = Localize "STRWFAIRPORT";
Goto "InitStats"

now my question is is this code made for multi hangers? i dont think it is. and is there a way to redo it so more than one hanger can be used. i am working off of WACO v117 ive talked to the maker there but at the end of my rope with that. so anyone here got any ideas?

Tanks
WaCkO

Offline Worldeater

  • Former Staff
  • ****
  • Suum cuique
Re: mutli airfields
« Reply #1 on: 09 Mar 2009, 16:24:28 »
Yes. Looks like the code (in Server_UpdateAirport.sqs, GUI_Factory.sqs, Action_Airport.sqs, etc.) is written to support multiple airports. All you need are new entries in the stringtable.csv (just like the already existing "STRWFNORTHAIRPORT").
try { return true; } finally { return false; }