306 Commits

Author SHA1 Message Date
sapier
f14cb119b8 add support for position targets
fix teleporting into solid ground on "big" mobs
2013-02-10 16:26:44 +00:00
sapier
c757599452 add preservation of path movement values due to load unload of mob 2013-02-10 16:25:50 +00:00
sapier
b639b715b3 fix bug movement target lost on combat state switch
preserve p_movement data on switch to fighting mode too
2013-02-10 16:24:07 +00:00
sapier
066536fb51 fix invalid function description 2013-02-10 16:23:02 +00:00
sapier
21adf96501 add support for core based world specific settings (if available) 2013-02-10 16:21:59 +00:00
sapier
bbf9d5a5f7 add function to check if a value is a valid position 2013-02-10 16:21:31 +00:00
sapier
ed17af18f8 add initial version of path based movement gen 2013-02-10 16:19:04 +00:00
sapier
fa070b8424 add path and path_mov trace facilities 2013-02-10 16:18:09 +00:00
sapier
49444a7f10 enable ingame path management 2013-02-09 20:00:25 +00:00
sapier
a9b76afa06 switch to : as separator for world related config data as _ may result in collisions 2013-02-09 19:59:10 +00:00
sapier
8d09404a4c add ingame path editor 2013-02-09 19:58:48 +00:00
sapier
003a3ff6bd add additional debug status output 2013-02-05 21:18:52 +00:00
sapier
525e3d3c93 add some checks and debug output 2013-02-05 21:18:36 +00:00
sapier
277e07f4f0 remove useles setting of pos 2013-02-05 21:17:55 +00:00
sapier
021c8b9285 fix spawnpoint if having corrected y value on activate 2013-02-05 21:16:43 +00:00
sapier
6fb42d801e fix bug flying mobs that have reached their target in air
fix bug target not overriding return to spawnpoint
2013-02-05 21:15:38 +00:00
sapier
0c2526b714 add function to calculate balistic y speed 2013-02-05 21:14:40 +00:00
sapier
9edd36b354 make guard return closer to original spawnpoint 2013-02-05 21:13:29 +00:00
sapier
1ec44978e1 make archer guard his spawnpoint 2013-02-05 21:12:43 +00:00
sapier
8ec80d45b2 make trader sell hirelings 2013-02-04 21:28:14 +00:00
sapier
8dc25ce6ae add mob mob_guard 2013-02-04 21:27:58 +00:00
sapier
de1cfc315a add sound for mob archer
add item icon for mob archer
2013-02-04 21:26:48 +00:00
sapier
a6743b4ad2 make wolf guard it's spawnpoint 2013-02-04 21:26:04 +00:00
sapier
71886868ae add contract in order to support hireing npc mobs 2013-02-04 21:25:09 +00:00
sapier
a61e82be06 call this 2.0.4 2013-02-04 08:08:17 +00:00
sapier
4ba7a711ab Merge branch 'master' into mobf_2_1_dev 2013-02-04 08:01:15 +00:00
sapier
d34185ca5e fix bug trader selling without pay if secondary price was not set 2013-02-04 08:00:36 +00:00
sapier
bf3b36c9bd fixed bug in backup of current state on start fighting
improvements to support guard mob
added sound support on shooting distance attack
2013-02-03 23:15:50 +00:00
sapier
ec133db0ad add assert in case of invalid parameters for mgen_follow state identification 2013-02-03 23:15:20 +00:00
sapier
641b72b4d4 add some assertions to helper functions 2013-02-03 23:14:35 +00:00
sapier
eecc2a0dc5 add additional debug output to rightclick handler 2013-02-03 23:13:59 +00:00
sapier
85f2f1d59b split generic_functions.lua and move to utils subfolder 2013-02-03 20:11:58 +00:00
sapier
451a3ee040 inital version of mob_archer 2013-02-03 19:33:26 +00:00
sapier
a992e2ef8d fix bug attack was aborted as soon as target left meele range * agression factor
fix bug get_target_name didn't return correct name for non player targets
improve algorithm for target selection
2013-02-03 19:28:59 +00:00
sapier
40e23a853e show current target on rightclick debug info 2013-02-03 19:28:32 +00:00
sapier
34b2848624 add function to calculate scalar speed 2013-02-03 19:27:57 +00:00
sapier
4be75bfe04 fix invalid current_state if state got corrected on activate 2013-02-03 19:26:41 +00:00
sapier
bb10abd196 add arrow weapon 2013-02-03 19:25:54 +00:00
sapier
5e3368f01b make target algorithm select other mobs as targets if configured 2013-02-03 13:24:53 +00:00
sapier
f092801511 add support for different attack states
add support for mob <-> mob combat
2013-02-03 12:50:56 +00:00
sapier
286207cef6 add support for non autocycle states in state changing 2013-02-03 12:50:17 +00:00
sapier
77572a051f add rightclick form menu
fix some cases of lines longer than 80 chars
2013-01-31 21:45:46 +00:00
sapier
ebb73c3ece add global stack to store items temporary with unique id 2013-01-31 21:43:09 +00:00
sapier
a1e4bdd022 give singleplayer admin rights for mod storage 2013-01-31 21:40:16 +00:00
sapier
f2b2e8dc1f make mob restore storage world specific 2013-01-31 20:01:43 +00:00
sapier
68c37ed684 check environment in movegen none too 2013-01-31 19:53:52 +00:00
sapier
e1e2b2f925 adjust line lenght to 80 char limit 2013-01-31 19:52:27 +00:00
sapier
f0162622c8 on error removal store playerspawned mobs for later recovery 2013-01-31 19:36:07 +00:00
sapier
9f4eeecf8a anti steal support 2013-01-31 19:33:11 +00:00
sapier
b5e2085be1 Merge branch 'master' into mobf_2_1_dev 2013-01-28 20:06:36 +00:00