Page 1 of 1
siege = spell
Posted: Fri Jan 29, 2010 12:11 pm
by telamon
I am thinking of a tank that can cast, but only in siege mode. However, I was thinking about it and I realized that siege counts as a spell, right? So that means that the iscript entry for tanks has a castspell animation that puts them into siege mode. So is there any way to differentiate these two actions, or am I kind of stuck?
Re: siege = spell
Posted: Fri Jan 29, 2010 12:27 pm
by Death_Wing
Did you actually check the iscript before asking? Are you lazier than me? Seriously...
It's a special state, not a spell, you can add a spell but make sure to use the correct procedure, mk?
(As I have said before, I am too lazy to do it for you

)
Re: siege = spell
Posted: Fri Jan 29, 2010 12:32 pm
by telamon
I admit, I was speculating, but there are two separate units for sieged and unsieged tanks, so maybe...
However, I'm checking the scripts now and I can't find a castspell entry. Which raises another question: what iscript controls the tank's siege/unsieging?
I can find a specialstate entry for sieged tanks, but nothing for unsieged. Any ideas/answers?
Re: siege = spell
Posted: Fri Jan 29, 2010 1:10 pm
by Pr0nogo
telamon wrote:Which raises another question: what iscript controls the tank's siege/unsieging?
Death_Wing wrote:It's a special state
Re: siege = spell
Posted: Fri Jan 29, 2010 1:54 pm
by Death_Wing
Explore Firegraft exe edits.... it will reveal that the tank "Changes Units" through a series of checking for each unit. It's pretty simple and easy to understand. If you are hoping to edit the graphic change, the only reason why the one has the special state is because the others 'init' isn't the graphics... so yeah hope this answers something for you... if not be more specific O.o
Re: siege = spell
Posted: Fri Jan 29, 2010 2:03 pm
by telamon
So then it is doable. Thanks!
Re: siege = spell
Posted: Fri Jan 29, 2010 5:18 pm
by IskatuMesk
Orders.dat tells buttons/spells which animation they call.