Shinraiden/Sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "seperat" to "separat")
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:Sandbox]]
[[Category:Sandbox]]


=My Sandbox=
= My Sandbox =


==Your License with Bohemia Interactive and Other Users==
== Your License with Bohemia Interactive and Other Users ==


Content stored on this site contains information that is the protected Intellectual Property of Bohemia Interactive and other users. Your usage of any content stored, distributed, documented, or referenced through this site may only be for your personal<s>, non-commercial entertainment</s> '''and individual''' use only. You may integrate content from this site in whole or in part into works you create or derive, as long as your content and any derived or included works <s>remain licensed non-commercial</s> '''are not sold or offered for sale. You may not offer the content of this site or derivatives in whole or in part, exclusive of or included in any content that is sold or offered for sale'''. <s>You may not use any content or information from this site for any commercial purpose without a seperately negotiated commercial exploitation license from Bohemia Interactive and any other Intellectual Property holders.</s>
Content stored on this site contains information that is the protected Intellectual Property of Bohemia Interactive and other users. Your usage of any content stored, distributed, documented, or referenced through this site may only be for your personal<s>, non-commercial entertainment</s> '''and individual''' use only. You may integrate content from this site in whole or in part into works you create or derive, as long as your content and any derived or included works <s>remain licensed non-commercial</s> '''are not sold or offered for sale. You may not offer the content of this site or derivatives in whole or in part, exclusive of or included in any content that is sold or offered for sale'''. <s>You may not use any content or information from this site for any commercial purpose without a separately negotiated commercial exploitation license from Bohemia Interactive and any other Intellectual Property holders.</s>




Line 14: Line 14:
Your license to other users is subject to the terms of the users’ valid license(s) to the Bohemia Interactive's engine and tools (including but not limited to games, mods and other products based on it).
Your license to other users is subject to the terms of the users’ valid license(s) to the Bohemia Interactive's engine and tools (including but not limited to games, mods and other products based on it).


==Conduct on the Site==
== Conduct on the Site ==


* Protect your personal login information and site identity
* Protect your personal login information and site identity
Line 21: Line 21:
* Don't help hackers or cheaters here
* Don't help hackers or cheaters here
* Follow all other guidelines as described in [[Bohemia Interactive Community:Guidelines]].
* Follow all other guidelines as described in [[Bohemia Interactive Community:Guidelines]].
* <s>Information about development, content, or documentation specific to ''Virtual Battle Space'' products should not be contributed to this site beyond the basic overview and references provided at the [[Virtual_Battlespace|VBS]] product overview page.</s> '''(Information and documentation about Virtual Battlespace and related products is still being sorted out by Bohemia Interactive at this time. It is anticipated that the documentation will be added to the Community wiki content under the direction of Bohemia Interactive in the near future.)'''
* <s>Information about development, content, or documentation specific to ''Virtual Battle Space'' products should not be contributed to this site beyond the basic overview and references provided at the VBS product overview page.</s> '''(Information and documentation about Virtual Battlespace and related products is still being sorted out by Bohemia Interactive at this time. It is anticipated that the documentation will be added to the Community wiki content under the direction of Bohemia Interactive in the near future.)'''


==Copyright Infringement.==
== Copyright Infringement. ==
In case of any possible copyright infrigement on this site please contact admins of the site or Bohemia Interactive immediately. We stongly value copyright of others and we ask all members of this community to do the same.
In case of any possible copyright infrigement on this site please contact admins of the site or Bohemia Interactive immediately. We stongly value copyright of others and we ask all members of this community to do the same.


We strongly urge that where possible, the original content developers submit their content rather than third parties, so that the rights and interests of the developers may be more easily honored and respected. '''Content added to the Community Wiki without the permission or approval of the content developer will be removed on receipt of a formal complaint to the wiki sysops.'''
We strongly urge that where possible, the original content developers submit their content rather than third parties, so that the rights and interests of the developers may be more easily honored and respected. '''Content added to the Community Wiki without the permission or approval of the content developer will be removed on receipt of a formal complaint to the wiki sysops.'''


=Newbie Dev/Mod Setup=
= Newbie Dev/Mod Setup =


* '''overview'''
* '''overview'''
Line 62: Line 62:
sorting out your content and working with it
sorting out your content and working with it


=VBS Stuff=
= VBS1 Stuff =


Hmm, I believe that there actually are suprisingly a few changes from vanilla OFP...
Hmm, I believe that there actually are suprisingly a few changes from vanilla OFP...


==VBS Commands==
== VBS Commands ==
Commands have been added to http://community.bistudio.com/wiki/Category:Scripting_Commands_VBS1


  setObjectTextureGlobal - 2.11 - readme
  [[addonAvailable_(VBS1)|addonAvailable]]
  allowDammage - 2.08 - readme
  [[allowDammage_(VBS1)|allowDammage]] - 2.08 - readme
  synchronizeTrigger - 2.08 - readme
  [[attribute_(VBS1)|attribute]]
  getMarkerText - 2.08 - readme
[[camSetPosAsl_(VBS1)|camSetPosAsl]]
  consoleLog - 2.08 - readme
[[consoleLog_(VBS1)|consoleLog]] - 2.08 - readme
  convertToASL - 2.08 - readme
  [[convertToAGL_(VBS1)|convertToAGL]]
[[convertToASL_(VBS1)|convertToASL]] - 2.08 - readme
  [[createMarker_(VBS1)]]
[[createTrigger_(VBS1)|createTrigger]]
[[disableAI_(VBS1)|disableAI]]
[[deleteMarker_(VBS1)]]
[[enableAI_(VBS1)|enableAI]]
[[GetCargoPos_(VBS1)|GetCargoPos]]
[[getMarkerDir_(VBS1)]]
[[getMarkerText_(VBS1)|getMarkerText]] - 2.08 - readme
  [[getMapScale_(VBS1)|getMapScale]]
[[getMove_(VBS1)]]
[[GetObjAtCargoPos_(VBS1)|GetObjAtCargoPos]]
[[getPosAsl_(VBS1)]]
[[getVisiblePos_(VBS1)|getVisiblePos]]
[[insert_(VBS1)|insert]]
[[IsCargoPosEmpty_(VBS1)|IsCargoPosEmpty]]
[[isPlayerControlled_(VBS1)|isPlayerControlled]]
  [[isWearingNVG_(VBS1)|isWearingNVG]] - 2.04 - readme
  [[isWearingNVG_(VBS1)|isWearingNVG]] - 2.04 - readme
  GetCargoPos
  [[IsCargoPosEmpty_(VBS1)|IsCargoPosEmpty]]
GetObjAtCargoPos
  [[listAttributes_(VBS1)|listAttributes]]
IsCargoPosEmpty
  [[onShotHit_(VBS1)|onShotHit]]
  insert
  [[setAttribute_(VBS1)|setAttribute]]
  onShotHit  
  [[setfriend_(VBS1)]]
  setAttribute
  [[setMarkerBrush_(VBS1)]]
  attribute
  [[setMarkerDir_(VBS1)]]
  removeAttribute
  [[setMarkerShape_(VBS1)]]
  listAttributes
  [[setMarkerText_(VBS1)]]
  getVisiblePos
  [[setObjectTextureGlobal_(VBS1)|setObjectTextureGlobal]] - 2.11 - readme
  [[enableAI_(VBS1)|enableAI]]
  [[setPosAsl_(VBS1)]]
camSetPosAsl
  [[setTriggerActivation_(VBS1)|setTriggerActivation]]  
convertToAGL
  [[addonAvailable_(VBS1)|addonAvailable]]
  getMapScale
isPlayerControlled
 
listConfig
newConfig
addClass
addValue
saveConfig
loadConfig
openClass
getValue
createMarker
setMarkerText
setMarkerShape
setMarkerBrush
setMarkerDir
getMarkerDir
deleteMarker
  [[createTrigger_(VBS1)|createTrigger]]
  [[setTriggerArea_(VBS1)|setTriggerArea]]
  [[setTriggerArea_(VBS1)|setTriggerArea]]
  [[setTriggerActivation_(VBS1)|setTriggerActivation]]
  [[setTriggerText_(VBS1)]]
  setTriggerType
  [[setTriggerTimeout_(VBS1)]]
  setTriggerTimeout
  [[setTriggerType_(VBS1)]]
setTriggerText
  [[setTriggerStatements_(VBS1)]]
setTriggerStatements
triggerAttachObject
triggerAttachVehicle
setEffectCondition
setTitleEffect
setCameraEffect
setSoundEffect
setMusicEffect
addWaypoint
setWaypointPosition
setWaypointType
setWaypointCombatMode
setWaypointFormation
setWaypointSpeed
setWaypointBehaviour
setWaypointDescription
setWaypointStatements
setWaypointScript
setWaypointTimeout
showWaypoint
synchronizeWaypoint
waypointAttachVehicle
waypointAttachObject
setWaypointHousePosition
getMove
  [[disableAI_(VBS1)|disableAI]]
getPosAsl
setPosAsl
getWorld
find
isServer
setfriend
  [[setUnitPos_(VBS1)|setUnitPos]]
  [[setUnitPos_(VBS1)|setUnitPos]]
[[synchronizeTrigger_(VBS1)|synchronizeTrigger]] - 2.08 - readme
[[triggerAttachObject_(VBS1)]]
[[triggerAttachVehicle_(VBS1)]]
[[removeAttribute_(VBS1)|removeAttribute]]
[[listConfig_(VBS1)]]
[[newConfig_(VBS1)]]
[[addClass_(VBS1)]]
[[addValue_(VBS1)]]
[[saveConfig_(VBS1)]]
[[loadConfig_(VBS1)]]
[[openClass_(VBS1)]]
[[getValue_(VBS1)]]
[[setEffectCondition_(VBS1)]]
[[setTitleEffect_(VBS1)]]
[[setCameraEffect_(VBS1)]]
[[setSoundEffect_(VBS1)]]
[[setMusicEffect_(VBS1)]]
[[addWaypoint_(VBS1)]]
[[setWaypointPosition_(VBS1)]]
[[setWaypointType_(VBS1)]]
[[setWaypointCombatMode_(VBS1)]]
[[setWaypointFormation_(VBS1)]]
[[setWaypointSpeed_(VBS1)]]
[[setWaypointBehaviour_(VBS1)]]
[[setWaypointDescription_(VBS1)]]
[[setWaypointStatements_(VBS1)]]
[[setWaypointScript_(VBS1)]]
[[setWaypointTimeout_(VBS1)]]
[[showWaypoint_(VBS1)]]
[[synchronizeWaypoint_(VBS1)]]
[[waypointAttachVehicle_(VBS1)]]
[[waypointAttachObject_(VBS1)]]
[[setWaypointHousePosition_(VBS1)]]
[[getWorld_(VBS1)]]
[[find_(VBS1)]]
[[isServer_(VBS1)]]
[[setObjectTexture_(VBS1)]] now works for wrp object id's - 2.00 readme


==VBS EH==
== VBS EH ==


  vbs_eventhandlers - 1.99
  vbs_eventhandlers - 1.99
Line 156: Line 158:
  AnimChanged
  AnimChanged


==VBS Variables==
== VBS Variables ==
Var's have been added to http://community.bistudio.com/wiki/Category:Scripting_Commands_VBS1


  VBS_init  
  VBS_init  
  VBS_is_server
  VBS_is_server


==VBS Functions==
== VBS Functions ==
Functions have been added to http://community.bistudio.com/wiki/VBS_Functions


  VBS_is_null
  VBS_is_null
Line 185: Line 189:
  VBS_vAdd
  VBS_vAdd


==VBS Arrays==
== VBS Arrays ==
Arrays have been added to http://community.bistudio.com/wiki/Category:Scripting_Commands_VBS1


  VBS_units  
  VBS_units  
Line 192: Line 197:
  VBS_distance3D
  VBS_distance3D


==VBS Extras==
== VBS Resource.cpp ==


resource.cpp in addon - 2.08 - readme
control property 'moveWithMouse' for static maps 
control property 'showLegend' for static maps
== VBS config.cpp ==
#define WeaponSlotBinocular 16384 - 2.09 - readme
'initCode' addon config entry for CfgPatches - 2.08 - readme
preProcessFile command can now parse files residing in addons + c processor commands - 2.01 - readme
  colorGrid[] and colorGridMap[] can now be defined on a per-map basis in class Grid - 2.09 - readme
  colorGrid[] and colorGridMap[] can now be defined on a per-map basis in class Grid - 2.09 - readme
#define WeaponSlotBinocular 16384 - 2.09 - readme
 
== VBS Command line params ==
 
[[Virtual Battlespace: Startup Parameters]]
 
  -autoassign=<string> - 2.08 - readme
  -autoassign=<string> - 2.08 - readme
  -autoassigngrp=<string> - 2.08 - readme
  -autoassigngrp=<string> - 2.08 - readme
  -autoassignside=<string> - 2.08 - readme
  -autoassignside=<string> - 2.08 - readme
resource.cpp in addon - 2.08 - readme
 
'initCode' addon config entry for CfgPatches - 2.08 - readme
== VBS Server Commands ==
preProcessFile command can now parse files residing in addons + c processor commands - 2.01 - readme
 
  added DS command #play that forces game start from the MP briefing - 2.00 - readme
  added DS command #play that forces game start from the MP briefing - 2.00 - readme
setObjectTexture now works for wrp object id's - 2.00 readme
control property 'moveWithMouse' for static maps 
control property 'showLegend' for static maps

Latest revision as of 15:02, 25 May 2023


My Sandbox

Your License with Bohemia Interactive and Other Users

Content stored on this site contains information that is the protected Intellectual Property of Bohemia Interactive and other users. Your usage of any content stored, distributed, documented, or referenced through this site may only be for your personal, non-commercial entertainment and individual use only. You may integrate content from this site in whole or in part into works you create or derive, as long as your content and any derived or included works remain licensed non-commercial are not sold or offered for sale. You may not offer the content of this site or derivatives in whole or in part, exclusive of or included in any content that is sold or offered for sale. You may not use any content or information from this site for any commercial purpose without a separately negotiated commercial exploitation license from Bohemia Interactive and any other Intellectual Property holders.


With regard to material that you contribute to this site, you grant to Bohemia Interactive and its designated agents (in exclusion of all other users of the site) a worldwide, nonexclusive, perpetual, irrevocable, royalty free, fully paid up license, in connection with the Bohemia Interactive's engine and games, mods and other products based on it, to: (1) make, use, copy, modify, create derivative works of such material, (2) publicly perform or display, import, broadcast, transmit, distribute, license, offer to sell, and sell, rent, lease or lend copies of the material (and derivative works thereof), and (3) sublicense to third parties the foregoing rights, including the right to sublicense to further third parties.

You grant to all other licensed users (excepting Bohemia Interactive and it's designated agents) of this site a worldwide, nonexclusive, perpetual, irrevocable, royalty free, fully paid up license, in connection with the Bohemia Interactive's engine and games, mods and other products based on it, to: (1) make, use, copy, modify, create derivative works of such material solely for non-commercial entertainment use only, (2) publicly perform or display, import, broadcast, transmit, or distribute solely for non-commercial entertainment use only, and (3) sublicense to third parties the foregoing rights solely for non-commercial entertainment use personal and individual usage, including the right to sublicense to further third parties within the limits set by the non-commercial preceding usage terms.

Your license to other users is subject to the terms of the users’ valid license(s) to the Bohemia Interactive's engine and tools (including but not limited to games, mods and other products based on it).

Conduct on the Site

  • Protect your personal login information and site identity
  • Any offensive material is prohibited
  • Be nice and use good common sense and etiquette
  • Don't help hackers or cheaters here
  • Follow all other guidelines as described in Bohemia Interactive Community:Guidelines.
  • Information about development, content, or documentation specific to Virtual Battle Space products should not be contributed to this site beyond the basic overview and references provided at the VBS product overview page. (Information and documentation about Virtual Battlespace and related products is still being sorted out by Bohemia Interactive at this time. It is anticipated that the documentation will be added to the Community wiki content under the direction of Bohemia Interactive in the near future.)

Copyright Infringement.

In case of any possible copyright infrigement on this site please contact admins of the site or Bohemia Interactive immediately. We stongly value copyright of others and we ask all members of this community to do the same.

We strongly urge that where possible, the original content developers submit their content rather than third parties, so that the rights and interests of the developers may be more easily honored and respected. Content added to the Community Wiki without the permission or approval of the content developer will be removed on receipt of a formal complaint to the wiki sysops.

Newbie Dev/Mod Setup

  • overview

how everything all fits together, references to mod folders etc

  • Zero'th planning

Content control, versioning, distribution, patching, sanity

  • makedir's

%ProgramFiles% = bad

  • install

obvious

  • unpack -> chroot dir

where and what exactly

  • setup tools

where to install

  • config tools

where to point

  • dev process

sorting out your content and working with it

VBS1 Stuff

Hmm, I believe that there actually are suprisingly a few changes from vanilla OFP...

VBS Commands

Commands have been added to http://community.bistudio.com/wiki/Category:Scripting_Commands_VBS1

addonAvailable 
allowDammage - 2.08 - readme
attribute
camSetPosAsl
consoleLog - 2.08 - readme
convertToAGL
convertToASL - 2.08 - readme
createMarker_(VBS1)
createTrigger
disableAI
deleteMarker_(VBS1)
enableAI
GetCargoPos
getMarkerDir_(VBS1)
getMarkerText - 2.08 - readme
getMapScale 
getMove_(VBS1)
GetObjAtCargoPos
getPosAsl_(VBS1)
getVisiblePos 
insert
IsCargoPosEmpty
isPlayerControlled
isWearingNVG - 2.04 - readme
IsCargoPosEmpty
listAttributes
onShotHit
setAttribute
setfriend_(VBS1)
setMarkerBrush_(VBS1)
setMarkerDir_(VBS1)
setMarkerShape_(VBS1)
setMarkerText_(VBS1)
setObjectTextureGlobal - 2.11 - readme
setPosAsl_(VBS1)
setTriggerActivation 
setTriggerArea
setTriggerText_(VBS1)
setTriggerTimeout_(VBS1)
setTriggerType_(VBS1)
setTriggerStatements_(VBS1)
setUnitPos
synchronizeTrigger - 2.08 - readme 
triggerAttachObject_(VBS1)
triggerAttachVehicle_(VBS1)
removeAttribute
listConfig_(VBS1)
newConfig_(VBS1)
addClass_(VBS1)
addValue_(VBS1)
saveConfig_(VBS1)
loadConfig_(VBS1)
openClass_(VBS1)
getValue_(VBS1)
setEffectCondition_(VBS1)
setTitleEffect_(VBS1)
setCameraEffect_(VBS1)
setSoundEffect_(VBS1)
setMusicEffect_(VBS1)
addWaypoint_(VBS1)
setWaypointPosition_(VBS1)
setWaypointType_(VBS1)
setWaypointCombatMode_(VBS1)
setWaypointFormation_(VBS1)
setWaypointSpeed_(VBS1)
setWaypointBehaviour_(VBS1)
setWaypointDescription_(VBS1)
setWaypointStatements_(VBS1)
setWaypointScript_(VBS1)
setWaypointTimeout_(VBS1)
showWaypoint_(VBS1)
synchronizeWaypoint_(VBS1)
waypointAttachVehicle_(VBS1)
waypointAttachObject_(VBS1)
setWaypointHousePosition_(VBS1)
getWorld_(VBS1)
find_(VBS1)
isServer_(VBS1)
setObjectTexture_(VBS1) now works for wrp object id's - 2.00 readme

VBS EH

vbs_eventhandlers - 1.99
changePos - 2.00 - readme
Respawn - 2.04 - readme
AnimChanged

VBS Variables

Var's have been added to http://community.bistudio.com/wiki/Category:Scripting_Commands_VBS1

VBS_init 
VBS_is_server

VBS Functions

Functions have been added to http://community.bistudio.com/wiki/VBS_Functions

VBS_is_null
VBS_is_scalar
VBS_getRandom 
VBS_randomElement
VBS_randomIndex 
VBS_getDirPos 
VBS_getDirRelPos
VBS_inAng 
VBS_distancePos
VBS_distancePosSqr
VBS_distancePos3D
VBS_distance3DSqr 
VBS_roundn 
VBS_echo 
VBS_getSide
VBS_vDiff
VBS_vMag
VBS_vUnit
VBS_vVelUnit
VBS_vMultiply
VBS_vAdd

VBS Arrays

Arrays have been added to http://community.bistudio.com/wiki/Category:Scripting_Commands_VBS1

VBS_units 
VBS_vehs 
VBS_units_str
VBS_distance3D

VBS Resource.cpp

resource.cpp in addon - 2.08 - readme
control property 'moveWithMouse' for static maps  
control property 'showLegend' for static maps

VBS config.cpp

#define WeaponSlotBinocular	16384 - 2.09 - readme
'initCode' addon config entry for CfgPatches - 2.08 - readme
preProcessFile command can now parse files residing in addons + c processor commands - 2.01 - readme
colorGrid[] and colorGridMap[] can now be defined on a per-map basis in class Grid - 2.09 - readme

VBS Command line params

Virtual Battlespace: Startup Parameters

-autoassign=<string> - 2.08 - readme
-autoassigngrp=<string> - 2.08 - readme
-autoassignside=<string> - 2.08 - readme

VBS Server Commands

added DS command #play that forces game start from the MP briefing - 2.00 - readme