-
Notifications
You must be signed in to change notification settings - Fork 739
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
Sitting #1541
Sitting #1541
Conversation
<Package name="Sitting"> | ||
<Key ID="STR_ACE_Sitting_Sit"> | ||
<English>Sit Down</English> | ||
</Key> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
< Polish>Usiądź</Polish>
👍 for more immersive briefings. |
GVAR(sitPosition[]) = {0.07, 0.17, 1}; | ||
}; | ||
// Field Toilet | ||
class Land_FieldToilet_F: ThingX { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add ACE_ToiletPaper
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am willing to!
Rly? #altislife ... |
Can you add also support for benches? There are some if I remember correctly, but they have space for at least 3 people, can you also add support for it? |
Think when you have a debrief, it's nice to sit down and you don't get people doing some funky stuff around, I can't see how this is Altis Life. This module would also be disablable (or even disabled by default if so wished). |
PARAMS_2(_seat,_player); | ||
|
||
// If seat object and not occupied | ||
if (getNumber (configFile >> "CfgVehicles" >> typeOf _seat >> QGVAR(canSit)) == 1 && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for an if statement here, just do:
(getNumber (configFile >> "CfgVehicles" >> typeOf _seat >> QGVAR(canSit)) == 1 && {isNil{_seat getVariable QGVAR(seatOccupied)}})
Screenshots? |
* Public: No | ||
*/ | ||
#include "script_component.hpp" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are missing privates in this function
Got any ideas? We all know saying "fix that" doesn't work like that. :P |
Can't really do anything atm. Holidays ... It's more of a "please fix that" merging prerequisite :P |
@bux578 got a 🎁 for you! @esteldunedain there is one bug with handling handcuffing, |
Conflicts: addons/kestrel4500/CfgVehicles.hpp addons/microdagr/CfgVehicles.hpp
…oDAGR, NVG Adjusting and Check Ammo while Sitting
What about a big backpack, like Carryall, on your back? Doesn't it look funny or clipping thru the back of the chair? You might actually have to restrict players from sitting when carrying a backpack...? |
that isn't an issue, backpack clipping ALWAYS happens whatever the fuck you do. |
I was going to make a pull request for what I'm about to suggest when I get some time, but noticed this PR so I figured I'd suggest this here as it might be within scope. It would be nice to add the ability to sit the captive units on the ground. The animations for that are already in the game ("Acts_AidlPsitMstpSsurWnonDnon_loop", "..._out" and similar). This is how my little scripted prototype looks like: http://imgur.com/a/ZdkR8 |
@Tenga that would fit into Captives module, this PR is puerly for sitting on chairs (and toilets 😁 ) or anything you should be able to sit on. I like it though. |
@jonpas My bad, searched for sit, seen changes on a whole load of files and figured the scope of the PR was wider. 😰 I'll do a PR for this when I get a chance, but if anyone else feels like running with the idea, feel free. 😃 |
This is ready for final review. |
Status on merge? |
_args = _this select 0; | ||
_player = _args select 0; | ||
_sitDirectionVisual = _args select 1; | ||
_sitRotation = _args select 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could do: EXPLODE_3_PVT(_this select 0,_player,_sitDirectionVisual,_sitRotation);
This allows players to sit on chairs/seats/toilets.
isNotSitting
ace_captives_fnc_doApplyHandcuffs
not breaking sitting animation