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
New to this, having some trouble
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#2
RE: New to this, having some trouble

Problem 1: Most doors should work fine if you leave Snap to Grid on (set to 0.25). I think the arched castle door is one of the weird ones that needs to be adjusted. Most likely, the door is coilliding with ther frame or something else which is causing it to be stuck. Also, I'd try to avoid resizing the doors because it looks pretty strange and could also cause further problems. What are the doors that you are having problems with?

Problem 2: I think that is just a glitch with the editor. If you want the spotlight to not show up, you can set it's colour to 0 0 0 (black). Or alternatively, in your script you can use the function SetLightVisible(string& asLightName, bool abVisible) which will make the light invisible.

Problem 3: You can create a script area at the bottom of the incline, and script it so that when the player collides with the area, they receive some health. For example:
PHP Code: (Select All)
void OnStart()
{
    
AddEntityCollideCallback("Player""Script Area name here!""GiveHealth"true1);
}

void GiveHealth(string &in asParentstring &in asChildint alState)
{
    
AddPlayerHealth(50.0f);  // or use SetPlayerHealth to set the players health to a specific value

(this script is not tested and could contain errors)

You could also just leave it the way it is, because it makes sense that the player would get hurt a bit from falling. Of course, it's your choice though.

Problem 4...(?): The game will be able to read them from your custom story folder. Make a folder called "entities" in your custom story folder, and place all your custom entities in there.

In Ruins [WIP]
(This post was last modified: 02-27-2013, 07:44 AM by NaxEla.)
02-27-2013, 07:40 AM
Find


Messages In This Thread
New to this, having some trouble - by DeAngelo - 02-27-2013, 07:23 AM
RE: New to this, having some trouble - by NaxEla - 02-27-2013, 07:40 AM
RE: New to this, having some trouble - by NaxEla - 02-27-2013, 08:51 AM
RE: New to this, having some trouble - by NaxEla - 02-27-2013, 09:36 AM
RE: New to this, having some trouble - by NaxEla - 03-02-2013, 10:05 AM



Users browsing this thread: 2 Guest(s)