Please or Register to create posts and topics.

and suddenly....PORTAL GUNS

I have been tweaking with my map The Boxed Arm for a long time and only just recently, for no apparent reason i am now spawning with the portal gun, i wanted to get the gun later in the first room. I had not changed a single thing that would cause me to acquire the gun at spawn. what keeps doing this?

Just when I think I understand the system, it changes on me.

Do you have a PTI created instance called "entity.instances/p2editor/arrival_departure_transition_ents.vmf" in your map?

Edit: I had the same problem until I removed that instance from the map so make sure you don't have one in yours. It might be in/near an elevator instance if they are created in PTI.

Does the map's name have sp in it? if it does, get rid of sp.

You said in another thread that you didn't have sp in the name. If you are using an elevator, you will spawn with the gun anyway because your map isn't in the "sp_transition_list.nut" script. The easiest way to fix it would be using a trigger_weapon_strip with "kill weapons" set to "yes". Put the trigger somewhere in the elevator. I'm not entirely sure where the best spot is but you can experiment with the size and position of the trigger until it works.

EDIT: I tested this myself and found that a trigger that covered the elevator shaft worked for the minimum height 128 units from the bottom.

elev.png

WTF? Why would my elevator shaft be doing that? This is a problem to me as I don't start the map in the elevator, I have a wakeup scene elsewhere in the map. I tried placing the weapon strip there, but it still shows the gun for a brief second. I may have to remove the elevator entirely.

Just when I think I understand the system, it changes on me.

Why do you have an elevator without using it? And how do you get to the wakeup scene? If you're using a master info_player_start, then something is really wrong since the portal gun behaviour is triggered through the arrival_departure_transition_ents instance.

Btw, if you still want the elevator in your map you could use an env_fade to fade in the wakeup scene. That way the portalgun won't be seen.

Sop beat me to it. why the hell do you have an elevator if you're using a wake up scene? Couldn't you just put a master info_player_start in a trigger to trigger whatever the hell you have to trigger for a wake up scene and get rid of the elevator?

the wakeup scene was something one of the admins referred me to on the download page. I forget what the actual file name was. I think it's the same kind for the storyline of the game. I managed to delay the effect and use a weapon strip in a blackened room that teleports me to the area where i awaken.

As for the elevator, It was supposed to be the departure elevator. I guess i should have mentioned that. I set up the elevator to crash before entering it and the player would have to backtrack to find a differant way out and actually finding a new departure elevator past a ratman den... So I guess I was using the wrong instance then. I wish there was a way to read the exact properties that are not dictated clearly by this program

Just when I think I understand the system, it changes on me.