Posted: Sun Apr 27, 2014 7:05 am Post subject:
Laser weapon not showing up
Subject description: Works on vehicle classes, but not on my building
I have a turret that I would like to fire a laser at aircraft. This weapon logic works on two tanks, each with similar code. I copied and renamed one of the weapons to put onto a turret, but the turret won't display the actual housecolor laser, it does everything else fine. Anyone have any ideas?
I don't know your verses setup for the SonicMissile primary and if its also AA.
Two weapons are normally separated by either one firing air and other ground or else by means of the verses to switch between the weapon handling specific armors, else only primary is typically fired or it may default to the one with most range. QUICK_EDIT
I don't know your verses setup for the SonicMissile primary and if its also AA.
Two weapons are normally separated by either one firing air and other ground or else by means of the verses to switch between the weapon handling specific armors, else only primary is typically fired or it may default to the one with most range.
yeah it fires and everything. It shows a little invisible ripple like effect, it just doesn't display the color of the laser. I have another structure that did show a different ground to ground laser and that worked. I'm at a loss. QUICK_EDIT
Well, I would take VHPScan away if your using lasers, it is for missiles intended and check you have defined SecondaryFireFLH= in buiding art but lack of it wouldn't usually cause issue apart enforcing 0,0,0 as source.
Either way, something wrong with the building & its code/weapons handling if laser is drawn from units but not from this building using same, you could also try switching weapons around with primary and secondary if it show laser then.
Your using Ares I suppose since you mentioned ripple unless meant just an shp. Last edited by ApolloTD on Sun Apr 27, 2014 7:37 am; edited 1 time in total QUICK_EDIT
Joined: 05 Sep 2013 Location: LocationNotFoundException at RealLife.Location.find() at line: -1
Posted: Sun Apr 27, 2014 7:37 am Post subject:
I would try a non-house colour to see if it shows up then, like for example 255,0,0.
But as mentioned it might be something about the primary weapon. Maybe try changing their places(secondary to primary,primary to secondary) to test if that changes anything?
EDIT: I wrote 30 seconds too late...
By the way, VHPScan seems to work just fine on lasers. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum