Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Portal 2"

From PCGamingWiki, the wiki about fixing PC games
m
(Added one screen co-op to the page)
Line 1: Line 1:
 
[[Category:Game]]
 
[[Category:Game]]
 +
== General ==
 +
=== Split Screen Co-op ===
 +
Thanks to SPUF user [http://forums.steampowered.com/forums/member.php?u=373478 chameleon8] we can play co-op on one monitor split. These instructions are a recreation of his, for a more detailed guide check out [http://forums.steampowered.com/forums/showthread.php?t=1847904 his thread].
 +
*'''Step One''': Make a new config for your controller, this tutorial implies it is a 360 controller, in your portal2/cfg folder.
 +
<pre>cmd2 joy_name "Xbox360 controller"
 +
 +
cmd2 joy_advanced 1
 +
cmd2 joy_advaxisx 3
 +
cmd2 joy_advaxisy 1
 +
cmd2 joy_advaxisz 0
 +
cmd2 joy_advaxisr 2
 +
cmd2 joy_advaxisu 4
 +
cmd2 joy_advaxisv 0
 +
 +
cmd2 joy_forwardsensitivity -1
 +
cmd2 joy_sidesensitivity 1
 +
cmd2 joy_pitchsensitivity 0.75
 +
cmd2 joy_pitchsensitivity_default 0.75
 +
cmd2 joy_yawsensitivity -1.5
 +
cmd2 joy_yawsensitivity_default -1.5
 +
cmd2 joy_autoaimdampenrange 0.85
 +
cmd2 joy_autoaimdampen 0.5
 +
cmd2 joy_lowend 0.75
 +
cmd2 joy_lowmap 0.25
 +
cmd2 joy_no_accel_scale 1
 +
cmd2 joy_accelscale 2.0
 +
cmd2 joy_accelmax 1.0
 +
cmd2 joy_response_move 5
 +
cmd2 joy_response_look 1
 +
cmd2 joyadvancedupdate
 +
cmd2 crosshair 1
 +
cmd2 hud_draw_fixed_reticle 1
 +
 +
cmd2 bind "JOY1" "+jump" // (A) Button
 +
cmd2 bind "JOY2" "+duck" // (B) Button
 +
cmd2 bind "JOY3" "+use" // (X) Button
 +
cmd2 bind "JOY4" "+remote_view" // (Y) Button
 +
cmd2 bind "JOY5" "+quick_ping" // Left Bumper
 +
cmd2 bind "JOY6" "+zoom" // Right Bumper
 +
cmd2 unbind "JOY7" //"+mouse_menu_taunt" // Back ("select") Button
 +
cmd2 bind "JOY8" "gameui_activate" // Start Button
 +
cmd2 unbind "JOY9" //"+quick_ping" // Left Stick In
 +
cmd2 unbind "JOY10" //"+zoom" // Right Stick In
 +
cmd2 unbind "JOY11"
 +
cmd2 unbind "JOY12"
 +
 +
cmd2 bind "Z AXIS POS" "+attack2" // Left Trigger
 +
cmd2 bind "Z AXIS NEG" "+attack" // Right Trigger
 +
 +
cmd2 bind "POV_UP" "+mouse_menu_taunt" // D-Pad
 +
cmd2 bind "POV_LEFT" "+mouse_menu" // D-Pad
 +
cmd2 unbind "POV_RIGHT" //"+mouse_menu" // D-Pad
 +
cmd2 unbind "POV_DOWN" //"+mouse_menu_taunt" // D-Pad
 +
 +
cmd2 joystick 1
 +
cmd2 sk_autoaim_mode 2
 +
cmd2 +jlook</pre>
 +
This is effectively the joy_configuration.cfg file but with cmd2 placed in front of everything. Name this new config something like joy_coop.360.cfg and save in the "common/Portal 2/Portal2/cfg" folder. Customize whatever binds you want to, but keep cmd2 in front of any commands/binds.
 +
 +
*'''Step Two''': Press 'Play Cooperative on the Portal 2 menu and wait for your friends list to open.
 +
 +
*'''Step Three''': Plug in your controller and enter this into your console.
 +
<pre>ss_map mp_coop_start</pre>
 +
 +
*'''Step Four''': While this loads, unplug your controller, wait a few seconds, then plug it back in. This should switch the player light on the 360 controller to the second slot. Once you have the light on the player 2 slot you can leave the joypad in and it should stay on that slot. If this doesn't work (you probably have a wireless 360 pad) you can  give JoyID a go.
 +
 +
*'''Step Five''': Execute the config we just made in the developer console.
 +
<pre>exec joy_coop.360.cfg</pre>
 +
You should now be able to control the second slot with your 360 pad and the first should be whatever binds you had on the keyboard/mouse.
 +
 +
To play with two controllers use change the ''cmd2 joystick 1'' line in the config to ''cmd2 joystick 2''
 +
 +
== Performance ==
 +
=== Console Commands ===
 +
To activate these, go to Options - Keyboard/Mouse - Allow Developer Console and enable it.
 +
*Turning off dynamic shadows <pre>r_shadows 0</pre>
  
 
== Console Commands ==
 
== Console Commands ==
 
Games running on the source engine can utilize [https://developer.valvesoftware.com/wiki/Console_Command_List Source Engine Console Commands] for various tasks.
 
Games running on the source engine can utilize [https://developer.valvesoftware.com/wiki/Console_Command_List Source Engine Console Commands] for various tasks.
 +
  
 
[[Category:Mac Game]]
 
[[Category:Mac Game]]

Revision as of 13:17, 11 February 2012

General

Split Screen Co-op

Thanks to SPUF user chameleon8 we can play co-op on one monitor split. These instructions are a recreation of his, for a more detailed guide check out his thread.

  • Step One: Make a new config for your controller, this tutorial implies it is a 360 controller, in your portal2/cfg folder.
cmd2 joy_name "Xbox360 controller"

cmd2 joy_advanced 1
cmd2 joy_advaxisx 3
cmd2 joy_advaxisy 1
cmd2 joy_advaxisz 0
cmd2 joy_advaxisr 2
cmd2 joy_advaxisu 4
cmd2 joy_advaxisv 0

cmd2 joy_forwardsensitivity -1
cmd2 joy_sidesensitivity 1
cmd2 joy_pitchsensitivity 0.75
cmd2 joy_pitchsensitivity_default 0.75
cmd2 joy_yawsensitivity -1.5
cmd2 joy_yawsensitivity_default -1.5
cmd2 joy_autoaimdampenrange 0.85
cmd2 joy_autoaimdampen 0.5
cmd2 joy_lowend 0.75
cmd2 joy_lowmap 0.25
cmd2 joy_no_accel_scale 1
cmd2 joy_accelscale 2.0
cmd2 joy_accelmax 1.0
cmd2 joy_response_move 5
cmd2 joy_response_look 1
cmd2 joyadvancedupdate
cmd2 crosshair 1
cmd2 hud_draw_fixed_reticle 1

cmd2 bind "JOY1" "+jump"			// (A) Button
cmd2 bind "JOY2" "+duck"			// (B) Button
cmd2 bind "JOY3" "+use"				// (X) Button
cmd2 bind "JOY4" "+remote_view"			// (Y) Button
cmd2 bind "JOY5" "+quick_ping"			// Left Bumper
cmd2 bind "JOY6" "+zoom"			// Right Bumper
cmd2 unbind "JOY7" //"+mouse_menu_taunt"	// Back ("select") Button
cmd2 bind "JOY8" "gameui_activate"		// Start Button
cmd2 unbind "JOY9" //"+quick_ping"		// Left Stick In
cmd2 unbind "JOY10" //"+zoom"			// Right Stick In
cmd2 unbind "JOY11"
cmd2 unbind "JOY12"

cmd2 bind "Z AXIS POS" "+attack2"		// Left Trigger
cmd2 bind "Z AXIS NEG" "+attack"		// Right Trigger

cmd2 bind "POV_UP" "+mouse_menu_taunt"		// D-Pad
cmd2 bind "POV_LEFT" "+mouse_menu"		// D-Pad
cmd2 unbind "POV_RIGHT" //"+mouse_menu"		// D-Pad
cmd2 unbind "POV_DOWN" //"+mouse_menu_taunt"	// D-Pad

cmd2 joystick 1
cmd2 sk_autoaim_mode 2
cmd2 +jlook

This is effectively the joy_configuration.cfg file but with cmd2 placed in front of everything. Name this new config something like joy_coop.360.cfg and save in the "common/Portal 2/Portal2/cfg" folder. Customize whatever binds you want to, but keep cmd2 in front of any commands/binds.

  • Step Two: Press 'Play Cooperative on the Portal 2 menu and wait for your friends list to open.
  • Step Three: Plug in your controller and enter this into your console.
ss_map mp_coop_start
  • Step Four: While this loads, unplug your controller, wait a few seconds, then plug it back in. This should switch the player light on the 360 controller to the second slot. Once you have the light on the player 2 slot you can leave the joypad in and it should stay on that slot. If this doesn't work (you probably have a wireless 360 pad) you can give JoyID a go.
  • Step Five: Execute the config we just made in the developer console.
exec joy_coop.360.cfg

You should now be able to control the second slot with your 360 pad and the first should be whatever binds you had on the keyboard/mouse.

To play with two controllers use change the cmd2 joystick 1 line in the config to cmd2 joystick 2

Performance

Console Commands

To activate these, go to Options - Keyboard/Mouse - Allow Developer Console and enable it.

  • Turning off dynamic shadows
    r_shadows 0

Console Commands

Games running on the source engine can utilize Source Engine Console Commands for various tasks.