Page 2 of 4
Re: AA Only Gun Tower?
Posted: Wed Apr 25, 2012 2:39 am
by Red Devil
hmm, no Z axis exists then. strange...
Re: AA Only Gun Tower?
Posted: Wed Apr 25, 2012 3:11 am
by General BlackDragon
Re: AA Only Gun Tower?
Posted: Wed Apr 25, 2012 3:58 am
by DutchBoy
yeah kinda figured you would have a concept in mind for it, it wouldn't hurt at least trying to mess with the hp's i guess to see if you could get the desired effect just messing with the model a bit.
Re: AA Only Gun Tower?
Posted: Wed Apr 25, 2012 4:03 am
by Red Devil
DB, i can't say how pleased i am that you are back again. gbd, form does not equal function
Re: AA Only Gun Tower?
Posted: Wed Apr 25, 2012 4:06 am
by DutchBoy
wish i didn't forget 99% of what i had done i might actually be able to help haha.
Re: AA Only Gun Tower?
Posted: Wed Apr 25, 2012 4:13 am
by Red Devil

hey, i can't recall what i did last week, so welcome to the club

Re: AA Only Gun Tower?
Posted: Wed Apr 25, 2012 4:37 am
by Zax
X wanted this before. He was persistent on it, and concluded it couldn't work.
Re: AA Only Gun Tower?
Posted: Wed Apr 25, 2012 4:39 am
by Nielk1
I guess the only way is to have the DLL actively give attack and hold orders to the GT.
Re: AA Only Gun Tower?
Posted: Wed Apr 25, 2012 6:44 am
by Zax
Nielk1 wrote:I guess the only way is to have the DLL actively give attack and hold orders to the GT.
Pardon the pseudocode but
Can DLL read the setAltitude variable? Or
if CraftClass::[Aircraft] || HoverCraftClass::setAltitude > X
doNotTargetMe
Re: AA Only Gun Tower?
Posted: Wed Apr 25, 2012 7:31 am
by Nielk1
The DLL would have to more actively constantly tell the damn thing to hold unless there was something in range. It would be nasty.
Re: AA Only Gun Tower?
Posted: Wed Apr 25, 2012 1:06 pm
by Red Devil
there is the IsFlying ODF entry, that, coupled with the SmartIsAirUnit default.
Re: AA Only Gun Tower?
Posted: Wed Apr 25, 2012 6:12 pm
by MrTwosheds
As far as I am aware IsFlying, only really does one thing and that is when its set on a pilot weapon, it makes the pilot use its bazooka animation set instead of the sniper one. Maybe it does something else on other units, but I haven't figured out what that is.
Re: AA Only Gun Tower?
Posted: Wed Apr 25, 2012 8:21 pm
by Red Devil
associated with the A flag in subAttackClass
Re: AA Only Gun Tower?
Posted: Thu Apr 26, 2012 4:30 pm
by Red Spot
Nielk1 wrote:The DLL would have to more actively constantly tell the damn thing to hold unless there was something in range. It would be nasty.
Just give it -no weapon- or -a weapon- based on what its targeting, probably wont make it very intelligent though .. like not shooting at the tank while it is being bombed or such
DutchBoy wrote:wish i didn't forget 99% of what i had done i might actually be able to help haha.
I rather hope you remember what kind of positive impact you've had on this game and community

Re: AA Only Gun Tower?
Posted: Thu Apr 26, 2012 9:01 pm
by DutchBoy
Red Spot wrote:DutchBoy wrote:wish i didn't forget 99% of what i had done i might actually be able to help haha.
I rather hope you remember what kind of positive impact you've had on this game and community

You're just saying that cause you're Dutch! But, thank you.