Back To Top
  • Hey Guest,
    If you are interested in ghosting, the Ghosting Awards from February 2025 all the way up to June 2025 have just been announced:

    Statement regarding the delays

    Ghosting Awards for February 2025

    Ghosting Awards for March 2025

    Ghosting Awards for April 2025

    Ghosting Awards for May 2025

    Ghosting Awards for June 2025
    Dismiss Notice
  • Custom Heads

    Discussion in 'Third Party Scripting & Development' started by Calculus, Jan 19, 2020.

    Tags:
    ?

    Do you want more?

    1. YES!

      75.3%
    2. no.

      9.1%
    3. sure

      15.6%
    1. Moon_Rider

      Moon_Rider Active Member Official Author

      and Could you add ninja head?
       
      a_drain likes this.
    2. Moon_Rider

      Moon_Rider Active Member Official Author

    3. The_Trax_Man

      The_Trax_Man Well-Known Member Official Author

      Can you add Funky Kong (Donkey Kong will also work ) as headgear? (Mario kart Wii)
       
      Poltergeist likes this.
    4. The_Trax_Man

      The_Trax_Man Well-Known Member Official Author

      Nacho Libre mask pls
       
      Poltergeist likes this.
    5. Calculus

      Calculus Community Developer Staff Member Administrator

      Awarded Medals
      Update:

      I've replaced all heads with the Canvas Rider Cap.

      upload_2020-10-15_14-8-38.png
       
      FIREBEATS likes this.
    6. Calculus

      Calculus Community Developer Staff Member Administrator

      Awarded Medals
      Update:

      I added the top hat from BHR. This will likely be the last addition for a while.

      upload_2020-10-15_21-20-43.png
       
      FIREBEATS likes this.
    7. The_Trax_Man

      The_Trax_Man Well-Known Member Official Author

      please make a traditional Mexican sombrero. i think that would be a good idea
       
    8. Calculus

      Calculus Community Developer Staff Member Administrator

      Awarded Medals
      The pumpkin head has returned :eek:

      upload_2020-10-23_18-19-23.png
       
      gun, dantexpress and Pickle2332 like this.
    9. Calculus

      Calculus Community Developer Staff Member Administrator

      Awarded Medals
      Experimenting got me this. It's hard to see, but the pumpkin shivers.

      Code:
      GameSettings.user.cosmetics.head = {
          classname: "pumpkin",
          script: GameInventoryManager.register("pumpkin", class e extends GameInventoryManager.HeadClass {
              constructor() {
                  super(),
                  this.versions = {},
                  this.createVersion(),
                  this.img = new Image(90, 90),
                  this.img.src = "https://imgur.com/UaBzAeL.png"
              }
              getVersions() {
                  return this.versions
              }
              cache(e) {
                  var r = this.versions[this.versionName];
                  r.dirty = !1;
                  var a = 115*(e=Math.max(e,1))*.17,s=112*e*.17,
                      u = r.canvas;
                  u.width=a,
                  u.height=s;
                  var v=u.getContext("2d"),
                      l=.31*e;
                  v.scale(l,l),
                  this.img.onload = () => {
                      var travelDistance = 1;
                      setInterval(() => {
                          v.clearRect(0, 0, u.width, u.height);
                          v.transform(1, 0, 0, 1, travelDistance, 0);
                          v.drawImage(this.img, 0, 0);
                          travelDistance *= -1;
                      });
                  }
              }
              setDirty(){
                  this.versions[this.versionName].dirty=!0
              }
              getBaseWidth(){
                  return 115
              }
              getBaseHeight(){
                  return 112
              }
              getDrawOffsetX(){
                  return -3.5
              }
              getDrawOffsetY(){
                  return -1.5
              }
              getScale(){
                  return .17
              }
          }),
          type: "1"
      }
      
       
      FIREBEATS likes this.
    10. The_Trax_Man

      The_Trax_Man Well-Known Member Official Author

      Can we have a nacho libre mask
       
    11. G-raffe

      G-raffe giraffe Elite Author Team Balloon Official Author

      Awarded Medals
      Could you make a really tall giraffe hat?

      Thanks.
       
      FIREBEATS likes this.
    12. FIREBEATS

      FIREBEATS FRHD Member of 2020 Team Helicopter Official Author

      Maybe
       
    13. FIREBEATS

      FIREBEATS FRHD Member of 2020 Team Helicopter Official Author

      can you add a Darth Vader Hat plz
       

    Share This Page