Comments (15)
I don't really intent that SQLs or any players mid mission can add things to the array. I'd prefer it to be a advanced mission maker thing. Hence just a variable in missionNamespace which a mission maker is free to play around with.
That means starting assigned vehicles could be done on mission set up, switching vehicles mid mission could be done via some mission addaction/ace interaction. I am pretty sure several people who want an "out of squad" tracking thing will use it in multitude of ways.
from diwako_dui.
Depends what the mission maker intents, they could just publicVar it if they only have like a VIP, or have them local only for stuff like "squad vehicles"
from diwako_dui.
I get the use case for this. But since this is a clientside mod, I am wondering how to implement something like this. Potentially not everyone (including server) is running this mod, so a function is already out of the question.
Then only a global variable is left, but then, do you want that to be synced, set it only on per unit basis? So should every client have this variable set or not? Ultimately the mission maker needs to decide.
I also take it only units should be tracked as there is no support for showing vehicles so far.
from diwako_dui.
As an idea, I thought maybe vehicles could be tracked as well, so I added support for this. Here is the idea of it with very """nice""" color. Vehicle icons are twice the size of unit icons
from diwako_dui.
Vehicles may be a cool experiment. I think a global variable, essentially an array where the relevant unit name added is simple enough to use. No extra interface is necessary.
from diwako_dui.
Right now the implementation is it checks for an array which is named diwako_dui_special_track
in misionNamespace. Adds all objects to the compass tracker if these are based on CAManBase
, Air
or LandVehicle
.
For vehicles it grabs the map icon. Would that be enough?
from diwako_dui.
@diwako I would love to be able to add vehicle tracking on a per squad basis.
Assign Vehicle A to Squad A, Vehicle B to Squad B, etc, so only the vehicle assigned to your squad would appear in your hud.
This would make it much easier for each squad to find their own vehicle when mounting up.
Maybe an ace interaction on the vehicle as well to reassign it? Similar to assigning a Buddy.
So that if a squad changes vehicle mid-mission they could switch which vehicle is being tracked in their hud.
from diwako_dui.
Commit a1f1e22 has all changes discussed here.
from diwako_dui.
Sounds good. Could you give an example of adding a unit to the special tracking mid-mission?
Just diwako_dui_group = diwako_dui_group + [UnitVar];
?
from diwako_dui.
Sure thing.
It uses the variable named diwako_dui_special_track
. You should not use the var diwako_dui_group
as it will be constantly overwritten.
diwako_dui_special_track
is nil by default. so you start with defining it, let's say in initPlayerLocal.sqf.
diwako_dui_special_track = [alpha_vic];
To add to it mid mission, you can either pushBack
a new vehicle or just redefine the whole array in diwako_dui_special_track
. Changes to the array are automatically picked up.
from diwako_dui.
Cool, thanks.
And it's not a public variable right? Can be different on different clients?
If it can be declared in initPlayerLocal then it must not be public.
I think it might be worth writing things like that in the wiki here on github.
from diwako_dui.
Closing this now, but leaving comments open as the changes are already commited
from diwako_dui.
Any chance we could change the default colour for this?
Or have the colour as a setting. I'd just like it to be white for me.
from diwako_dui.
I kind of want the color to be tied to the color schemes, so they are all consistent with future™ features. I can understand that the current color is probably not that desirable for many people.
Would you mind opening up a new issue so I can track that for v1.4.0?
from diwako_dui.
Sure
from diwako_dui.
Related Issues (20)
- Chinese Simplified and Chinese Traditional Translation HOT 3
- FEATURE: Priotise Medic/Engineer Role Symbol in Radar & List
- members are recieveing the following error HOT 9
- Feature - CBA Setting to not hide HUD when a dialog is open
- Error when `ACE_isEOD` is set with a number instead of boolean HOT 2
- Enhancement request: option to always show units' numbers in name list HOT 1
- Change DUI Speaking Icons With TFAR/ACRE Voice Volume(s) HOT 2
- FEATURE: Add setting for prioritising Medic/Engineer/EOD icons HOT 1
- LIS checks inside fast moving vehicles behave unexpectedly due to simulation time scope nature of `positionCameraToWorld` HOT 2
- DUI Radar unable to move with Layout Editor HOT 2
- DUI Squad Radar shows up in S.O.G. Prairie Fire Main Menu HOT 2
- Help/Bug: Icons near name list are pixelated/bad quality (unlike the high-quality ones in the steam workshop screenshots) HOT 5
- Error in mod.cpp HOT 2
- Team Management colors revert back to white HOT 1
- Feature - Opacity Control for Namelist of squadmembers next to the Radar HOT 2
- Option to remove vehicle icons from namelist
- Unit number (for command) visible next to names
- FEATURE - colour setting for the letter 'N' in North
- Game Stuck at loading screen with version 1.10.0 Loaded HOT 8
- Weird TFAR Beta incompatibility HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diwako_dui.