Commit graph

103 commits

Author SHA1 Message Date
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
Sara
0bb0b26d3e feat: added Unit::has_plan 2024-08-15 21:43:21 +02:00
Sara
1b8563a5eb feat: added parent_ and target_ global_position world props 2024-08-15 21:43:20 +02:00
Sara
6c227f6b52 feat: debug builds now begin at template_debug 2024-08-15 21:43:20 +02:00
Sara
5b31aadbf4 feat(build): compiledb now generated for template_debug 2024-08-15 21:43:20 +02:00
Sara
f9b3c6eb3f feat: implemented heal action and goal 2024-08-15 21:43:20 +02:00
Sara
a78bbfd3b5 feat: implemented melee attacks for Tank enemy 2024-08-15 21:43:20 +02:00
Sara
1021920e1f feat: added Goal::check_requirements_met 2024-08-15 21:43:20 +02:00
Sara
aeeddb34c1 feat: added death animation 2024-08-15 21:43:20 +02:00
Sara
d03ce19c13 feat: unit now plays animation on death 2024-08-15 21:43:20 +02:00
Sara
65b0f76991 chore(style): changed brackets to match style 2024-08-15 21:43:20 +02:00
Sara
7cf5b128ff feat: implemented fire at target action 2024-08-15 21:43:20 +02:00
Sara
ffafcac23a feat: added state done functions to goap::State 2024-08-15 21:43:20 +02:00
Sara
d506a9c2d0 feat: removed goap::Planner::test_goal 2024-08-15 21:43:20 +02:00
Sara
bcf1672f01 feat: added get_eye_transform to unit 2024-08-15 21:43:20 +02:00
Sara
3c75b592d3 feat: now tracking current goal in unit 2024-08-15 21:43:20 +02:00
Sara
f2cf79d704 chore: removed debug print calls 2024-08-15 21:43:20 +02:00
Sara
51bd3733c4 feat: split end state callback into finished and failed 2024-08-15 21:43:20 +02:00
Sara
58a717aec4 feat: added on-target-destroyed callback to unit world state 2024-08-15 21:43:20 +02:00
Sara
6dddbced43 feat: changed distance check < to <= 2024-08-15 21:43:20 +02:00
Sara
a946f7f39b feat: renamed get_target_dead to get_is_target_dead 2024-08-15 21:43:20 +02:00