Skip to main content
Inspiring
September 27, 2024
Question

using an array to copy and replace multiple symbols into a file

  • September 27, 2024
  • 1 reply
  • 2482 views

trying to make a drop down box tjhat would allow some assets to join for preservation of petpet park avatar assets. this game has 400 color bottles, tons of catagories of clothes and etc and wondering and looking in the file, i'm finding three strings of assets for them under array and one under dictionary

 

 

i was given a script before that allowed me to load ONE symbol, how would this array be used to make this script go back until all pieces are loaded. not sure if the post is still here so i put a image of it as well, this code part was not easy to get figured out either 🙂

 

 

 

 

this is what i'm trying to make a drop down box so i can get the images to a flash preservation site and not have it just die in a folder to speak....

 

i do know each clothing piece also has a x and y coodinate too, is their an easier way to copy this than having to put x=number and y=number for each piece.

 

so far this is what i've figured 

 

array is going to load 0, 0 loads say arm_1 to both wireframe and new piece, places the piece, goes back and then gets 1, which should be arm_4, repeats.

 

this is one of those pieces of code that i'm assuming someone put on  wall and framed beause its so elegent yet well, look at how much stuff it loads esp when you diagram out the thing. this game has the most clothes i've erer seen in a game too. i got a small 2mb file of stuff that took 2 weeks to sort out and supposedly a nightmare cache was saved of this too that well, is in the hundreds of mb but their not sharing it, there trying to do this in unity and so far have not been able to get any of them to work so i guess im doing good so far with 66 base models working.

 

how this was done originally, theres two other pages for both the color of the pet and the species....

i'm just trying to get a simple text dropdown for now and well, this art deserves to be preserved and well,

its not really practical to do it how i have loaded it so far.

 

the user would drag the image onto the avatar and per video breakdowns it would then load each piece to the avatar and it would appear in the image there.

 

    This topic has been closed for replies.

    1 reply

    kglad
    Community Expert
    Community Expert
    September 27, 2024

    that's quite a request for a forum.

    Inspiring
    September 27, 2024

    the diagram is not all done at once though. it looks like what they did was if you dragged a shirt to the pet and lets say array 0 through 9 are the those symbols, it ran the script as "use array 0, place array 0, etc, and rather than ending the script, restarts at 1 to until it hits where it needs to. IF you want laughter another group is also working on this same problem in unity and well, is far less along then me on solving it. This is very much the namemake of the game and its

    difficulty is reflecting it.

     

     

     

    kglad
    Community Expert
    Community Expert
    September 27, 2024

    unfortunately, that last message didn't clarify (let alone simplify) the issue.