Simple cube dropper

Avatar
Mplayer
51 Posts
Posted May 30, 2011
Hello everyone. Im tryng to make a simple map with a player with a portal gun , a buton and a cube dropper. But it seems that its not working. I place a func_instance on the celling -> proprietes - VMF Filename = C:/Program Files/Valve/Portal 2/sdk_content/maps/instances/gameplay/cube_dropper_normal.vmf - name = box_dropper. And a prop_button with the following outputs :
1.OnPressed box_dropper instance:@cube_dropper;Trigger 0.00 No
2.OnPressed box_dropper instance:@cube_dropper_autorespawn;Enable 0.00 No .
When i compile the map it gives me thease errors :

materialPath: C:\Program Files\Valve\Portal 2\portal2\materials
Loading C:\Documents and Settings\MplaYER\Desktop\hammer projects\cacat.vmf
ConVarRef gpu_level doesn't point to an existing ConVar
Could not open instance file instances/gameplay/cube_dropper_shared.vmf

Pls help i search all over the forum but i can`t find a solution. Srry for my bad english

Advertisement
Registered users don’t see ads! Register now!
Avatar
Sliipperi
30 Posts
Posted May 30, 2011
Replied 3 hours later
Well, there's two things I would do in this situation first.
Copy & paste your WHOLE compile log here to be checked of leaks and such errors: http://www.interlopers.net/errors/
Or check if your cube dropper instance is in the same folder as your map is saved.
Avatar
Nappeh
3 Posts
Posted May 30, 2011
Replied 29 minutes later

Mplayer wrote:
Hello everyone. Im tryng to make a simple map with a player with a portal gun , a buton and a cube dropper. But it seems that its not working. I place a func_instance on the celling -> proprietes - VMF Filename = C:/Program Files/Valve/Portal 2/sdk_content/maps/instances/gameplay/cube_dropper_normal.vmf - name = box_dropper. And a prop_button with the following outputs :
1.OnPressed box_dropper instance:@cube_dropper;Trigger 0.00 No
2.OnPressed box_dropper instance:@cube_dropper_autorespawn;Enable 0.00 No .
When i compile the map it gives me thease errors :

materialPath: C:\Program Files\Valve\Portal 2\portal2\materials
Loading C:\Documents and Settings\MplaYER\Desktop\hammer projects\cacat.vmf
ConVarRef gpu_level doesn't point to an existing ConVar
Could not open instance file instances/gameplay/cube_dropper_shared.vmf

Pls help i search all over the forum but i can`t find a solution. Srry for my bad english

I think your .vmf needs to be placed in C:/Program Files/Valve/Portal 2/sdk_content/maps/
instead of C:\Documents and Settings\MplaYER\Desktop\hammer projects\