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
Engine Capabilities
MulleDK19 Offline
Senior Member

Posts: 545
Threads: 21
Joined: Jun 2009
Reputation: 10
#30
RE: Engine Capabilities

(09-10-2010, 09:41 PM)Radu IceMan Wrote: How do your triggers work? Is it a brush based entity? I noticed the AI path finding system in one of the videos, which is quite similar to the one used by the Source engine.

Also, can you go a bit in detail about the scripting system? Will we have a input/output system with multiple options to choose? I like to compare engines to the Source engine, since I'm only experienced with that. If there are more similarities to it I might actually enjoy it.

There's not really "triggers". Well... There is, but they're not called triggers.

To make a "trigger", you create an area in 3D space (x,y,z), and call it something. Then in your script, you can use the function:

AddEntityCollideCallback(string &in asParentName, string &in asChildName, string &in asFunction, bool abDeleteOnCollide, int alStates)

Example:
void OnStart()
{
    //Add a collision callback, so that when the player touches our area, the function called
    //FunctionToCallOnCollide will be called.
    AddEntityCollideCallback("Player", "AreaNameHere", "FunctionToCallOnCollide", true, 1);
}

void FunctionToCallOnCollide(string &in asParent, string &in asChild, int alState)
{
    //Player "triggered" the area. Do some weird shit to him.
    DoWeirdShitToPlayer();
}

void DoWeirdShitToPlayer()
{
    //Then you would do crap here, etc.
}

(09-10-2010, 10:05 PM)monkeyshots Wrote: Hi !

The Question that i have in my head since i read about the level and other editors being released is:

will people only be able to make 'single'-maps or is it possible to actually make a series of maps and chain them together like in the main game ? so that people could make real and long stories/expansions and release them to other people ?

THanks.

You'll be able to make exactly what you see in the real game.

[Image: 16455.png]
(This post was last modified: 09-11-2010, 12:09 AM by MulleDK19.)
09-11-2010, 12:02 AM
Find


Messages In This Thread
Engine Capabilities - by Sexbad - 07-07-2010, 05:11 AM
RE: Engine Capabilities - by Thomas - 07-07-2010, 08:12 AM
RE: Engine Capabilities - by nofsky - 07-07-2010, 10:04 PM
RE: Engine Capabilities - by Thomas - 07-07-2010, 10:12 PM
RE: Engine Capabilities - by nofsky - 07-08-2010, 01:55 PM
RE: Engine Capabilities - by SHODANFreeman - 07-08-2010, 07:19 PM
RE: Engine Capabilities - by Sexbad - 07-09-2010, 01:22 AM
RE: Engine Capabilities - by fenixkane - 07-16-2010, 04:16 AM
RE: Engine Capabilities - by Sexbad - 07-16-2010, 04:26 AM
RE: Engine Capabilities - by jens - 07-16-2010, 07:27 AM
RE: Engine Capabilities - by fenixkane - 07-16-2010, 11:29 PM
RE: Engine Capabilities - by jens - 07-17-2010, 10:39 AM
RE: Engine Capabilities - by fenixkane - 07-17-2010, 10:38 PM
RE: Engine Capabilities - by RoyaleBeast - 07-24-2010, 09:59 PM
RE: Engine Capabilities - by Sexbad - 07-24-2010, 11:17 PM
RE: Engine Capabilities - by Frontcannon - 07-29-2010, 01:00 PM
RE: Engine Capabilities - by Sexbad - 08-21-2010, 04:00 PM
RE: Engine Capabilities - by MassacrMan - 08-22-2010, 04:35 PM
RE: Engine Capabilities - by jens - 08-22-2010, 05:09 PM
RE: Engine Capabilities - by SHODANFreeman - 08-22-2010, 05:31 PM
RE: Engine Capabilities - by fenixkane - 08-24-2010, 12:49 PM
RE: Engine Capabilities - by Thomas - 08-24-2010, 12:52 PM
RE: Engine Capabilities - by superluser - 08-26-2010, 01:53 PM
RE: Engine Capabilities - by fenixkane - 08-25-2010, 03:11 AM
RE: Engine Capabilities - by spukrian - 08-27-2010, 10:35 PM
RE: Engine Capabilities - by Sexbad - 09-08-2010, 12:45 AM
RE: Engine Capabilities - by Naserve - 09-08-2010, 02:01 AM
RE: Engine Capabilities - by Radu IceMan - 09-10-2010, 09:41 PM
RE: Engine Capabilities - by MulleDK19 - 09-11-2010, 12:02 AM
RE: Engine Capabilities - by monkeyshots - 09-10-2010, 10:05 PM
RE: Engine Capabilities - by grahfcard - 09-11-2010, 04:35 PM
RE: Engine Capabilities - by Doiphin - 09-13-2010, 05:18 PM
RE: Engine Capabilities - by MulleDK19 - 09-13-2010, 05:25 PM
RE: Engine Capabilities - by Doiphin - 09-13-2010, 05:37 PM
RE: Engine Capabilities - by MulleDK19 - 09-14-2010, 12:10 PM
RE: Engine Capabilities - by grahfcard - 09-13-2010, 05:34 PM
RE: Engine Capabilities - by thePyro13 - 09-14-2010, 05:24 AM
RE: Engine Capabilities - by Doiphin - 09-16-2010, 10:55 PM
RE: Engine Capabilities - by Sexbad - 09-17-2010, 03:03 AM
RE: Engine Capabilities - by Thomas - 09-17-2010, 11:04 AM
RE: Engine Capabilities - by Sexbad - 09-17-2010, 11:28 PM



Users browsing this thread: 3 Guest(s)