Air unit idea; Will it work?

User avatar
Ardis
Terran Nuclear Silo Safety Inspector
Terran Nuclear Silo Safety Inspector
Posts: 228
Joined: Tue Sep 05, 2006 5:03 pm
Location: Ohio, USA

Air unit idea; Will it work?

Post by Ardis »

I had an interesting idea for my mod; it was to make some air units attack more realistically. I wanted to see if I could get more air units to attack like the Protoss Interceptor does with how it flies around while attacking instead of just stopping and shooting like every other air unit does.

Is this possible? And if it is, would the necessary alterations be done with Ice Scripting or something else?
I'm not unstable.
Unstable implies that I could BECOME more dangerous than I am now.
User avatar
IskatuMesk
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 8332
Joined: Sat Feb 07, 2009 1:40 pm
Location: M͈̙̞͍͞ͅE̹H̨͇̰͈͕͇̫Ì̩̳CO̼̩̤͖͘ జ్ఞ‌ా
Contact:

Re: Air unit idea; Will it work?

Post by IskatuMesk »

Wanted to do that for years. It is impossible, even with ASM.
Gameproc
Though we stand alone, stand we shall.
User avatar
Ardis
Terran Nuclear Silo Safety Inspector
Terran Nuclear Silo Safety Inspector
Posts: 228
Joined: Tue Sep 05, 2006 5:03 pm
Location: Ohio, USA

Re: Air unit idea; Will it work?

Post by Ardis »

That stinks. I still thought it was kind of funny when I tried to set it up. I tried using the AI tab on DatEdit and copied the Interceptor's AI to the wraith and tried that. I had wraiths that did one action then exploded.
I'm not unstable.
Unstable implies that I could BECOME more dangerous than I am now.
User avatar
Xenon
Zerg Queen's Nest Slave Trainee
Zerg Queen's Nest Slave Trainee
Posts: 771
Joined: Mon Oct 23, 2006 3:29 pm

Re: Air unit idea; Will it work?

Post by Xenon »

Heh, sounds like the Wraith died like Interceptors do when the Carrier explodes. Except in this case, the associated Carrier never existed in the first place.

Too bad there are so many hard-coded things and unavoidable bugs in Starcraft. I once tried modifying Iscript to make the Zergling use Dark Swarm on death. It actually works perfectly for about the first 10 Zerglings but then it invariably crashes :'(
User avatar
Lavarinth
Xel'naga Administrator
Xel'naga Administrator
Posts: 6539
Joined: Wed Aug 16, 2006 5:21 pm
Location: His Ashworld Planet

Re: Air unit idea; Will it work?

Post by Lavarinth »

Are you sure the Interceptor doesn't stop even for one frame?
- - Lavarinth
Campaign Creations Administrator
User avatar
IskatuMesk
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 8332
Joined: Sat Feb 07, 2009 1:40 pm
Location: M͈̙̞͍͞ͅE̹H̨͇̰͈͕͇̫Ì̩̳CO̼̩̤͖͘ జ్ఞ‌ా
Contact:

Re: Air unit idea; Will it work?

Post by IskatuMesk »

The interceptor stops.. but the AI has hardcoded checks for the carrier unit and stuff like that, so you're kind of screwed.
Gameproc
Though we stand alone, stand we shall.
User avatar
Ardis
Terran Nuclear Silo Safety Inspector
Terran Nuclear Silo Safety Inspector
Posts: 228
Joined: Tue Sep 05, 2006 5:03 pm
Location: Ohio, USA

Re: Air unit idea; Will it work?

Post by Ardis »

The interceptor only stops to shoot, but all I would have to do is increase the braking distance and it would just fire while still moving.

It was still funny watching the wraith explode. They automatically exploded when I gave an attack order, but a move order (apart from patrol) would blow them up once they stopped.
I'm not unstable.
Unstable implies that I could BECOME more dangerous than I am now.
Lord_Jeremy
Terran Supply Depot Clerk
Terran Supply Depot Clerk
Posts: 17
Joined: Sun Nov 12, 2006 11:23 pm

Re: Air unit idea; Will it work?

Post by Lord_Jeremy »

I believe I have an idea for this. In iscript, you could force the attacking unit to move forward a certain amount of steps, having it fire at intervals. Then, have it rotate 180º and go forward the same number of steps and finally, have it rotate 180º again. I'd test it if my SC modding tools hadn't disappeared >.<
User avatar
IskatuMesk
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 8332
Joined: Sat Feb 07, 2009 1:40 pm
Location: M͈̙̞͍͞ͅE̹H̨͇̰͈͕͇̫Ì̩̳CO̼̩̤͖͘ జ్ఞ‌ా
Contact:

Re: Air unit idea; Will it work?

Post by IskatuMesk »

You can do that but it won't be terribly reliable/look decent, and if it gets interrupted, some crazy shit will happen.
Gameproc
Though we stand alone, stand we shall.
Lord_Jeremy
Terran Supply Depot Clerk
Terran Supply Depot Clerk
Posts: 17
Joined: Sun Nov 12, 2006 11:23 pm

Re: Air unit idea; Will it work?

Post by Lord_Jeremy »

On a side note, it looks like in Starcraft 2 either units will be able to have multiple subunits or be able to acquire multiple targets. I'm referring to how some units were attacking multiple units at once.
User avatar
IskatuMesk
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 8332
Joined: Sat Feb 07, 2009 1:40 pm
Location: M͈̙̞͍͞ͅE̹H̨͇̰͈͕͇̫Ì̩̳CO̼̩̤͖͘ జ్ఞ‌ా
Contact:

Re: Air unit idea; Will it work?

Post by IskatuMesk »

They are most likely using a hardpoint system, like Homeworld and Dawn of War.
Gameproc
Though we stand alone, stand we shall.
User avatar
Durandal-Thoth
Terran Factory Worker
Terran Factory Worker
Posts: 71
Joined: Wed Jul 04, 2007 4:19 pm
Location: Where the grass grows.

Re: Air unit idea; Will it work?

Post by Durandal-Thoth »

What's the likelihood of just copying the interceptor graphics and iScript entry to the wraith, and just modifying that a bit?
Google is your FRIEND.
User avatar
IskatuMesk
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 8332
Joined: Sat Feb 07, 2009 1:40 pm
Location: M͈̙̞͍͞ͅE̹H̨͇̰͈͕͇̫Ì̩̳CO̼̩̤͖͘ జ్ఞ‌ా
Contact:

Re: Air unit idea; Will it work?

Post by IskatuMesk »

Then you have a wraith that looks like an interceptor but doesn't work like it.
Gameproc
Though we stand alone, stand we shall.
User avatar
Durandal-Thoth
Terran Factory Worker
Terran Factory Worker
Posts: 71
Joined: Wed Jul 04, 2007 4:19 pm
Location: Where the grass grows.

Re: Air unit idea; Will it work?

Post by Durandal-Thoth »

Even with some working with the interceptor iScript? It has all the animations you already need in it, isn't it mostly a matter of setting them up correctly?

I could be wrong, of course, I'm not too good at anything involving scripts.
Google is your FRIEND.
User avatar
IskatuMesk
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 8332
Joined: Sat Feb 07, 2009 1:40 pm
Location: M͈̙̞͍͞ͅE̹H̨͇̰͈͕͇̫Ì̩̳CO̼̩̤͖͘ జ్ఞ‌ా
Contact:

Re: Air unit idea; Will it work?

Post by IskatuMesk »

Iscript has virtually nothing to do with the interceptor's AI actions; they're all hardcoded. That's why we can't play with them. Every time the interceptor stops and I think attacks, it checks for a parent unit (the carrier).
Gameproc
Though we stand alone, stand we shall.
Post Reply