Frictional Games Forum

Full Version: mapping
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i have some mapping problems (yes again) regarding portals and linking/warping

1. i made a map (the one from teh tut) and only 1 portal works, the one from the secondroom works and the one in the firstroom doesent.
i have checked the naming and everything is correct.

2. i made a 1*1*1 box (untextured) with a green light above it.
i gave the cube _area_link_warp as name.
the .hps file is located in the same folder as the map (allso with the correct naming)
when i play the map ingame i cant find it.
1. Must be some minor error, have you checked so that the normal is pointing towards the center of the room it belongs to?

2. Do you see the green light? You should not see the box but you should get a hand icon if you are close enough and aiming at the area. Can you post the snippet of code from your script file that is the link.
1. the normal is pointing towards the center it belongs to.

2. its just the tutorial file so it would be correct:
Code:
{        
    //SET UP LINKS
    SetupLink(    "warp",
            "mystuff_level.dae",
            "location1",
            "","",
            0.5f , 0.5f);
}

i can see the green light but there is no hand icon
1. Are you certain the portal is in the group of the room it belongs to? can you take a screen of it? Also can you write what you call the groups creating the two rooms and what you have named the portals. Not sure what could be wrong so only asking to hopefully be able to give you some solution.

2. I really have no clue, I don't know 3DS so can't really say if there is anything specific you need to do. Any chance the unit ratio is wrong so that the box is really really tiny? could you try and make it 10-50 times as large perhaps?
Also, use the sceneviewer and press 2 to see portal debug information. Take a screenshot of the de map when the debug is shown and upload the map as well. WE'll take a look at it and check if we can find the problem.
ok will do
@jens:
1. the box is 1*1*1m, i have used the same unit ratio as the room so it should be correct.

groups:
_roomFIRSTROOM
wall1
wall3
wall4
ceiling
floor
_portal1_roomSECONDROOM
_roomSECONDROOM
ceiling01
floor01
wall05
wall06
wall07
_portal1roomFIRSTROOM

items that areng grouped:
_ref_mystuff_woodbox_woodbox1
_start_location1
lights(1,2,3)

allso a problem with the box (had this numerous times):
the box floats on 1 side, the _collision node is setted up the same as the mesh so that should be correct.

il give you the source files (except the .dae files but you can import those yourselfs :))
dont mind the normal maps though, just some fidling :p
http://rapidshare.de/files/25619027/map.rar.rar.html

btw, had to upload the file to rapidshare since you cannot upload it here.
since a map file usualy consist of multiple files (correct me if im wrong) it would be best to allow zip, rar and other archive types, dont you think ;)
I'll have a look soon. We do allow zip uploading, but only 1mb i noticed :) Changed to allow 4mb as well as added rar.
Solved the area not working. The name is missing the "_" at the start.
It says "area_link_warp" it must be "_area_link_warp" :)

And the portals I got to work correctly be reversing both of them. Once you have them working they should be put much closer to eachother, otherwise there will be a black glitch when you cross between them.
well wadda ya know :p
but when i reversed the normals i got the same but only on the other side.
so i created the portals again but i got the same, i cant view trough the portal from the secondromm to the firstroom (i only can see the box)
Reference URL's