Jump to content

Malaka135

Registered User
  • Content Count

    21
  • Joined

  • Last visited

Community Reputation

17 Good

About Malaka135

  • Rank
    Member
  • Birthday 05/29/1996

Recent Profile Visitors

1926 profile views
  1. Malaka135

    The next big step for Ylands

    I can agree. I started this game when I saw it pop on Steam as an advertisement during the big December release. The exploration was the main thing I saw in the teaser video and it drew me in. I picked up the editor real fast and just had idea after idea of doing things so I began my first game with the idea of potentially making some coyns in return for my effort. I've done server hosting in Gmod which I can see Ylands providing a similar massive list of...
  2. It would be nice if the Interior lighting effects would show up if the Player's camera is within the zone. Currently it seems to only work when the player physically enters the zone. If possible, can we set it to also detect and activate the effect when the camera inside the zone is also enabled and active. Current workaround is teleporting the player inside the Interior game logic zone.
  3. Malaka135

    Comments in Editor

    This one should be easy to implement. Can we just have a tile dedicated to comments? Maybe even be open/close-able with a +/- or chevron so we can hide/show the comment. It's starting to get hard organizing and remembering what each thing does in a large projects and comments are a must in coding, they should be also here in the tile scripting
  4. Malaka135

    Collision Detection

    My current alternative is just setposition/setrotation on vehicle but since its constantly moving, it doesn't trigger properly. Vehicles are already wonky as they are so doing a collision detection like this just failed horribly. It is also very inconsistent, sometimes it'll trigger when the front or wheel of the vehicle enters the zone, sometimes it only triggers when the center of the vehicle enters. I don't quiet understand fully myself how it operates but it can't work...
  5. Malaka135

    Collision Detection

    Any way to add a way to detect collision between two entities? Such as in the event listener. Regardless of speed, just the fact that two objects touch each other. I want to be able to handle two vehicles hitting each other or a vehicle hitting a wall and detect it. The alternative of using triggerzone or raycast right now is too complicated and unreliable.
  6. Malaka135

    Monitor Projectile

    Are you trying to control an item that can be already thrown like grenades? Or are you trying to script your own throw? If you are making your own Entity template and creating a custom throw. Then you need to handle when the "throw" will occur. Like the player clicks LMB. You'll have to setup custom controls for that. And setup an event listener to listen for custom control from player. In there you will be given the player object so you know who is...
  7. Malaka135

    Mystery related question

    I found a plank in the water once. My silly friend picked it up and when he dropped it again, it didn't float and went to bottom. So we lost the location to confirm what it may have lead to. It is also a sharegame, so I don't know how to take the world into editor and just find out myself. Otherwise, so far I didn't find anything crazy aside from some locked chests with keys I guess I need to find elsewhere. So maybe that is a mystery? There was a map but I...
  8. Malaka135

    Can my buddy build within my barrier?

    If you made the game as a sharegame, I don't think its possible. If you made the game locally then you can. You just need to load into Editor. Hit Create New (We won't be saving a new one so it doesn't matter) On the top left you will see the three horizontal bars followed by EDITOR. That's your editor menu. In there go to OPEN, and you wanna see your games not scenarios, so click on Games on the bottom. You should see your game file in there...
  9. Sorry for late response. I tried out my idea live and kinda got it to work. I'll show you what I did and you might have to edit it to work with your game. First, I set a persistent variable to store the player's coordinates under Game Settings -> Game Storage I named it disconnect_Position and it is Vector type. I placed down a Player Role so I can handle the OnConnect/Disconnect and I also handle my global storage array of "Connected Players". You'll probably...
  10. Malaka135

    Throw a ball - how to?

    GOOD NEWS!....kinda I figured out how to set direction for aim. Just not up/down but it will throw it in the direction your facing. I found this out from here https://math.stackexchange.com/questions/180874/convert-angle-radians-to-a-heading-vector and thanks to SouLSeuPai from the P1 discord for helping me learn google is still a thing. Basically GET ROTATION entity(Player) returns a Vector (X,Y,Z) with Y being our heading. 0-360 in relation to the world...
  11. Malaka135

    Throw a ball - how to?

    Unfortunately I cannot figure out myself how to "aim" and instruct the ball where to go. But at least I think I can get you started. First to handle the LMB click, you need to create a Custom Control. You can find that under EDITOR -> Game Settings -> Custom Controls On the right side you see the "?" in a box, kinda looks like a key on your keyboard, you can define inputs as triggers. Since you want to use LMB, that is already setup, so you wanna go to the...
  12. I recently discussed this with someone in the P1 discord. They asked the same question. Disclaimer: I haven't tested this yet but I think it should work. My idea on this was to handle it using the ON PLAYER DISCONNECT tile. Their body should be movable using the SET POSITION tile. Just move their body to a safe location and store their position before the move into the persistent game variable. ON PLAYER CONNECT, you can just SET POSITION back to that...
  13. Malaka135

    Speedometer Tutorial & Car Chassis' Top Speeds

    VEHICLE TOP SPEEDS Car Chassis 1 Engine - 477.5 2+ Engine - 1084 Large Car Chassis 1 Engine - 139 2 Engine - 594.5 3+ Engine - 941 Race Car Chassis 1 Engine - 812 2+ Engine - 1839 Off-Road Car Chassis 1 Engine - 477 2+ Engine - 1083 NOTES : The speeds are calculated using the script explained above. I am rounding off to the nearest 0.5 Car Chassis and Off-Road Car Chassis are almost identical, however Off-Road is very slightly slower. Large...
  14. Malaka135

    Speedometer Tutorial & Car Chassis' Top Speeds

    4th Step - Build our Custom HUD : We want to be able to display information to our players. We can do this by using the Custom HUD game logic. Make sure the Custom HUD's "Enabled" is checked and also "Visible To New Player"(not sure if necessary but doesn't hurt to have it on). We won't be scripting for this one, instead we are interested in the "Edit" button of USER UI. Click that. You should see something very familiar. This is our HUD. On the top right...
  15. NOTICE : I am including images & gifs in this tutorial but I reduce usage of visual aids as we progress down the steps. As you perform certain steps such as placing tiles and accessing menus, I will assume you understand that step and won't clutter this tutorial with too many visual aids. Sorry ? Game Logics Required : Spawn Point - Player needs to spawn somewhere ? Player Role - To handle Player OnConnect & OnDisconnect Global Storage - To store our...
×