- UID
- 750854
- 主题
- 9
- 阅读权限
- 50
- 帖子
- 3138
- 精华
- 0
- 积分
- 1591
- 金钱
- 7732
- 荣誉
- 2
- 人气
- 16
- 在线时间
- 2956 小时
- 评议
- 0
- 帖子
- 3138
- 精华
- 0
- 积分
- 1591
- 金钱
- 7732
- 荣誉
- 2
- 人气
- 16
- 评议
- 0
|
Nov. 26 5:34 pm Update:
原帖由 ttttkk 于 2009-11-26 01:14 发表
插兩個手柄,就可以1P和2P都用手柄,鍵位問題,可以直接修改config.cfg (忘記了還是config.ini)
以下是1p
cmd bind "joy1" "+attack"
cmd bind "joy2" "+attack2"
....
以下是2b
cmd2 bind "joy1" "+attack"
cmd2 bind " ...
感谢这位朋友的回复,希望大家试试看行不行~
Nov. 26 1:07 am Update: 1P想用键鼠的朋友请见28楼说明..................
已加入精华索引
by-27694867
原来我发过一个1代的分屏方法,现在有高手把2代的也弄出来了。 简单说来就是复制配置文件,然后控制台选择分屏。
1代分屏见26楼~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8:16 PM 11.20.09 Update: 2代成功后截图已发。。。也可视为图片教程。。。。。详见2楼.......
纠正了2代分屏的一个严重错误。。。。作者用了简化步骤。。。。所以不是覆盖360controller.cfg 而是直接保存为splitmode.txt.... 附件已修改....
5:07PM 11.20.09 Update: 配置文件已上传至附件,下载对应的版本解压覆盖原配置文件,之后操作见说明.
4:52PM 11.20.09 Update:补充修改好的文件至附件,同时补充1代分屏方法
----------------------以下为2代说明----------------------
4:51PM 11.20.09 Update:修正并补充中文翻译
11.20.09 Update: 已进行简单的中文翻译,不明白的可以跟贴问~ 我现在要上课,回来后解答问题~
http://forums.steampowered.com/forums/showthread.php?t=1032280
Hey, sorry if I am late and every one already knows how to split screen left 4 dead 2. But for the off chance you don't know how, I added to the 360controller.cfg file to create this nice script, that makes left 4 dead 2 really easy to split screen and enjoy. This is a setup for 2 xbox 360 joysticks. And with this setup you will be able to do the following, toggle invert on and off for both players 1 and 2, and toggle the speed in which you aim, I have 4 speed presets for player 1 and 2. And I noticed, that if you use the original script, it won't let player 2 look up and down until you type cmd2 +jlook into the console. Now you don't have too. Instructions are in the script, enjoy. Copy and paste this into notepad save it as splitmode.txt (well you can name it whatever you want) and drop the txt file under your CFG folder, I'm pretty sure for everyone the path is...
Program Files\Steam\Steamapps\common\left 4 dead 2\left4dead2\cfg
配置文件路径
Read the instructions in the document and have a good time =D
// 11/18/09
// Brandon Store
// Most of this is Valve's original 360controller.cfg however, I added some stuff to make splitscreen easier.
添加以下修改过的txt文件到对应目录 Program Files\Steam\Steamapps\common\left 4 dead 2\left4dead2\cfg
// DIRECTIONS: place this file in you're left4dead2\cfg folder. Start the game, bring down the console, type in
// ss_map then a drop down box should appear. with the arrow keys you can select the map you want from there. Then when
在控制台中输入 ss_map 然后下拉菜单中选地图
// the level loads type in exec splitmode.txt (into the console ofcourse) and then it will reload the level
输入exec splitmode.txt 然后游戏重新载入并成为分屏模式
// and you're options are set and ready to go.
//Look through the script and read some of my comments to get a better understanding of the specific things I did.
// And to make things even more convient, heres some hotkeys if you and/or you're friend needs adjustments with inversion and speed
// (see the bottom of this file for the actual code for the hot keys)
F9-F12调整是否反转鼠标/控制器方向
// Press F12 and player two becomes inverted
// Press F11 and player two turns off invert
// Press F10 and player one becomes inverted
// Press F9 and player one turns off invert
F1-F8调整游戏速度 F1-F4 1P, F5-F8 2P
// Press F8 if for player two to have a ridiculously fast speed
// Press F7 for player two to have a slick but usable speed
// Press F6 for player two to have a normal speed
// Press F5 for player two to have a slow speed
// Press F4 if for player one to have a ridiculously fast speed
// Press F3 for player one to have a slick but usable speed
// Press F2 for player one to have a normal speed
// Press F1 for player one to have a slow speed
修改name2为2P名字
// Oh and be sure to type in name2 and then you're friend's name, its not necessary but its more fun to see their name
// above a character. Rather then the default Unnamed o_O
// I added the following 3 lines//
相对原版文件的改动以支持手柄与分屏
ss_enable 1;
ss_splitmode 2; // Change this to 1 if you have a 4:3 monitor (basically if you don't have a widescreen) Leave it at 2 if you do have a wide screen.
connect_splitscreen localhost 2; // This tells the game to reload the level with player 2 connected
// The original script //
修改过的原版文件
// I removed unbindall so my hot keys will work, unbindall deactivates the keyboard.
joystick 1
joy_advanced "1" // use advanced joystick options (allows for multiple axes)
joy_name "L4D Xbox360 Joystick Configuration"
joy_advaxisx 3 // x-axis controls GAME_AXIS_SIDE (strafing left and right)
joy_advaxisy 1 // y-axis controls GAME_AXIS_FORWARD (move forward and back)
joy_advaxisz 0 // z-axis is treated like a button
joy_advaxisr 2 // r-axis controls GAME_AXIS_PITCH (look up and down)
joy_advaxisu 4 // u-axis controls GAME_AXIS_YAW (look left and right)
joy_advaxisv 0 // v-axis is unused
joy_forwardsensitivity -1.0 // movement sensitivity
joy_sidesensitivity 1.0
joy_forwardthreshold 0.1 // movement dead zone settings
joy_sidethreshold 0.1
joy_pitchsensitivity 1.0 // look sensitivity
joy_yawsensitivity -1.5
joy_pitchthreshold 0.1 // look dead zone settings
joy_yawthreshold 0.0
joy_variable_frametime 1
joy_autoaimdampenrange 0.85
joy_autoaimdampen 0.5
joy_lowend 0.65
joy_lowmap 0.15
joy_accelscale 3.0
joy_accelmax 4.0
joy_response_move 5
joy_response_look 1
joy_autoaimdampen 0.3
joy_autoaimdampenrange 0.85
joyadvancedupdate // advanced joystick update allows for analog control of move and look
// Alternate control 1
+jlook // enable joystick look
bind "A_BUTTON" "+jump;+menuAccept" // (A) button - Jump -menuAccpt allows us to make selections on hud menus
bind "B_BUTTON" "+reload" // (B) button - Reload
bind "X_BUTTON" "+use" // (X) Use
bind "Y_BUTTON" "lastinv" // (Y) button - swap pistol/rifle or z_abort -used to respawn as a ghost.
bind "R_TRIGGER" "+attack" // RT - Main weapon - Primary trigger
bind "L_TRIGGER" "+attack2" // LT - Melee
bind "R_SHOULDER" "+lookspin" // RB - Fast 180 spin
bind "L_SHOULDER" "toggle_duck" // LB - Duck
bind "STICK1" "vocalize smartlook" // LS - vocalize
bind "STICK2" "+zoom" // RS click - Rifle Zoom
// Fixed bindings, do not change these across joystick presets
bind "BACK" "togglescores" // (back) button - scores
bind "START" "gameui_activate" // (start) button - pause
bind "S1_UP" "+menuUp" // Hud menu Up
bind "S1_DOWN" "+menuDown" // Hud menu Down
bind "UP" "impulse 100" // DPad Up - Toggle flashlight
bind "LEFT" "slot3" // DPad Left - grenade
bind "RIGHT" "slot4" // DPad Right - health
bind "DOWN" "slot5" // DPad Down - Pills
// controller2 bindings
cmd2 +jlook // added that to make the joystick look up and down (it didn't before)
cmd2 bind "A_BUTTON" "+jump;+menuAccept" // (A) button - Jump -menuAccpt allows us to make selections on hud menus
cmd2 bind "B_BUTTON" "+reload" // (B) button - Reload
cmd2 bind "X_BUTTON" "+use" // (X) Use
cmd2 bind "Y_BUTTON" "lastinv" // (Y) button - swap pistol/rifle or z_abort -used to respawn as a ghost.
cmd2 bind "R_TRIGGER" "+attack" // RT - Main weapon - Primary trigger
cmd2 bind "L_TRIGGER" "+attack2" // LT - Melee
cmd2 bind "R_SHOULDER" "+lookspin" // RB - Fast 180 spin
cmd2 bind "L_SHOULDER" "toggle_duck" // LB - Duck - is also used to give objects to people.
cmd2 bind "STICK1" "vocalize smartlook" // LS - vocalize
cmd2 bind "STICK2" "+zoom" // RS click - Rifle Zoom
// Fixed bindings, do not change these across joystick presets
cmd2 bind "BACK" "togglescores" // (back) button - scores
cmd2 bind "START" "gameui_activate" // (start) button - pause
cmd2 bind "S1_UP" "+menuUp" // Hud menu Up
cmd2 bind "S1_DOWN" "+menuDown" // Hud menu Down
cmd2 bind "UP" "impulse 100" // DPad Up - Toggle flashlight
cmd2 bind "LEFT" "slot3" // DPad Left - grenade
cmd2 bind "RIGHT" "slot4" // DPad Right - health
cmd2 bind "DOWN" "slot5" // DPad Down - Pills
sk_autoaim_mode 2
/* I added the following, just to ensure the joystick for player one continues to work right. In Left 4 Dead 1,
it wouldn't use any of the face buttons, just the sticks for movement and seeing. Adding this to the left 4 dead 1
360controller.cfg fixed that issue. Its not an issue here, but it didn't hurt to add it anyway.*/
// controller1 bindings
cmd1 +jlook // enable joystick look
cmd1 bind "A_BUTTON" "+jump;+menuAccept" // (A) button - Jump -menuAccpt allows us to make selections on hud menus
cmd1 bind "B_BUTTON" "+reload" // (B) button - Reload
cmd1 bind "X_BUTTON" "+use" // (X) Use
cmd1 bind "Y_BUTTON" "lastinv" // (Y) button - swap pistol/rifle or z_abort -used to respawn as a ghost.
cmd1 bind "R_TRIGGER" "+attack" // RT - Main weapon - Primary trigger
cmd1 bind "L_TRIGGER" "+attack2" // LT - Melee
cmd1 bind "R_SHOULDER" "+lookspin" // RB - Fast 180 spin
cmd1 bind "L_SHOULDER" "toggle_duck" // LB - Duck - is also used to give objects to people.
cmd1 bind "STICK1" "vocalize smartlook" // LS - vocalize
cmd1 bind "STICK2" "+zoom" // RS click - Rifle Zoom
// Fixed bindings, do not change these across joystick presets
cmd1 bind "BACK" "togglescores" // (back) button - scores
cmd1 bind "START" "gameui_activate" // (start) button - pause
cmd1 bind "S1_UP" "+menuUp" // Hud menu Up
cmd1 bind "S1_DOWN" "+menuDown" // Hud menu Down
cmd1 bind "UP" "impulse 100" // DPad Up - Toggle flashlight
cmd1 bind "LEFT" "slot3" // DPad Left - grenade
cmd1 bind "RIGHT" "slot4" // DPad Right - health
cmd1 bind "DOWN" "slot5" // DPad Down - Pills
/* I added the following to turn invert on and off on the fly, and change speed during gameplay */
bind F12 "joy_inverty2 1"
bind F11 "joy_inverty2 0"
bind F10 "joy_inverty 1"
bind F9 "joy_inverty 0"
bind F8 "joy_pitchsensitivity2 5; joy_yawsensitivity2 -5"
bind F7 "joy_pitchsensitivity2 1.5; joy_yawsensitivity2 -1.5"
bind F6 "joy_pitchsensitivity2 1; joy_yawsensitivity2 -1"
bind F5 "joy_pitchsensitivity2 0.5; joy_yawsensitivity2 -0.5"
bind F4 "joy_pitchsensitivity 5; joy_yawsensitivity -5"
bind F3 "joy_pitchsensitivity 1.5; joy_yawsensitivity -1.5"
bind F2 "joy_pitchsensitivity 1; joy_yawsensitivity -1"
bind F1 "joy_pitchsensitivity 0.5; joy_yawsensitivity -0.5"
[ 本帖最后由 wfhgo 于 2009-11-26 17:35 编辑 ] |
附件: 你需要登录才可以下载或查看附件。没有帐号?注册
-
总评分: 金钱 + 20
+ 1
查看全部评分
|