The Potato
thanks
Msleeper posted somewhere a modified one where I believe you can change the state of the portalgun. Check the instances sticky thread.
p0rtalplayer wrote:
It's the transitions.Msleeper posted somewhere a modified one where I believe you can change the state of the portalgun. Check the instances sticky thread.
And msleeper's sig for that matter.
Good Enough For Science (Instance Example + VMF)
&

I am going to make another version of the transition_ents that is much more configurable for users, and give you options to do these things.
You'd add a 'player_weapon_strip' and give it a name like 'portalgun_stripper' and then you can add a new logic_auto to your map with three outputs:
OnMapSpawn -> portalgun_stripper -> Strip (0.05)
OnMapSpawn -> @command -> Command -> give_portalgun (0.10)
OnMapSpawn -> @command -> Command -> upgrade_portalgun (0.15)
'@command' is point_clientcommand entity that's added to your map with, I think, the standard transition_ents (or possibly the global_ents? I forget offhand right now). If you have the appropriate instance in your map you never have to create your own point_clientcommand and can just fire everything directly to @command.
Anywho, this would potentially give you finer control if you wanted to just give the player the 'blue-only' gun (you'd just leave off the last 'upgrade_portalgun') but it's a total hack-y workaround. A fully configurable transition_ents with booleans for the different portal upgrade 'levels' would be much better.
I was actually going to set one of these up later tonight but if you're already on it msleeper, I'll just wait for yours.
Are you incorporating animerunt's subtitle options?
VitaminZed wrote:
I was actually going to set one of these up later tonight but if you're already on it msleeper, I'll just wait for yours.Are you incorporating animerunt's subtitle options?
Care to be more specific?
- $chapter_title
- $chapter_subtitle
- $end_text
Along with a corresponding boolean for each to enable/disable them.
Quite handy, it's what I'm currently using. Just curious if you were incorporating those into your new version.