-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
Add: Expand place options #448
Add: Expand place options #448
Conversation
some changings to place.sqf and place_key_down.sqf
Hello, very good idea but you also need to make it persistent (/core/fnc/db/save.sqf#L133 and /core/fnc/db/load.sqf#L287). I notice you use a lot of brackets. I am following this coding guidelines for those : https://ace3mod.com/wiki/development/coding-guidelines.html#55-brackets-around-code. Can you also follow it ? Thanks see you soon ! |
Hi, I've updated some thinks.
Sorry for this. I've modified the loadObjectStatus.sqf and saveObjectStatus.sqf to handle vector settings. Update first comment in PR. |
This looks perfect ! I will review it soon. Just some questions :
|
Because PositionWorld referenced to model center. This is better (more accurate) for
On a locally hosted dedicated server, everything seems to be fine. I'm going to do a little test on a dedicated server soon. (Tomorrow or so). |
Ahh sorry, I hit the wrong button.😕 😃 |
Good job ! looks like it works prefectly! I forgot to ask you to increment the mission version to prevent data base conflict with previous version ( |
done |
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.
Looks very good! I will do final test soon.
…o ADD-overhaul_place_options # Conflicts: # =BTC=co@30_Hearts_and_Minds.Altis/core/def/mission.sqf
detach btc_log_placing_obj; | ||
|
||
//save to DB | ||
[btc_log_placing_obj] call btc_fnc_db_saveObjectStatus; |
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.
@1kuemmel1 Why do you use btc_fnc_db_saveObjectStatus
here ? You are doing nothing, right ?
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.
Why?... actually no idea. But you be right it's useless there. Just remove it.
When merged this pull request will:
getPosWorld
andsetPosWorld
instead ofgetPosASL
andsetPosASL
setVectorDirAndUp
on database save and loadFinal test:
Screenshots