Home   Help Search Login Register  

Author Topic: New 1.05 Command:distributionRegion  (Read 1701 times)

0 Members and 1 Guest are viewing this topic.

Offline FreeBird

  • Members
  • *
New 1.05 Command:distributionRegion
« on: 05 Mar 2007, 19:48:17 »
Testing is the only way,so pls post the result of:

Code: [Select]
hint format["%1" ,distributionRegion]
I have the German Metaboli Download version:result=2

One possible thing that can be done with it is checking the region/language  and passing briefing/instructions accordingly  :scratch:
Call [This,Birth,School,Work,Death]execVM "Storyofmylife.sqf"
(_this select 1)ObjStatus "DONE";(_this select 2)ObjStatus "DONE";(_this select 3)ObjStatus "ACTIVE";(_this select 4)ObjStatus "HIDDEN";
if not((_this select 0) IsKindOf "Human")ExitWith{PlayMusic"Goodbye Cruel World"}

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: New 1.05 Command:distributionRegion
« Reply #1 on: 05 Mar 2007, 22:29:10 »
AFAIK, ArmA already does that, as long as you have your language settings as appropriate (and in custom missions, your stringtable set up!). I really have no idea what that command might be good for.  ??? Nice find, anyway.

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: New 1.05 Command:distributionRegion
« Reply #2 on: 05 Mar 2007, 23:01:05 »
The comref says it's for release regions, 1 = US and 2 = the rest ..

What you can use it for is beyond me though  :dunno:
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline FreeBird

  • Members
  • *
Re: New 1.05 Command:distributionRegion
« Reply #3 on: 05 Mar 2007, 23:11:05 »
Meh I was hoping that Germany-Poland-UK-Czech-Russia ... all would have a different number... ::)

So if a Polish player was detected,U could present him a Polish Briefing.. :sorry:
Call [This,Birth,School,Work,Death]execVM "Storyofmylife.sqf"
(_this select 1)ObjStatus "DONE";(_this select 2)ObjStatus "DONE";(_this select 3)ObjStatus "ACTIVE";(_this select 4)ObjStatus "HIDDEN";
if not((_this select 0) IsKindOf "Human")ExitWith{PlayMusic"Goodbye Cruel World"}

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: New 1.05 Command:distributionRegion
« Reply #4 on: 18 Mar 2007, 11:15:25 »
If someone happens to care:

Just noticed where this command is used. It's used in the startup.sqs to show different loading screens depending on the distribution region.
So if the game is US version it gets the "Armed Assault: Combat Operations" screens while other regions get the regular ArmA stuff..

And btw,
Quote
if a Polish player was detected,U could present him a Polish Briefing
Like Wolfrug said ArmA does this automatically already, all language localisations have their own briefings..
briefing.Polish.html for example.
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.