Orange Portals
Coupled with the fact I haven't used hammer for a year and I'm kinda not sure what to do.
So: how do I get the portal emitter lights? How do I get the orange portal to appear where it should (I heard, although did not test, that there were problems)? And now that the player spawn is tied up neatly with an instance, how do I stop the player being able to fire orange portals?
I remember now why Hammer was so hard...
Will this stop the player being able to place orange portals as well? I'm virtually hammer illiterate, you know.
EDIT: In fact, I could probably do with a run through of what this instance can do and what you need to do and what you need to do to it.
EDIT: IN FACT, rather than beating around the bush, why donn't I just tell you what I want to do. I want to spawn an orange portal when the map loads and ensure that the player can't place orange portals.
)Search for your arrival elevator in Hammer select it, click on "Edit instance".
Now search for the Portal gun and change its properties to only be able of shooting one Portal.
Save the elevator under a new name. (e.g. "PETI_arr_elev_singlePortal")
Use this elevator in your map instead of the other one. Voila.
EDIT: I've tried to play the map in your signature, but it is a .vpk.
Maybe you should change that.
And thanks for the info Brainstone about the teleporting portal gun.
I've managed to get the orange portal working fine, but my edited instance does not stop you from firing orange portals. I think it might still be upgrading the portal gun. Any ideas?
RubbishyUsername wrote:
Wow thanks!Will this stop the player being able to place orange portals as well? I'm virtually hammer illiterate, you know.
EDIT: In fact, I could probably do with a run through of what this instance can do and what you need to do and what you need to do to it.
EDIT: IN FACT, rather than beating around the bush, why donn't I just tell you what I want to do. I want to spawn an orange portal when the map loads and ensure that the player can't place orange portals.
If you just give the portalgun only one portal you should be fine.
I think the inputs and outputs for the instance speak for itself, place that instance and take two seconds to see what they allow. I believe there's something called orange_portal_relay and a blue one. And a close.
Just opening up the orange portal should do the trick. I'm not 100% sure about the names but I can't check that out at the moment. But it should really be easy to use 
But I'm afraid you can't give the portal gun one portal and it be fine - you still spawn with both portals available. I'm thinking this is similar to the persistent potato problem.
You can do it like I do in my current mod maps.
Somewhere in your map must be a entry_exit_transition instance. Delete it.
Delete the start elevator instance.
Then build an arrival elevator, like you were used to before PeTI: With a base and a logic part. Look on th VDC if you need help on this step.
After that, use my Entry instance.
Then place the instance p2editor/globalPTIents anywhere in your map.
The problem with this is, that currently I can't get the elevator videos to work. I'm working on how to fix this, though. Also, I think that your videos wouldn't work the other way.
EDIT: +I forgot to add, that you will additionally need to place the instance/p2editor/globalPTIents again, because you have deleted it with the elevator.
But it will work out, believe me.
lpfreaky90 wrote:
Or just cheat: add a trigger_weaponstrip in your elevator and add a portalgun with only one portal outside the elevator room
That's exactly what I do for my Secondary Fire maps. I place a trigger_weaponstrip at the exact point the player hits the elevator and then right above the elevator I place a floating weapon_portalgun right above the elevator in in the elevator shaft. It works perfect! ![]()
I'll try the weaponstrip. Where is the point where the player goes in the elevator?
RubbishyUsername wrote:
I'll try the weaponstrip. Where is the point where the player goes in the elevator?
I place it right at the base around the elevator model. That way the player loses the Portal Device almost immediately when the map starts.
RubbishyUsername wrote:
Problem is, I did publish and I still have the same problem.
could you upload the vmf? I can watch into it too.
RubbishyUsername wrote:
How do I upload the vmf without having to go and create a wip thread and that sort of thing?
Just upload it somewhere and either drop me a link on this thread or a pm or steam or skype (lpfreaky90 there too)