I assume you can make EUD trigs, if you have the right offset. After that depending on your version, you find the units.dat ground weapon offest for the unit (vulture). make a set death action according to the offset, but you have to know something: if you divide the offset you have with 4, you have to remember the remainder (0,1,2,3). this means, that 0, is on the first byte of the dword (4 byte long memory block, you can only write four byte long blocks with EUD action), or if 1, than it is the second and so one. Lets assume, that the remainder is 1, so if you want to give the 1 weapons.dat id for that unit (for ground weapon), than your eud action will set the memory block to 256, not to 1, or if the remainder is 2, than you have to use the value 256*256*1 and so on. But if you do so, you will give the weapon id 0 for the previous unit id (unit just before the vulture), and also for the unit after the vulture, and after that unit again (if vultures ground weapon is on the 2-nd byte of dword).So you have to know the weapon id of those units, and fallowing the rule before you compute the appropriate value (just if you want to set weapon for those units (actually, you want to hold the old values)), than add up those values (including for the vulture), and the result will give you the value you want to place in your eud action. It is because the weapon id for ground weapon is only 1 byte long.
There is a new function in the posted exe before, so you can write addresses directly, no need calculation, just input the address, and the value (and the function number). there is 12 function for the death action handler (the old set to, add, substract, and 9 other, such as jump to address, write to direct address, logical xor, and, or (with direct address); but i forgotten which is which, so if you want i recheck them). I may make a pather one (for battle.net usablity) if Farty didn't release his one.
You know what? Tell me what version you want, and i make you one, if you think its hard to do.
Post has been edited 2 time(s), last time on May 11 2008, 2:26 pm by matefkr.
None.