dunde said:So basically, adding
(set_trigger_result, -1),
at the end of ti_on_agent_hit trigger is enough.
And it can be done directly to mission_templates.txt file too, in waiting for the next patch of the mod so it will be playable with the last version of WB.
SmurfInHell said:dunde said:So basically, adding
(set_trigger_result, -1),
at the end of ti_on_agent_hit trigger is enough.
And it can be done directly to mission_templates.txt file too, in waiting for the next patch of the mod so it will be playable with the last version of WB.
Can anyone confirm if this works or make a video on how to do so? I tried changing that file but even using the find (ctrl+F) I couldn't seem to locate the trigger.
-28.000000 0.000000 0.000000 0 70 2071 1 1224979098644774912 2072 1 1224979098644774913 2073 1 1224979098644774914 2073 1 1224979098644774915 1718 2 1224979098644774916 1224979098644774912 1718 2 1224979098644774917 1224979098644774913 2170 3 1224979098644774918 1369094286720630820 1224979098644774916 2170 3 1224979098644774919 1369094286720630811 1224979098644774917 2170 3 1224979098644774920 1369094286720630809 1224979098644774916 4 0 31 2 72057594037927936 -1 1541 3 1224979098644774921 1224979098644774917 8 32 2 1224979098644774921 0 151 2 1224979098644774917 1224979098644774921 4 0 33 3 1224979098644774921 288230376151711952 288230376151711957 2111 2 1224979098644774914 10 5 0 33 3 1224979098644774921 288230376151711957 288230376151711961 2111 2 1224979098644774914 15 5 0 2111 2 1224979098644774914 25 3 0 3 0 1726 3 1224979098644774922 1224979098644774913 0 4 0 31 2 1224979098644774922 -1 2107 2 1224979098644774919 3 2105 2 1224979098644774914 1224979098644774919 2108 2 1224979098644774919 3 2107 2 1224979098644774919 10 2136 3 1224979098644774923 1 100 4 0 2147483680 2 1224979098644774923 1224979098644774919 1704 1 1224979098644774912 1740 3 1224979098644774912 1801439850948198838 0 4 0 31 2 1224979098644774916 360287970189639680 1106 1 1585267068834414927 5 0 31 2 1224979098644774917 360287970189639680 1106 1 1585267068834414928 3 0 3 0 4 0 2106 2 1224979098644774914 1224979098644774918 2147483678 2 1224979098644774914 1224979098644774918 2133 2 1224979098644774914 0 3 0 4 0 32 2 1224979098644774920 0 2107 2 1224979098644774920 5 2136 3 1224979098644774923 1 100 4 0 2147483680 2 1224979098644774923 1224979098644774920 2133 2 1224979098644774914 1 4 0 31 2 1224979098644774916 360287970189639680 1106 1 1585267068834414929 5 0 31 2 1224979098644774917 360287970189639680 1106 1 1585267068834414930 3 0 3 0 3 0 2121 3 1224979098644774924 1224979098644774914 1224979098644774915 2107 2 1224979098644774924 -1 1720 3 1224979098644774925 1224979098644774912 1 2105 2 1224979098644774925 1224979098644774924 1721 3 1224979098644774912 1224979098644774925 1
-28.000000 0.000000 0.000000 0 71 2071 1 1224979098644774912 2072 1 1224979098644774913 2073 1 1224979098644774914 2073 1 1224979098644774915 1718 2 1224979098644774916 1224979098644774912 1718 2 1224979098644774917 1224979098644774913 2170 3 1224979098644774918 1369094286720630820 1224979098644774916 2170 3 1224979098644774919 1369094286720630811 1224979098644774917 2170 3 1224979098644774920 1369094286720630809 1224979098644774916 4 0 31 2 72057594037927936 -1 1541 3 1224979098644774921 1224979098644774917 8 32 2 1224979098644774921 0 151 2 1224979098644774917 1224979098644774921 4 0 33 3 1224979098644774921 288230376151711952 288230376151711957 2111 2 1224979098644774914 10 5 0 33 3 1224979098644774921 288230376151711957 288230376151711961 2111 2 1224979098644774914 15 5 0 2111 2 1224979098644774914 25 3 0 3 0 1726 3 1224979098644774922 1224979098644774913 0 4 0 31 2 1224979098644774922 -1 2107 2 1224979098644774919 3 2105 2 1224979098644774914 1224979098644774919 2108 2 1224979098644774919 3 2107 2 1224979098644774919 10 2136 3 1224979098644774923 1 100 4 0 2147483680 2 1224979098644774923 1224979098644774919 1704 1 1224979098644774912 1740 3 1224979098644774912 1801439850948198838 0 4 0 31 2 1224979098644774916 360287970189639680 1106 1 1585267068834414927 5 0 31 2 1224979098644774917 360287970189639680 1106 1 1585267068834414928 3 0 3 0 4 0 2106 2 1224979098644774914 1224979098644774918 2147483678 2 1224979098644774914 1224979098644774918 2133 2 1224979098644774914 0 3 0 4 0 32 2 1224979098644774920 0 2107 2 1224979098644774920 5 2136 3 1224979098644774923 1 100 4 0 2147483680 2 1224979098644774923 1224979098644774920 2133 2 1224979098644774914 1 4 0 31 2 1224979098644774916 360287970189639680 1106 1 1585267068834414929 5 0 31 2 1224979098644774917 360287970189639680 1106 1 1585267068834414930 3 0 3 0 3 0 2121 3 1224979098644774924 1224979098644774914 1224979098644774915 2107 2 1224979098644774924 -1 1720 3 1224979098644774925 1224979098644774912 1 2105 2 1224979098644774925 1224979098644774924 1721 3 1224979098644774912 1224979098644774925 1 2075 1 -1
-28.000000 0.000000 0.000000 0 13 2071 1 1224979098644774912 2072 1 1224979098644774913 2073 1 1224979098644774914 1718 2 1224979098644774915 1224979098644774912 1714 2 1224979098644774916 1224979098644774912 4 0 2147483679 2 1224979098644774916 -1 6 3 1224979098644774917 360287970189639715 360287970189639723 31 2 1224979098644774915 1224979098644774917 1721 3 1224979098644774912 100 1 1722 3 1224979098644774913 1224979098644774916 -1 3 0 3 0
-28.000000 0.000000 0.000000 0 14 2071 1 1224979098644774912 2072 1 1224979098644774913 2073 1 1224979098644774914 1718 2 1224979098644774915 1224979098644774912 1714 2 1224979098644774916 1224979098644774912 4 0 2147483679 2 1224979098644774916 -1 6 3 1224979098644774917 360287970189639715 360287970189639723 31 2 1224979098644774915 1224979098644774917 1721 3 1224979098644774912 100 1 1722 3 1224979098644774913 1224979098644774916 -1 3 0 3 0 2075 1 -1
dunde said:Open mission_templates.txt by any text editor. Search for -28.00000 (it's ti_on_agent_hit trigger). Then replace these lines :
Code:-28.000000 0.000000 0.000000 0 70 2071 1 1224979098644774912 2072 1 1224979098644774913 2073 1 1224979098644774914 2073 1 1224979098644774915 1718 2 1224979098644774916 1224979098644774912 1718 2 1224979098644774917 1224979098644774913 2170 3 1224979098644774918 1369094286720630820 1224979098644774916 2170 3 1224979098644774919 1369094286720630811 1224979098644774917 2170 3 1224979098644774920 1369094286720630809 1224979098644774916 4 0 31 2 72057594037927936 -1 1541 3 1224979098644774921 1224979098644774917 8 32 2 1224979098644774921 0 151 2 1224979098644774917 1224979098644774921 4 0 33 3 1224979098644774921 288230376151711952 288230376151711957 2111 2 1224979098644774914 10 5 0 33 3 1224979098644774921 288230376151711957 288230376151711961 2111 2 1224979098644774914 15 5 0 2111 2 1224979098644774914 25 3 0 3 0 1726 3 1224979098644774922 1224979098644774913 0 4 0 31 2 1224979098644774922 -1 2107 2 1224979098644774919 3 2105 2 1224979098644774914 1224979098644774919 2108 2 1224979098644774919 3 2107 2 1224979098644774919 10 2136 3 1224979098644774923 1 100 4 0 2147483680 2 1224979098644774923 1224979098644774919 1704 1 1224979098644774912 1740 3 1224979098644774912 1801439850948198838 0 4 0 31 2 1224979098644774916 360287970189639680 1106 1 1585267068834414927 5 0 31 2 1224979098644774917 360287970189639680 1106 1 1585267068834414928 3 0 3 0 4 0 2106 2 1224979098644774914 1224979098644774918 2147483678 2 1224979098644774914 1224979098644774918 2133 2 1224979098644774914 0 3 0 4 0 32 2 1224979098644774920 0 2107 2 1224979098644774920 5 2136 3 1224979098644774923 1 100 4 0 2147483680 2 1224979098644774923 1224979098644774920 2133 2 1224979098644774914 1 4 0 31 2 1224979098644774916 360287970189639680 1106 1 1585267068834414929 5 0 31 2 1224979098644774917 360287970189639680 1106 1 1585267068834414930 3 0 3 0 3 0 2121 3 1224979098644774924 1224979098644774914 1224979098644774915 2107 2 1224979098644774924 -1 1720 3 1224979098644774925 1224979098644774912 1 2105 2 1224979098644774925 1224979098644774924 1721 3 1224979098644774912 1224979098644774925 1
with :
Code:-28.000000 0.000000 0.000000 0 71 2071 1 1224979098644774912 2072 1 1224979098644774913 2073 1 1224979098644774914 2073 1 1224979098644774915 1718 2 1224979098644774916 1224979098644774912 1718 2 1224979098644774917 1224979098644774913 2170 3 1224979098644774918 1369094286720630820 1224979098644774916 2170 3 1224979098644774919 1369094286720630811 1224979098644774917 2170 3 1224979098644774920 1369094286720630809 1224979098644774916 4 0 31 2 72057594037927936 -1 1541 3 1224979098644774921 1224979098644774917 8 32 2 1224979098644774921 0 151 2 1224979098644774917 1224979098644774921 4 0 33 3 1224979098644774921 288230376151711952 288230376151711957 2111 2 1224979098644774914 10 5 0 33 3 1224979098644774921 288230376151711957 288230376151711961 2111 2 1224979098644774914 15 5 0 2111 2 1224979098644774914 25 3 0 3 0 1726 3 1224979098644774922 1224979098644774913 0 4 0 31 2 1224979098644774922 -1 2107 2 1224979098644774919 3 2105 2 1224979098644774914 1224979098644774919 2108 2 1224979098644774919 3 2107 2 1224979098644774919 10 2136 3 1224979098644774923 1 100 4 0 2147483680 2 1224979098644774923 1224979098644774919 1704 1 1224979098644774912 1740 3 1224979098644774912 1801439850948198838 0 4 0 31 2 1224979098644774916 360287970189639680 1106 1 1585267068834414927 5 0 31 2 1224979098644774917 360287970189639680 1106 1 1585267068834414928 3 0 3 0 4 0 2106 2 1224979098644774914 1224979098644774918 2147483678 2 1224979098644774914 1224979098644774918 2133 2 1224979098644774914 0 3 0 4 0 32 2 1224979098644774920 0 2107 2 1224979098644774920 5 2136 3 1224979098644774923 1 100 4 0 2147483680 2 1224979098644774923 1224979098644774920 2133 2 1224979098644774914 1 4 0 31 2 1224979098644774916 360287970189639680 1106 1 1585267068834414929 5 0 31 2 1224979098644774917 360287970189639680 1106 1 1585267068834414930 3 0 3 0 3 0 2121 3 1224979098644774924 1224979098644774914 1224979098644774915 2107 2 1224979098644774924 -1 1720 3 1224979098644774925 1224979098644774912 1 2105 2 1224979098644774925 1224979098644774924 1721 3 1224979098644774912 1224979098644774925 1 2075 1 -1
We add 1 operation to the consecuences block of trigger, so we replace 70 to 71. Then the operation we add is 2075 1 -1. 2075 = set_trigger_result operation, 1 is the operation's parameter number, and -1 is the paramater value.
Do the same thing to :
into :Code:-28.000000 0.000000 0.000000 0 13 2071 1 1224979098644774912 2072 1 1224979098644774913 2073 1 1224979098644774914 1718 2 1224979098644774915 1224979098644774912 1714 2 1224979098644774916 1224979098644774912 4 0 2147483679 2 1224979098644774916 -1 6 3 1224979098644774917 360287970189639715 360287970189639723 31 2 1224979098644774915 1224979098644774917 1721 3 1224979098644774912 100 1 1722 3 1224979098644774913 1224979098644774916 -1 3 0 3 0
Code:-28.000000 0.000000 0.000000 0 14 2071 1 1224979098644774912 2072 1 1224979098644774913 2073 1 1224979098644774914 1718 2 1224979098644774915 1224979098644774912 1714 2 1224979098644774916 1224979098644774912 4 0 2147483679 2 1224979098644774916 -1 6 3 1224979098644774917 360287970189639715 360287970189639723 31 2 1224979098644774915 1224979098644774917 1721 3 1224979098644774912 100 1 1722 3 1224979098644774913 1224979098644774916 -1 3 0 3 0 2075 1 -1
SmurfInHell said:dunde said:Open mission_templates.txt by any text editor. Search for -28.00000 (it's ti_on_agent_hit trigger). Then replace these lines :
Code:-28.000000 0.000000 0.000000 0 70 2071 1 1224979098644774912 2072 1 1224979098644774913 2073 1 1224979098644774914 2073 1 1224979098644774915 1718 2 1224979098644774916 1224979098644774912 1718 2 1224979098644774917 1224979098644774913 2170 3 1224979098644774918 1369094286720630820 1224979098644774916 2170 3 1224979098644774919 1369094286720630811 1224979098644774917 2170 3 1224979098644774920 1369094286720630809 1224979098644774916 4 0 31 2 72057594037927936 -1 1541 3 1224979098644774921 1224979098644774917 8 32 2 1224979098644774921 0 151 2 1224979098644774917 1224979098644774921 4 0 33 3 1224979098644774921 288230376151711952 288230376151711957 2111 2 1224979098644774914 10 5 0 33 3 1224979098644774921 288230376151711957 288230376151711961 2111 2 1224979098644774914 15 5 0 2111 2 1224979098644774914 25 3 0 3 0 1726 3 1224979098644774922 1224979098644774913 0 4 0 31 2 1224979098644774922 -1 2107 2 1224979098644774919 3 2105 2 1224979098644774914 1224979098644774919 2108 2 1224979098644774919 3 2107 2 1224979098644774919 10 2136 3 1224979098644774923 1 100 4 0 2147483680 2 1224979098644774923 1224979098644774919 1704 1 1224979098644774912 1740 3 1224979098644774912 1801439850948198838 0 4 0 31 2 1224979098644774916 360287970189639680 1106 1 1585267068834414927 5 0 31 2 1224979098644774917 360287970189639680 1106 1 1585267068834414928 3 0 3 0 4 0 2106 2 1224979098644774914 1224979098644774918 2147483678 2 1224979098644774914 1224979098644774918 2133 2 1224979098644774914 0 3 0 4 0 32 2 1224979098644774920 0 2107 2 1224979098644774920 5 2136 3 1224979098644774923 1 100 4 0 2147483680 2 1224979098644774923 1224979098644774920 2133 2 1224979098644774914 1 4 0 31 2 1224979098644774916 360287970189639680 1106 1 1585267068834414929 5 0 31 2 1224979098644774917 360287970189639680 1106 1 1585267068834414930 3 0 3 0 3 0 2121 3 1224979098644774924 1224979098644774914 1224979098644774915 2107 2 1224979098644774924 -1 1720 3 1224979098644774925 1224979098644774912 1 2105 2 1224979098644774925 1224979098644774924 1721 3 1224979098644774912 1224979098644774925 1
with :
Code:-28.000000 0.000000 0.000000 0 71 2071 1 1224979098644774912 2072 1 1224979098644774913 2073 1 1224979098644774914 2073 1 1224979098644774915 1718 2 1224979098644774916 1224979098644774912 1718 2 1224979098644774917 1224979098644774913 2170 3 1224979098644774918 1369094286720630820 1224979098644774916 2170 3 1224979098644774919 1369094286720630811 1224979098644774917 2170 3 1224979098644774920 1369094286720630809 1224979098644774916 4 0 31 2 72057594037927936 -1 1541 3 1224979098644774921 1224979098644774917 8 32 2 1224979098644774921 0 151 2 1224979098644774917 1224979098644774921 4 0 33 3 1224979098644774921 288230376151711952 288230376151711957 2111 2 1224979098644774914 10 5 0 33 3 1224979098644774921 288230376151711957 288230376151711961 2111 2 1224979098644774914 15 5 0 2111 2 1224979098644774914 25 3 0 3 0 1726 3 1224979098644774922 1224979098644774913 0 4 0 31 2 1224979098644774922 -1 2107 2 1224979098644774919 3 2105 2 1224979098644774914 1224979098644774919 2108 2 1224979098644774919 3 2107 2 1224979098644774919 10 2136 3 1224979098644774923 1 100 4 0 2147483680 2 1224979098644774923 1224979098644774919 1704 1 1224979098644774912 1740 3 1224979098644774912 1801439850948198838 0 4 0 31 2 1224979098644774916 360287970189639680 1106 1 1585267068834414927 5 0 31 2 1224979098644774917 360287970189639680 1106 1 1585267068834414928 3 0 3 0 4 0 2106 2 1224979098644774914 1224979098644774918 2147483678 2 1224979098644774914 1224979098644774918 2133 2 1224979098644774914 0 3 0 4 0 32 2 1224979098644774920 0 2107 2 1224979098644774920 5 2136 3 1224979098644774923 1 100 4 0 2147483680 2 1224979098644774923 1224979098644774920 2133 2 1224979098644774914 1 4 0 31 2 1224979098644774916 360287970189639680 1106 1 1585267068834414929 5 0 31 2 1224979098644774917 360287970189639680 1106 1 1585267068834414930 3 0 3 0 3 0 2121 3 1224979098644774924 1224979098644774914 1224979098644774915 2107 2 1224979098644774924 -1 1720 3 1224979098644774925 1224979098644774912 1 2105 2 1224979098644774925 1224979098644774924 1721 3 1224979098644774912 1224979098644774925 1 2075 1 -1
We add 1 operation to the consecuences block of trigger, so we replace 70 to 71. Then the operation we add is 2075 1 -1. 2075 = set_trigger_result operation, 1 is the operation's parameter number, and -1 is the paramater value.
Do the same thing to :
into :Code:-28.000000 0.000000 0.000000 0 13 2071 1 1224979098644774912 2072 1 1224979098644774913 2073 1 1224979098644774914 1718 2 1224979098644774915 1224979098644774912 1714 2 1224979098644774916 1224979098644774912 4 0 2147483679 2 1224979098644774916 -1 6 3 1224979098644774917 360287970189639715 360287970189639723 31 2 1224979098644774915 1224979098644774917 1721 3 1224979098644774912 100 1 1722 3 1224979098644774913 1224979098644774916 -1 3 0 3 0
Code:-28.000000 0.000000 0.000000 0 14 2071 1 1224979098644774912 2072 1 1224979098644774913 2073 1 1224979098644774914 1718 2 1224979098644774915 1224979098644774912 1714 2 1224979098644774916 1224979098644774912 4 0 2147483679 2 1224979098644774916 -1 6 3 1224979098644774917 360287970189639715 360287970189639723 31 2 1224979098644774915 1224979098644774917 1721 3 1224979098644774912 100 1 1722 3 1224979098644774913 1224979098644774916 -1 3 0 3 0 2075 1 -1
To all those reading this forum and wanting to play the game with the current version THIS WORKS! Thank you so much dunde!
i_am_sam82 said:HOWEVER - have just noticed that in battles in villages, where the villagers join your side to fight an enemy faction or bandits, the old invulnerability error is still present.
Zarthas said:Hello Again,
Good news and bad.
Good news is I'm not trying to abandon this mod. Bad news is the military sent me away for a span of time, hence my absence, and I will be needing to do so again soon, for about a month.
While I'm around though, I must speak with this Dunde sorcerer man. If I could just update what I have now to the new version, I could release it in its current state, which I think people would still appreciate.
Advert said:When do you make nev wersion of beta?