Jump to content

Search the Community

Showing results for tags 'colour'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • ★ Dev Announcements ★
    • Community Rules & Guidelines
    • Dev Diaries
    • Changelogs
    • Ylands Creator Competition
  • Ylands Discussion
    • General Discussion
    • Suggestions & Feedback
    • Editor Help
    • Localization
  • Support
    • Bugs & Technical Issues
    • Community Tutorials
  • Exploration
  • Editor
  • Community Corner
    • Community News
    • Off-topic
  • Ylands EDU
    • Ylands EDU - Alfa
  • P1 Gaming's Forum
  • New Realm Entertainment's General Forum
  • New Realm Entertainment's YLands Editor
  • Kysen's Suggest A Video For Me!
  • Kysen's Forum
  • Ylands Ylander's Forum
  • Hermitland State's General Discussion
  • Flintlock Trading Company's Colonial Interests
  • Flintlock Trading Company's Membership Application
  • Flintlock Trading Company's General Discussions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 2 results

  1. Oliver Hope

    [NEW]Useful Text Functions

    Hey all Please Note: I discovered a bad bug, if any of your RGB values are less then 10 you wont get the color you expect this bug has been fixed and I updated the download on the 13/01/2019. Inside this global storage are 4 instructions to make customizing text easy as pie! It will work for any kind of text output : console, UI, bubble and warning text. TEXT_FUNCTIONS 2.0.zip Just place the composition down in any scenario and you can access the instructions from any game logic in that scenario. In these example i will just be writing to console on game start because its the easiest, but of course you can use them anywhere else. Set Colour - You can set the color of text with this instruction. The first argument is for your text the second one is for the color. NOTE: The alpha sets the transparency of text with 255 being completely opaque and 0 being invisible. here you can see the output. Bold - This instruction makes text bold. Just chuck your text in ; ) Italic - This instruction makes text italic Same as Bold, just put your text in. Skip lines - Use this instruction to make spaces between your lines or just go to the next line. The first and last argument is for your text and the second one is for the amount of lines to skip, leave as 0 if you just want to go the next line. Now of course these all can be used in conjunction with each other. New features as of 20/4/2019 for the new functions i am not providing any pictures as i feel they are quite self explainatory especiely if you understand the older functions. Size - This function changes the size of text: The first argument is for your text and the second is for size as a number. Format List - takes a list and formats it( This function currently doesnt work properly due to what i believe is an ylands bug) argument NO 1 is for your list, it must be seperated by a character eg " ; " argument NO 2 is for that same seperator There are also two other instructions which are used in within the colour one; Decimal to Hexdecimal takes a decimal as an argument and returns the equavelent hexdecimal and Remainder which takes a numerator and denominator as arguments and returns the remainder. Feel free to sure these in other circumstance. Note: im trying to get this onto the workshop but having some problems with that so for now your going to have to extract the file and insert it into the compositions folder. The folder can be found at C:\Program Files (x86)\Steam\userdata\xyz\abc\remote\Compositions (xyz and abc are a list of number that are different for each user so you just have to look throught them all, or just search .ycomp in userdata to find the folder with compositions in it (i recommend pinning the folder when you find it)) If you need any help or have suggestions reply to this post or send me a DM. TEXT_FUNCTIONS.zip TEXT_FUNCTIONS.zip
  2. Hi all, So I built a ship in the editor and painted it navy grey, all worked well, saved the ship as a composition file, all worked well. I then created a new explore mode game, loaded back to the menu, then loaded that game in to the editor. I then pasted in my ship composition, however, the navy grey colours that I had set to it, and that show up on it pre-spawn (the preview), become randomised when I spawn it in to the world. By randomised, I mean they are any odd colour combination it feels like. I repeated the process, and this time, with a new explore mode game save, the colours were different! I repeated the process several more times, each time I create a new explore mode save game, it spawns in with a new set of colours. If I spawn it in, then delete it, and spawn it in again, it is the same random colour for each map - almost like the explore mode save is choosing the colours! Hope this helps and it can be resolved, as my navy grey ship, doesn't look so good as bright red, pink and brown! I can film a video if needed, the ship is on the workshop otherwise. *** Edit *** Okay so, it seems that, if I spawn in the composition in a new editor scenario (not an explore mode) - it spawns in with no paint at all, except for the original large ship that I built it on. Further still, it only seems to spawn in correctly, on the very same scenario that I built it on - suggesting that the paint colours are being stored in the scenario, and not the composition file, thus it going haywire as soon as these two factors are separated. *** Edit *** Another possible contributing factor, the original ship was a composition created by my other account! I just noticed. Only the Large Ship object itself is showing up as under that account, the rest is showing up under this account. Making a video to explain this better.
×