Commit graph

123 commits

Author SHA1 Message Date
Sara 628d9bf923 fix: units now visibly fall unconscious 2024-08-29 09:54:35 +02:00
Sara 51f86e363e chore: explicit functional-style cast of weapon_animation getter 2024-08-28 16:50:05 +02:00
Sara 2c5fdfcc3e chore: formatting update, removed _ argument name 2024-08-25 13:01:09 +02:00
Sara 2a0c9a623e feat: replaced separate melee and ranged actions with use weapon and get in range 2024-08-21 14:18:27 +02:00
Sara c9c41ac2d7 feat: created character specializations of unit and world state 2024-08-18 17:42:20 +02:00
Sara 7312df3679 fix(tools): removed global path from Makefile 2024-08-18 17:40:21 +02:00
Sara 728af5cf99 chore(tool): updated clang-format to always use spaces 2024-08-18 17:40:00 +02:00
Sara 75fbfec2d1 tweak: set player unit weapon to handgun 2024-08-16 16:19:36 +02:00
Sara 57622176cb chore: removed flyweight db debug print calls 2024-08-16 16:19:14 +02:00
Sara c97742f992 fix: inventory is now a tool class 2024-08-16 16:18:46 +02:00
Sara a05bc7cd67 chore: updated utils 2024-08-16 11:37:18 +02:00
Sara 44c0f88513 chore: forgot to make RTSGameMode a RUNTIME_CLASS 2024-08-16 11:36:31 +02:00
Sara 7ceea27259 feat: upgraded project to godot 4.3 2024-08-16 00:14:04 +02:00
Sara a8151b2663 feat(tools): added make clean 2024-08-16 00:08:57 +02:00
Sara cb6051bb43 chore: updated godot-cpp 2024-08-15 21:49:13 +02:00
Sara a024aab203 feat: implemented item and inventory outline 2024-08-15 21:45:33 +02:00
Sara f771b383f3 chore: fixed external includes being in quotes ipv angle brackets 2024-08-15 21:45:33 +02:00
Sara 75e73aba95 fix: MoveTo now avoids setting velocity after calling end_state 2024-08-15 21:45:33 +02:00
Sara cd94bb164e feat: unit now guarantees it stays on the navmesh 2024-08-15 21:45:33 +02:00
Sara d7441eade9 feat: enemy and player units are now each in their own avoidance layers 2024-08-15 21:45:33 +02:00
Sara d20da67bea feat: EnemyWorldState now queues re-planning 2024-08-15 21:45:33 +02:00
Sara e71a27876d feat: increased visibility of various getters in goap::State 2024-08-15 21:45:33 +02:00
Sara dc60937660 feat: improved take cover action node selection 2024-08-15 21:45:33 +02:00
Sara 2c21845991 feat: added print debug info interaction to player and unit 2024-08-15 21:45:33 +02:00
Sara 41f353eda3 tweak: moved navigation marker in test_level 2024-08-15 21:45:33 +02:00
Sara a08bb0b2e8 feat: enemy_unit now has defeat_enemy_unit and maintain_health separate 2024-08-15 21:45:33 +02:00
Sara 12069b6252 chore: fixed DEBUG_ENABLED endif tag 2024-08-15 21:45:01 +02:00
Sara ec0b080ebb tweak: set movement speed for enemy to 1.5 2024-08-15 21:45:01 +02:00
Sara a4a27e4c14 chore(tools): set godot git plugin to autoload 2024-08-15 21:45:01 +02:00
Sara e1ebee99e1 feat: MoveTo state now uses Unit::movement_speed 2024-08-15 21:45:01 +02:00
Sara cabaae949c feat: added unconscious event 2024-08-15 21:45:01 +02:00
Sara d94b24f617 feat: added on_unconscious and movement speed to unit 2024-08-15 21:45:01 +02:00
Sara 973ba952c2 fix: general AI behaviour fixes 2024-08-15 21:45:00 +02:00
Sara b87752c1a9 feat: moved players and added another enemy 2024-08-15 21:44:20 +02:00
Sara 50670f6afd feat: added export presets 2024-08-15 21:44:20 +02:00
Sara a150aab79d fix(tools): removed and ignored kdevelop files 2024-08-15 21:44:20 +02:00
Sara f59c2ce73d feat(tools): added kdev files 2024-08-15 21:44:20 +02:00
Sara 0de3390cf1 fix: unit movement is now operated by Unit class 2024-08-15 21:43:21 +02:00
Sara 6a20073452 feat: enabled fullscreen on startup 2024-08-15 21:43:21 +02:00
Sara 693859e874 chore: removed unneeded print calls 2024-08-15 21:43:21 +02:00
Sara 5abab18a86 fix: get_editor_neighbours now actually gets editor neighbours 2024-08-15 21:43:21 +02:00
Sara 062ef478b4 chore(formatting): godot_cpp include now in angle brackets 2024-08-15 21:43:21 +02:00
Sara 40a93aec32 fix: #if changed to #ifdef for DEBUG_ENABLED check 2024-08-15 21:43:21 +02:00
Sara 0e8bcf4442 feat: units use navigation obstacle avoidance 2024-08-15 21:43:21 +02:00
Sara f883d7d67e feat: added .gdb_history to .gitignore 2024-08-15 21:43:21 +02:00
Sara 6755929906 feat: generated git metadata for godot project 2024-08-15 21:43:21 +02:00
Sara e075f55328 feat: folder colours 2024-08-15 21:43:21 +02:00
Sara 111485437c bug(goap): fixed unexpected AI behaviour
- Death now removes entity from awareness
- State failure now causes replan or goal reevaluation
2024-08-15 21:43:21 +02:00
Sara a2240797b8 fix: self preservation plan in the wrong order 2024-08-15 21:43:21 +02:00
Sara 4ba6869a30 feat: added debug prints to planner and actor world state 2024-08-15 21:43:21 +02:00