Please or Register to create posts and topics.

Point_viewcontrol and saving game problem

Page 1 of 2Next

Hello there, a kind people. I tried to use entity point_viewcontrol for emulate a ladder climbing, it became very cool but i met a problem. If player try to use save while viewcontrol is active, it stops to follow the parent that causing a problem of activating this viewcontrol later.
At first look it is not a big deal, but there are some kinds of players: who not saves at all, who saves rarely and who saves very offen. So there is a chance so one of them could use save while "climbing" that will cause unwanted bug, which i and players don't want to be.

So i have a question: is there any way by which i can forbid for players to use a saves for a while? It could help a lot.

clik here to download a [WIP] map

Saving can cause issues for a lot of things. I'd suggest that you unbind the default save key while the player is climbing, then bind it back. You can also just force a new auto save once they a done climbing. So when they reload, they are done climbing.

Happy Mapping

http://www.tophattwaffle.com/ - My site for Source Engine Level Design
http://therewillbescience.com/ - Portal 2, Lab Rat
http://www.moddb.com/mods/portal-2-lab-rat - Portal 2, Lab Rat (MODDB)

Unbind keys seems helpful for this situation, easy and effective. But how do i do this? With a some scripts or there are a some entity for that?

P.S. @TopHATTwaffle, thanks for your awesome tutorials and very helpful site, you are a great teacher for me :notworthy:

If the maps are single player, just bind F6 (I think that's autosave?) to null. Here is the command.
"Unbind F6"

Then bind it back with:
"bind "F6" "save quick""

Happy Mapping

http://www.tophattwaffle.com/ - My site for Source Engine Level Design
http://therewillbescience.com/ - Portal 2, Lab Rat
http://www.moddb.com/mods/portal-2-lab-rat - Portal 2, Lab Rat (MODDB)

I know about these commands but the question is where i should type it, what entities should i use (except triggers of course)?

Use a point_servercommand to fire the commands.

Happy Mapping

http://www.tophattwaffle.com/ - My site for Source Engine Level Design
http://therewillbescience.com/ - Portal 2, Lab Rat
http://www.moddb.com/mods/portal-2-lab-rat - Portal 2, Lab Rat (MODDB)

Thanks! That all what i have to know :3

Hehe, new problem can arise for those players who have another key for quick saving but not F6. They will lose there own binding and get default one.

God bless the quick save's inventor...(Portal: Prelude)

They won't actually. When you bind a key though the console you can have multiple key bindings. So they will just have F6 as a quick save bind as well.

Happy Mapping

http://www.tophattwaffle.com/ - My site for Source Engine Level Design
http://therewillbescience.com/ - Portal 2, Lab Rat
http://www.moddb.com/mods/portal-2-lab-rat - Portal 2, Lab Rat (MODDB)
TopHATTwaffle wrote:
They won't actually. When you bind a key though the console you can have multiple key bindings. So they will just have F6 as a quick save bind as well.

I had the same thought, just didn't have time to reply =P

Page 1 of 2Next