-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Desolitor shot have not original weapon rendering? #43
Comments
Line (contrail, laser) widths have been readjusted since in upstream and the fallback default ended up being scaled with cellsize, which due to RA2 having huge tiles compared to say RA1 ended up wider as well. Also, Desos never had their RA2 effect, because that one is a sinus wave and not a line. |
maybe I have something confused. probably baffled me that before this wave has a different color |
That would be better if we change color of it to green as a start. Purple looks too unreleated. |
Upstream does not have paletted line rendering yet so we cannot remap the line drawn, so there is no point changing it yet. @abcdefg30 what is the bug here? |
The Desolator's beam wasn't remappable, but green - https://github.com/Phrohdoh/oramod-ra2/blob/master/extra-files/rules.ini#L752. Both the width and colors are bug. |
Generate a sine wave and pass the world-space points to WorldRenderer.ScreenPosition then those |
WIP: |
With my Railgun PR in bleed, I think I have a good chance of getting the sine beam into upstream, too. The code won't be too different. (I made the railgun code FROM the sine beam) |
I've tried to implement this using the Railgun code. I had to modify it a bit in terms of offsets / using only the sine beam etc. I am unsure though whether I should submit a PR with it, since this mostly a copy paste of the Railgun / RailgunRenderable code. And a vid: |
We already have a working Sinus Beam rendering written by forcecore in RV, tho looking at this Railgun projectile looks pretty cool too. |
For the record: the RV Radbeam is indeed forcecore with a few style updates/cleanup here'n'there. https://github.com/AttacqueSuperior/Engine/blob/master/OpenRA.Mods.AS/Projectiles/RadBeam.cs If you managed to clean up beyond, do. if you don't then mix the two, and do it thenafter. The RA2 repo ends up better with either. @MustaphaTR TBH, I'm fairly sure that rendering is doable with RV/AS radbeam though, just use small Amplitude and Wavelength - like 256/64 or so. |
What you are looking for is Armament>LocalOffset. |
@MustaphaTR thanks, that's exactly what I've been looking for. |
Yes, go ahead and do a PR. There are other traits that are on AS which are already on RA2.dll too. |
There is a $5 bounty on this that can (hopefully still?) be claimed before the timer expires at the end of the month. |
Pinging @forcecore who was the original author of the code I submitted. |
Uhmm I'm not sure whether I should take the bounty, even if I did, I'd donate back to some other bounties anyway like the unit waypoint visualization bounty. |
If you don't take the bounty, BountySource will collect it as unclaimed and it will be lost. |
I can't find the bounty, searching for deso, desolator, beam didn't yield any results. I guess it is gone. |
last time I used Desolitors in Phrohdoh's repo, and it'll be fine.
The text was updated successfully, but these errors were encountered: