Flow Graph

2 views
Skip to first unread message

Mungo

unread,
Jun 3, 2010, 3:26:56 AM6/3/10
to ARCH1101-2010
Hi All,

I'm having trouble getting a key to find the coordinates of my entity.
I've followed the online tutorial and have the letter "l" as my key.
However when I get into the environment and click "l" nothing
happens.I have Windows 7 64bit. I've seen some discussion that
clicking view component>components>obsolete helps. It did bring up the
correct debug box but this still hasn't solved the problem. Can anyone
with a similar computer assist?

Thanks

Peter

ps I'v seen Soozi's instructions below. It's pretty much as I have
done with no result.

the coordinates don't appear until you use the flow graph for the
entity and follow the steps:


#1 - right click> Add Node> HUD > DisplayDebugMessage
#2 - right click> Add Node> Entity> GetPos
#3 - right click> Add Node> Input> Key (this is where u assign the
TRIGGER KEY e.g. L)


#4 - from Entity:GetPos box: link "Pos" to "message" in the
HUDDisplayDebugMessage box
#5 - from Input:Key box: link "Pressed" to "Get" in the Entity:GetPos
box.


so when you enter your environment i.e. Ctrl G,
just type "L" and the coordinates will appear.


Russell Lowe

unread,
Jun 8, 2010, 7:05:20 PM6/8/10
to ARCH1101-2010
Hi Peter,

It just occurred to me you may not have the Entity:GetPos linked to
the entity you want to find the position of ...

Does the Entity:GetPos say "graph entity" or show the name of the
entity that you are trying to get the position of?

Cheers

Margaret Gay

unread,
Jun 9, 2010, 10:33:47 PM6/9/10
to ARCH1101-2010
I am also having a problem with this. It would appear my menu box
below the screen where the coordinates are supposed to be is all
squashed up and layered in the bottom right hand corner as if in a
glitch and when I go to that area one of the buttons comes on top
which is called locked selection. There appears to be no way to drag
this out or anything. Does anyone know how to fix this? I don't even
know what this menu is called ... console???? However I have noticed
if you left click in the picture and hold it down some coordinates do
appear, I don't know if this is of any use though as you can't be sure
where you are clicking.

Margaret Gay

unread,
Jun 9, 2010, 11:13:10 PM6/9/10
to ARCH1101-2010
Hi Peter
I also have windows 7 64 bit and my coordinates are all layered and
squished in a tiny space with no way out so I can't read them. I did
manage to get the coordinates using the letter l ... perhaps T is for
something else in the game? Also after inputting the letter in the
flowgraph click outside it to make sure it is entered. Also make sure
you actually go into the game to get the coordinates.

Did you work it out?

Margaret

PS the above is incorrect it shows the heightmap coordinates whatever
they are?

Mungo

unread,
Jun 10, 2010, 6:17:54 PM6/10/10
to ARCH1101-2010
Hi Margaret,

My screen squishes just as yours does. I've made some headway but only
after visiting Russell. Basically, it needs a different path to the
one in the online tutorial. I've got it down pat now and have both
elevators working. I'll get the kids off to school and then send you
the details. You should have it by 10.

Cheers

Peter

Mungo

unread,
Jun 10, 2010, 8:55:22 PM6/10/10
to ARCH1101-2010
Hi Again,

The preliminaries of bringing an entity into the world and creating a
flow chart are as per the online tutorial. The difference for us comes
with the type and arrangement of circuits. There are 2 seperate but
connected circuits for each lift entity. You can bring all your nodes
in first and then join and set them.

So add a node "movement - move entity to", then another node "vecs3 -
addvecs3", then another "entity - get pos", and another 'input -
key'.

Now drag the arrows. From 'Vecs3' drag an arrow from 'out' to
'destination' in the 'movement' node. From node 'get pos' drag an
arrow from 'pos' to 'A' in the 'vecs3' node. Then from the 'input-key'
node drag an arrow from 'pressed' to 'get' in the 'get pos' node.
Finally drag another arrow from the same 'pressed' and insert it into
'start' in the 'movement' node. This should complete the wiring on
your first circuit.

Now you have to adjust a few things in the nodes. Right click on the
'movement' node and choose 'assign graph entity'. Do the same for 'get
pos'. In 'movement' node you need to set the 'speed' and 'ease
distance'. 10 seems pretty good for both. Don't adjust the xyz
coordinates. The 3 zeros represent where your entity is. Go to 'vecs3'
node. Change one of the coordinates next to 'B'. Try 50 to start with,
it's easy to change it later. Finally go to "input-key" node and set
the key. That is the first circuit completed.

Now add node 'logic-any' and locate it to the right of the 'movement'
node. Drag an arrow from 'done' to '1'. Now bring 4 more nodes into
the flow chart. They are the same as above.

Now you have to join them. This is the same as above except that a few
need to attach to the 'logic any' node. Instead of dragging an arrow
from 'pressed' in the 'input -key' node to 'get pos' drag it to '2'
in the 'logic-any' node. Then from the 'out' in the 'logic any' node
drag an arrow to 'get' in the 'get pos' node. That should complete the
2nd circuit.

Now set another key, 'assign graph entity' in 'movement' and 'get
pos', set speeds and change another coordinate in the new 'vecs3'
node. Presumably your coordinates will take your lift to the meeting
place.

Now go into the game and try it.

Good luck. If you have any problems scream alot and them email me.

Cheers

Peter
Reply all
Reply to author
Forward
0 new messages