AA Only Gun Tower?

Moderators: GSH, VSMIT, Red Devil, Commando

User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: AA Only Gun Tower?

Post by Red Devil »

hmm, no Z axis exists then. strange...
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: AA Only Gun Tower?

Post by General BlackDragon »

unfortunately this guntower is a flak cannon aa turret on the ground, so making it high altitude isnt an option...

http://www.bzcomplex.com/gallery/displa ... m=69&pos=0
http://www.bzcomplex.com/gallery/displa ... m=69&pos=1

http://www.bzcomplex.com/gallery/displa ... =69&pos=10
DutchBoy
Sober Scav
Posts: 21
Joined: Thu Apr 19, 2012 8:03 pm

Re: AA Only Gun Tower?

Post 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.
User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: AA Only Gun Tower?

Post by Red Devil »

DB, i can't say how pleased i am that you are back again. gbd, form does not equal function
DutchBoy
Sober Scav
Posts: 21
Joined: Thu Apr 19, 2012 8:03 pm

Re: AA Only Gun Tower?

Post by DutchBoy »

wish i didn't forget 99% of what i had done i might actually be able to help haha.
User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: AA Only Gun Tower?

Post by Red Devil »

:D hey, i can't recall what i did last week, so welcome to the club :D
User avatar
Zax
Attila
Posts: 1388
Joined: Sat Feb 19, 2011 6:56 am

Re: AA Only Gun Tower?

Post by Zax »

X wanted this before. He was persistent on it, and concluded it couldn't work.
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: AA Only Gun Tower?

Post by Nielk1 »

I guess the only way is to have the DLL actively give attack and hold orders to the GT.
User avatar
Zax
Attila
Posts: 1388
Joined: Sat Feb 19, 2011 6:56 am

Re: AA Only Gun Tower?

Post 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
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: AA Only Gun Tower?

Post 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.
User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: AA Only Gun Tower?

Post by Red Devil »

there is the IsFlying ODF entry, that, coupled with the SmartIsAirUnit default.
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: AA Only Gun Tower?

Post 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.
User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: AA Only Gun Tower?

Post by Red Devil »

associated with the A flag in subAttackClass
User avatar
Red Spot
Attila
Posts: 1629
Joined: Mon Feb 21, 2011 6:14 pm
Location: The Netherlands

Re: AA Only Gun Tower?

Post 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 :D

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 ;)
DutchBoy
Sober Scav
Posts: 21
Joined: Thu Apr 19, 2012 8:03 pm

Re: AA Only Gun Tower?

Post 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.
Post Reply