Marioman Posted April 18, 2014 Report Posted April 18, 2014 (edited) http://www.twitch.tv/weasalss/b/521018303 Someone was saying there were a ton of cosmic rift players who didn't migrate to ss because of the lack of mouse aim. Tinkered a bit, results linked. Sorry for the choppy vid idk how to stream. [edit: better vid](also can we get the servers back please) Edited April 18, 2014 by Marioman Quote
wakamura Posted April 18, 2014 Report Posted April 18, 2014 (edited) So how did you get it to follow your mouse? Just curious Edited April 18, 2014 by Kenshin. Quote
Werew Posted April 19, 2014 Report Posted April 19, 2014 (edited) Crescendo and I had a conversation in Chaos yesterday about this with a loud mouth Cosmic Rift player. With Continuum Resizer all you need to do is:Get mouse coords (x,y) (with Cartesian origin at top left)Get ship angleConvert ship angle to radiansGet resolutionxGet resolutionya=resolutionx/2b=resolutiony/2If (y-b ) is greater or equal to 0 If arccos((y-b)/sqrt((x-a)^2+(y-b )^2)) >ship angle, rotate CCW If arccos((y-b)/sqrt((x-a)^2+(y-b )^2)) If (y- <0 If (arccos((y-b)/sqrt((x-a)^2+(y- ^2)+pi) >ship angle, rotate CCW If (arccos((y-b)/sqrt((x-a)^2+(y- ^2)+pi) Bam, done. Edit:Fucking emoticons. They are all , and I don't know how to change them.Edit 2: is the letter b followed by a closing parenthesis. Edited April 19, 2014 by hallucination Quote
Marioman Posted April 19, 2014 Author Report Posted April 19, 2014 Werew's got the method down, just used arctan instead of arccos. How would it be received if I released a feature like this in resizer? Might make the game more accessible for new players, but also might break other zones (i don't play EG or TW). Any input?? Quote
Werew Posted April 19, 2014 Report Posted April 19, 2014 I actually screwed it up with beer. Forgot to take turns that pass an angle of zero into account. I'll fix it if Marioman wants a double check on the maths. Yeah, any inverse trig function will do. Just got to set your bounds right. As for input on whether this would be helpful, I've always played with a keyboard. I can't even imagine tracking with a mouse. But that does seem to be how all those newfangled browser games prefer to do it. Quote
Werew Posted April 20, 2014 Report Posted April 20, 2014 (edited) Yes, it does, Cheese. It assigns left or right to be input to the game using the difference in the mouse pointers angle from center and the ships current angle. Edited April 20, 2014 by Werew Quote
Marioman Posted April 20, 2014 Author Report Posted April 20, 2014 (edited) Just wanted to confirm, that's exactly how it works. Not hard to figure that out, werew even posted pseudocode above. So according to that, yes it does obey the rotation speed set in ship settings. Edited April 20, 2014 by Marioman Quote
Marioman Posted April 21, 2014 Author Report Posted April 21, 2014 Now everyone can try mouse aim in the latest version (2.2) of continuum resizer. http://www.subspace.co/files/file/28-continuum-resizer/ Quote
Marioman Posted April 21, 2014 Author Report Posted April 21, 2014 Oh i have to add, you need to have left and right as your rotation keys, ctrl and tab as your bullet and bomb keys for mouse aiming and shooting to work. Test it out. Quote
Bargeld Posted April 21, 2014 Report Posted April 21, 2014 (edited) Good job, doesn't crash out on my vista 64 anymore and the res change takes effect... BUT Cannot turn off Mouse Aim (when I deselect the option, the game starts and LR arrow keys do not function. As soon as you move the mouse, the dot appears and the ship rotates. Rotation function is not correct... It seems to move 2 or 3 ticks, then stops. Fonts are screwed no matter what advanced options, font size, or resolution that I set. (Page flipping, clipping, software emulation, force fonts to mem). Edited April 21, 2014 by Bargeld Quote
»Axe Demento Posted April 21, 2014 Report Posted April 21, 2014 (edited) Heu MarioMan any chance to do a quick version of this that works on subspace 1.34/1.35 Might help me with my zombee onslaught ...Axe If not no worry i'm looking forward to playing around with version 2.2 just to add something its the resizer i'm really looking for the 1.34/1.35 as the old program is full screen and i haven't played around with dxwnd to see if i can window it. Edited April 21, 2014 by Axe Demento Quote
»Axe Demento Posted April 21, 2014 Report Posted April 21, 2014 windows Vista crashing out with a"the exception unknown software exception (0xc000005)0x5f6b3433 Whats the best operating system to run this on?i have everything from windows 95 - Windows 8.1 runningoh and i guess also ubuntu ...Axe Quote
Marioman Posted April 21, 2014 Author Report Posted April 21, 2014 Bargeld thanks for testing, I had accidentally uploaded a version I was using to test that had mouse aim hard-coded to be always on. New build is up where the mouse aim option in settings actually does something -- go download that. As for fonts, everyone always mentions something about fonts looking weird when they use resizer. That's an effect of the resizing. If you don't resize at all, the fonts won't change at all... so if that's a problem for you make sure you are running at whatever original res you liked your fonts on.Axe, how many people play on a client that isn't continuum 0.40? I think that should answer your question about making a 'quick' version for subspace 1.34/1.35. This works on vista (as confirmed by Bargeld), win7 and win8. You might want to check if you have some malware on your pc or if something corrupted. Quote
»Axe Demento Posted April 21, 2014 Report Posted April 21, 2014 The key about what clients people use is whats available I've now gotten to play SS with discretion, PSpace, Subspace 1.35 1.34 (no Subspace II yet.) I haven't looked at your program yet so i don't know what you did to make it work or how it works. My quick guess if you have something catching info between the client and server and then doing keyboard commands. I'm interested in know more as always i'm looking for things that are useful to me. I want to move my SS past the limitations of playing it from continuum as it never moves forward only inward. As far as vista goes it has its moments. I prob have liked windows 7 more then 8. Earlier today i learned about most of windows 8 is designed to stop you running exe files. I put about 15 seconds of effort into getting it going. Now that i have conformation that it works on vista i can put in 5 minutes as far as operation systems go the benefit of having so many computers up and running is i can walk to and use what ever operating system it works best on. Windowing old copies of subspace is one of the things i want to do. So if your program had worked for it i would use it. If not i'll figure out the settings for dxwnd. Either way i appreciate anyone who makes something for SS. ...Axe Quote
Bargeld Posted April 22, 2014 Report Posted April 22, 2014 (edited) Mouse aim (or lack thereof) is functioning correctly. As far as the fonts... I'll attach some examples, it's not just a function of the res being different because I use the resizer on my win7 laptop and it's not doing this. Also, whenever i take a screenshot, it seems to blow the screen buffer out to the resizer res setting and sets it as the capture size, but then places the visible screen at 1650 x 1080 as seen, and the first screenshot is always a solid black screen. Onscreen, the actual visible display on the monitor, the monitor sees a full screen image, none of the cropping problems occur, except in the screenshot output. "Show Default Resolutions" seems to have very odd behavior also, although it would take quite a long to time to fully describe it all. Let me know if you really want me to. Vista default res: 1650 x 1080 (16:10 aspect) Attempting: 2048 x 1340http://www.bargeld.us/storage/2048x1340.jpg 2560 x 1676http://www.bargeld.us/storage/2560x1676.jpg 3300 x 2160http://www.bargeld.us/storage/3300x2160.jpg These are the original .bmp just converted to .jpg. Fonts are screwed in all, as can be seen. Edited April 22, 2014 by Bargeld Quote
Bargeld Posted April 22, 2014 Report Posted April 22, 2014 Large fonts do it too... 2048 x 1340: http://www.bargeld.us/storage/2048x1340_LF.jpg Quote
Marioman Posted April 22, 2014 Author Report Posted April 22, 2014 Hey bargeld, thanks for going through the trouble of grabbing some screenshots. Sadly i have no clue what's up, pretty confused, but would love to talk to you ingame if you pop in. Quote
Bargeld Posted April 22, 2014 Report Posted April 22, 2014 (edited) I've popped in a few times since your post, but haven't managed to cross paths with you yet. You're using 'Weasal' right? Crescendo left me a ?message for a good idea, to try using the resizer at my default res, and see what that does. Lo and behold, there is an oddity. First off, simply setting the custom res in the resizer forced my lower windows taskbar to always be on top, even when in game. It basically looked like an active desktop, with no way to get the taskbar to go away. That was using all the same settings for everything in the previous posts/tests. I then turned 'chat window support' OFF in the resizer, and it fixed the problem, taskbar went away. That's when I noticed that the game's "full screen" was dropping a number of lines off the bottom of the screen. As you can see in the screenshot, there are 30 pixels of black space at the bottom (i measured it in photoshop), and the text/chat is cut in the middle of a line... where that line cuts off was the bottom of the monitor at full screen. 1650x1080 http://www.bargeld.us/storage/1650x1080.jpg Based on that, and the font wonkiness I've seen, it almost looks like there is a fixed value in the formula for the res to display that is off by that 30. Or possibly a weird percentage/division occurring. I'll continue to look for you in game. Edit: on a hunch, I checked the height of the Vista taskbar by taking a desktop screenshot and then pasting into photoshop and measuring: 46 pixels. Edit 2: Feel free to split my troubleshooting stuff off to a separate topic for general Resizer troubleshooting, in order to clean up the mouse aim topic. Sorry about that. Edited April 22, 2014 by Bargeld Quote
a tool Posted April 23, 2014 Report Posted April 23, 2014 unsure if this helps, but i remember seeing forum post a few years ago with the SS chat fonts.. ss_fonts.rar Quote
Cheese Posted April 23, 2014 Report Posted April 23, 2014 http://trenchwars.org/logviewer/fonts in action Quote
Marioman Posted April 23, 2014 Author Report Posted April 23, 2014 Thanks cheese but it turns out the problem was just him misreading his native monitor resolution (1650x1080 vs 1680x1050). I did try to improve resizer though, recommend everyone try the latest version 2.3 (if your hardware supports scaling you may see some improvement). Quote
Bargeld Posted April 23, 2014 Report Posted April 23, 2014 The fonts remained screwy no matter what we tried, even with my custom res correctly set at 2x native (3360 x 2100) on the newest version. But I'm only one user, and we spent a good amount of time in-game trying to work the fonts out yesterday, so if everyone else is working fine, no harm, no foul. Quote
»Axe Demento Posted April 24, 2014 Report Posted April 24, 2014 so Tried another couple times with bargelds settings for the res. still not working. Just to let you know i don't think it likes vista. Its also a 64bit. Same error as above. I'll try it on windows 8.1 next. ...Axe Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.