骑砍txt修改 [Inkit wiki]

用户工具

站点工具


g:mountandblade:txtedit

骑砍txt修改

弓骑AI

在mission_templates.txt里面,找到有战斗方面的场景,添加以下字段(不含武器切换)

0.500000 0.000000 0.000000  0  258 2124 1 1000 12 1 1224979098644774912 1702 1 1224979098644774912 1704 1 1224979098644774912 1707 1 1224979098644774912 2147484193 3 1224979098644774912 1003 1 1714 2 1224979098644774913 1224979098644774912 2133 2 1224979098644774914 -1 4 0 545 3 1224979098644774912 15 0 32 2 1224979098644774913 -1 1770 2 1224979098644774915 1224979098644774912 1773 2 1224979098644774916 1224979098644774912 1787 3 1224979098644774917 1224979098644774915 1224979098644774916 1785 3 1224979098644774918 1224979098644774915 1224979098644774916 1784 3 1224979098644774919 1224979098644774915 1224979098644774916 2133 2 1224979098644774920 0 2133 2 1224979098644774921 -1 6 3 1224979098644774922 0 4 1804 3 1224979098644774923 1224979098644774912 1224979098644774922 32 2 1224979098644774923 0 1570 2 1224979098644774924 1224979098644774923 4 0 31 2 1224979098644774924 10 1825 3 1224979098644774925 1224979098644774912 1224979098644774922 2105 2 1224979098644774920 1224979098644774925 5 0 1073741855 2 1224979098644774924 8 1073741855 2 1224979098644774924 16 31 2 1224979098644774924 17 2133 2 1224979098644774921 1224979098644774923 5 0 1073741855 2 1224979098644774924 2 1073741855 2 1224979098644774924 3 31 2 1224979098644774924 4 2133 2 1224979098644774914 1224979098644774923 3 0 3 0 32 2 1224979098644774921 -1 2147486371 2 1224979098644774921 1048576 2147486371 2 1224979098644774921 268435456 1727 3 1224979098644774926 1224979098644774912 0 2106 2 1224979098644774926 1224979098644774920 32 2 1224979098644774926 0 505 3 1224979098644774912 1003 2 2147483679 2 1224979098644774919 1 2147483679 2 1224979098644774917 2 31 2 1224979098644774918 2 1710 2 50 1224979098644774912 1689 2 31 1224979098644774912 727 2 1224979098644774927 31 2133 2 1224979098644774928 100000 2133 2 1224979098644774929 -1 12 1 1224979098644774930 1702 1 1224979098644774930 1704 1 1224979098644774930 1710 2 36 1224979098644774930 1770 2 1224979098644774931 1224979098644774930 1788 2 1224979098644774915 1224979098644774931 710 3 1224979098644774932 50 36 4 0 545 3 1224979098644774930 15 1 2105 2 1224979098644774932 10000 3 0 4 0 1714 2 1224979098644774933 1224979098644774930 32 2 1224979098644774933 -1 1689 2 32 1224979098644774930 727 2 1224979098644774934 32 2106 2 1224979098644774934 1224979098644774927 2123 3 1224979098644774935 1224979098644774934 5 2111 2 1224979098644774935 0 2105 2 1224979098644774935 500 2106 2 1224979098644774932 1224979098644774935 5 0 1726 3 1224979098644774936 1224979098644774930 1 2147483680 2 1224979098644774936 1 2106 2 1224979098644774932 500 3 0 2147483678 2 1224979098644774932 1224979098644774928 2133 2 1224979098644774928 1224979098644774932 2133 2 1224979098644774929 1224979098644774930 3 0 2147483679 2 1224979098644774929 -1 1710 2 51 1224979098644774929 710 3 1224979098644774937 50 51 4 0 545 3 1224979098644774929 15 0 32 2 1224979098644774937 200 1747 2 1224979098644774912 1224979098644774921 5 0 2147483680 2 1224979098644774937 200 32 2 1224979098644774914 -1 1747 2 1224979098644774912 1224979098644774914 3 0 2133 2 1224979098644774938 1000 4 0 1726 3 1224979098644774936 1224979098644774912 0 32 2 1224979098644774936 0 1570 2 1224979098644774939 1224979098644774936 1073741855 2 1224979098644774939 8 1073741855 2 1224979098644774939 16 31 2 1224979098644774939 17 2076 4 53 1224979098644774912 8 1 2076 4 54 1224979098644774929 9 1 707 2 53 54 1713 2 1224979098644774912 1224979098644774929 4 0 2133 2 1224979098644774940 4000 1763 2 1224979098644774941 1224979098644774912 31 2 1224979098644774941 1 4 0 32 2 1224979098644774928 700 2147483680 2 1224979098644774928 1224979098644774940 2123 3 1224979098644774938 1224979098644774927 2000 2111 2 1224979098644774938 0 3 0 31 2 1224979098644774939 8 4 0 2147483680 2 1224979098644774937 1224979098644774940 1746 3 1224979098644774912 -2 1 1745 3 1224979098644774912 3 0 5 0 32 2 1224979098644774937 1224979098644774940 1745 3 1224979098644774912 -2 1 1746 3 1224979098644774912 3 1 3 0 5 0 31 2 1224979098644774939 8 2147483680 2 1224979098644774937 1224979098644774940 1739 2 1224979098644774942 1224979098644774912 2147483679 2 1224979098644774942 8 1745 3 1224979098644774912 3 1 3 0 3 0 1736 2 1224979098644774912 1224979098644774938 4 0 545 3 1224979098644774929 15 0 2147483678 2 1224979098644774928 10000 4 0 1799 2 2 3 717 3 4 2 50 726 2 1224979098644774943 4 727 2 1224979098644774944 4 717 3 4 2 3 726 2 1224979098644774945 4 727 2 1224979098644774946 4 2121 3 1224979098644774947 1224979098644774945 1224979098644774943 2121 3 1224979098644774948 1224979098644774946 1224979098644774944 717 3 4 50 51 726 2 1224979098644774949 4 727 2 1224979098644774950 4 2133 2 1224979098644774951 0 4 0 2147483680 2 1224979098644774928 1000 2133 2 1224979098644774951 -78000 5 0 32 2 1224979098644774928 2000 2121 3 1224979098644774951 1224979098644774928 0 2107 2 1224979098644774951 5 2112 3 1224979098644774951 35000 90000 3 0 2133 2 1224979098644774952 30000 2110 2 1224979098644774952 1224979098644774943 2110 2 1224979098644774952 1224979098644774948 2110 2 1224979098644774952 1224979098644774947 2110 2 1224979098644774952 1224979098644774944 4 0 2147483678 2 1224979098644774952 30000 545 3 1224979098644774929 15 0 2123 3 1224979098644774953 1224979098644774945 20 2123 3 1224979098644774954 1224979098644774946 20 719 2 4 2 720 3 4 1224979098644774953 1 721 3 4 1224979098644774954 1 710 3 1224979098644774955 4 50 717 3 4 50 4 726 2 1224979098644774953 4 727 2 1224979098644774954 4 2107 2 1224979098644774953 100 2107 2 1224979098644774954 100 2107 2 1224979098644774949 100 2107 2 1224979098644774950 100 2123 3 1224979098644774956 1224979098644774953 1224979098644774955 2123 3 1224979098644774957 1224979098644774954 1224979098644774955 2123 3 1224979098644774958 1224979098644774949 1224979098644774937 2123 3 1224979098644774959 1224979098644774950 1224979098644774937 2141 2 1224979098644774960 1224979098644774956 2140 2 1224979098644774961 1224979098644774957 2141 2 1224979098644774962 1224979098644774958 2140 2 1224979098644774963 1224979098644774959 4 0 2147483678 2 1224979098644774961 0 2107 2 1224979098644774960 -1 2105 2 1224979098644774960 360000 3 0 4 0 2147483678 2 1224979098644774963 0 2107 2 1224979098644774962 -1 2105 2 1224979098644774962 360000 3 0 2121 3 1224979098644774964 1224979098644774960 1224979098644774962 2106 2 1224979098644774964 270000 2106 2 1224979098644774964 1224979098644774951 2120 3 1224979098644774951 1224979098644774964 1224979098644774951 4 0 2147483678 2 1224979098644774960 1224979098644774962 2105 2 1224979098644774951 360000 3 0 2112 3 1224979098644774951 -210000 15000 1745 3 1224979098644774912 -2 1 1746 3 1224979098644774912 3 1 3 0 4 0 1073741855 2 1224979098644774939 16 31 2 1224979098644774939 17 2107 2 1224979098644774951 -1 2105 2 1224979098644774951 180000 3 0 2128 2 1224979098644774965 1224979098644774951 2127 2 1224979098644774966 1224979098644774951 2122 3 1224979098644774967 1224979098644774965 1224979098644774950 2122 3 1224979098644774968 1224979098644774966 1224979098644774949 2122 3 1224979098644774969 1224979098644774966 1224979098644774950 2122 3 1224979098644774970 1224979098644774965 1224979098644774949 2120 3 1224979098644774971 1224979098644774967 1224979098644774968 2121 3 1224979098644774972 1224979098644774969 1224979098644774970 720 3 50 1224979098644774971 0 721 3 50 1224979098644774972 0 3 0 1730 3 1224979098644774912 50 1 5 0 1735 1 1224979098644774912 1732 1 1224979098644774912 3 0 5 0 4 0 545 3 1224979098644774912 1003 0 505 3 1224979098644774912 1003 1 5 0 545 3 1224979098644774912 1003 2 1073742369 3 1224979098644774912 15 1 3221225502 2 1224979098644774913 0 1073741855 2 1224979098644774926 0 1073741855 2 1224979098644774919 1 1073741855 2 1224979098644774917 2 2147483679 2 1224979098644774918 2 1735 1 1224979098644774912 1736 2 1224979098644774912 100 1732 1 1224979098644774912 505 3 1224979098644774912 1003 3 1073741855 2 1224979098644774919 1 31 2 1224979098644774926 0 32 2 1224979098644774914 -1 1747 2 1224979098644774912 1224979098644774914 3 0 3 0 3 0

只对友军有效版

0.500000 0.000000 0.000000  0  261 2124 1 1000 1700 1 1224979098644774912 1770 2 1224979098644774913 1224979098644774912 12 1 1224979098644774914 1702 1 1224979098644774914 1704 1 1224979098644774914 1707 1 1224979098644774914 2147484193 3 1224979098644774914 1003 1 1714 2 1224979098644774915 1224979098644774914 2133 2 1224979098644774916 -1 4 0 545 3 1224979098644774914 15 0 32 2 1224979098644774915 -1 1770 2 1224979098644774917 1224979098644774914 2147485436 2 1224979098644774917 1224979098644774913 1773 2 1224979098644774918 1224979098644774914 1787 3 1224979098644774919 1224979098644774917 1224979098644774918 1785 3 1224979098644774920 1224979098644774917 1224979098644774918 1784 3 1224979098644774921 1224979098644774917 1224979098644774918 2133 2 1224979098644774922 0 2133 2 1224979098644774923 -1 6 3 1224979098644774924 0 4 1804 3 1224979098644774925 1224979098644774914 1224979098644774924 32 2 1224979098644774925 0 1570 2 1224979098644774926 1224979098644774925 4 0 31 2 1224979098644774926 10 1825 3 1224979098644774927 1224979098644774914 1224979098644774924 2105 2 1224979098644774922 1224979098644774927 5 0 1073741855 2 1224979098644774926 8 1073741855 2 1224979098644774926 16 31 2 1224979098644774926 17 2133 2 1224979098644774923 1224979098644774925 5 0 1073741855 2 1224979098644774926 2 1073741855 2 1224979098644774926 3 31 2 1224979098644774926 4 2133 2 1224979098644774916 1224979098644774925 3 0 3 0 32 2 1224979098644774923 -1 2147486371 2 1224979098644774923 1048576 2147486371 2 1224979098644774923 268435456 1727 3 1224979098644774928 1224979098644774914 0 2106 2 1224979098644774928 1224979098644774922 32 2 1224979098644774928 0 505 3 1224979098644774914 1003 2 2147483679 2 1224979098644774921 1 2147483679 2 1224979098644774919 2 31 2 1224979098644774920 2 1710 2 50 1224979098644774914 1689 2 31 1224979098644774914 727 2 1224979098644774929 31 2133 2 1224979098644774930 100000 2133 2 1224979098644774931 -1 12 1 1224979098644774932 1702 1 1224979098644774932 1704 1 1224979098644774932 1710 2 36 1224979098644774932 1770 2 1224979098644774933 1224979098644774932 1788 2 1224979098644774917 1224979098644774933 710 3 1224979098644774934 50 36 4 0 545 3 1224979098644774932 15 1 2105 2 1224979098644774934 10000 3 0 4 0 1714 2 1224979098644774935 1224979098644774932 32 2 1224979098644774935 -1 1689 2 32 1224979098644774932 727 2 1224979098644774936 32 2106 2 1224979098644774936 1224979098644774929 2123 3 1224979098644774937 1224979098644774936 5 2111 2 1224979098644774937 0 2105 2 1224979098644774937 500 2106 2 1224979098644774934 1224979098644774937 5 0 1726 3 1224979098644774938 1224979098644774932 1 2147483680 2 1224979098644774938 1 2106 2 1224979098644774934 500 3 0 2147483678 2 1224979098644774934 1224979098644774930 2133 2 1224979098644774930 1224979098644774934 2133 2 1224979098644774931 1224979098644774932 3 0 2147483679 2 1224979098644774931 -1 1710 2 51 1224979098644774931 710 3 1224979098644774939 50 51 4 0 545 3 1224979098644774931 15 0 32 2 1224979098644774939 200 1747 2 1224979098644774914 1224979098644774923 5 0 2147483680 2 1224979098644774939 200 32 2 1224979098644774916 -1 1747 2 1224979098644774914 1224979098644774916 3 0 2133 2 1224979098644774940 1000 4 0 1726 3 1224979098644774938 1224979098644774914 0 32 2 1224979098644774938 0 1570 2 1224979098644774941 1224979098644774938 1073741855 2 1224979098644774941 8 1073741855 2 1224979098644774941 16 31 2 1224979098644774941 17 2076 4 53 1224979098644774914 8 1 2076 4 54 1224979098644774931 9 1 707 2 53 54 1713 2 1224979098644774914 1224979098644774931 4 0 2133 2 1224979098644774942 4000 1763 2 1224979098644774943 1224979098644774914 31 2 1224979098644774943 1 4 0 32 2 1224979098644774930 700 2147483680 2 1224979098644774930 1224979098644774942 2123 3 1224979098644774940 1224979098644774929 2000 2111 2 1224979098644774940 0 3 0 31 2 1224979098644774941 8 4 0 2147483680 2 1224979098644774939 1224979098644774942 1746 3 1224979098644774914 -2 1 1745 3 1224979098644774914 3 0 5 0 32 2 1224979098644774939 1224979098644774942 1745 3 1224979098644774914 -2 1 1746 3 1224979098644774914 3 1 3 0 5 0 31 2 1224979098644774941 8 2147483680 2 1224979098644774939 1224979098644774942 1739 2 1224979098644774944 1224979098644774914 2147483679 2 1224979098644774944 8 1745 3 1224979098644774914 3 1 3 0 3 0 1736 2 1224979098644774914 1224979098644774940 4 0 545 3 1224979098644774931 15 0 2147483678 2 1224979098644774930 10000 4 0 1799 2 2 3 717 3 4 2 50 726 2 1224979098644774945 4 727 2 1224979098644774946 4 717 3 4 2 3 726 2 1224979098644774947 4 727 2 1224979098644774948 4 2121 3 1224979098644774949 1224979098644774947 1224979098644774945 2121 3 1224979098644774950 1224979098644774948 1224979098644774946 717 3 4 50 51 726 2 1224979098644774951 4 727 2 1224979098644774952 4 2133 2 1224979098644774953 0 4 0 2147483680 2 1224979098644774930 1000 2133 2 1224979098644774953 -78000 5 0 32 2 1224979098644774930 2000 2121 3 1224979098644774953 1224979098644774930 0 2107 2 1224979098644774953 5 2112 3 1224979098644774953 35000 90000 3 0 2133 2 1224979098644774954 30000 2110 2 1224979098644774954 1224979098644774945 2110 2 1224979098644774954 1224979098644774950 2110 2 1224979098644774954 1224979098644774949 2110 2 1224979098644774954 1224979098644774946 4 0 2147483678 2 1224979098644774954 30000 545 3 1224979098644774931 15 0 2123 3 1224979098644774955 1224979098644774947 20 2123 3 1224979098644774956 1224979098644774948 20 719 2 4 2 720 3 4 1224979098644774955 1 721 3 4 1224979098644774956 1 710 3 1224979098644774957 4 50 717 3 4 50 4 726 2 1224979098644774955 4 727 2 1224979098644774956 4 2107 2 1224979098644774955 100 2107 2 1224979098644774956 100 2107 2 1224979098644774951 100 2107 2 1224979098644774952 100 2123 3 1224979098644774958 1224979098644774955 1224979098644774957 2123 3 1224979098644774959 1224979098644774956 1224979098644774957 2123 3 1224979098644774960 1224979098644774951 1224979098644774939 2123 3 1224979098644774961 1224979098644774952 1224979098644774939 2141 2 1224979098644774962 1224979098644774958 2140 2 1224979098644774963 1224979098644774959 2141 2 1224979098644774964 1224979098644774960 2140 2 1224979098644774965 1224979098644774961 4 0 2147483678 2 1224979098644774963 0 2107 2 1224979098644774962 -1 2105 2 1224979098644774962 360000 3 0 4 0 2147483678 2 1224979098644774965 0 2107 2 1224979098644774964 -1 2105 2 1224979098644774964 360000 3 0 2121 3 1224979098644774966 1224979098644774962 1224979098644774964 2106 2 1224979098644774966 270000 2106 2 1224979098644774966 1224979098644774953 2120 3 1224979098644774953 1224979098644774966 1224979098644774953 4 0 2147483678 2 1224979098644774962 1224979098644774964 2105 2 1224979098644774953 360000 3 0 2112 3 1224979098644774953 -210000 15000 1745 3 1224979098644774914 -2 1 1746 3 1224979098644774914 3 1 3 0 4 0 1073741855 2 1224979098644774941 16 31 2 1224979098644774941 17 2107 2 1224979098644774953 -1 2105 2 1224979098644774953 180000 3 0 2128 2 1224979098644774967 1224979098644774953 2127 2 1224979098644774968 1224979098644774953 2122 3 1224979098644774969 1224979098644774967 1224979098644774952 2122 3 1224979098644774970 1224979098644774968 1224979098644774951 2122 3 1224979098644774971 1224979098644774968 1224979098644774952 2122 3 1224979098644774972 1224979098644774967 1224979098644774951 2120 3 1224979098644774973 1224979098644774969 1224979098644774970 2121 3 1224979098644774974 1224979098644774971 1224979098644774972 720 3 50 1224979098644774973 0 721 3 50 1224979098644774974 0 3 0 1730 3 1224979098644774914 50 1 5 0 1735 1 1224979098644774914 1732 1 1224979098644774914 3 0 5 0 4 0 545 3 1224979098644774914 1003 0 505 3 1224979098644774914 1003 1 5 0 545 3 1224979098644774914 1003 2 1073742369 3 1224979098644774914 15 1 3221225502 2 1224979098644774915 0 1073741855 2 1224979098644774928 0 1073741855 2 1224979098644774921 1 1073741855 2 1224979098644774919 2 2147483679 2 1224979098644774920 2 1735 1 1224979098644774914 1736 2 1224979098644774914 100 1732 1 1224979098644774914 505 3 1224979098644774914 1003 3 1073741855 2 1224979098644774921 1 31 2 1224979098644774928 0 32 2 1224979098644774916 -1 1747 2 1224979098644774914 1224979098644774916 3 0 3 0 3 0  

修改示例

修改前:
mst_town_default town_default 0  -1
Default_town_visit #这个是场景,后面的照着就行#战斗场景一般是You_lead_your_men_to_battle. 野战场景是mst_lead_charge lead_charge

32 0 4100 256 0 1 5  181 180 25 572 573 
1 4100 256 0 1 0  
2 4100 256 0 1 0  
3 4100 256 0 1 0  
4 4100 256 0 1 0  
5 4100 256 0 1 0  
6 4100 256 0 1 0  
7 4100 256 0 1 0  
8 4 256 0 1 0  
9 4 256 0 1 0  
10 4 256 0 1 0  
11 4 256 0 1 0  
12 4 256 0 1 0  
13 4 0 0 1 0  
14 4 0 0 1 0  
15 4 0 0 1 0  
16 16 256 0 1 0  
17 16 256 0 1 0  
18 16 256 0 1 0  
19 16 256 0 1 0  
20 16 256 0 1 0  
21 16 256 0 1 0  
22 16 256 0 1 0  
23 16 256 0 1 0  
24 16 256 0 1 0  
25 16 256 0 1 0  
26 16 256 0 1 0  
27 16 256 0 1 0  
28 16 256 0 1 0  
29 16 256 0 1 0  
30 16 256 0 1 0  
31 16 256 0 1 0  
19#(这里要加1)
1.000000 0.000000 100000000.000000  0  11 2211 1 1224979098644774912 503 3 1224979098644774912 0 1 4 0 31 2 144115188075856176 1 1 2 936748722493063650 16384 5 0 31 2 144115188075856054 14 1 2 936748722493063650 512 5 0 1 2 936748722493063650 8192 3 0 
-19.000000 0.000000 0.000000  0  2 1 1 936748722493063507 1 1 936748722493063725 
-22.000000 0.000000 0.000000  1 2075 1 1  0 
1.000000 0.000000 0.000000  5 32 2 144115188075855934 0 1780 2 0 0 1710 2 1 144115188075855934 710 3 1224979098644774912 0 1 2147483680 2 1224979098644774912 150  2 1749 1 144115188075855934 2133 2 144115188075855934 0 
-21.000000 0.000000 0.000000  4 4 0 31 2 144115188075855932 0 2075 1 1 3 0  0 
2.000000 0.000000 0.000000  5 2147483690 0 31 2 144115188075856054 14 2147484188 3 360287970189640707 12 144115188075856236 540 3 360287970189640706 12 144115188075856236 31 2 144115188075855933 0  32 4 0 31 2 144115188075856252 0 2133 2 144115188075856252 1 12 1 1224979098644774912 1718 2 1224979098644774913 1224979098644774912 31 2 1224979098644774913 360287970189640706 2133 2 144115188075856253 1224979098644774912 3 0 5 0 31 2 144115188075856252 1 1712 1 144115188075856253 1702 1 144115188075856253 1700 1 1224979098644774914 1710 2 0 1224979098644774914 1710 2 1 144115188075856253 710 3 1224979098644774915 0 1 728 2 1224979098644774916 0 728 2 1224979098644774917 1 2121 3 1224979098644774918 1224979098644774917 1224979098644774916 4 0 2147483680 2 1224979098644774918 0 2107 2 1224979098644774918 -1 3 0 2122 3 1224979098644774919 1224979098644774918 3 2105 2 1224979098644774915 1224979098644774919 2136 3 1224979098644774920 0 200 2120 3 1224979098644774921 400 1224979098644774920 2147483680 2 1224979098644774915 1224979098644774921 1 1 936748722493063698 1920 1 360287970189640706 2133 2 144115188075856252 2 3 0 
2.000000 0.000000 0.000000  3 2147483690 0 31 2 144115188075856054 14 540 3 360287970189640707 12 144115188075856236  31 4 0 31 2 144115188075856254 0 2133 2 144115188075856254 1 12 1 1224979098644774912 1718 2 1224979098644774913 1224979098644774912 31 2 1224979098644774913 360287970189640707 2133 2 144115188075856255 1224979098644774912 3 0 5 0 31 2 144115188075856254 1 1712 1 144115188075856255 1702 1 144115188075856255 1700 1 1224979098644774914 1710 2 0 1224979098644774914 1710 2 1 144115188075856255 710 3 1224979098644774915 0 1 728 2 1224979098644774916 0 728 2 1224979098644774917 1 2121 3 1224979098644774918 1224979098644774917 1224979098644774916 4 0 2147483680 2 1224979098644774918 0 2107 2 1224979098644774918 -1 3 0 2122 3 1224979098644774919 1224979098644774918 3 2105 2 1224979098644774915 1224979098644774919 2136 3 1224979098644774920 0 200 2120 3 1224979098644774921 400 1224979098644774920 2147483680 2 1224979098644774915 1224979098644774921 1 1 936748722493063698 2133 2 144115188075856254 2 3 0 
3.000000 0.000000 100000000.000000  5 2147483690 0 31 2 144115188075856054 14 32 2 144115188075855932 0 3221227174 1 144115188075855932 1703 1 144115188075855932  8 1935 0 12 1 1224979098644774912 1702 1 1224979098644774912 1710 2 4 1224979098644774912 1730 2 1224979098644774912 4 3 0 521 3 1224979098644774913 144115188075856236 20 1920 1 1224979098644774913 
3.000000 0.000000 100000000.000000  4 2147483690 0 31 2 144115188075856054 14 32 2 144115188075855932 0 1006 0  2 2060 1 864691128455135457 1907 1 0 
1.000000 0.000000 0.000000  13 2147483690 0 31 2 144115188075856054 14 32 2 144115188075855932 0 1700 1 1224979098644774912 1702 1 1224979098644774912 1726 3 1224979098644774913 1224979098644774912 0 33 3 1224979098644774913 288230376151712302 288230376151712343 2147483679 2 1224979098644774913 288230376151712305 2147483679 2 1224979098644774913 288230376151712307 2147483679 2 1224979098644774913 288230376151712309 2147483679 2 1224979098644774913 288230376151712319 2147483679 2 1224979098644774913 288230376151712321 2147483679 2 1224979098644774913 288230376151712323  2 521 3 1224979098644774912 144115188075856236 20 1920 1 1224979098644774912 
1.000000 0.000000 0.000000  1 32 2 144115188075855932 0  3 1726 3 1224979098644774912 144115188075855932 0 2111 2 144115188075856256 1224979098644774912 1 1 936748722493063702 
0.000000 0.000000 0.000000  0  40 1700 1 1224979098644774912 1709 2 1 1224979098644774912 4 0 1702 1 1224979098644774912 2076 4 2 1224979098644774912 9 1 719 2 1 2 3 0 4 0 31 2 144115188075856257 0 2001 1 0 5 0 31 2 144115188075856257 1 722 2 1 300 721 2 1 -600 5 0 31 2 144115188075856257 2 722 2 1 600 721 2 1 -1200 5 0 31 2 144115188075856257 3 722 2 1 2500 721 2 1 -400 723 2 1 -45 3 0 2011 1 1 4 0 71 1 144115188075856794 2105 2 144115188075856257 1 2109 2 144115188075856257 4 2147483679 2 144115188075856257 0 2001 1 1 3 0 4 0 1073741897 1 20 1073741897 1 19 1073741897 1 21 2147485350 1 1224979098644774912 2001 1 0 2133 2 144115188075856257 0 3 0 
-19.000000 0.000000 0.000000  0  1 1 1 936748722493063762 
0.000000 0.000000 0.000000  0  17 31 2 144115188075856808 1 1700 1 1224979098644774912 1714 2 1224979098644774913 1224979098644774912 30 2 1224979098644774913 0 525 3 1224979098644774914 1224979098644774913 36 1720 2 1224979098644774915 1224979098644774913 2110 2 1224979098644774914 1224979098644774915 505 3 1224979098644774913 36 1224979098644774914 71 1 56 4 0 545 3 1224979098644774913 37 1 505 3 1224979098644774913 37 0 5 0 545 3 1224979098644774913 37 0 30 2 1224979098644774914 12 505 3 1224979098644774913 37 1 3 0 
1.000000 0.000000 0.000000  0  91 1700 1 1224979098644774912 2370 1 1224979098644774913 2119 3 1224979098644774914 1224979098644774913 6 12 1 1224979098644774915 1702 1 1224979098644774915 2147485352 1 1224979098644774915 1715 2 1224979098644774916 1224979098644774915 525 3 1224979098644774917 1224979098644774915 36 1720 2 1224979098644774918 1224979098644774915 2110 2 1224979098644774917 1224979098644774918 505 3 1224979098644774915 36 1224979098644774917 4 0 2147483680 2 1224979098644774916 -1 505 3 1224979098644774915 37 0 5 0 2147483679 2 1224979098644774916 1224979098644774912 31 2 144115188075856807 1 545 3 1224979098644774915 37 0 1720 2 1224979098644774918 1224979098644774915 2123 3 1224979098644774919 1224979098644774918 2 2136 3 1224979098644774920 1224979098644774919 1224979098644774918 30 2 1224979098644774917 1224979098644774920 30 2 1224979098644774917 12 505 3 1224979098644774915 37 1 3 0 2133 2 1224979098644774921 0 4 0 545 3 1224979098644774915 37 0 2105 2 1224979098644774917 4 4 0 2147483680 2 1224979098644774916 -1 2105 2 1224979098644774917 4 3 0 2110 2 1224979098644774917 1224979098644774918 505 3 1224979098644774915 36 1224979098644774917 5 0 545 3 1224979098644774915 37 1 1718 2 1224979098644774922 1224979098644774916 2170 3 1224979098644774923 24 1224979098644774922 2120 3 1224979098644774921 1224979098644774923 5 2107 2 1224979098644774921 1224979098644774921 2108 2 1224979098644774921 4 2106 2 1224979098644774917 12 2111 2 1224979098644774917 0 505 3 1224979098644774915 36 1224979098644774917 4 0 2147483680 2 1224979098644774917 0 505 3 1224979098644774915 37 0 3 0 3 0 4 0 32 2 1224979098644774916 -1 2121 3 1224979098644774924 100 1224979098644774918 4 0 31 2 144115188075856996 0 2133 2 1224979098644774925 100 5 0 2147483680 2 1224979098644774924 20 2108 2 1224979098644774924 2 2120 3 1224979098644774925 100 1224979098644774924 5 0 2108 2 1224979098644774924 2 2121 3 1224979098644774925 120 1224979098644774924 3 0 2105 2 1224979098644774921 100 2107 2 1224979098644774925 1224979098644774921 2108 2 1224979098644774925 100 1734 2 1224979098644774916 1224979098644774925 4 0 2147483679 2 1224979098644774916 1224979098644774912 1726 3 1224979098644774926 1224979098644774916 0 32 2 1224979098644774926 -1 1570 2 1224979098644774927 1224979098644774926 1073741857 3 1224979098644774927 8 11 33 3 1224979098644774927 16 18 1763 2 1224979098644774928 1224979098644774916 4 0 2147483678 2 1224979098644774914 4 31 2 1224979098644774928 1 2067 2 1224979098644774929 1224979098644774915 2108 2 1224979098644774929 3 2093 2 1224979098644774915 1224979098644774929 1734 2 1224979098644774916 1224979098644774929 505 3 1224979098644774915 37 0 5 0 2093 2 1224979098644774915 100 1734 2 1224979098644774916 100 3 0 3 0 3 0 3 0 
1.000000 0.000000 0.000000  0  132 1700 1 1224979098644774912 12 1 1224979098644774913 1702 1 1224979098644774913 1704 1 1224979098644774913 1718 2 1224979098644774914 1224979098644774913 2147483679 2 1224979098644774913 1224979098644774912 1770 2 1224979098644774915 1224979098644774913 1773 2 1224979098644774916 1224979098644774913 1787 3 1224979098644774917 1224979098644774915 1224979098644774916 31 2 1224979098644774917 0 4 0 1726 3 1224979098644774918 1224979098644774913 0 33 3 1224979098644774918 288230376151712186 288230376151712192 1714 2 1224979098644774919 1224979098644774913 1570 2 1224979098644774920 1224979098644774918 4 0 30 2 1224979098644774919 0 31 2 1224979098644774920 4 2120 3 1224979098644774921 1224979098644774918 1 1774 2 1224979098644774913 1224979098644774918 1779 2 1224979098644774913 1224979098644774921 5 0 2147483678 2 1224979098644774919 0 31 2 1224979098644774920 3 2121 3 1224979098644774921 1224979098644774918 1 1774 2 1224979098644774913 1224979098644774918 1779 2 1224979098644774913 1224979098644774921 3 0 3 0 1727 2 1224979098644774922 1224979098644774913 2170 3 1224979098644774923 1369094286720630807 1224979098644774914 4 0 32 2 1224979098644774922 0 2133 2 1224979098644774924 0 1726 3 1224979098644774918 1224979098644774913 0 1714 2 1224979098644774919 1224979098644774913 4 0 30 2 1224979098644774919 0 2124 1 10 1689 2 1 1224979098644774913 727 2 1224979098644774925 1 4 0 30 2 1224979098644774925 80 32 2 1224979098644774923 0 2133 2 1224979098644774924 1 5 0 2147483680 2 1224979098644774925 40 1 3 936748722493063788 1224979098644774913 200 2133 2 1224979098644774926 72057594037927936 30 2 1224979098644774926 1 2133 2 1224979098644774924 -1 3 0 3 0 4 0 31 2 1224979098644774924 -1 4 0 32 2 1224979098644774918 0 33 3 1224979098644774918 288230376151712302 288230376151712343 6 3 1224979098644774927 0 4 1804 3 1224979098644774928 1224979098644774913 1224979098644774927 32 2 1224979098644774928 0 1570 2 1224979098644774929 1224979098644774928 2147483679 2 1224979098644774929 7 2147483681 3 1224979098644774928 288230376151712302 288230376151712343 1747 2 1224979098644774913 1224979098644774928 3 0 3 0 5 0 31 2 1224979098644774924 1 4 0 32 2 1224979098644774918 0 2147483681 3 1224979098644774918 288230376151712302 288230376151712343 6 3 1224979098644774927 0 4 1804 3 1224979098644774928 1224979098644774913 1224979098644774927 32 2 1224979098644774928 0 33 3 1224979098644774928 288230376151712302 288230376151712343 2147483681 3 1224979098644774928 288230376151712339 288230376151712342 1747 2 1224979098644774913 1224979098644774928 3 0 3 0 3 0 5 0 2133 2 1224979098644774930 0 1726 3 1224979098644774918 1224979098644774913 0 1714 2 1224979098644774919 1224979098644774913 4 0 30 2 1224979098644774919 0 2124 1 10 1689 2 1 1224979098644774913 727 2 1224979098644774925 1 4 0 30 2 1224979098644774925 80 2133 2 1224979098644774930 1 5 0 2147483680 2 1224979098644774925 40 1 3 936748722493063788 1224979098644774913 200 2133 2 1224979098644774926 72057594037927936 30 2 1224979098644774926 1 2133 2 1224979098644774930 -1 3 0 5 0 2133 2 1224979098644774930 -1 3 0 4 0 31 2 1224979098644774930 -1 4 0 32 2 1224979098644774918 0 2723 2 1224979098644774918 2147483648 6 3 1224979098644774927 0 4 1804 3 1224979098644774928 1224979098644774913 1224979098644774927 32 2 1224979098644774928 0 1570 2 1224979098644774929 1224979098644774928 2147483679 2 1224979098644774929 7 2147486371 2 1224979098644774928 2147483648 1747 2 1224979098644774913 1224979098644774928 3 0 3 0 5 0 31 2 1224979098644774930 1 4 0 32 2 1224979098644774918 0 2147486371 2 1224979098644774918 2147483648 6 3 1224979098644774927 0 4 1804 3 1224979098644774928 1224979098644774913 1224979098644774927 32 2 1224979098644774928 0 2723 2 1224979098644774928 2147483648 1747 2 1224979098644774913 1224979098644774928 3 0 3 0 3 0 3 0 3 0 
3.000000 0.000000 0.000000  0  74 12 1 1224979098644774912 545 3 1224979098644774912 28 0 505 3 1224979098644774912 28 1 1702 1 1224979098644774912 1704 1 1224979098644774912 1718 2 1224979098644774913 1224979098644774912 2147485155 1 1224979098644774913 2133 2 1224979098644774914 -1 2133 2 1224979098644774915 0 6 3 1224979098644774916 0 4 1804 3 1224979098644774917 1224979098644774912 1224979098644774916 4 0 31 2 1224979098644774917 -1 2105 2 1224979098644774915 1 5 0 32 2 1224979098644774917 0 1570 2 1224979098644774918 1224979098644774917 1073741855 2 1224979098644774918 5 1073741855 2 1224979098644774918 6 31 2 1224979098644774918 18 2133 2 1224979098644774914 1224979098644774918 3 0 3 0 32 2 1224979098644774914 -1 4 0 31 2 1224979098644774914 5 2133 2 1224979098644774919 -1 2133 2 1224979098644774920 4 6 3 1224979098644774916 0 1224979098644774920 1804 3 1224979098644774917 1224979098644774912 1224979098644774916 32 2 1224979098644774917 0 1570 2 1224979098644774918 1224979098644774917 1073741855 2 1224979098644774918 2 31 2 1224979098644774918 3 2133 2 1224979098644774919 1224979098644774916 2133 2 1224979098644774920 0 3 0 32 2 1224979098644774919 -1 2133 2 1224979098644774920 4 6 3 1224979098644774916 0 1224979098644774920 2147483679 2 1224979098644774916 1224979098644774919 1804 3 1224979098644774917 1224979098644774912 1224979098644774916 32 2 1224979098644774917 0 1570 2 1224979098644774918 1224979098644774917 1073741855 2 1224979098644774918 2 1073741855 2 1224979098644774918 3 1073741855 2 1224979098644774918 4 31 2 1224979098644774918 7 1774 2 1224979098644774912 1224979098644774917 2105 2 1224979098644774915 1 2133 2 1224979098644774920 0 3 0 3 0 32 2 1224979098644774915 0 1540 2 1224979098644774921 1224979098644774913 2133 2 1224979098644774920 1224979098644774921 6 3 1224979098644774922 10 1224979098644774920 1541 3 1224979098644774923 1224979098644774913 1224979098644774922 32 2 1224979098644774923 -1 1570 2 1224979098644774924 1224979098644774923 31 2 1224979098644774924 1224979098644774914 1542 3 1224979098644774925 1224979098644774913 1224979098644774922 2133 2 1224979098644774926 4 6 3 1224979098644774916 0 1224979098644774926 1804 3 1224979098644774917 1224979098644774912 1224979098644774916 31 2 1224979098644774917 -1 1779 4 1224979098644774912 1224979098644774923 1224979098644774916 1224979098644774925 2106 2 1224979098644774915 1 2133 2 1224979098644774926 0 3 0 31 2 1224979098644774915 0 2133 2 1224979098644774920 0 3 0 3 0 
1.000000 0.000000 0.000000  0  28 12 1 1224979098644774912 1704 1 1224979098644774912 1702 1 1224979098644774912 2133 2 1224979098644774913 100 2133 2 1224979098644774914 100 1726 3 1224979098644774915 1224979098644774912 0 4 0 32 2 1224979098644774915 -1 1570 2 1224979098644774916 1224979098644774915 1718 2 1224979098644774917 1224979098644774912 1716 2 1224979098644774918 1224979098644774912 4 0 31 2 1224979098644774916 9 2176 3 1224979098644774919 1224979098644774917 4 2122 3 1224979098644774914 1224979098644774919 15 2108 2 1224979098644774914 100 2105 2 1224979098644774914 85 3 0 4 0 1507 1 1224979098644774917 32 2 1224979098644774918 648518346341351424 2107 2 1224979098644774913 2 2107 2 1224979098644774914 2 3 0 3 0 2091 2 1224979098644774912 1224979098644774913 2099 2 1224979098644774912 1224979098644774914 3 0 
-28.000000 0.000000 0.000000  0  35 2070 2 1224979098644774912 1 2070 2 1224979098644774913 3 4 0 2133 2 1224979098644774914 1224979098644774913 32 2 1224979098644774914 0 4 0 2147485352 1 1224979098644774912 1715 2 1224979098644774915 1224979098644774912 5 0 2133 2 1224979098644774915 1224979098644774912 3 0 4 0 32 2 1224979098644774915 -1 1718 2 1224979098644774916 1224979098644774915 1714 2 1224979098644774917 1224979098644774915 4 0 32 2 1224979098644774917 -1 2170 3 1224979098644774918 1369094286720630808 1224979098644774916 5 0 2170 3 1224979098644774918 1369094286720630809 1224979098644774916 3 0 2122 3 1224979098644774919 1224979098644774918 4 2107 2 1224979098644774919 1224979098644774914 2108 2 1224979098644774919 100 2106 2 1224979098644774914 1224979098644774919 4 0 1507 1 1224979098644774916 1716 2 1224979098644774920 1224979098644774915 32 2 1224979098644774920 648518346341351424 2108 2 1224979098644774914 2 3 0 3 0 3 0 2111 2 1224979098644774914 0 2075 1 1224979098644774914 

修改后:
missionsfile version 1
52
mst_town_default town_default 0  -1
Default_town_visit 

32 0 4100 256 0 1 5  181 180 25 572 573 
1 4100 256 0 1 0  
2 4100 256 0 1 0  
3 4100 256 0 1 0  
4 4100 256 0 1 0  
5 4100 256 0 1 0  
6 4100 256 0 1 0  
7 4100 256 0 1 0  
8 4 256 0 1 0  
9 4 256 0 1 0  
10 4 256 0 1 0  
11 4 256 0 1 0  
12 4 256 0 1 0  
13 4 0 0 1 0  
14 4 0 0 1 0  
15 4 0 0 1 0  
16 16 256 0 1 0  
17 16 256 0 1 0  
18 16 256 0 1 0  
19 16 256 0 1 0  
20 16 256 0 1 0  
21 16 256 0 1 0  
22 16 256 0 1 0  
23 16 256 0 1 0  
24 16 256 0 1 0  
25 16 256 0 1 0  
26 16 256 0 1 0  
27 16 256 0 1 0  
28 16 256 0 1 0  
29 16 256 0 1 0  
30 16 256 0 1 0  
31 16 256 0 1 0  
20=(19+1)
0.500000 0.000000 0.000000  0  258 2124 1 1000 12 1 1224979098644774912 1702 1 1224979098644774912 1704 1 1224979098644774912 1707 1 1224979098644774912 2147484193 3 1224979098644774912 1003 1 1714 2 1224979098644774913 1224979098644774912 2133 2 1224979098644774914 -1 4 0 545 3 1224979098644774912 15 0 32 2 1224979098644774913 -1 1770 2 1224979098644774915 1224979098644774912 1773 2 1224979098644774916 1224979098644774912 1787 3 1224979098644774917 1224979098644774915 1224979098644774916 1785 3 1224979098644774918 1224979098644774915 1224979098644774916 1784 3 1224979098644774919 1224979098644774915 1224979098644774916 2133 2 1224979098644774920 0 2133 2 1224979098644774921 -1 6 3 1224979098644774922 0 4 1804 3 1224979098644774923 1224979098644774912 1224979098644774922 32 2 1224979098644774923 0 1570 2 1224979098644774924 1224979098644774923 4 0 31 2 1224979098644774924 10 1825 3 1224979098644774925 1224979098644774912 1224979098644774922 2105 2 1224979098644774920 1224979098644774925 5 0 1073741855 2 1224979098644774924 8 1073741855 2 1224979098644774924 16 31 2 1224979098644774924 17 2133 2 1224979098644774921 1224979098644774923 5 0 1073741855 2 1224979098644774924 2 1073741855 2 1224979098644774924 3 31 2 1224979098644774924 4 2133 2 1224979098644774914 1224979098644774923 3 0 3 0 32 2 1224979098644774921 -1 2147486371 2 1224979098644774921 1048576 2147486371 2 1224979098644774921 268435456 1727 3 1224979098644774926 1224979098644774912 0 2106 2 1224979098644774926 1224979098644774920 32 2 1224979098644774926 0 505 3 1224979098644774912 1003 2 2147483679 2 1224979098644774919 1 2147483679 2 1224979098644774917 2 31 2 1224979098644774918 2 1710 2 50 1224979098644774912 1689 2 31 1224979098644774912 727 2 1224979098644774927 31 2133 2 1224979098644774928 100000 2133 2 1224979098644774929 -1 12 1 1224979098644774930 1702 1 1224979098644774930 1704 1 1224979098644774930 1710 2 36 1224979098644774930 1770 2 1224979098644774931 1224979098644774930 1788 2 1224979098644774915 1224979098644774931 710 3 1224979098644774932 50 36 4 0 545 3 1224979098644774930 15 1 2105 2 1224979098644774932 10000 3 0 4 0 1714 2 1224979098644774933 1224979098644774930 32 2 1224979098644774933 -1 1689 2 32 1224979098644774930 727 2 1224979098644774934 32 2106 2 1224979098644774934 1224979098644774927 2123 3 1224979098644774935 1224979098644774934 5 2111 2 1224979098644774935 0 2105 2 1224979098644774935 500 2106 2 1224979098644774932 1224979098644774935 5 0 1726 3 1224979098644774936 1224979098644774930 1 2147483680 2 1224979098644774936 1 2106 2 1224979098644774932 500 3 0 2147483678 2 1224979098644774932 1224979098644774928 2133 2 1224979098644774928 1224979098644774932 2133 2 1224979098644774929 1224979098644774930 3 0 2147483679 2 1224979098644774929 -1 1710 2 51 1224979098644774929 710 3 1224979098644774937 50 51 4 0 545 3 1224979098644774929 15 0 32 2 1224979098644774937 200 1747 2 1224979098644774912 1224979098644774921 5 0 2147483680 2 1224979098644774937 200 32 2 1224979098644774914 -1 1747 2 1224979098644774912 1224979098644774914 3 0 2133 2 1224979098644774938 1000 4 0 1726 3 1224979098644774936 1224979098644774912 0 32 2 1224979098644774936 0 1570 2 1224979098644774939 1224979098644774936 1073741855 2 1224979098644774939 8 1073741855 2 1224979098644774939 16 31 2 1224979098644774939 17 2076 4 53 1224979098644774912 8 1 2076 4 54 1224979098644774929 9 1 707 2 53 54 1713 2 1224979098644774912 1224979098644774929 4 0 2133 2 1224979098644774940 4000 1763 2 1224979098644774941 1224979098644774912 31 2 1224979098644774941 1 4 0 32 2 1224979098644774928 700 2147483680 2 1224979098644774928 1224979098644774940 2123 3 1224979098644774938 1224979098644774927 2000 2111 2 1224979098644774938 0 3 0 31 2 1224979098644774939 8 4 0 2147483680 2 1224979098644774937 1224979098644774940 1746 3 1224979098644774912 -2 1 1745 3 1224979098644774912 3 0 5 0 32 2 1224979098644774937 1224979098644774940 1745 3 1224979098644774912 -2 1 1746 3 1224979098644774912 3 1 3 0 5 0 31 2 1224979098644774939 8 2147483680 2 1224979098644774937 1224979098644774940 1739 2 1224979098644774942 1224979098644774912 2147483679 2 1224979098644774942 8 1745 3 1224979098644774912 3 1 3 0 3 0 1736 2 1224979098644774912 1224979098644774938 4 0 545 3 1224979098644774929 15 0 2147483678 2 1224979098644774928 10000 4 0 1799 2 2 3 717 3 4 2 50 726 2 1224979098644774943 4 727 2 1224979098644774944 4 717 3 4 2 3 726 2 1224979098644774945 4 727 2 1224979098644774946 4 2121 3 1224979098644774947 1224979098644774945 1224979098644774943 2121 3 1224979098644774948 1224979098644774946 1224979098644774944 717 3 4 50 51 726 2 1224979098644774949 4 727 2 1224979098644774950 4 2133 2 1224979098644774951 0 4 0 2147483680 2 1224979098644774928 1000 2133 2 1224979098644774951 -78000 5 0 32 2 1224979098644774928 2000 2121 3 1224979098644774951 1224979098644774928 0 2107 2 1224979098644774951 5 2112 3 1224979098644774951 35000 90000 3 0 2133 2 1224979098644774952 30000 2110 2 1224979098644774952 1224979098644774943 2110 2 1224979098644774952 1224979098644774948 2110 2 1224979098644774952 1224979098644774947 2110 2 1224979098644774952 1224979098644774944 4 0 2147483678 2 1224979098644774952 30000 545 3 1224979098644774929 15 0 2123 3 1224979098644774953 1224979098644774945 20 2123 3 1224979098644774954 1224979098644774946 20 719 2 4 2 720 3 4 1224979098644774953 1 721 3 4 1224979098644774954 1 710 3 1224979098644774955 4 50 717 3 4 50 4 726 2 1224979098644774953 4 727 2 1224979098644774954 4 2107 2 1224979098644774953 100 2107 2 1224979098644774954 100 2107 2 1224979098644774949 100 2107 2 1224979098644774950 100 2123 3 1224979098644774956 1224979098644774953 1224979098644774955 2123 3 1224979098644774957 1224979098644774954 1224979098644774955 2123 3 1224979098644774958 1224979098644774949 1224979098644774937 2123 3 1224979098644774959 1224979098644774950 1224979098644774937 2141 2 1224979098644774960 1224979098644774956 2140 2 1224979098644774961 1224979098644774957 2141 2 1224979098644774962 1224979098644774958 2140 2 1224979098644774963 1224979098644774959 4 0 2147483678 2 1224979098644774961 0 2107 2 1224979098644774960 -1 2105 2 1224979098644774960 360000 3 0 4 0 2147483678 2 1224979098644774963 0 2107 2 1224979098644774962 -1 2105 2 1224979098644774962 360000 3 0 2121 3 1224979098644774964 1224979098644774960 1224979098644774962 2106 2 1224979098644774964 270000 2106 2 1224979098644774964 1224979098644774951 2120 3 1224979098644774951 1224979098644774964 1224979098644774951 4 0 2147483678 2 1224979098644774960 1224979098644774962 2105 2 1224979098644774951 360000 3 0 2112 3 1224979098644774951 -210000 15000 1745 3 1224979098644774912 -2 1 1746 3 1224979098644774912 3 1 3 0 4 0 1073741855 2 1224979098644774939 16 31 2 1224979098644774939 17 2107 2 1224979098644774951 -1 2105 2 1224979098644774951 180000 3 0 2128 2 1224979098644774965 1224979098644774951 2127 2 1224979098644774966 1224979098644774951 2122 3 1224979098644774967 1224979098644774965 1224979098644774950 2122 3 1224979098644774968 1224979098644774966 1224979098644774949 2122 3 1224979098644774969 1224979098644774966 1224979098644774950 2122 3 1224979098644774970 1224979098644774965 1224979098644774949 2120 3 1224979098644774971 1224979098644774967 1224979098644774968 2121 3 1224979098644774972 1224979098644774969 1224979098644774970 720 3 50 1224979098644774971 0 721 3 50 1224979098644774972 0 3 0 1730 3 1224979098644774912 50 1 5 0 1735 1 1224979098644774912 1732 1 1224979098644774912 3 0 5 0 4 0 545 3 1224979098644774912 1003 0 505 3 1224979098644774912 1003 1 5 0 545 3 1224979098644774912 1003 2 1073742369 3 1224979098644774912 15 1 3221225502 2 1224979098644774913 0 1073741855 2 1224979098644774926 0 1073741855 2 1224979098644774919 1 1073741855 2 1224979098644774917 2 2147483679 2 1224979098644774918 2 1735 1 1224979098644774912 1736 2 1224979098644774912 100 1732 1 1224979098644774912 505 3 1224979098644774912 1003 3 1073741855 2 1224979098644774919 1 31 2 1224979098644774926 0 32 2 1224979098644774914 -1 1747 2 1224979098644774912 1224979098644774914 3 0 3 0 3 0  
1.000000 0.000000 100000000.000000  0  11 2211 1 1224979098644774912 503 3 1224979098644774912 0 1 4 0 31 2 144115188075856176 1 1 2 936748722493063650 16384 5 0 31 2 144115188075856054 14 1 2 936748722493063650 512 5 0 1 2 936748722493063650 8192 3 0 
-19.000000 0.000000 0.000000  0  2 1 1 936748722493063507 1 1 936748722493063725 
-22.000000 0.000000 0.000000  1 2075 1 1  0 
1.000000 0.000000 0.000000  5 32 2 144115188075855934 0 1780 2 0 0 1710 2 1 144115188075855934 710 3 1224979098644774912 0 1 2147483680 2 1224979098644774912 150  2 1749 1 144115188075855934 2133 2 144115188075855934 0 
-21.000000 0.000000 0.000000  4 4 0 31 2 144115188075855932 0 2075 1 1 3 0  0 
2.000000 0.000000 0.000000  5 2147483690 0 31 2 144115188075856054 14 2147484188 3 360287970189640707 12 144115188075856236 540 3 360287970189640706 12 144115188075856236 31 2 144115188075855933 0  32 4 0 31 2 144115188075856252 0 2133 2 144115188075856252 1 12 1 1224979098644774912 1718 2 1224979098644774913 1224979098644774912 31 2 1224979098644774913 360287970189640706 2133 2 144115188075856253 1224979098644774912 3 0 5 0 31 2 144115188075856252 1 1712 1 144115188075856253 1702 1 144115188075856253 1700 1 1224979098644774914 1710 2 0 1224979098644774914 1710 2 1 144115188075856253 710 3 1224979098644774915 0 1 728 2 1224979098644774916 0 728 2 1224979098644774917 1 2121 3 1224979098644774918 1224979098644774917 1224979098644774916 4 0 2147483680 2 1224979098644774918 0 2107 2 1224979098644774918 -1 3 0 2122 3 1224979098644774919 1224979098644774918 3 2105 2 1224979098644774915 1224979098644774919 2136 3 1224979098644774920 0 200 2120 3 1224979098644774921 400 1224979098644774920 2147483680 2 1224979098644774915 1224979098644774921 1 1 936748722493063698 1920 1 360287970189640706 2133 2 144115188075856252 2 3 0 
2.000000 0.000000 0.000000  3 2147483690 0 31 2 144115188075856054 14 540 3 360287970189640707 12 144115188075856236  31 4 0 31 2 144115188075856254 0 2133 2 144115188075856254 1 12 1 1224979098644774912 1718 2 1224979098644774913 1224979098644774912 31 2 1224979098644774913 360287970189640707 2133 2 144115188075856255 1224979098644774912 3 0 5 0 31 2 144115188075856254 1 1712 1 144115188075856255 1702 1 144115188075856255 1700 1 1224979098644774914 1710 2 0 1224979098644774914 1710 2 1 144115188075856255 710 3 1224979098644774915 0 1 728 2 1224979098644774916 0 728 2 1224979098644774917 1 2121 3 1224979098644774918 1224979098644774917 1224979098644774916 4 0 2147483680 2 1224979098644774918 0 2107 2 1224979098644774918 -1 3 0 2122 3 1224979098644774919 1224979098644774918 3 2105 2 1224979098644774915 1224979098644774919 2136 3 1224979098644774920 0 200 2120 3 1224979098644774921 400 1224979098644774920 2147483680 2 1224979098644774915 1224979098644774921 1 1 936748722493063698 2133 2 144115188075856254 2 3 0 
3.000000 0.000000 100000000.000000  5 2147483690 0 31 2 144115188075856054 14 32 2 144115188075855932 0 3221227174 1 144115188075855932 1703 1 144115188075855932  8 1935 0 12 1 1224979098644774912 1702 1 1224979098644774912 1710 2 4 1224979098644774912 1730 2 1224979098644774912 4 3 0 521 3 1224979098644774913 144115188075856236 20 1920 1 1224979098644774913 
3.000000 0.000000 100000000.000000  4 2147483690 0 31 2 144115188075856054 14 32 2 144115188075855932 0 1006 0  2 2060 1 864691128455135457 1907 1 0 
1.000000 0.000000 0.000000  13 2147483690 0 31 2 144115188075856054 14 32 2 144115188075855932 0 1700 1 1224979098644774912 1702 1 1224979098644774912 1726 3 1224979098644774913 1224979098644774912 0 33 3 1224979098644774913 288230376151712302 288230376151712343 2147483679 2 1224979098644774913 288230376151712305 2147483679 2 1224979098644774913 288230376151712307 2147483679 2 1224979098644774913 288230376151712309 2147483679 2 1224979098644774913 288230376151712319 2147483679 2 1224979098644774913 288230376151712321 2147483679 2 1224979098644774913 288230376151712323  2 521 3 1224979098644774912 144115188075856236 20 1920 1 1224979098644774912 
1.000000 0.000000 0.000000  1 32 2 144115188075855932 0  3 1726 3 1224979098644774912 144115188075855932 0 2111 2 144115188075856256 1224979098644774912 1 1 936748722493063702 
0.000000 0.000000 0.000000  0  40 1700 1 1224979098644774912 1709 2 1 1224979098644774912 4 0 1702 1 1224979098644774912 2076 4 2 1224979098644774912 9 1 719 2 1 2 3 0 4 0 31 2 144115188075856257 0 2001 1 0 5 0 31 2 144115188075856257 1 722 2 1 300 721 2 1 -600 5 0 31 2 144115188075856257 2 722 2 1 600 721 2 1 -1200 5 0 31 2 144115188075856257 3 722 2 1 2500 721 2 1 -400 723 2 1 -45 3 0 2011 1 1 4 0 71 1 144115188075856794 2105 2 144115188075856257 1 2109 2 144115188075856257 4 2147483679 2 144115188075856257 0 2001 1 1 3 0 4 0 1073741897 1 20 1073741897 1 19 1073741897 1 21 2147485350 1 1224979098644774912 2001 1 0 2133 2 144115188075856257 0 3 0 
-19.000000 0.000000 0.000000  0  1 1 1 936748722493063762 
0.000000 0.000000 0.000000  0  17 31 2 144115188075856808 1 1700 1 1224979098644774912 1714 2 1224979098644774913 1224979098644774912 30 2 1224979098644774913 0 525 3 1224979098644774914 1224979098644774913 36 1720 2 1224979098644774915 1224979098644774913 2110 2 1224979098644774914 1224979098644774915 505 3 1224979098644774913 36 1224979098644774914 71 1 56 4 0 545 3 1224979098644774913 37 1 505 3 1224979098644774913 37 0 5 0 545 3 1224979098644774913 37 0 30 2 1224979098644774914 12 505 3 1224979098644774913 37 1 3 0 
1.000000 0.000000 0.000000  0  91 1700 1 1224979098644774912 2370 1 1224979098644774913 2119 3 1224979098644774914 1224979098644774913 6 12 1 1224979098644774915 1702 1 1224979098644774915 2147485352 1 1224979098644774915 1715 2 1224979098644774916 1224979098644774915 525 3 1224979098644774917 1224979098644774915 36 1720 2 1224979098644774918 1224979098644774915 2110 2 1224979098644774917 1224979098644774918 505 3 1224979098644774915 36 1224979098644774917 4 0 2147483680 2 1224979098644774916 -1 505 3 1224979098644774915 37 0 5 0 2147483679 2 1224979098644774916 1224979098644774912 31 2 144115188075856807 1 545 3 1224979098644774915 37 0 1720 2 1224979098644774918 1224979098644774915 2123 3 1224979098644774919 1224979098644774918 2 2136 3 1224979098644774920 1224979098644774919 1224979098644774918 30 2 1224979098644774917 1224979098644774920 30 2 1224979098644774917 12 505 3 1224979098644774915 37 1 3 0 2133 2 1224979098644774921 0 4 0 545 3 1224979098644774915 37 0 2105 2 1224979098644774917 4 4 0 2147483680 2 1224979098644774916 -1 2105 2 1224979098644774917 4 3 0 2110 2 1224979098644774917 1224979098644774918 505 3 1224979098644774915 36 1224979098644774917 5 0 545 3 1224979098644774915 37 1 1718 2 1224979098644774922 1224979098644774916 2170 3 1224979098644774923 24 1224979098644774922 2120 3 1224979098644774921 1224979098644774923 5 2107 2 1224979098644774921 1224979098644774921 2108 2 1224979098644774921 4 2106 2 1224979098644774917 12 2111 2 1224979098644774917 0 505 3 1224979098644774915 36 1224979098644774917 4 0 2147483680 2 1224979098644774917 0 505 3 1224979098644774915 37 0 3 0 3 0 4 0 32 2 1224979098644774916 -1 2121 3 1224979098644774924 100 1224979098644774918 4 0 31 2 144115188075856996 0 2133 2 1224979098644774925 100 5 0 2147483680 2 1224979098644774924 20 2108 2 1224979098644774924 2 2120 3 1224979098644774925 100 1224979098644774924 5 0 2108 2 1224979098644774924 2 2121 3 1224979098644774925 120 1224979098644774924 3 0 2105 2 1224979098644774921 100 2107 2 1224979098644774925 1224979098644774921 2108 2 1224979098644774925 100 1734 2 1224979098644774916 1224979098644774925 4 0 2147483679 2 1224979098644774916 1224979098644774912 1726 3 1224979098644774926 1224979098644774916 0 32 2 1224979098644774926 -1 1570 2 1224979098644774927 1224979098644774926 1073741857 3 1224979098644774927 8 11 33 3 1224979098644774927 16 18 1763 2 1224979098644774928 1224979098644774916 4 0 2147483678 2 1224979098644774914 4 31 2 1224979098644774928 1 2067 2 1224979098644774929 1224979098644774915 2108 2 1224979098644774929 3 2093 2 1224979098644774915 1224979098644774929 1734 2 1224979098644774916 1224979098644774929 505 3 1224979098644774915 37 0 5 0 2093 2 1224979098644774915 100 1734 2 1224979098644774916 100 3 0 3 0 3 0 3 0 
1.000000 0.000000 0.000000  0  132 1700 1 1224979098644774912 12 1 1224979098644774913 1702 1 1224979098644774913 1704 1 1224979098644774913 1718 2 1224979098644774914 1224979098644774913 2147483679 2 1224979098644774913 1224979098644774912 1770 2 1224979098644774915 1224979098644774913 1773 2 1224979098644774916 1224979098644774913 1787 3 1224979098644774917 1224979098644774915 1224979098644774916 31 2 1224979098644774917 0 4 0 1726 3 1224979098644774918 1224979098644774913 0 33 3 1224979098644774918 288230376151712186 288230376151712192 1714 2 1224979098644774919 1224979098644774913 1570 2 1224979098644774920 1224979098644774918 4 0 30 2 1224979098644774919 0 31 2 1224979098644774920 4 2120 3 1224979098644774921 1224979098644774918 1 1774 2 1224979098644774913 1224979098644774918 1779 2 1224979098644774913 1224979098644774921 5 0 2147483678 2 1224979098644774919 0 31 2 1224979098644774920 3 2121 3 1224979098644774921 1224979098644774918 1 1774 2 1224979098644774913 1224979098644774918 1779 2 1224979098644774913 1224979098644774921 3 0 3 0 1727 2 1224979098644774922 1224979098644774913 2170 3 1224979098644774923 1369094286720630807 1224979098644774914 4 0 32 2 1224979098644774922 0 2133 2 1224979098644774924 0 1726 3 1224979098644774918 1224979098644774913 0 1714 2 1224979098644774919 1224979098644774913 4 0 30 2 1224979098644774919 0 2124 1 10 1689 2 1 1224979098644774913 727 2 1224979098644774925 1 4 0 30 2 1224979098644774925 80 32 2 1224979098644774923 0 2133 2 1224979098644774924 1 5 0 2147483680 2 1224979098644774925 40 1 3 936748722493063788 1224979098644774913 200 2133 2 1224979098644774926 72057594037927936 30 2 1224979098644774926 1 2133 2 1224979098644774924 -1 3 0 3 0 4 0 31 2 1224979098644774924 -1 4 0 32 2 1224979098644774918 0 33 3 1224979098644774918 288230376151712302 288230376151712343 6 3 1224979098644774927 0 4 1804 3 1224979098644774928 1224979098644774913 1224979098644774927 32 2 1224979098644774928 0 1570 2 1224979098644774929 1224979098644774928 2147483679 2 1224979098644774929 7 2147483681 3 1224979098644774928 288230376151712302 288230376151712343 1747 2 1224979098644774913 1224979098644774928 3 0 3 0 5 0 31 2 1224979098644774924 1 4 0 32 2 1224979098644774918 0 2147483681 3 1224979098644774918 288230376151712302 288230376151712343 6 3 1224979098644774927 0 4 1804 3 1224979098644774928 1224979098644774913 1224979098644774927 32 2 1224979098644774928 0 33 3 1224979098644774928 288230376151712302 288230376151712343 2147483681 3 1224979098644774928 288230376151712339 288230376151712342 1747 2 1224979098644774913 1224979098644774928 3 0 3 0 3 0 5 0 2133 2 1224979098644774930 0 1726 3 1224979098644774918 1224979098644774913 0 1714 2 1224979098644774919 1224979098644774913 4 0 30 2 1224979098644774919 0 2124 1 10 1689 2 1 1224979098644774913 727 2 1224979098644774925 1 4 0 30 2 1224979098644774925 80 2133 2 1224979098644774930 1 5 0 2147483680 2 1224979098644774925 40 1 3 936748722493063788 1224979098644774913 200 2133 2 1224979098644774926 72057594037927936 30 2 1224979098644774926 1 2133 2 1224979098644774930 -1 3 0 5 0 2133 2 1224979098644774930 -1 3 0 4 0 31 2 1224979098644774930 -1 4 0 32 2 1224979098644774918 0 2723 2 1224979098644774918 2147483648 6 3 1224979098644774927 0 4 1804 3 1224979098644774928 1224979098644774913 1224979098644774927 32 2 1224979098644774928 0 1570 2 1224979098644774929 1224979098644774928 2147483679 2 1224979098644774929 7 2147486371 2 1224979098644774928 2147483648 1747 2 1224979098644774913 1224979098644774928 3 0 3 0 5 0 31 2 1224979098644774930 1 4 0 32 2 1224979098644774918 0 2147486371 2 1224979098644774918 2147483648 6 3 1224979098644774927 0 4 1804 3 1224979098644774928 1224979098644774913 1224979098644774927 32 2 1224979098644774928 0 2723 2 1224979098644774928 2147483648 1747 2 1224979098644774913 1224979098644774928 3 0 3 0 3 0 3 0 3 0 
3.000000 0.000000 0.000000  0  74 12 1 1224979098644774912 545 3 1224979098644774912 28 0 505 3 1224979098644774912 28 1 1702 1 1224979098644774912 1704 1 1224979098644774912 1718 2 1224979098644774913 1224979098644774912 2147485155 1 1224979098644774913 2133 2 1224979098644774914 -1 2133 2 1224979098644774915 0 6 3 1224979098644774916 0 4 1804 3 1224979098644774917 1224979098644774912 1224979098644774916 4 0 31 2 1224979098644774917 -1 2105 2 1224979098644774915 1 5 0 32 2 1224979098644774917 0 1570 2 1224979098644774918 1224979098644774917 1073741855 2 1224979098644774918 5 1073741855 2 1224979098644774918 6 31 2 1224979098644774918 18 2133 2 1224979098644774914 1224979098644774918 3 0 3 0 32 2 1224979098644774914 -1 4 0 31 2 1224979098644774914 5 2133 2 1224979098644774919 -1 2133 2 1224979098644774920 4 6 3 1224979098644774916 0 1224979098644774920 1804 3 1224979098644774917 1224979098644774912 1224979098644774916 32 2 1224979098644774917 0 1570 2 1224979098644774918 1224979098644774917 1073741855 2 1224979098644774918 2 31 2 1224979098644774918 3 2133 2 1224979098644774919 1224979098644774916 2133 2 1224979098644774920 0 3 0 32 2 1224979098644774919 -1 2133 2 1224979098644774920 4 6 3 1224979098644774916 0 1224979098644774920 2147483679 2 1224979098644774916 1224979098644774919 1804 3 1224979098644774917 1224979098644774912 1224979098644774916 32 2 1224979098644774917 0 1570 2 1224979098644774918 1224979098644774917 1073741855 2 1224979098644774918 2 1073741855 2 1224979098644774918 3 1073741855 2 1224979098644774918 4 31 2 1224979098644774918 7 1774 2 1224979098644774912 1224979098644774917 2105 2 1224979098644774915 1 2133 2 1224979098644774920 0 3 0 3 0 32 2 1224979098644774915 0 1540 2 1224979098644774921 1224979098644774913 2133 2 1224979098644774920 1224979098644774921 6 3 1224979098644774922 10 1224979098644774920 1541 3 1224979098644774923 1224979098644774913 1224979098644774922 32 2 1224979098644774923 -1 1570 2 1224979098644774924 1224979098644774923 31 2 1224979098644774924 1224979098644774914 1542 3 1224979098644774925 1224979098644774913 1224979098644774922 2133 2 1224979098644774926 4 6 3 1224979098644774916 0 1224979098644774926 1804 3 1224979098644774917 1224979098644774912 1224979098644774916 31 2 1224979098644774917 -1 1779 4 1224979098644774912 1224979098644774923 1224979098644774916 1224979098644774925 2106 2 1224979098644774915 1 2133 2 1224979098644774926 0 3 0 31 2 1224979098644774915 0 2133 2 1224979098644774920 0 3 0 3 0 
1.000000 0.000000 0.000000  0  28 12 1 1224979098644774912 1704 1 1224979098644774912 1702 1 1224979098644774912 2133 2 1224979098644774913 100 2133 2 1224979098644774914 100 1726 3 1224979098644774915 1224979098644774912 0 4 0 32 2 1224979098644774915 -1 1570 2 1224979098644774916 1224979098644774915 1718 2 1224979098644774917 1224979098644774912 1716 2 1224979098644774918 1224979098644774912 4 0 31 2 1224979098644774916 9 2176 3 1224979098644774919 1224979098644774917 4 2122 3 1224979098644774914 1224979098644774919 15 2108 2 1224979098644774914 100 2105 2 1224979098644774914 85 3 0 4 0 1507 1 1224979098644774917 32 2 1224979098644774918 648518346341351424 2107 2 1224979098644774913 2 2107 2 1224979098644774914 2 3 0 3 0 2091 2 1224979098644774912 1224979098644774913 2099 2 1224979098644774912 1224979098644774914 3 0 
-28.000000 0.000000 0.000000  0  35 2070 2 1224979098644774912 1 2070 2 1224979098644774913 3 4 0 2133 2 1224979098644774914 1224979098644774913 32 2 1224979098644774914 0 4 0 2147485352 1 1224979098644774912 1715 2 1224979098644774915 1224979098644774912 5 0 2133 2 1224979098644774915 1224979098644774912 3 0 4 0 32 2 1224979098644774915 -1 1718 2 1224979098644774916 1224979098644774915 1714 2 1224979098644774917 1224979098644774915 4 0 32 2 1224979098644774917 -1 2170 3 1224979098644774918 1369094286720630808 1224979098644774916 5 0 2170 3 1224979098644774918 1369094286720630809 1224979098644774916 3 0 2122 3 1224979098644774919 1224979098644774918 4 2107 2 1224979098644774919 1224979098644774914 2108 2 1224979098644774919 100 2106 2 1224979098644774914 1224979098644774919 4 0 1507 1 1224979098644774916 1716 2 1224979098644774920 1224979098644774915 32 2 1224979098644774920 648518346341351424 2108 2 1224979098644774914 2 3 0 3 0 3 0 2111 2 1224979098644774914 0 2075 1 1224979098644774914 

源代码

  0.5, 0, 0, [],
  [       
        (set_fixed_point_multiplier, 1000),
        (try_for_agents, ":agent_no"),
            (agent_is_alive, ":agent_no"),
            (agent_is_human, ":agent_no"),
            (agent_is_non_player, ":agent_no"),
            (neg|agent_slot_eq, ":agent_no", 1003, 1),
            (agent_get_horse, ":horse_no", ":agent_no"),
            (assign, ":melee_weapon", -1),
            (try_begin),
                (agent_slot_eq, ":agent_no", slot_agent_is_running_away, 0),#非逃跑
                (gt, ":horse_no", -1),#有马
                (agent_get_team, ":team_no", ":agent_no"),
                (agent_get_division, ":class_no", ":agent_no"),
                (team_get_weapon_usage_order, ":weapon_usage_order", ":team_no", ":class_no"),
                (team_get_movement_order, ":movement_order", ":team_no", ":class_no"),
                (team_get_hold_fire_order, ":hold_fire", ":team_no", ":class_no"),
                (assign, ":thrown_ammo", 0),
                (assign, ":ranged_weapon", -1),
                ##判断是否为骑射(有马,身上有马背上可用的远程,有箭)
                (try_for_range, ":item", 0, 4),#获取身上武器
                  (agent_get_item_slot, ":item_weapon", ":agent_no", ":item"),
                  (gt, ":item_weapon", 0),
                  (item_get_type, ":item_weapon_type", ":item_weapon"),
                  (try_begin),#投掷武器判断
                    (eq, ":item_weapon_type", itp_type_thrown),
                    (agent_get_ammo_for_slot, ":ammo_for_slot", ":agent_no", ":item"),#获取投掷弹药
                    (val_add, ":thrown_ammo", ":ammo_for_slot"),
                  (else_try),
                    (this_or_next|eq, ":item_weapon_type", itp_type_bow),#弓
                    (this_or_next|eq, ":item_weapon_type", itp_type_pistol),#手枪
                    (eq, ":item_weapon_type", itp_type_musket),#步枪
                    (assign, ":ranged_weapon", ":item_weapon"),
                  (else_try),
                    (this_or_next|eq, ":item_weapon_type", itp_type_one_handed_wpn),
                    (this_or_next|eq, ":item_weapon_type", itp_type_two_handed_wpn),
                    (eq, ":item_weapon_type", itp_type_polearm),
                    (assign, ":melee_weapon", ":item_weapon"),
                  (try_end),
                (try_end),
                (gt, ":ranged_weapon", -1),#身上有远程武器                
                (neg|item_has_property, ":ranged_weapon", itp_cant_reload_on_horseback),#远程武器在马背上可用
                (neg|item_has_property, ":ranged_weapon", itp_cant_use_on_horseback),#远程武器在马背上可用
                (agent_get_ammo, ":ammo", ":agent_no", 0),#获取弹药量
                (val_sub, ":ammo", ":thrown_ammo"),
                (gt, ":ammo", 0),
                (agent_set_slot, ":agent_no", 1003, 2),
                (neg|eq, ":hold_fire", aordr_hold_your_fire),#非听令射击
                (neg|eq, ":weapon_usage_order", wordr_use_melee_weapons),#非使用近战武器
                (eq, ":movement_order", mordr_charge),#冲锋
                ##判断是否为骑射
                ##筛出最近距离与目标敌人,位置的记录等
                (agent_get_position, pos50, ":agent_no"), #获取坐标
                (agent_get_speed, pos31, ":agent_no"),
                (position_get_y,":speed_y",pos31),
                (assign, ":distance_closest", 100000),#1000m
                (assign, ":enemies_closest", -1),
                (try_for_agents, ":enemies"),#获取敌军agent
                    (agent_is_alive, ":enemies"),
                    (agent_is_human, ":enemies"),
                    (agent_get_position, pos36, ":enemies"),
                    (agent_get_team, ":enemies_team", ":enemies"),
                    (teams_are_enemies, ":team_no", ":enemies_team"),
                    (get_distance_between_positions, ":distance", pos50, pos36),#获取距离(单位厘米)
                    (try_begin),
                      (agent_slot_eq, ":enemies", slot_agent_is_running_away, 1),#敌军逃跑
                      (val_add, ":distance", 10000),
                    (try_end),
                    (try_begin),
                      (agent_get_horse, ":enemies_horse", ":enemies"),
                      (gt, ":enemies_horse", -1),#有马
                      (agent_get_speed, pos32, ":enemies"),
                      (position_get_y,":speed_y_enemies",pos32),
                      (val_sub, ":speed_y_enemies", ":speed_y"),
                      (store_div, ":distance_cavalry", ":speed_y_enemies",5),
                      (val_max, ":distance_cavalry", 0),
                      (val_add, ":distance_cavalry", 500),
                      (val_sub, ":distance", ":distance_cavalry"),
                    (else_try),
                      (agent_get_wielded_item, ":weapon_hold", ":enemies", 1),
                      (neg|gt, ":weapon_hold", 1),
                      (val_sub, ":distance", 500),
                    (try_end),
                    #筛出最近距离与目标敌人
                    (lt, ":distance", ":distance_closest"),
                    (assign, ":distance_closest", ":distance"),
                    (assign, ":enemies_closest", ":enemies"),
                    #筛出最近距离与目标敌人
                (try_end),
                (neq, ":enemies_closest", -1),
                (agent_get_position, pos51, ":enemies_closest"),
                (get_distance_between_positions, ":distance_true", pos50, pos51),
                (try_begin),
                  (agent_slot_eq, ":enemies_closest", slot_agent_is_running_away, 0),#非逃跑
                  (gt,":distance_true",200),#且距离大于2m
                  (agent_set_wielded_item, ":agent_no", ":ranged_weapon"),#切换远程武器
                (else_try),
                  (le, ":distance_true", 200),
                  (gt, ":melee_weapon", -1),
                  (agent_set_wielded_item, ":agent_no", ":melee_weapon"),
                (try_end),
                ##筛出最近距离与最近的敌人,位置的记录等                
                #射击更积极,以及减速设置
                (assign, ":speed_limit", 1000),
                (try_begin),
                    (agent_get_wielded_item, ":weapon_hold", ":agent_no", 0),#获取当前武器
                    (gt, ":weapon_hold", 0),#有武器
                    (item_get_type, ":weapon_type", ":weapon_hold"),
                    (this_or_next|eq, ":weapon_type", itp_type_bow),#弓
                    (this_or_next|eq, ":weapon_type", itp_type_pistol),#手枪
                    (eq, ":weapon_type", itp_type_musket),#步枪 
                    (agent_get_bone_position, pos53, ":agent_no", 8, 1),
                    (agent_get_bone_position, pos54, ":enemies_closest", 9, 1),
                    (position_has_line_of_sight_to_position, pos53, pos54),#能看到
                    (agent_set_look_target_agent, ":agent_no", ":enemies_closest"),#看着他
                    (try_begin),
                      (assign, ":shoot_distance", 4000),
                      (agent_get_attack_action, ":attack_action", ":agent_no"),#获取agent攻击状态
                      (eq, ":attack_action", 1),#准备攻击
                      (try_begin),#减速设置
                        (gt, ":distance_closest", 700),
                        (le, ":distance_closest", ":shoot_distance"),
                        (store_div, ":speed_limit", ":speed_y",2000),#
                        (val_max, ":speed_limit", 0),
                      (try_end),
                      (eq, ":weapon_type", itp_type_bow),
                      (try_begin),
                        (le, ":distance_true", ":shoot_distance"),
                        (agent_set_defend_action, ":agent_no", -2, 1),
                        (agent_set_attack_action, ":agent_no", 3, 0),
                      (else_try),
                        (gt, ":distance_true", ":shoot_distance"),
                        (agent_set_attack_action, ":agent_no", -2, 1),
                        (agent_set_defend_action, ":agent_no", 3, 1),#取消射击
                      (try_end),
                    (else_try),#非拉弓状态
                      (eq, ":weapon_type", itp_type_bow),
                      (le, ":distance_true", ":shoot_distance"),#
                      (agent_get_combat_state, ":combat_state", ":agent_no"),#获取战斗状态
                      (neq, ":combat_state", 8),#能看到
                      (agent_set_attack_action, ":agent_no", 3, 1),
                    (try_end),
                (try_end),
                (agent_set_speed_limit, ":agent_no", ":speed_limit"),#速度限制
                #射击更积极,以及减速设置
                #绕圈的计算
                (try_begin),
                  (agent_slot_eq, ":enemies_closest", slot_agent_is_running_away, 0),#敌人非逃跑
                  (lt, ":distance_closest", 10000),#距离小于100m
                  (try_begin),
                    #计算到边界距离
                    (get_scene_boundaries, pos2, pos3),#左下角和右上角,朝上
                    (position_transform_position_to_local, pos4, pos2,pos50),
                    (position_get_x, ":left", pos4),
                    (position_get_y, ":down", pos4),
                    (position_transform_position_to_local, pos4, pos2,pos3),
                    (position_get_x, ":map_width", pos4),
                    (position_get_y, ":map_height", pos4),
                    (store_sub, ":right", ":map_width", ":left"),
                    (store_sub, ":up", ":map_height", ":down"),
                    #计算到边界距离
                    (position_transform_position_to_local, pos4, pos50, pos51),
                    (position_get_x, ":enemies_x", pos4),
                    (position_get_y, ":enemies_y", pos4),
                    (assign, ":effect", 0),
                    (try_begin),
                      (neg|gt, ":distance_closest", 1000),#小于10m(战略撤退)
                      (assign, ":effect", -78000),
                    (else_try),
                      (gt, ":distance_closest", 2000),#
                      (store_sub,":effect", ":distance_closest", 0),#向心偏转
                      (val_mul, ":effect", 5),#乘5/10
                      (val_clamp, ":effect", 35000, 90000),
                    (try_end),
                    #靠近地图边界时的计算(算出偏转多少度是朝着地图中点移动)
                    (assign, ":distance_to_boundary", 30000),#判断离地图边界最近是否在30m内
                    (val_min, ":distance_to_boundary", ":left"),
                    (val_min, ":distance_to_boundary", ":up"),
                    (val_min, ":distance_to_boundary", ":right"),
                    (val_min, ":distance_to_boundary", ":down"),
                    (try_begin),
                      (lt, ":distance_to_boundary", 30000),#小于30m
                      (agent_slot_eq, ":enemies_closest", slot_agent_is_running_away, 0),#敌人非逃跑
                      #计算中点
                      (store_div, ":map_middle_x", ":map_width", 20),
                      (store_div, ":map_middle_y", ":map_height", 20),
                      (position_copy_origin, pos4, pos2),
                      (position_move_x, pos4, ":map_middle_x", 1),#中点#单位厘米
                      (position_move_y, pos4, ":map_middle_y", 1),#中点
                      (get_distance_between_positions,":distance_middle", pos4, pos50),
                      (position_transform_position_to_local, pos4, pos50, pos4),
                      (position_get_x, ":map_middle_x", pos4),
                      (position_get_y, ":map_middle_y", pos4),
                      #计算中点
                      (val_mul, ":map_middle_x", 100),
                      (val_mul, ":map_middle_y", 100),
                      (val_mul, ":enemies_x", 100),
                      (val_mul, ":enemies_y", 100),
                      (store_div,":cos_middle",":map_middle_x",":distance_middle"),
                      (store_div,":sin_middle",":map_middle_y",":distance_middle"),
                      (store_div,":cos_enemies",":enemies_x",":distance_true"),
                      (store_div,":sin_enemies",":enemies_y",":distance_true"),
                      (store_acos, ":angle_cos", ":cos_middle"),
                      (store_asin, ":angle_sin", ":sin_middle"),
                      (store_acos, ":angle_cos_enemies", ":cos_enemies"),
                      (store_asin, ":angle_sin_enemies", ":sin_enemies"),
                      (try_begin),
                        (lt, ":angle_sin", 0),
                        (val_mul,":angle_cos", -1),
                        (val_add,":angle_cos", 360000),
                      (try_end),
                      (try_begin),
                        (lt, ":angle_sin_enemies", 0),
                        (val_mul,":angle_cos_enemies", -1),
                        (val_add,":angle_cos_enemies", 360000),
                      (try_end),
                      (store_sub, ":k2", ":angle_cos", ":angle_cos_enemies"),
                      (val_sub, ":k2", 270000),
                      (val_sub, ":k2", ":effect"),
                      (store_add, ":effect", ":k2", ":effect"),
                      (try_begin),
                        (lt, ":angle_cos", ":angle_cos_enemies"),
                        (val_add, ":effect", 360000),
                      (try_end),#这里算出偏转多少度是朝着地图中点移动
                      (val_clamp,":effect",-210000, 15000),#这里偏转角做个限制,防止向地图中点向心移动时拿弓撞人
                      (agent_set_attack_action, ":agent_no", -2, 1),
                      (agent_set_defend_action, ":agent_no", 3, 1),#取消射击
                    (try_end),
                    #靠近地图边界时的计算
                    #位置的计算,默认绕敌人切线逆时针移动,effect是偏转角,为正则向心,为负则离心
                    (try_begin,),
                      (this_or_next|eq, ":weapon_type", itp_type_pistol),#手枪
                      (eq, ":weapon_type", itp_type_musket),#步枪 
                      (val_mul, ":effect", -1),
                      (val_add, ":effect", 180000),
                    (try_end),
                    (store_cos, ":cos", ":effect"),#这段是极坐标方程 x=ρcos(θ-90+effect) 和y=ρsin(θ-90+effect)的计算
                    (store_sin, ":sin", ":effect"),
                    (store_mul, ":k_x1", ":cos", ":enemies_y",),
                    (store_mul, ":k_x2", ":sin", ":enemies_x",),
                    (store_mul, ":k_y1", ":sin", ":enemies_y",),
                    (store_mul, ":k_y2", ":cos", ":enemies_x",),
                    (store_add, ":move_x",":k_x1", ":k_x2"),
                    (store_sub, ":move_y",":k_y1", ":k_y2"),
                    (position_move_x, pos50, ":move_x", 0),#厘米
                    (position_move_y, pos50, ":move_y", 0),#厘米
                    #位置的计算,默认绕敌人切线逆时针移动,effect是偏转角,为正则向心,为负则离心
                  (try_end),
                  (agent_set_scripted_destination, ":agent_no", pos50, 1),
                (else_try),
                  (agent_clear_scripted_mode, ":agent_no"),
                  (agent_force_rethink, ":agent_no"),
                (try_end),
                #绕圈的计算
            (else_try),
                (try_begin),
                  (agent_slot_eq, ":agent_no", 1003, 0),
                  (agent_set_slot, ":agent_no", 1003, 1),
                (else_try),
                  (agent_slot_eq, ":agent_no", 1003, 2),
                  (this_or_next|agent_slot_eq, ":agent_no", slot_agent_is_running_away, 1),#逃跑
                  (this_or_next|lt, ":horse_no", 0),#或者无马
                  (this_or_next|eq, ":ammo", 0),#弹药为0
                  (this_or_next|eq, ":hold_fire", aordr_hold_your_fire),#或停止射击
                  (this_or_next|eq, ":weapon_usage_order", wordr_use_melee_weapons),#或使用近战武器
                  (neq, ":movement_order", mordr_charge),#非冲锋
                  (agent_clear_scripted_mode, ":agent_no"),#清除阵型
                  (agent_set_speed_limit, ":agent_no", 100),#解除速度限制
                  (agent_force_rethink, ":agent_no"),
                  (agent_set_slot, ":agent_no", 1003, 3),#待命状态
                  (this_or_next|eq, ":hold_fire", aordr_hold_your_fire),
                  (eq, ":ammo", 0),
                  (gt, ":melee_weapon", -1),
                  (agent_set_wielded_item, ":agent_no", ":melee_weapon"),
                (try_end),
            (try_end),
        (try_end),
  ])

g/mountandblade/txtedit.txt · 最后更改: 2023/04/04 18:02 由 127.0.0.1