Staredit Network > Forums > Modding Assistance > Topic: giving High Templar air attack
giving High Templar air attack
Nov 4 2018, 11:06 am
By: Lagi  

Nov 4 2018, 11:06 am Lagi Post #1



whenever I give High templar any form of attack that target air units, then in game each attempt to attack air targets crash the game. (targeting and attacking ground targets with HT work fine).

someone can help?



None.

Nov 4 2018, 1:43 pm Pr0nogo Post #2



gotta mod their iscript to include an air attack animation, just use pyice and under `AirAttkInit`, `AirAttkRpt`, and `AirAttkToIdle` copy the entry from the GndAttk variations




Nov 4 2018, 3:48 pm Lagi Post #3



Quote from Pr0nogo
gotta mod their iscript to include an air attack animation, just use pyice and under `AirAttkInit`, `AirAttkRpt`, and `AirAttkToIdle` copy the entry from the GndAttk variations

Thank You, works.


===========
open py ice
open default script (ctrl+d)
select unit
edit iscript (ctrl+e)
pop-up window editor, change stuff
save
save as iscript.bin [in your mod folder]

open py mpq
open your mod file .mpq
add file (green plus)
pop up window with ask about folder: write "scripts\"
close py-MPQ

in firegraft include yourmod. mpq



None.

Nov 4 2018, 6:16 pm Lagi Post #4



ProNogo:

I'm trying now to give Dark Archon attack ability.
I check the iscrpit, there appear 3 entry [dark archon -being, -energy, -swirl; looks like its copy-paste of blue archon] seems to have already air and ground attack, but DA is not dealing any damage. I know there might be no animation.

Also for High Templar:
I'm giving his attack a flag 'non-Building' but in game HT is able to attack also buildings, any clue?

thanks



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:24 am]
O)FaRTy1billion[MM] -- is there a particular reason the fonts are encrypted in the first place?
[09:36 pm]
Suicidal Insanity -- And since only files are affected that were modified with SC:R, I suspect its just a new feature
[09:32 pm]
Suicidal Insanity -- because now my lengths almost match the CD MPQs, only one byte off
[09:23 pm]
Suicidal Insanity -- But this may explain the discrepancies between farty's decoded files and mine
[09:23 pm]
Suicidal Insanity -- which just didn't exist back then
[09:22 pm]
Suicidal Insanity -- And found either a bug in DW's MPQ code, or maybe the encrypted font files were added to SC:R with a newer MPQ version
[08:38 pm]
Moose -- =)
[08:06 pm]
Suicidal Insanity -- And so far my other checkout folders don't have any conflicts =)
[08:01 pm]
Suicidal Insanity -- My MPQ data reader now returns std::unique_ptr arrays =)
[07:59 pm]
Suicidal Insanity -- And each change is mostly independent of the others
Please log in to shout.


Members Online: O)FaRTy1billion[MM], Roy, Kolokol