Welcome to nanos GbR

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more!

This message will be removed once you have signed in.

Shad0wlife

Members
  • Content count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Shad0wlife

  • Rank
    Newbie
  1. Can't install because Error

    Google "Visual c++ 2015 redistributable" and get it from microsoft's website. The german one would be https://www.microsoft.com/de-de/download/details.aspx?id=48145 for example.
  2. Can you guys make a mulitplayer mod for skyrim ?

    You might want to search for "Skyrim Together" (for example on reddit). Their progress looks really promising right now! (Sorry @ nanos team if this is too advertisy, feel free to remove it)
  3. [Server package] Vehicle Boost

    To have a sensible limit, maybe use a function like MAX_INT * (1-e^factor), since that would only approach the maximum velocity possible, not surpass it... Though I'm not sure how far that would actually keep the ratios between the vector sizes. Edit: also, when checking a jc2mp script, it seems that script added the speed by a fixed amount (like: v = v + ((v/v.length) * multiplier) which may make the increase in speed easier to control. By using some kind of length value, it would also be possible to limit overall speed (so you can't go faster diagonal to 2 axes than along only one) for consistency of the increase. Edit 2: So maybe change the boost method like this: function BoostVehicle(v) { let maxSpeed = Math.pow(2, 53); //Max safe integer //create vector in direction of movement with length 1 let vNormed = new Vector3f( v.linearVelocity.x / v.linearVelocity.length, boostY ? v.linearVelocity.y / v.linearVelocity.length : 0, v.linearVelocity.z / v.linearVelocity.length); //create new movement vector let vNew = new Vector3f(v.linearVelocity.x + vNormed.x * multiply, v.linearVelocity.y + vNormed.y * multiply, v.linearVelocity.z + vNormed.z * multiply); //check if vector length is in maxSpeed range to avoid overflow/loss of accuracy if(vNew.length <= maxSpeed){ v.linearVelocity = vNew; //if new speed is valid, set it. } } Please be informed that I did NOT test the code since I couldn't even get the original plugin to work (it loaded but I couldn't boost, even after doublechecking the key). Also, the formatting got a bit awkward when copy/pasting from notepad++. Sorry for that. So feel free to test and tell how it went. -Shad0w