Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Starting items
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#21
RE: Starting items

It's important to work with the script and figure out how it works. Yeah, it might take you days, but we all started from the same experience. If you work with it, it might just take you 15 minutes yourself eventually.

I recommend looking at the scripts Frictional used to make this in the first place. What you want here happened in the water monster level (was it Cellar Archives?). Open that script file and try to make sense of it. Yeah, it will be difficult, but it's a starting point.

As for making this particular scene, add a collision area event after going through that one door. Inside the event, force the player to look at the door using StartPlayerLookAt and possibly SetPlayerActive. Also use SetSwingDoorClosed and SetSwingDoorLocked to close and lock the door. Don't forget to call StopPlayerLookAt, possibly within the callback that is made in the last parameter of StartPlayerLookAt.

As for the second event, what was originally done was that the whole level was changed in the way that the player was teleported to another part of the map that looked identical apart from slight differences, mainly the water. Add a collision event again, this time adding effects that make this more smooth. Use FadeOut, perhaps StartScreenShake, FadePlayerFOVMulTo and other things you might want. Once the screen is fully black from the FadeOut, teleport the player to another location (within the same map, just elsewhere with similar scenary but including water) and fade back in using FadeIn.

This is a very brief explanation of what to do. It should work if you understand what I'm trying to explain here. Making the script is up to you though. This isn't exactly beginner stuff, but definitely not impossible. Good luck!

(This post was last modified: 03-09-2014, 11:18 PM by Mudbill.)
03-08-2014, 11:42 PM
Find


Messages In This Thread
Starting items - by Straxedix - 03-08-2014, 05:06 PM
RE: Starting items - by Slanderous - 03-08-2014, 05:19 PM
RE: Starting items - by Straxedix - 03-08-2014, 05:22 PM
RE: Starting items - by Radical Batz - 03-08-2014, 06:45 PM
RE: Starting items - by DnALANGE - 03-08-2014, 05:28 PM
RE: Starting items - by Slanderous - 03-08-2014, 06:04 PM
RE: Starting items - by Mudbill - 03-08-2014, 06:46 PM
RE: Starting items - by Radical Batz - 03-08-2014, 06:46 PM
RE: Starting items - by Straxedix - 03-08-2014, 10:48 PM
RE: Starting items - by Radical Batz - 03-08-2014, 10:53 PM
RE: Starting items - by Romulator - 03-08-2014, 10:52 PM
RE: Starting items - by Romulator - 03-08-2014, 11:00 PM
RE: Starting items - by Radical Batz - 03-08-2014, 11:04 PM
RE: Starting items - by Straxedix - 03-08-2014, 11:01 PM
RE: Starting items - by Romulator - 03-08-2014, 11:04 PM
RE: Starting items - by Straxedix - 03-08-2014, 11:09 PM
RE: Starting items - by Romulator - 03-08-2014, 11:12 PM
RE: Starting items - by Straxedix - 03-08-2014, 11:15 PM
RE: Starting items - by Romulator - 03-08-2014, 11:29 PM
RE: Starting items - by Straxedix - 03-08-2014, 11:31 PM
RE: Starting items - by Mudbill - 03-08-2014, 11:42 PM
RE: Starting items - by Straxedix - 03-09-2014, 12:14 AM
RE: Starting items - by RaideX - 03-09-2014, 11:30 AM
RE: Starting items - by Straxedix - 03-09-2014, 10:58 PM



Users browsing this thread: 1 Guest(s)