Scripting

Scripting

Postby deve » 21 Sep 2019, 01:21

I was experimenting with angelscript in STK (show/hide object, teleport kart, detect collision etc...). Maybe someone will find it useful, so I upload it here.

Note that you need current git STK to make it working.

And maybe one day I will make adventure STK track :P
Attachments
portal.zip
(92.12 KiB) Downloaded 7 times
deve
 
Posts: 260
Joined: 23 Jan 2014, 13:45

Re: Scripting

Postby tempAnon093 » 21 Sep 2019, 01:35

I will try this out soon! I'm really glad to see some more interest in scripting :D Examples of teleporting, showing and hiding, etc. would be very useful because the only examples I found were the tutorial track and ravenbridge mansion (has a good demonstration of Angelscript arrays). I hope this will help out some of the track creators who are less familiar with programming.

My Frozen Drive track has a lot of scripting as well (including some places it shouldn't be such as manually playing and stopping music) so it could also be a useful resource. One nice feature is the scripting on the alternate route, where completing it within certain time limits will show or hide rewards (that is, completing within 18 seconds shows one prize, 30 seconds shows a different prize).
tempAnon093
 
Posts: 119
Joined: 02 Feb 2019, 12:09

Who is online

Users browsing this forum: Google [Bot] and 1 guest