Joined: 05 Sep 2013 Location: LocationNotFoundException at RealLife.Location.find() at line: -1
Posted: Sat Nov 23, 2013 9:56 pm Post subject:
Gattling Laser Colour
I decided, that it was finally time to get rid of the IsHouseColor=yes on my Laser Cannon, then I found this bug:
This gattling weapon uses lasers, so I wanted it to change colour for each stage. Now when I tested it ingame, no matter what I did, it only uses the colour of the 1st of the weapons.
However, the laser shrapnel could use different colours for each stage.
Is this a known bug, and can it somehow be avoided and still use a diffrent colour for each stage? This happens with or without Ares.
Also, I found out I don't have to set the 1st weapons as primary/secondary for gattling logic to work.
Weapons:
[LZGattling] ;Just examples, not really going to use those colours when its finished, but images use those.
Projectile=LAZGP
LaserInnerColor=255,0,0
LaserOuterColor=150,0,0
LaserThickness=2
LaserOuterSpread=0,0,0
LaserDuration=10
IsLaser=true
Ok won't add LZGatt 3 because this gattling system has a total of 9 real weapons (including fragment weapons), so this post would be too long if I add all. Those are enought for example.
I posted only relevant ini stuff not whole code, or else this post would be about 2 Meters long.
I suspect this might be a hardcoded issue, but I want to be sure if anything can be done about this.
Now ingame:
Stages.png
Description:
All 3 stages of the Gattling laser. They look all the same.
Filesize:
47.73 KB
Viewed:
6140 Time(s)
shrapnel colour.png
Description:
You can see the shrapnel colour changes for each stage.
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Sun Nov 24, 2013 2:35 pm Post subject:
Is the firer a vehicle at all? _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
It's a structure (i think it's pretty obvious, btw ) . And structures apparently can't have changing lasers between their weapon stages. You can disable/enable lasers, but that's all. QUICK_EDIT
I have done some testing to find out where laser gattling colour work, and where it don't. In some cases, gattling logic did not work at all.
I let the images speak for mostly themselves. Its all the same weapon, but added omnifire in some cases.
If there is something I forgot to test then I would like to know. Also, it didn't matter if the unit was attacking a air or ground unit, the gattling worked exactly the same.
Vehicle Laser Test.png
Description:
General Vehicle test.
Filesize:
101.89 KB
Viewed:
6013 Time(s)
Jumpjet Laser Test.png
Description:
Did this one too, just in case. It worked, unlike on usual non-jumpjet aircraft.
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Mon Nov 25, 2013 8:43 pm Post subject:
Congratulations. I don't know how to say... but since I'm atm a bit drunk I'll say...
It's not the laser's fault. Gattling logic does NOT WORK ON BUILDINGS. It only works on the VehicleTypes, no matter if those are Naval or Jumpjet... as long as they're part of that list calld as [VehicleTypes]. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Joined: 05 Sep 2013 Location: LocationNotFoundException at RealLife.Location.find() at line: -1
Posted: Mon Nov 25, 2013 10:09 pm Post subject:
It do work on buildings, just look at the first post I made, there the shrapnel weapon colour changed, only the Primary laser didn't change colour.
The objects Gattling didn't work at was infantry and aircraft like Harrier or Black Eagle (non-jumpjet aircraft).
So the bug seems to only apply to buildings who use Gattling logic with diffrently coloured lasers for each stage.
The same weapon works fine on vehicles/naval/jumpjet and changes colours. QUICK_EDIT
GD, I want to slap you. I mean honestly. From one Aspie to another, stahp it. _________________ KGR | AT
AZUR
Discord: theastronomer1836
Steam QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Tue Nov 26, 2013 2:32 am Post subject:
What the hell did I do in this topic?!
But this time... I agree, I need to be slapped. Tho I still take vodka better than wine.
Ahwell... gotta look into this later. And even I can't stop laughing now. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Joined: 05 Sep 2013 Location: LocationNotFoundException at RealLife.Location.find() at line: -1
Posted: Tue Nov 26, 2013 12:04 pm Post subject:
Atomic_Noodles wrote:
Are you trying to make a Rainbow Heat Ray or something though... just curious?
Not exactly.
Its a laser, with 3 stages.
1st stage = red laser = lowest frequency and longer wavelenght (of visible colours, not the whole electromagnetic spectrum) which again means the least strenght.
2nd stage = green or something around there = medium frequency and a bit shorter wavelenght which means a bit more powerful laser.
3rd stage = purple/blue laser = highest frequency and shortest wavelenght (of visible colours, not the whole electromagnetic spectrum) which would be the most powerful laser.
The colours will be like this when I finish this, those used in the examples are temporary.
This is something I just learned at school, this electromagnetic spectrum.
I might be using it to show laser strenght for many more weapons, which will be a nice reference to the spectrum.
1 More thing, is it correct to write Gattling or Gatling? QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Tue Nov 26, 2013 4:38 pm Post subject:
Gatling is the correct spelling. Having it with two ts is Westwood can't spell. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Tue Nov 26, 2013 4:59 pm Post subject:
The last patent is from the 1800's. The trademarks have already expired, AFAIK. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
There was an active application for the word "Gatling" in the realm of firearms from 2000 to 2001, and applications for "Gatling Gun Company" from 2001 to 2002 and 2008 to 2010.
So the term is popular enough that it's possible they shied away from it. _________________ #renproj:renegadeprojects.com via Matrix - direct link QUICK_EDIT
There was an active application for the word "Gatling" in the realm of firearms from 2000 to 2001, and applications for "Gatling Gun Company" from 2001 to 2002 and 2008 to 2010.
So the term is popular enough that it's possible they shied away from it.
That might explain a whole lot. Never knew that the term 'Gatling' would be trademarked. 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