Jump to content
Igor Q.

Igor's Script Composition Thread

Recommended Posts

Hi

I'm making basic or complex triggers and exporting them to the workshop so they can be easily implemented inside your game. Some of them are basic, others are complicated. If you want a specific trigger just post a reply on here and I will make it for you. (If there are limitations I'll let you know)

Automatic Door - https://workshop.ylands.com/asset/804

Spawn Item Chest - https://workshop.ylands.com/asset/812

Basic Timer - https://workshop.ylands.com/asset/805

Compass Arrow - https://workshop.ylands.com/asset/884

Basic Hover Board - https://workshop.ylands.com/asset/816

Restricted Play Zone - https://workshop.ylands.com/asset/820

Don't touch my torch - https://workshop.ylands.com/asset/821

Item Merchant Loop - https://workshop.ylands.com/asset/866

Spawn Monstes + Item Loot - https://workshop.ylands.com/asset/865

Basic Checkpoint System - https://workshop.ylands.com/asset/873

Attack Item Slow - https://workshop.ylands.com/asset/877

Real Time Clock - https://workshop.ylands.com/asset/880

Automatic Cannon - https://workshop.ylands.com/asset/886

Chain Reaction - https://workshop.ylands.com/asset/889

Color Sweep & Color Sweep Group - Temporarily unavailable due to a copyright problem:(

Radio Hat - https://workshop.ylands.com/asset/900

Spawn Item Zone - https://workshop.ylands.com/asset/901

Random Point Sphere - https://workshop.ylands.com/asset/905

Global Chest - https://workshop.ylands.com/asset/908

Circling Objects - https://workshop.ylands.com/asset/910

Dialogue Tree - https://workshop.ylands.com/asset/933

Multiplayer Race Timer - https://workshop.ylands.com/asset/936

CAGE Blueprint - https://workshop.ylands.com/asset/941

Shotgun (Distance Damage modifier) - https://workshop.ylands.com/asset/942

 

Cheers.

Edited by Igor Q.
  • Like 3
  • Thanks 2

Share this post


Link to post
Share on other sites

For any new players who want to learn how to use my assets

1) Click the links provided

2) Click the yellow text that says   +Subscribe

3) Use the Yellow Icon in-game (Compositions) to add assets

OR

1) Inside the editor in Ylands, go to the Yellow Icon in-game, select "downloaded", then select "Get Compositions"

2) Search for "Script"

5c34744a9da0a_Step1.png.3f1b16c3cc8b46366d87d95641482fbb.png5c347490bd783_Step2.png.c9d744ff5dad71c91f25eed203e754a8.png

 

Share this post


Link to post
Share on other sites
12 hours ago, Igor Q. said:

If you guys have requests please ask ^_^

I tried to figure out some way how to make a "boost" for a car. Think TrackMania. I managed to set a speed bonus for the player, I had quite a fun with artificial jumps I've accidentally created but no luck with faster cars.

PS: For anybody who also messes with cars - it's really fun to make loops and variously shaped bowls. If somebody figures out how to make sure the tricks work in at least 80% of attempts and cars won't get stuck every minute, it's going to be a lot of fun!

Edited by Miguel Preguisa

Share this post


Link to post
Share on other sites
5 hours ago, Miguel Preguisa said:

I tried to figure out some way how to make a "boost" for a car. Think TrackMania. I managed to set a speed bonus for the player, I had quite a fun with artificial jumps I've accidentally created but no luck with faster cars.

PS: For anybody who also messes with cars - it's really fun to make loops and variously shaped bowls. If somebody figures out how to make sure the tricks work in at least 80% of attempts and cars won't get stuck every minute, it's going to be a lot of fun!

You need to use the script "set velocity of vehicle to,  get velocity of vehicle + C value"

Usually with C being some combination of X=(cos Y angle), Y=0, Z=(sinY angle)

I'll try working on it tonight

Share this post


Link to post
Share on other sites
On 1/31/2019 at 4:39 AM, Miguel Preguisa said:

I tried to figure out some way how to make a "boost" for a car. Think TrackMania. I managed to set a speed bonus for the player, I had quite a fun with artificial jumps I've accidentally created but no luck with faster cars.

PS: For anybody who also messes with cars - it's really fun to make loops and variously shaped bowls. If somebody figures out how to make sure the tricks work in at least 80% of attempts and cars won't get stuck every minute, it's going to be a lot of fun!

image.thumb.png.f9b70b5d996880dc45006772d2172212.png

The script was too short, so I just uploaded the direct answer  ?

 Make sure to select the car chassis. (For both set velocity and get velocity)

Edited by Igor Q.
  • Thanks 1

Share this post


Link to post
Share on other sites

Interesting.  Didn't think to try SCALE.  The first NONE would be the vehicle, of course.  What about the second one?  I thought that took a vector.

Share this post


Link to post
Share on other sites
4 hours ago, Indomitus said:

Interesting.  Didn't think to try SCALE.  The first NONE would be the vehicle, of course.  What about the second one?  I thought that took a vector.

This seems to work best for me. You can change the ENTITY TYPE to any car chassis you want so it works for all the cars built on that type of chassis.

velocity.thumb.png.552788c3a165a2ab1be3db665a34f3c0.png

And thank you @Igor Q., I always tried to add to it instead of multiplying (scaling) it ?

Edited by Miguel Preguisa
  • Haha 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×