XIM Community

XIM APEX => Game Support => Topic started by: MuKen on 01:42 PM - 02/27/14

Title: Online editor and viewer for ballistics curves
Post by: MuKen on 01:42 PM - 02/27/14
https://googledrive.com/host/0B8EFYcEZMa4deTNOUjM2OTlKTVU/xim4ballisticscurvetool.html

Hi everyone, with much thanks to abc123 for helping to update things, the ballistics curve editor is now working for XIM4 codes.

There's also now a new method for editting curves that more visually oriented people should like.  Basically when you first load up the tool, it begins with a single line "segment", which is a straight line from 0,0 to the maximum 20,100.  If you look below the chart, you'll see a box labelled "Insert", as long as it stays that way, you can add new segment points by clicking on the chart.  I.e. if you click somewhere in the middle, it will split the segment into two segments: a straight line to the point you clicked and another segment leading to where the old segment originally led from there.

After laying out all the general places you want to hit with straight segments, you can switch the box from "Insert" to "Curve".  In this mode, if you click an area, instead of adding a new segment, it will attempt to curve one of the existing segments to get as close to that point as possible using linear acceleration or deceleration as appropriate.  You can switch back and forth between these modes as you see fit.

For the time being, only linear curves are supported, so the types of curvature you can create are limited by that.  I may add more types of curves in the future.  If you are having trouble bending curves the way you like, try clicking in different areas (i.e. closer to the beginning or endpoints of the segment you are curving versus in the middle, etc.).

If you prefer the old method of working with the generation code, it still works and you can use both interchangeably.  I.e. you can use the visual point and click method to get started, then adjust the text of the code to tweak things, and go back to make some more changes by clicking, etc.  The chart images can still also be downloaded by clicking the icon in the upper right, or hosted on imgur and pasted into a forum post by clicking the button on the bottom.

The generation code is a little simpler since the XIM4 doesn't include hip and ads in a single code and also doesn't store sensitivity.  So for example, you can enter the following:

Code: [Select]
0.2 0.3 lineardeceleration 0.4
0.7 0.8 linear
1 1 lineardeceleration 0.6

Try it out and see what happens.  Basically, we have created a simple boost curve for pushing past auto-aim, using linear deceleration curves at the bottom and top to smooth it out.  The first line starts with "0.2 0.3", saying we wish to move through the point 20% along the X axis and 30% up the Y-axis.  This is followed by "lineardeceleration", stating the type of curve we wish to use to get to that point, along with a parameter specific to linear deceleration curves.  Different functions will take different types and numbers of parameters.  The next line connects us to the point "0.7 0.8" with a straight line.  And the third line finishes off by reaching the top right corner of the graph.

When specifying points, you can enter "?" as the Y coordinate.  When doing so, the tool will calculate the curve that would have led to the previous point, then extend it to the new X coordinate and use the Y coordinate that would have naturally resulted.  This should not be used on the first point.  Note that using this method will prevent the visual graph click editting method from working.

Currently the following functions are supported:

linear - connect two points with a straight line, no parameters

linearacceleration - use a linear acceleration curve, 1 parameter (must be >0).  The sensitivity at the endpoint is fixed, and the parameter indicates what the factor of sensitivity rampup from start to end to reach it was.  For example a factor of 2 will add twice the starting sensitivity from beginning to end, so the sensitivity at the end of the range will be triple the start.

lineardeceleration - use a linear deceleration curve, 1 parameter (must be >0).  The sensitivity at the endpoint is fixed, and the parameter indicates what the factor of sensitivity lowering from start to end to reach it was.  For example a factor of 2 will start at an additional twice the ending sensitivity, so the sensitivity at the end of the range will be triple at the start.

logarithmic - a logarithmic curve, 1 parameter (must be >0) indicating the domain range that should be set to match the endpoint (higher values will make for a steeper start, lower values will make the curve straighter)

exponential - an exponential growth curve, 1 parameter (must be >0) indicating the domain range that should be set to match the endpoing (higher values will make for a steeper start, lower values will make the curve straighter)

The three parameters are designed so that if you operate on a region twice as wide, you should double the parameter to achieve a similar curve nature.  So looking at the example script, the parameter was raised by 50% for the second deceleration section, because that section covers an area 50% wider, resulting in similar curves.

Curve generation will also create a save link to come back to your work, and forum code to post the results, as will viewing of xim-pasted curves.  Following either method, if you want to add images of the graphs to the forum code, you can do so by clicking the button at the bottom of the page.  This takes some time, wait until it automatically selects the text to let you know it is complete.

I make no promises about what might happen if you enter weird things (incorrect parameters, points out of order or out of bounds or not reaching the end, etc).  Suggestions on what to work on next or bug reports are welcome.
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 02:00 PM - 02/27/14
Very nice Muken much easier to generate a curve than on the Andoid app. There is one problem though, you cant edit points in the Androids browser. This would be very convenient to draw the curve and copy/paste it in the XIM App. At least as long as Obsiv does not make the apps ballistic usable.

Edit: Sorry it is very well possible to edit the curve on the Android device! Its not Bezier but this would be totally enough in the XIM app. The thing is just you can not set several points but only one. The vertical point under your finger should be changed. Like you set the curve by pointing along it. Oh thatís the "insert" :D
You cant set it on the Android cellular the screen is not distinguishing points well enough.
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 02:14 PM - 02/27/14
Also in insert mode you cant go back after you have set a point. I cant seem to set each point some are not reacting.
Title: Re: Online editor and viewer for ballistics curves
Post by: MuKen on 02:24 PM - 02/27/14
Thanks for the feedback, I've added a "delete" mode for removing points.  Clicking an area will delete the segment nearest where you click (in other words the "point" to the right of it).

Can you give me a little more detail on where the point sets are not reacting?  (i.e. insert vs curve, where you're clicking, what the code looks like before and after, etc)
Title: Re: Online editor and viewer for ballistics curves
Post by: BionicTbag on 02:33 PM - 02/27/14
i think it needs some work.. but good work so far.


many curves I have seen so far take the raw values 1-20 and the first 3-4 values will go directly up the far left side.


so far in your editor I do not know how ot, or you cannot do this.


also, care to elaborate on the other values besides "linear" we can use ?


you cannot create this:


(http://hostmypicture.com/images/bc.jpg)
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 02:34 PM - 02/27/14
I will try to give you more details but after setting the curve wrong with insert very few points react, a delete should not be necessary if re-setting points.
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 02:37 PM - 02/27/14
Best would maybe be if we could set by insert and a curve button would smooth out and correct points that strafe out.
Title: Re: Online editor and viewer for ballistics curves
Post by: BionicTbag on 02:44 PM - 02/27/14
i think it needs some work.. but good work so far.


many curves I have seen so far take the raw values 1-20 and the first 3-4 values will go directly up the far left side.


so far in your editor I do not know how ot, or you cannot do this.


also, care to elaborate on the other values besides "linear" we can use ?


you cannot create this:


(http://hostmypicture.com/images/bc.jpg)


I think it because you have pre-determined our "x" value and are only allowing for the raw values to alter the "Y" value...it requires us the ability to set both x and y values to be ale to move points along the left side....
Title: Re: Online editor and viewer for ballistics curves
Post by: MuKen on 02:51 PM - 02/27/14
I will try to give you more details but after setting the curve wrong with insert very few points react, a delete should not be necessary if re-setting points.

There's now a "move" mode for moving points around, try that out and tell me if it's what you were looking for.

you cannot create this:


(http://hostmypicture.com/images/bc.jpg)

For the time being you can't do things like that with the visual mode, I will look into it soon.  In the meantime, you can do it by manually changing the code values in the codebox to the left to something like this:

Code: [Select]
0 0.2 linear
0.8 1 linear
1 1 linear
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 02:53 PM - 02/27/14
will try tomorrow dead tired, can you add a dropdown with yours from the other threads?
Title: Re: Online editor and viewer for ballistics curves
Post by: MuKen on 03:05 PM - 02/27/14
Sure thing.  What do you mean by a dropdown?
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 10:48 PM - 02/27/14
Oh a dropdown in UI programming language is a box you click on and several choices drop down in a list. It doesnít take up much space but gives all choices.

The visual mode is the interesting part or you can simply go to the Android XIM app and be tortured by the input method there. That Highcharts thing is not working. With whatever method it does not do what you intend to do. You cant move the points or draw a graph as you desire.
Title: Re: Online editor and viewer for ballistics curves
Post by: MuKen on 10:55 PM - 02/27/14
I think I'm not understanding what you're asking for exactly, do you not see a dropdown as it is now?  Maybe it has something to do with the platform, what are you running the page on?  It should be a dropdown right now of insert, move, delete, and curve.
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 11:03 PM - 02/27/14
Yes that one is visible. I was speaking of a dropdown with your premade curves, a small library to start from if you want. But first of all visual editing the curve is not possible right now.
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 11:07 PM - 02/27/14
Tried move again and it works better now. Did you do something? Problem is only there are sometimes more than one point moved straighting out the line. I would remove everything except move.
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 11:09 PM - 02/27/14
Make the graph bigger so mouse clicks are more exact. I can not edit the first point after 0.
Title: Re: Online editor and viewer for ballistics curves
Post by: MuKen on 11:11 PM - 02/27/14
Yes that one is visible. I was speaking of a dropdown with your premade curves, a small library to start from if you want. But first of all visual editing the curve is not possible right now.

Ah ok I see what you're saying.  I'll add that to the todo list.
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 11:12 PM - 02/27/14
OK was able to draw this quite fast. How do I get it into the android APP the easiest way?

(http://www7.pic-upload.de/28.02.14/sphwfo1byh.png)

Title: Re: Online editor and viewer for ballistics curves
Post by: MuKen on 11:17 PM - 02/27/14
Tried move again and it works better now. Did you do something? Problem is only there are sometimes more than one point moved straighting out the line. I would remove everything except move.

The problem is without insert, there is nothing to move.  Insert is what creates the turn points in the first place so you can move them around.

How much bigger do you think it should be?  Btw, you can create images without screenshotting, there's a button on the lower left that creates a forum post with an image of the curve you created.

The easiest way to get it into the android app is to just paste the ballistics code
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 11:43 PM - 02/27/14
Screenshot right, that a nice feature.
The insert problem. Then put a writing on the chart that it is inactive and if you choose "move" send a brief "insert" and then set "move".
Title: Re: Online editor and viewer for ballistics curves
Post by: thebside on 12:06 AM - 02/28/14
I do like the idea of having a sort of library of pre-made curves that you can choose from the drop down.  The problem is I think that library would get big fast.  You would almost need 2 drop downs, one for the game, and the other for whose curve it is (if you are pulling them from the Ballistic Curve Library post).

Great work.
Title: Re: Online editor and viewer for ballistics curves
Post by: MuKen on 12:35 AM - 02/28/14
Screenshot right, that a nice feature.
The insert problem. Then put a writing on the chart that it is inactive and if you choose "move" send a brief "insert" and then set "move".

Then by default you'd only have one point to work with, whereas people might want more.  I've made a few changes though that might simplify things a bit

1) bigger chart, so easier to click where you want
2) the insert/move/delete/curve dropdown is now radio checkboxes, so you can change modes with one click
3) when in insert, if you try to insert on the same x-coordinate as an existing point, it will instead move that point (it used to ignore this, which is probably why it seemed unresponsive to you)
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 01:34 AM - 02/28/14
Oh yes comletely responsive now, size is nice to edit, very fast editing. This might even be superior to Bezier as it needs no leaning curve which besier does. Will try to edit on my Android phone. Nicely done Muken!
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 01:38 AM - 02/28/14
Muken open the site on your phone, the graph is put under the values. This is nice. Make the graph as wide as the values so it fills the whole browser width.
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 01:48 AM - 02/28/14
No, unless you have a pointer that you move around where your finger is not on the pointer itself like Iteleport solves the problem elegantly its not good on the phone. You can not point exactly with your fingertip alone. If you zoom in you can but then you loose the overview where to put that point.
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 02:26 AM - 02/28/14
here a video about a quick edit of that curve. I do that one as itís a bit more complicated to do.

http://www.youtube.com/v/AgBQdxXaOtw&hd=1
Title: Re: Online editor and viewer for ballistics curves
Post by: MuKen on 03:35 AM - 02/28/14
I've added logarithmic and exponential curves to the visual edittor, these should be able to make steeper curves like what you are trying to do in the video without having to click through all the points, try it out and let me know what you think.  You should be able to make a curve like that one in just a few clicks now.

http://www.youtube.com/watch?v=W4q3j1XBWaM
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 03:43 AM - 02/28/14
OK nice but I just thought that my curve is too steep meaning the acceleartion will be very strong in the middle part. But has nothing to do with your new feature of course.
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 03:49 AM - 02/28/14
Delete, dont get the command, make the curve unusable after a couple of clicks.
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 03:51 AM - 02/28/14
Insert after a linear curve quite demolishes the curve. The part I dont click should not be moved?
Title: Re: Online editor and viewer for ballistics curves
Post by: BionicTbag on 07:43 AM - 02/28/14
@roads, what game was that curve for?


are you using it?  can you post the "code" for your curve here?
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 07:53 AM - 02/28/14
None specially. Its too steep as it is.
Title: Re: Online editor and viewer for ballistics curves
Post by: MuKen on 04:33 PM - 02/28/14
Insert after a linear curve quite demolishes the curve. The part I dont click should not be moved?

Ah ok I think maybe I haven't thoroughly explained how the visual editting works.  It works based on what I'll call "key points", points that the curve will aim to pass through.  When you first load it up, it will only have two key points: 0,0 and 20,100.  In insert mode, every time you click somewhere it will add another key point.  The app will then automatically adjust all the other non-key points so they form a straight line starting from the first keypoint (0,0), and going to the next key point.  This will continue from key point to key point all the way until the last one at (20,100).

So if you start at the beginning (with only 2 keypoints) and click somewhere in the upper half (so there are now 3), the line will go straight from the lower left corner to where you clicked, then bend and go straight to the upper right corner.

In delete mode, every time you click somewhere, it will find the nearest key point and remove it.  So that means where there used to be a bend before the previous key point and the next key point, all the points between those two will be smoothed into a straight line.

In move mode, every time you click somewhere, it will find the nearest key point and move it to where you clicked.

In curve mode, when you click BETWEEN two key points, it will add a curvature to the previously straight line between those points and try to calculate the curve to get as close to where you clicked as it can.

So basically, you are not supposed to click all the points to where you want them.  Instead choose a couple key points outlining where you want the curve to go, and add them in insert mode.  Then use curve mode to smooth out the segments in between as you like.
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 11:27 PM - 02/28/14
Muken an input method that needs an explanation like this and the user not knowing the keypoints is not good. Its really just about drawing a curve. It is harder than one thinks and that why there is Bezier. Id go with the insert where you can move around each point. The exponential is nice but will thow off the user once he wants to adjust it.
Title: Re: Online editor and viewer for ballistics curves
Post by: ak-xs on 10:30 AM - 03/03/14
only now got around to looking into this, so neat
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 11:29 AM - 03/03/14
Yeah but we need a better input in the App. We now have live edit with a horror input method. Each time I start to make a curve on the android I stop after two minutes saying dafug is this LOL.
Title: Re: Online editor and viewer for ballistics curves
Post by: abc123 on 11:57 AM - 03/03/14
Yeah but we need a better input in the App. We now have live edit with a horror input method. Each time I start to make a curve on the android I stop after two minutes saying dafug is this LOL.

Agreed, drawing the curve with your finger might be better and then having the current system to find tune it.
Title: Re: Online editor and viewer for ballistics curves
Post by: Threewheels on 10:55 PM - 03/03/14
I just messed around with this for the fist time.  MuKen, this is brilliant, nice work!

if you have a pc, it's super easy to paste it into the XIM app.  it literally took me seconds to make a curve and paste it into a profile.   Haven't tried it on my android tablet yet tho.
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 10:39 AM - 03/04/14
No you cant android this on the phone. A tablet could work better.
Title: Re: Online editor and viewer for ballistics curves
Post by: BionicTbag on 11:47 AM - 03/04/14
should also have a "library" of curves.


suggestion: create a log in: need help ask me!
per user: gets to save and edit old curves....  and this would also be helpful lets say if I wanted to grab teh latest "roads COD Ghosts" curve.. that he just created.


or how about a share button? to email it to yourself or others? - need help just ask.
Title: Re: Online editor and viewer for ballistics curves
Post by: Threewheels on 01:25 PM - 03/04/14
well, you can always share your curves in the Ballistics curve thread, and paste the data in there.  There is already quite a library of curves on the forum.
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 01:37 PM - 03/04/14
The goal of having the XIM GUI on a powerful phone is live editing. You want to try out the curves fast like you change gears in a car. The input method right now prohobits it. A copy paste from the website would also. To Ballistic newbies it would be nice to *quickly* test the different curves and see how they react ingame. 
Title: Re: Online editor and viewer for ballistics curves
Post by: MuKen on 09:57 PM - 03/04/14
Sorry for the delay, been busy last few days.

I think it's still a matter of me not fully conveying how the editor works.  Even with the keypoint system, you can still edit point by point, if you just click all the points in to place they will all be keypoints and thus move independently.  If you are getting behavior other than that, then that means you haven't clicked all the points (which wouldn't make a sensible curve in free-editting mode either).  So this system does everything a point-by-point system would as well.

Conversely, you can do it with a few keypoints and curve manipulation like was intended.  This is no harder than what you'd have to do if you were using bezier curves: you have to set the start and end points, then click somewhere in between in a way that shapes the curves.

It's probably difficult to get because I didn't show the keypoints, so I've added a couple new functions:
1) a checkbox that toggles marking the keypoints in red to make it easier to understand what is going on
2) a button that sets all keypoints (basically goes into point-by-point editing mode like you were asking for)
Title: Re: Online editor and viewer for ballistics curves
Post by: abc123 on 10:42 PM - 03/04/14
should also have a "library" of curves.


suggestion: create a log in: need help ask me!
per user: gets to save and edit old curves....  and this would also be helpful lets say if I wanted to grab teh latest "roads COD Ghosts" curve.. that he just created.


or how about a share button? to email it to yourself or others? - need help just ask.

this belongs in the XIM app not in this simple web page, because it's currently hosted on Google host no DB no  backend code.  obviously a service could be written and allow OAuth for login to allow a simple frontend to handle this type of this but i honestly don't think that's what should happen.

I would prefer:
1. XIM OpenID Provider
2. Allow certain apps to consume it

3. this would allow for a site like muken's to save your profiles to XIM's Database.
4. Login to XIM App
5. Load Saved ballistic curves from (Your curves or from "shared" curves
6. Curves should show up on a vote based system with comments.
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 10:52 PM - 03/04/14
Quote
this belongs in the XIM app

+1 I really hope Obsiv addresses the Ballistics once the XIM4 is out. The App so much can not handle this feature right now.
Title: Re: Online editor and viewer for ballistics curves
Post by: ak-xs on 11:58 PM - 03/04/14
abc123 that is exactly it. would be perfect.
Title: Re: Online editor and viewer for ballistics curves
Post by: MuKen on 02:09 PM - 03/05/14
should also have a "library" of curves.


suggestion: create a log in: need help ask me!
per user: gets to save and edit old curves....  and this would also be helpful lets say if I wanted to grab teh latest "roads COD Ghosts" curve.. that he just created.


or how about a share button? to email it to yourself or others? - need help just ask.

I could store a personal library using cookies, but then you might lose it if your cookies get deleted.  There is currently a function for 'sharing' your curve by creating a forum post, complete with pictures and a link for loading (the pictures are automatically uploaded to imgur for hosting).  If there were a cookie-library of curves, then that could be expanded to share whole libraries with a single link.

What do you guys think, would this be desirable?

I would prefer not to have to start hosting my own db, and having people yelling at me when I have downtime or lose data...
Title: Re: Online editor and viewer for ballistics curves
Post by: ak-xs on 02:31 PM - 03/05/14
much like how you upload stuff automatically to imgur, why not upload the personal libraries and curves to a cloud service, say gdrive, or wtvr? files should be small enough that 5GB or something will last a while. if that is not enough we can use as many cloud accounts as needed and manage the files from there as if local...

should be possible.. i might be drunk too
Title: Re: Online editor and viewer for ballistics curves
Post by: MuKen on 02:50 PM - 03/05/14
much like how you upload stuff automatically to imgur, why not upload the personal libraries and curves to a cloud service, say gdrive, or wtvr? files should be small enough that 5GB or something will last a while. if that is not enough we can use as many cloud accounts as needed and manage the files from there as if local...

should be possible.. i might be drunk too

The imgur hosting is so that you can create an image link to display on the forum.  If it's just about sharing a library, it's a little heavyweight to be uploading files somewhere, a person's library of curves should reasonably fit into a cut and paste string.
Title: Re: Online editor and viewer for ballistics curves
Post by: tuffrabit on 03:41 PM - 03/05/14
Version 2.0 of the "push through the aim assist" curves from the Edge days.  The ramp up is smoother, and the ADS curve is a tad faster.

Thanks MuKen and good work, your tool is very well done.

Hip:
Code: [Select]
>>> XIM4 START Paste >>>
X4MB:00101E2C3A46525E68727C86909AA4AEB8C2C8C8C8
<<< XIM4 END   Paste <<<

(Click to load the curve) (https://googledrive.com/host/0B8EFYcEZMa4deTNOUjM2OTlKTVU/xim4ballisticscurvetool.html?prexim=%3E%3E%3E%20XIM4%20START%20Paste%20%3E%3E%3E%0AX4MB%3A00101E2C3A46525E68727C86909AA4AEB8C2C8C8C8%0A%3C%3C%3C%20XIM4%20END%20%20%20Paste%20%3C%3C%3C%0A)

(http://i.imgur.com/kFilb9c.png)

ADS:
Code: [Select]
>>> XIM4 START Paste >>>
X4MB:000E1C2836424E5A646E78828C96A0AAB4BEC8C8C8
<<< XIM4 END   Paste <<<

(Click to load the curve) (https://googledrive.com/host/0B8EFYcEZMa4deTNOUjM2OTlKTVU/xim4ballisticscurvetool.html?prexim=%3E%3E%3E%20XIM4%20START%20Paste%20%3E%3E%3E%0AX4MB%3A000E1C2836424E5A646E78828C96A0AAB4BEC8C8C8%0A%3C%3C%3C%20XIM4%20END%20%20%20Paste%20%3C%3C%3C%0A)

(http://i.imgur.com/lOUnyQb.png)
Title: Re: Online editor and viewer for ballistics curves
Post by: abc123 on 08:23 PM - 03/05/14
The imgur hosting is so that you can create an image link to display on the forum.  If it's just about sharing a library, it's a little heavyweight to be uploading files somewhere, a person's library of curves should reasonably fit into a cut and paste string.

if you want to do more than cookies, i'd be happy to just host this for you.  I host on EC2 and would do it for free.  We'll host the code on GitHub and it would auto update the site.

I honestly would hope that this gets built into the XIM App, or an API for sending items to the XIM App.  We'd need to implement a stackexchange type interface.  Wouldn't take more than 2 weeks to implement this type of library, then we could provide a OAuth Service to the XIM team for pulling these curves...perhaps that'd be better for them.

Let me know if you want to get into this Muken, i'd be happy to help.  Since we'd be using GitHub anyone would be able to help and you can decide on contributors.
Title: Re: Online editor and viewer for ballistics curves
Post by: MuKen on 01:23 AM - 03/06/14
Sure, sounds like a good project.  I think I'd prefer to avoid having an open repository with lots of collaborators at this point, unless we plan on a lot more features later on.  Maybe just the two of us for now with a separation of code through api; I'd rather avoid having to read through others' code updates and make sure my own are readable for the time being.

If you want to create a xim code and generation code database separated by author and provide an api for me to update the app to store and retrieve, I think that would be the easiest way to go forward.  How does that sound?
Title: Re: Online editor and viewer for ballistics curves
Post by: abc123 on 12:42 PM - 03/07/14
Sure, sounds like a good project.  I think I'd prefer to avoid having an open repository with lots of collaborators at this point, unless we plan on a lot more features later on.  Maybe just the two of us for now with a separation of code through api; I'd rather avoid having to read through others' code updates and make sure my own are readable for the time being.

If you want to create a xim code and generation code database separated by author and provide an api for me to update the app to store and retrieve, I think that would be the easiest way to go forward.  How does that sound?

the work has begun :) since your front end doesn't have ssl i'll likely require you to use OpenIDProvider for Login.  I can help with that part of the frontend and the OAuth implementation after that all you are doing is having them login, make curves like normal save them to the API.  I'll give you all the API documentation so you'll know the other things you could implement (List all Users Configs), list all configs (paged), add a config (for current user), edit config (for current user), delete config (for current user), upvote config (current users vote to any config other than own), comment on config (current user comments for any config), and maybe more.
Title: Re: Online editor and viewer for ballistics curves
Post by: MuKen on 06:10 PM - 03/07/14
Awesome :)
Title: Re: Online editor and viewer for ballistics curves
Post by: abc123 on 11:30 PM - 03/09/14
Current Progress:
* OAuth2 is implemented
* User database schema is finished
* OAuth2 database schema is finished

Items to complete:
* API for Muken's ballistic curves
* Add Muken's as a client and give you the client code
* implement API's completely
* Be happy

:)
Title: Re: Online editor and viewer for ballistics curves
Post by: MuKen on 06:59 PM - 03/10/14
Nice!
Title: Re: Online editor and viewer for ballistics curves
Post by: abc123 on 11:35 PM - 03/11/14
Nice!

Okay, the OAuth and login is completed.  You can also using OAuth connect to my API (still in progress).  Want me to give you some sample clients?  I'll write it in javascript, since you are a unique client on my side I can make it so users have to authorize permission for you to use their account. 

Also, after you login on my site using your client you will automatically be redirected to your site with the Oauth2 values.  Let me know if there is anything you'd like from me to help this process.
Title: Re: Online editor and viewer for ballistics curves
Post by: MuKen on 05:28 PM - 03/12/14
Cool, thanks abc123.  Sure, some example clients would be the best thing.  I should be able to do some coding for this on friday.
Title: Re: Online editor and viewer for ballistics curves
Post by: abc123 on 06:32 AM - 03/15/14
So every ballistic curve is now stored in the api and can be pulled via a simple API call.

Example Site: http://xim.schucreations.com (http://xim.schucreations.com)
API Documentation: http://xim.schucreations.com/api (http://xim.schucreations.com/api)

Feature List:
* Add Login Support - Completed
* Auto-Documentation - Completed
* Add POST for configurations - Completed
* Add Favorite - Completed
* Add Register Support - Completed
* Add Voting - In Progress



Please give feedback or more APIs you'd like, the next thing i'm going to focus on is user specific API parts.  For example, favoriting a config (for easy listing), upvoting a config.
Title: Re: Online editor and viewer for ballistics curves
Post by: abc123 on 04:01 PM - 03/18/14
The site is coming along great:

Site: http://xim.schucreations.com (http://xim.schucreations.com)
This site has Home, API Documentation, Login, Register Account

I'll be writing a demo application that does the following:
* Lists all configurations
* Allows voting
* Allows favoriting
* Show your configurations
* Show your favorited configurations
+ With Muken I'd like to add the app to create curves and then save them, but this doesn't have to be on this site and can be hosted anywhere because of the API.
+ With XIM Team I'd like to allow users to save their configurations, share configurations, and download configurations directly to XIM Manager app
Title: Re: Online editor and viewer for ballistics curves
Post by: Doom Wad on 05:56 PM - 03/24/14
I was wondering if someone could break down ballistic curves for me. In what situation would I need this, and how would it actually affect my gameplay (what differences will I notice in the game)? Is this something that compensates for the "feel" of the mouse movement so that it more accurately reflects a PC first person shooter? I did read the original post, and it sounds like it was written for people that are already familiar with ballistics curves.

</n00b>
Title: Re: Online editor and viewer for ballistics curves
Post by: abc123 on 08:57 AM - 03/25/14
I was wondering if someone could break down ballistic curves for me. In what situation would I need this, and how would it actually affect my gameplay (what differences will I notice in the game)? Is this something that compensates for the "feel" of the mouse movement so that it more accurately reflects a PC first person shooter? I did read the original post, and it sounds like it was written for people that are already familiar with ballistics curves.

</n00b>

If you are familiar with PC gaming then this should be easy.

Ballistic curves are nothing more than mouse acceleration.  Just like windows default has a mouse acceleration (the speed your mouse moves increases the speed by which the mouse travels.  This is not 1-to-1 which is what some people love, and can be enabled in windows as well.  So it just depends on your goals but for doing 180s or 360s normally you'll want to use a ballistic curve so you can go from slow movements being precise to faster movements being faster and thereby larger. 

For me I love mouse acceleration because you can make it match what feels natural to you.
Title: Re: Online editor and viewer for ballistics curves
Post by: Doom Wad on 04:58 PM - 03/25/14
If you are familiar with PC gaming then this should be easy.

Ballistic curves are nothing more than mouse acceleration.  Just like windows default has a mouse acceleration (the speed your mouse moves increases the speed by which the mouse travels.  This is not 1-to-1 which is what some people love, and can be enabled in windows as well.  So it just depends on your goals but for doing 180s or 360s normally you'll want to use a ballistic curve so you can go from slow movements being precise to faster movements being faster and thereby larger. 

For me I love mouse acceleration because you can make it match what feels natural to you.

Excellent, that was a great answer. Much less confusing than it sounds.
Title: Re: Online editor and viewer for ballistics curves
Post by: MuKen on 05:48 PM - 04/04/14
Apologies all for the lack of updates recently, work's gotten a little crazy but I will be continuing on this soon.
Title: Re: Online editor and viewer for ballistics curves
Post by: abc123 on 08:20 AM - 05/02/14
Apologies all for the lack of updates recently, work's gotten a little crazy but I will be continuing on this soon.

let me know when you want to do some work on this, i'm redoing the API in ruby now :)
Title: Re: Online editor and viewer for ballistics curves
Post by: Panama on 04:22 AM - 05/18/14
Is there a ballistic curve that takes advantage of aim assist on BF4 PS4 for the xim4e? It seems like I'm fighting it when I use it, I tend to overreact and break lock. It may be due to high dpi (5700) but I only use 15 sens ads. I tried turning it off but, but you are clearly out classed by auto aiming analog sticks. Any assistance on the matter would be highly appreciated.  I know there is a thread in the library , but I believe its for COD. I'm using a G500 as well.
Title: Re: Online editor and viewer for ballistics curves
Post by: roads on 10:58 PM - 05/18/14
That is why I always ask the XIM team to make us a ballistic curve that has the natural game like acceleration. That would be most accepted by the game mechanic around the hitbox. They don't seem to be interested. Maybe its because they don't want to reveal it. I would be OK with the curve not shown in the ballistics greyed out. At least I would like to try such ballistics.
Title: Re: Online editor and viewer for ballistics curves
Post by: Sh1nob1 on 04:09 PM - 09/17/14
nooooo Getting Error 403 on the page  :'(  for the ballistic editor.



https://googledrive.com/host/0B8EFYcEZMa4deTNOUjM2OTlKTVU/xim4ballisticscurvetool.html
Title: Re: Online editor and viewer for ballistics curves
Post by: V3n0m15 on 11:32 PM - 11/24/14
Would this ballistic curve help on Halo MCC? I believe it would due to the slower turn speed and the acceleration would be helpful for quicker 180 turns?
Title: Re: Online editor and viewer for ballistics curves
Post by: dmxdex on 08:19 AM - 07/01/15
How do i add these curves? It looks confusing.
Title: Re: Online editor and viewer for ballistics curves
Post by: Vatx on 03:54 PM - 09/03/16
Version 2.0 of the "push through the aim assist" curves from the Edge days.  The ramp up is smoother, and the ADS curve is a tad faster.

Thanks MuKen and good work, your tool is very well done.

Hip:
Code: [Select]
>>> XIM4 START Paste >>>
X4MB:00101E2C3A46525E68727C86909AA4AEB8C2C8C8C8
<<< XIM4 END   Paste <<<

(Click to load the curve) (https://googledrive.com/host/0B8EFYcEZMa4deTNOUjM2OTlKTVU/xim4ballisticscurvetool.html?prexim=%3E%3E%3E%20XIM4%20START%20Paste%20%3E%3E%3E%0AX4MB%3A00101E2C3A46525E68727C86909AA4AEB8C2C8C8C8%0A%3C%3C%3C%20XIM4%20END%20%20%20Paste%20%3C%3C%3C%0A)

(http://i.imgur.com/kFilb9c.png)

ADS:
Code: [Select]
>>> XIM4 START Paste >>>
X4MB:000E1C2836424E5A646E78828C96A0AAB4BEC8C8C8
<<< XIM4 END   Paste <<<

(Click to load the curve) (https://googledrive.com/host/0B8EFYcEZMa4deTNOUjM2OTlKTVU/xim4ballisticscurvetool.html?prexim=%3E%3E%3E%20XIM4%20START%20Paste%20%3E%3E%3E%0AX4MB%3A000E1C2836424E5A646E78828C96A0AAB4BEC8C8C8%0A%3C%3C%3C%20XIM4%20END%20%20%20Paste%20%3C%3C%3C%0A)

(http://i.imgur.com/lOUnyQb.png)

Digging this one up from the grave. I have just got back into Destiny and the turn speed is already killing me. It's the reason quit in the first place..  Is this curve by tuffrabit still a favorite? I'm selecting and copying the code, but nothing happens when I download it to the XIM. Must be doing something wrong

I also remember a custom super quick sprinting-turn mod. But I can't find that one. Anyone remember how to do that?
Title: Re: Online editor and viewer for ballistics curves
Post by: gunit2004 on 06:52 PM - 09/03/16
Version 2.0 of the "push through the aim assist" curves from the Edge days.  The ramp up is smoother, and the ADS curve is a tad faster.

Thanks MuKen and good work, your tool is very well done.

Hip:
Code: [Select]
>>> XIM4 START Paste >>>
X4MB:00101E2C3A46525E68727C86909AA4AEB8C2C8C8C8
<<< XIM4 END   Paste <<<

(Click to load the curve) (https://googledrive.com/host/0B8EFYcEZMa4deTNOUjM2OTlKTVU/xim4ballisticscurvetool.html?prexim=%3E%3E%3E%20XIM4%20START%20Paste%20%3E%3E%3E%0AX4MB%3A00101E2C3A46525E68727C86909AA4AEB8C2C8C8C8%0A%3C%3C%3C%20XIM4%20END%20%20%20Paste%20%3C%3C%3C%0A)

(http://i.imgur.com/kFilb9c.png)

ADS:
Code: [Select]
>>> XIM4 START Paste >>>
X4MB:000E1C2836424E5A646E78828C96A0AAB4BEC8C8C8
<<< XIM4 END   Paste <<<

(Click to load the curve) (https://googledrive.com/host/0B8EFYcEZMa4deTNOUjM2OTlKTVU/xim4ballisticscurvetool.html?prexim=%3E%3E%3E%20XIM4%20START%20Paste%20%3E%3E%3E%0AX4MB%3A000E1C2836424E5A646E78828C96A0AAB4BEC8C8C8%0A%3C%3C%3C%20XIM4%20END%20%20%20Paste%20%3C%3C%3C%0A)

(http://i.imgur.com/lOUnyQb.png)

Digging this one up from the grave. I have just got back into Destiny and the turn speed is already killing me. It's the reason quit in the first place..  Is this curve by tuffrabit still a favorite? I'm selecting and copying the code, but nothing happens when I download it to the XIM. Must be doing something wrong

I also remember a custom super quick sprinting-turn mod. But I can't find that one. Anyone remember how to do that?

If you are using a newer firmware, they have changed the codes for the curve so you have to convert it. Here is the converter if you want to convert those old Tuffrabit curves to the new version:

http://xim.schucreations.com/ConvertCurve.php

Just copy and paste them into the box and hit Submit and the new code it gives you should work in XIM manager now.
Title: Re: Online editor and viewer for ballistics curves
Post by: Holdmyjoint on 10:43 AM - 10/30/19
Can any one convert this into the xim apex