Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addSupportInfo.sqf Port/Implementation #40

Closed
4 tasks done
L-McKendrick opened this issue Aug 8, 2022 · 3 comments
Closed
4 tasks done

addSupportInfo.sqf Port/Implementation #40

L-McKendrick opened this issue Aug 8, 2022 · 3 comments
Labels
enhancement New feature or request to-do Something that needs to be completed.
Milestone

Comments

@L-McKendrick
Copy link
Contributor

L-McKendrick commented Aug 8, 2022

Module: Briefing

  • Get name, seats, pylon/turret info.
  • Sort by Eden subcategories (APC, Tanks, Truck, Jet, etc).
  • Port from old framework.
  • Frontend (see below)

Port and finish the addSupportInfo.sqf from the SIA Mission Framework.

The purpose of this script is to autogenerate all the logistical information that should go in the support tab.

Ideally, it would take an array of vehicle objects and generate text containing each vehicle's number of seats, pylons, ammo count, and ACE cargo space.

Frontend Ideas:

  • Have an input section in briefing settings for an array of vehicle classnames.
  • Add an attribute checkbox for vehicles to "Add to Vehicle Info".

The text would then be injected into the Support tab of the briefing.

@L-McKendrick L-McKendrick added the enhancement New feature or request label Aug 8, 2022
@L-McKendrick L-McKendrick changed the title Port and finish addSupportInfo.sqf addSupportInfo.sqf Port/Implementation Aug 8, 2022
L-McKendrick referenced this issue in Soliders-in-Arms-Arma-3-Group/SIA-Mission-Framework.VR Aug 25, 2022
L-McKendrick referenced this issue in Soliders-in-Arms-Arma-3-Group/SIA-Mission-Framework.VR Sep 1, 2022
@SiegeToaster
Copy link
Member

Make sure you port over all of the necessary functions from the mission framework to sia3f before actually closing btw.

@SiegeToaster
Copy link
Member

For the front end, I'm thinking we add a checkbox to all possible support vehicles/objects that says something like "Add to Support Info". There will likely be some overlap with what objects this is added to because we have to make it compatible with all vehicles, emplacements (for artillery), and drones, that means adding anything with a 'brain', which might cause some overlap with unintended units. See Attributes: Condition. Right now I'm thinking something like (objectBrain AND NOT objectControllable) OR (objectVehicle AND objectSimulated) (pseudocode).

SiegeToaster added a commit that referenced this issue Oct 9, 2022
@L-McKendrick
Copy link
Contributor Author

#75 (former task 2) moved to its own issue

SiegeToaster added a commit that referenced this issue Nov 24, 2022
* replace real_date extension with CBA_fnc_weekDay
resolves #70

* create script to automatically update #12

* copy commonObject actions to function
function not yet used

* disable functionality if framework not initialized
resolves #65

* add vehicle info functions; see #40
from https://github.com/Soliders-in-Arms-Arma-3-Group/SIA-Mission-Framework.VR/blob/main/sia_f/functions/briefing/fn_vehicleInfo.sqf

* touch up parameters; misc.

* move obj attributes to file; supportInfo option
#40 front end

* fix actions stuff (I think)

* finish vehicle info briefing stuff
Still needs some final touches, but pretty much done.

* add zeus actions to func; misc.

* save loadout on mission start
requested by Austin [here](https://discord.com/channels/689674061366034435/690255520728350720/1029724157413445632)

* move proper actions to buttonActions/playerActions
misc

* move core serverPostInit into functions
resolves #71

* add new functions to prep

* bug fixes; convert spaces to tabs

* update vehicle info header; formatting

* fix #import instead of #include; delete build.bat
hopefully build.bat isn't used, but it just runs hemtt

* add expression disclaimer in configuration readme
not that anyone will ever read it.

* progress on #74, formatting/syntax, documentation

* Fix for #74

* safeStart Safety and Init readded
Resolves: #76

* minor tweaks
- Removed error message when a section of the briefing is empty.
- Added zeusActions function to run on postClientInit.

* XEH_PREP alphabetized

* addActions non-ace tweaks

* fix formatting

* make.py now works with pre-defined keys

* update version to v1.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request to-do Something that needs to be completed.
Development

No branches or pull requests

2 participants