Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. General Discussion
  3. prolly most complex code here i've made

prolly most complex code here i've made

Scheduled Pinned Locked Moved General Discussion
3d-blocks
9 Posts 4 Posters 2.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • JaecadeJnightJ Offline
    JaecadeJnightJ Offline
    JaecadeJnight
    Mod Helper
    wrote on last edited by jeffreyrb03-gmail
    #1

    86c2ca0b-fd8c-4598-9188-a45558cb0513-image.png
    Reads a multiline text file, extracts its contents into a list, and then makes a 3d character avatar item for each content by getting information about each content from a table. Doesn’t work entirely yet, but it is going to be very useful and good when done for my game

    #LLJW
    <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

    TBK&#x2F; The Best KS JaecadeJnightJ 2 Replies Last reply
    0
    • JaecadeJnightJ JaecadeJnight

      86c2ca0b-fd8c-4598-9188-a45558cb0513-image.png
      Reads a multiline text file, extracts its contents into a list, and then makes a 3d character avatar item for each content by getting information about each content from a table. Doesn’t work entirely yet, but it is going to be very useful and good when done for my game

      TBK&#x2F; The Best KS Offline
      TBK&#x2F; The Best KS Offline
      TBK/ The Best K
      wrote on last edited by
      #2

      @jeffreyrb03-gmail Nice

      Kenzy/Amanda
      Status's
      Green: online at the moment
      Orange: online in class, previously online or online in the car
      Red: Day: temporarily away/ Eating. Night: Playing on my switch or asleep
      Black: Closed out tab and/ or logged out.

      1 Reply Last reply
      0
      • JaecadeJnightJ JaecadeJnight

        86c2ca0b-fd8c-4598-9188-a45558cb0513-image.png
        Reads a multiline text file, extracts its contents into a list, and then makes a 3d character avatar item for each content by getting information about each content from a table. Doesn’t work entirely yet, but it is going to be very useful and good when done for my game

        JaecadeJnightJ Offline
        JaecadeJnightJ Offline
        JaecadeJnight
        Mod Helper
        wrote on last edited by
        #3

        @jeffreyrb03-gmail i simplified it and made it actually work using a block
        55609429-fc10-4695-ad39-115306103280-image.png

        #LLJW
        <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

        TBK&#x2F; The Best KS JaecadeJnightJ 2 Replies Last reply
        0
        • JaecadeJnightJ JaecadeJnight

          @jeffreyrb03-gmail i simplified it and made it actually work using a block
          55609429-fc10-4695-ad39-115306103280-image.png

          TBK&#x2F; The Best KS Offline
          TBK&#x2F; The Best KS Offline
          TBK/ The Best K
          wrote on last edited by
          #4

          @jeffreyrb03-gmail Good for you ⭐

          Kenzy/Amanda
          Status's
          Green: online at the moment
          Orange: online in class, previously online or online in the car
          Red: Day: temporarily away/ Eating. Night: Playing on my switch or asleep
          Black: Closed out tab and/ or logged out.

          1 Reply Last reply
          1
          • JaecadeJnightJ JaecadeJnight

            @jeffreyrb03-gmail i simplified it and made it actually work using a block
            55609429-fc10-4695-ad39-115306103280-image.png

            JaecadeJnightJ Offline
            JaecadeJnightJ Offline
            JaecadeJnight
            Mod Helper
            wrote on last edited by
            #5

            @jeffreyrb03-gmail This has now been near perfected, since it works and does what it’s supposed to. I just have to make it so it can support shoes, and it’ll be awesome!

            #LLJW
            <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

            TheNicknameGovT 1 Reply Last reply
            0
            • JaecadeJnightJ JaecadeJnight

              @jeffreyrb03-gmail This has now been near perfected, since it works and does what it’s supposed to. I just have to make it so it can support shoes, and it’ll be awesome!

              TheNicknameGovT Offline
              TheNicknameGovT Offline
              TheNicknameGov
              trusted helpers
              wrote on last edited by
              #6

              @jeffreyrb03-gmail What is this for? What does it do? Can you simplify the explanation for me?

              Please help all my projects are 3000+ blocks

              JaecadeJnightJ 1 Reply Last reply
              1
              • TheNicknameGovT TheNicknameGov

                @jeffreyrb03-gmail What is this for? What does it do? Can you simplify the explanation for me?

                JaecadeJnightJ Offline
                JaecadeJnightJ Offline
                JaecadeJnight
                Mod Helper
                wrote on last edited by jeffreyrb03-gmail
                #7

                @011830-0a42ef84 I got help fixing an error in it from Tyller ( in https://www.forum.creaticode.com/topic/1534/feature-request-eval-like-block/5 ), basically it reads a text like “jacob#santa-hat” and splits it into a list (would have 2 items in this case), and it adds the player (the base, which is “jacob”) and then parses every item after that, it gets information about that item from a table, and then uses that information to make your avatar wear that item.

                Right now, the Santa hats rotation is messed up so don’t pay that any mind. After all this code is executed, here is the result:
                f5a4477b-d845-41a9-99b1-e5240c367313-image.png
                It uses both community/user uploaded models AND the models that come with CreatiCode, which is why it has to check if its corresponding id in the table starts with “M:”, and the table also provides other valuable information, like the rotation of items, their size, etc.

                It is soon going to be more complex to support shoes, both left and right, and attaches them to the feet.

                Edit: the original code looks like this now:

                #LLJW
                <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                TheNicknameGovT 1 Reply Last reply
                0
                • JaecadeJnightJ JaecadeJnight

                  @011830-0a42ef84 I got help fixing an error in it from Tyller ( in https://www.forum.creaticode.com/topic/1534/feature-request-eval-like-block/5 ), basically it reads a text like “jacob#santa-hat” and splits it into a list (would have 2 items in this case), and it adds the player (the base, which is “jacob”) and then parses every item after that, it gets information about that item from a table, and then uses that information to make your avatar wear that item.

                  Right now, the Santa hats rotation is messed up so don’t pay that any mind. After all this code is executed, here is the result:
                  f5a4477b-d845-41a9-99b1-e5240c367313-image.png
                  It uses both community/user uploaded models AND the models that come with CreatiCode, which is why it has to check if its corresponding id in the table starts with “M:”, and the table also provides other valuable information, like the rotation of items, their size, etc.

                  It is soon going to be more complex to support shoes, both left and right, and attaches them to the feet.

                  Edit: the original code looks like this now:

                  TheNicknameGovT Offline
                  TheNicknameGovT Offline
                  TheNicknameGov
                  trusted helpers
                  wrote on last edited by
                  #8

                  @jeffreyrb03-gmail Are you saying you are trying to make custom hats?

                  Please help all my projects are 3000+ blocks

                  JaecadeJnightJ 1 Reply Last reply
                  1
                  • TheNicknameGovT TheNicknameGov

                    @jeffreyrb03-gmail Are you saying you are trying to make custom hats?

                    JaecadeJnightJ Offline
                    JaecadeJnightJ Offline
                    JaecadeJnight
                    Mod Helper
                    wrote on last edited by
                    #9

                    @011830-0a42ef84 not just hats, could be anything like glasses too, but shirts and pants will be a little harder because I’ll need to add animations of moving to go along with the character so that you don’t see the player’s leg going through the pants instead of the pants looking like they’re attached to the player

                    #LLJW
                    <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                    1 Reply Last reply
                    0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • CreatiCode