Blue Building Beam
-
- Greenhorn
- Posts: 9
- Joined: 14 Dec 2014, 03:35
- Location: Brazil
Blue Building Beam
I'm completely new to modding Warzone 2100, and I quickly just wanted to know if there is any way to remove the Blue Building Beam that the truck make when building/repairing stuff, it triggers seizures in my friend. No idea how to do it itself, as we will be playing Ultimate Scavenger mod this weekend.
Thanks since now.
Thanks since now.
Re: Blue Building Beam
If you compile the game yourself, then maybe by removing the contents of renderConstructionEffect() in src/effects.cpp. Haven't tested, so not completely sure it's the right function.
-
- Greenhorn
- Posts: 9
- Joined: 14 Dec 2014, 03:35
- Location: Brazil
Re: Blue Building Beam
Yeah, I have no idea how to do absolutely none of that, I'm literaly just trying to remove the building beam just so that my friend can get a taste of Warzone 2100 since he loves RTS games. How would I compile the game myself even? No clue how I would do that. Wish there was just an option to disable that thing. :p
Re: Blue Building Beam
My equally random guess is addConstructionLine(). It mentions beam colors.
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
-
- Greenhorn
- Posts: 9
- Joined: 14 Dec 2014, 03:35
- Location: Brazil
Re: Blue Building Beam
Apologies, but you're speaking greek with me there. I have no clue how to compile stuff. I may even be able to deal with whatever you guys are talking, but I don't even know how to start, trying to get it done for this weekend. Still, thanks for this info.
- Berserk Cyborg
- Code contributor
- Posts: 938
- Joined: 26 Sep 2016, 19:56
Re: Blue Building Beam
Tried both. Commenting this one out removed the beam. Not sure what renderConstructionEffect() does since I don't see any difference with or without it.NoQ wrote: ↑18 Apr 2019, 21:15 My equally random guess is addConstructionLine(). It mentions beam colors.
Re: Blue Building Beam
What we're saying is "Unfortunately, this cannot be done by modifying game data via mods. You need to modify the game itself, i.e., a program, i.e., an executable, i.e. do programming, in order to change the beam." This isn't hard but requires some effort if you didn't do this sort of stuff before. The official guide is at http://developer.wz2100.net/wiki/CompileGuideSwagmaster Bandit wrote: ↑18 Apr 2019, 21:22 Apologies, but you're speaking greek with me there. I have no clue how to compile stuff. I may even be able to deal with whatever you guys are talking, but I don't even know how to start, trying to get it done for this weekend. Still, thanks for this info.
Somebody may find time to implement disabling the beam as an accessibility option or expose the beam to mods, but you'd have to wait for that. I also wonder if our new buildbots are capable of releasing modified game versions from branches easily enough to encourage somebody to try this out.
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
- xShadow421x
- Rookie
- Posts: 28
- Joined: 13 Apr 2013, 17:22
- Location: Earth
Re: Blue Building Beam
As long as you're playing a relatively new version of Warzone (anything after 3.1.5), the beam was given editable hexadecimal color data which you can see in data/base/palette.txt.
As far as I can tell, the Alpha channel didn't seem to have any effect on it's opacity, but setting the RGB channels to zero basically rendered it as invisible.
So as an easier solution if it works for you, just do that for both the blue-constructor beam AND the red-demolish beam, then pack that file as a mod for you & your friend.
As far as I can tell, the Alpha channel didn't seem to have any effect on it's opacity, but setting the RGB channels to zero basically rendered it as invisible.
So as an easier solution if it works for you, just do that for both the blue-constructor beam AND the red-demolish beam, then pack that file as a mod for you & your friend.
Re: Blue Building Beam
Bit late for that weekend, but maybe it will work better now, if trying a recent build (or beta2 if/when that comes out). At least, it shouldn't be flickering at 60 Hz anymore.Swagmaster Bandit wrote: ↑18 Apr 2019, 21:22 Apologies, but you're speaking greek with me there. I have no clue how to compile stuff. I may even be able to deal with whatever you guys are talking, but I don't even know how to start, trying to get it done for this weekend. Still, thanks for this info.
I can't find Windows builds that used to be at http://buildbot.wz2100.net/files/CI/master/ but maybe someone else knows where they went.
Edit: Think it's at https://ci.appveyor.com/project/Warzone ... /artifacts
Re: Blue Building Beam
This has given me a random idea, Building Beam matching to the player colour?