Advertisement

Author Topic: *bio2s scripting  (Read 256 times)

0 Members and 1 Guest are viewing this topic.

Offline SoldierEPilot

  • Members
  • *
*bio2s scripting
« on: 14 Apr 2017, 21:40:47 »
Hi ARMA people!

I am trying to write scripts for Oxygen 2 PE and
looking for good manual.
P:\Doc\O2Scripts\ComRef is not perfect.

Any working examples of *bio2s scripts would
be come in handy too.


Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: *bio2s scripting
« Reply #1 on: 15 Apr 2017, 07:03:12 »
:cop: Well, not really the right place for this since O2 is not Arma3 related (unless you're talking about Object Builder :P ), and this should be in the addons -> modeling boards of whatever game your trying to use O2 with :cop:

AFAIK there is no other comref, the same horrible comref is still in Object Builder files.
You should already have several script files in P:\Doc\O2Scripts\ :dunno:
Project MCAR   ---   FWW2 - Finland At War 1939-1945
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline SoldierEPilot

  • Members
  • *
Re: *bio2s scripting
« Reply #2 on: 15 Apr 2017, 17:44:58 »
At first, thanks for response here and in another topic.

This theme is on the frontier between ARMA SQF scripting
(the same syntax but different command list)
and O2 black magic (objects to mess with) so I'm
not sure it will look better on the modeling boards...

The questions I have are all about command
implementation && ! about O2 tricks.


Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: *bio2s scripting
« Reply #3 on: 16 Apr 2017, 08:00:27 »
I have more experience with Visitor scripts but I guess they're pretty similar (just terrain related stuff instead of model). It was years and years ago though so don't really have any recollection how it worked.

The best way to figure stuff out is to go through the BIS scripts.
The dialogs-demo.bio2s shows pretty well how to build a dialog for your script input (it's a bit odd part of the language because every command must be in an array).
There seems to very little information on the language floating around, I guess you could find something at Bohemia Interactive forums' Arma and Arma2 editing sections, in form of user made scripts :dunno:
Project MCAR   ---   FWW2 - Finland At War 1939-1945
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.