Commit Graph

3623 Commits

Author SHA1 Message Date
Joonas Rikkonen
8bfd104f82 (ff188f1b7) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-05-16 05:52:54 +03:00
Joonas Rikkonen
64f147ea6c (cb1c8745f) Changed oxygen generator values in Dugong and Remora, recommended crew in Humpback 2019-05-16 05:52:38 +03:00
Joonas Rikkonen
71685ef28c (3ebdb2066) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-05-16 05:52:21 +03:00
Joonas Rikkonen
f8a0d54449 (d54773ab0) Fix the project references. 2019-05-16 05:52:02 +03:00
Joonas Rikkonen
f02c7cdda9 (ee538829d) Added docking tutorial video, removed highlight from old docking button. 2019-05-16 05:51:45 +03:00
Joonas Rikkonen
57302f7bb8 (4ff749939) Added new environment assets for implementation 2019-05-16 05:51:28 +03:00
Joonas Rikkonen
049d3ba795 (e7bd8839d) Remove unused parameters. 2019-05-16 05:51:12 +03:00
Joonas Rikkonen
884360216f (de60c0961) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-05-16 05:50:56 +03:00
Joonas Rikkonen
fd7dfebd3a (50c25dbf6) Added a "back" button that closes the credits, minor credits tweaks 2019-05-16 05:50:39 +03:00
Joonas Rikkonen
ef374ada71 (990e36132) Merge branch 'human-ai' into dev 2019-05-16 05:50:20 +03:00
Joonas Rikkonen
566f1d16e4 (913cde46d) Refactor AIObjectiveUsing to use the TryAddSubObjective method. Reorganize a bit. 2019-05-16 05:50:04 +03:00
Joonas Rikkonen
5d7cc6599c (9db806bbf) Don't report on targets that have been reported. 2019-05-16 05:49:48 +03:00
Joonas Rikkonen
b105ef71eb (b4d4f6802) Re-enable initiative. 2019-05-16 05:49:32 +03:00
Joonas Rikkonen
c28106812d (29f9396dc) Fix the devotion clamps. 2019-05-16 05:49:15 +03:00
Joonas Rikkonen
351e7bbd71 (6401d5d4b) The medic should now drag only unconcious targets into safety before applying treatment. Increase the VitalityThreshold and reduce the distance factor. Add a couple new dialogs. 2019-05-16 05:48:59 +03:00
Joonas Rikkonen
44d78a1466 (29e9d88c2) Whoops. I though I already used absolute velocities. 2019-05-16 05:48:44 +03:00
Joonas Rikkonen
ca8fbe4390 (4a761e62c) Default priority modifier is 1. 2019-05-16 05:48:25 +03:00
Joonas Rikkonen
ed49bea3ef (c21615b5b) More optimizations. 2019-05-16 05:48:09 +03:00
Joonas Rikkonen
480bba392c (20fcd3853) Optimizations. 2019-05-16 05:47:52 +03:00
Joonas Rikkonen
068089ae5c (d622ac851) Fix double updates of current orders. 2019-05-16 05:47:36 +03:00
Joonas Rikkonen
c09df5c602 (567dd3eb2) Wait for the splash videos to finish before continuing with loading if the loading coroutine cannot be run in a separate thread. Not an ideal solution, but better than the unbearably choppy videos. TODO: figure out a way to run the loading screen and the loading coroutine in separate threads on Mac & Linux 2019-05-16 05:47:18 +03:00
Joonas Rikkonen
bb6bffe88a (b597640aa) Implemented the new splash videos (each can be skipped separately), language selection on first startup works now 2019-05-16 05:47:02 +03:00
Joonas Rikkonen
436c5d4d73 (373a0d300) Daedalic splash video, split FF & UTF videos 2019-05-16 05:46:46 +03:00
Joonas Rikkonen
306cb77167 (6facb21fe) Reminder to self: save before committing 2019-05-16 05:46:29 +03:00
Joonas Rikkonen
ce1aa39a4b (b1241e3dd) GUIMessageBoxes use relative sizes 2019-05-16 05:46:12 +03:00
Joonas Rikkonen
b7392b362e (3c3673317) Tune the job priority modifiers. 2019-05-16 05:45:53 +03:00
Joonas Rikkonen
68ced76e1b (cc26984a5) Merge remote-tracking branch 'origin/dev' into human-ai 2019-05-16 05:45:37 +03:00
Joonas Rikkonen
04997cd2f3 (fc1a963c7) Double the path wait time when targeting entities. 2019-05-16 05:45:19 +03:00
Joonas Rikkonen
b9cca44ce2 (8045205b5) Test a velocity based calculation for skipping the nodes in steering. 2019-05-16 05:45:04 +03:00
Joonas Rikkonen
f8090d470e (5670a7c58) Don't get stuck if cannot use the button. 2019-05-16 05:44:48 +03:00
Joonas Rikkonen
96b2d953d2 (bad03a33d) Don't translate language names to the current display language in the settings menu (should be translated to the target language instead) 2019-05-16 05:44:31 +03:00
Joonas Rikkonen
7ae2b2f387 (2ffcd0a06) Retry writing files in SaveUtil.DecompressFile up to 4 times (in case the file is being used by another process), fixed DecompressFiletoStream "retrying" 4 times even if the first try succeeds 2019-05-16 05:44:15 +03:00
Joonas Rikkonen
ec7e45e021 (914b4d519) Set Reactor window max size to be slightly larger, fixed ItemInventory text wrapping to work better on different resolutions 2019-05-16 05:43:59 +03:00
Joonas Rikkonen
5ec107bf83 (0d96091e5) Adjusted layout spacing on Reactor to make the warning labels slightly more readable on Brazilian Portugese 2019-05-16 05:43:40 +03:00
Joonas Rikkonen
290e86977d (238f46c9e) Fix bots not walking when close enough to the target (only affects go to objectives that are main objectives -> follow order). 2019-05-16 05:43:23 +03:00
Joonas Rikkonen
3c17c976d7 (e8b231370) Reduce the required distance to the next node before skipping to the next node while in stairs. Should make it easier for bots to use the stairs. 2019-05-16 05:43:06 +03:00
Joonas Rikkonen
de2246fe57 (e0d673b0d) Test: Don't calculate the distance to the buttons when seeking path. Instead, check the distance when checking the doors. Allows the bots to access the Remora ballast through the door where the button is a bit farther from the door than usually. 2019-05-16 05:42:51 +03:00
Joonas Rikkonen
828150e0ae (9d8f050b8) Added text wrapping to ItemInventory titles and changed pump GUI In/Out text to use a smaller font 2019-05-16 05:42:34 +03:00
Joonas Rikkonen
153fbca298 (e97fbee9a) Merge branch 'human-ai' of https://github.com/Regalis11/Barotrauma-development into human-ai 2019-05-16 05:42:15 +03:00
Joonas Rikkonen
a7a4a56635 (4fa774716) Fix rescue not working. Still not extensively tested. 2019-05-16 05:41:57 +03:00
Joonas Rikkonen
5b2bf67d66 (067f4d694) The recursive version of GetConnectedComponents can traverse between wifi components, use recursive GetConnectedComponents when finding the controller used to operate some item (-> AI characters can now figure out how to operate a turret that's connected to a periscope through wifi components, relays, etc) 2019-05-16 05:41:41 +03:00
Joonas Rikkonen
1d5de494cd (a185ec0cd) Don't report on broken items that have condition above the threshold. Optimize and fix. 2019-05-16 05:41:25 +03:00
Joonas Rikkonen
79d01822d2 (8015dd67d) Show a language selection prompt when launching the game for the first time (WIP) 2019-05-16 05:41:09 +03:00
Joonas Rikkonen
3c11bc2fca (420c429b4) Fix issues in reporting. 2019-05-16 05:40:50 +03:00
Joonas Rikkonen
42a023e811 (43c3787ae) Refactor AIObjectiveRescue and remove ShouldInterruptSubObjective property. Not yet tested. 2019-05-16 05:40:35 +03:00
Joonas Rikkonen
7d0d669cdc (8fd5fa292) Fix a stack overflow issue. 2019-05-16 05:40:19 +03:00
Joonas Rikkonen
ddd84a4f9e (c45394988) Refactor and fix button interaction and access checks in the indoors steering manager. 2019-05-16 05:40:00 +03:00
Joonas Rikkonen
704e0731c9 (a73e09604) Fixed inventory locking up when rewiring items with a Controller component (e.g. periscopes). Don't open the health interface by clicking on the healthbar when using a controller. 2019-05-16 05:39:42 +03:00
Joonas Rikkonen
3575c8df52 (03ab09991) Load chinese fonts dynamically, removed unnecessary duplicate block from DynamicRenderAtlas 2019-05-16 05:39:25 +03:00
Joonas Rikkonen
c583181e3b (1ac786058) AIObjectiveRescueAll now inherits AIObjectiveLoop. Implement reporting on rescue targets. Fix reporting not checking that the targets were in the current hull. 2019-05-16 05:39:07 +03:00