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


Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Structure Of Construction
X4anco Offline
Member

Posts: 157
Threads: 66
Joined: Apr 2011
Reputation: 0
#1
Structure Of Construction

Hello peoples

Me & my friends were wondering in what order do people generally build their games e.g. Map then script etc

-X4anco
(05-29-2011, 05:39 PM)X4anco Wrote: Hello peoples

Me & my friends were wondering in what order do people generally build their games e.g. Map then script etc

-X4anco

PS How would block a player from going into a area?

...
(This post was last modified: 05-29-2011, 05:50 PM by X4anco.)
05-29-2011, 05:39 PM
Find
laser50 Offline
Member

Posts: 242
Threads: 22
Joined: Apr 2011
Reputation: 0
#2
RE: Structure Of Construction

Map Or Script, In what order? None of them.

First, you come up with a nice story. Then a location. And then some other ideas. THEN you slowly start making your map Smile
05-29-2011, 05:52 PM
Find
X4anco Offline
Member

Posts: 157
Threads: 66
Joined: Apr 2011
Reputation: 0
#3
RE: Structure Of Construction

(05-29-2011, 05:52 PM)laser50 Wrote: Map Or Script, In what order? None of them.

First, you come up with a nice story. Then a location. And then some other ideas. THEN you slowly start making your map Smile

Do you know how to block the player from going into a area and a message is displayed

...
05-29-2011, 05:56 PM
Find
laser50 Offline
Member

Posts: 242
Threads: 22
Joined: Apr 2011
Reputation: 0
#4
RE: Structure Of Construction

About the message, No. But i do know the blocking part.

Entities>Blockbox

This blocks off an area.
05-29-2011, 06:27 PM
Find
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#5
RE: Structure Of Construction

(05-29-2011, 05:56 PM)X4anco Wrote:
(05-29-2011, 05:52 PM)laser50 Wrote: Map Or Script, In what order? None of them.

First, you come up with a nice story. Then a location. And then some other ideas. THEN you slowly start making your map Smile

Do you know how to block the player from going into a area and a message is displayed

Check out the code in the cistern entrance - there is a blocking entity there to stop you going into the sewers without draining the water.
05-29-2011, 06:52 PM
Find
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#6
RE: Structure Of Construction

Add a script area a little in front of the block box. Lets call it ScriptArea_1. Then in your extra_english.lang you can create the message. Lets call it BlockHint inside the category Message.

Script:

void OnStart()
{
     AddEntityCollideCallback("Player", "ScriptArea_1", "Func01", false, 1);
}
void Func01(string &in asParent, string &in asChild, int alState)
{
     SetMessage("Message", "BlockHint", 3);
}

05-29-2011, 07:29 PM
Find




Users browsing this thread: 2 Guest(s)