注册 | 登录

游侠NETSHOW论坛





查看: 48951|回复: 83
打印 上一主题 下一主题

[转贴] 单机双人分屏方法 [复制链接]

帖子
3138
精华
0
积分
1591
金钱
7732
荣誉
2
人气
16
评议
0
跳转到指定楼层
楼主
发表于 2009-11-20 12:25:29 |只看该作者 |倒序浏览
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 编辑 ]
附件: 你需要登录才可以下载或查看附件。没有帐号?注册
已有 1 人评分金钱 收起 理由
27694867 + 20 + 1 文章不错,继续努力!

总评分: 金钱 + 20  + 1   查看全部评分

Dell XPS 15

i7 2630QM
6G DDR3
640G 7200rpm
NV GT540M 2G with Optimus

Win7 Home Premium 64bit with SP1

使用道具 举报

帖子
3138
精华
0
积分
1591
金钱
7732
荣誉
2
人气
16
评议
0
沙发
发表于 2009-11-20 12:59:51 |只看该作者
版主麻烦加个索引吧,方便大家以后找~ 这里有个分屏的视频证明真实性

http://www.youtube.com/watch?v=R3kIwpNdbUc


2代图见附件~

补一个老图,1代的:



[ 本帖最后由 wfhgo 于 2009-11-20 20:15 编辑 ]
附件: 你需要登录才可以下载或查看附件。没有帐号?注册
Dell XPS 15

i7 2630QM
6G DDR3
640G 7200rpm
NV GT540M 2G with Optimus

Win7 Home Premium 64bit with SP1

使用道具 举报

☆打出去拖死☆
游侠汉化组【制作】

仙剑5数字版勋章

帖子
5778
精华
0
积分
2998
金钱
35744
荣誉
10
人气
94
评议
0

板凳
发表于 2009-11-20 13:02:03 |只看该作者
测试成功了吗?如果成功了会加索引的。

使用道具 举报

帖子
3138
精华
0
积分
1591
金钱
7732
荣誉
2
人气
16
评议
0
地板
发表于 2009-11-20 13:56:43 |只看该作者
原帖由 27694867 于 2009-11-20 00:02 发表
测试成功了吗?如果成功了会加索引的。



1代是成功的,玩了大半年,2代正版还没到,一时测不了,不过有那个视频为证
Dell XPS 15

i7 2630QM
6G DDR3
640G 7200rpm
NV GT540M 2G with Optimus

Win7 Home Premium 64bit with SP1

使用道具 举报

帖子
8465
精华
0
积分
4237
金钱
5227
荣誉
0
人气
48
评议
0

5#
发表于 2009-11-20 14:12:43 |只看该作者
分屏的话两个人怎么控制的

AMD RYZEN 1600 / Thermalright Venomous X
ASUS B350plus / Gloway 2666 8Gx4
AORUS GTX 1080 Ti  WB Xtreme Edition 11G
HIKVISION C2000PRO 1T
SUPERFLOWER LEADEX G 650 / PHANTEKS 416
AOC 3477FQ / AOC 27P2U
logitech G603 / logitech G613

使用道具 举报

帖子
115
精华
0
积分
58
金钱
285
荣誉
0
人气
0
评议
0
6#
发表于 2009-11-20 14:21:58 |只看该作者
没有详细的操作方法吗~~~~~~~~

使用道具 举报

帖子
75
精华
0
积分
38
金钱
122
荣誉
0
人气
0
评议
0
7#
发表于 2009-11-20 14:22:51 |只看该作者
一个用鼠标一个用手柄。 无敌202020

使用道具 举报

帖子
3138
精华
0
积分
1591
金钱
7732
荣誉
2
人气
16
评议
0
8#
发表于 2009-11-20 23:41:44 |只看该作者
原帖由 zxcbahamut 于 2009-11-20 01:12 发表
分屏的话两个人怎么控制的



键鼠 加 手柄, 推荐360手柄~ 按键是照360改的。。。。。。
Dell XPS 15

i7 2630QM
6G DDR3
640G 7200rpm
NV GT540M 2G with Optimus

Win7 Home Premium 64bit with SP1

使用道具 举报

斯图加特 最佳新人

帖子
1229
精华
0
积分
616
金钱
8562
荣誉
0
人气
3
评议
0
9#
发表于 2009-11-21 00:37:12 |只看该作者
将360controller.cfg复制到游戏目录内
\left 4 dead\left4dead\cfg\取代原档

进入游戏后 按 "~" 打开控制台
依序输入:
ss_enable 1       //开启屏幕分割
ss_splitmode 1    //水平分割
ss_splitmode 2    //垂直 适合宽屏幕
exec 360controller.cfg


一代一直是按照这么做完的,2代用这个不灵了
楼主能说的具体点吗,实在看不懂
不一定用360手柄吧,1代我用的战戟也挺好的
喜欢的国家队:阿根廷
喜欢的俱乐部:斯图加特,河床
喜欢的球员:奥特加,希尔德布兰,赫莱布,罗马里奥,雷科巴

使用道具 举报

☆打出去拖死☆
游侠汉化组【制作】

仙剑5数字版勋章

帖子
5778
精华
0
积分
2998
金钱
35744
荣誉
10
人气
94
评议
0

10#
发表于 2009-11-21 01:44:04 |只看该作者
如果可以做个教程,并且成功的话,可以加精

使用道具 举报

帖子
3138
精华
0
积分
1591
金钱
7732
荣誉
2
人气
16
评议
0
11#
发表于 2009-11-21 02:44:57 |只看该作者
原帖由 27694867 于 2009-11-20 12:44 发表
如果可以做个教程,并且成功的话,可以加精



已进行简单翻译,可随时按要求加入补充说明~
Dell XPS 15

i7 2630QM
6G DDR3
640G 7200rpm
NV GT540M 2G with Optimus

Win7 Home Premium 64bit with SP1

使用道具 举报

☆打出去拖死☆
游侠汉化组【制作】

仙剑5数字版勋章

帖子
5778
精华
0
积分
2998
金钱
35744
荣誉
10
人气
94
评议
0

12#
发表于 2009-11-21 03:15:21 |只看该作者
最好可以将需要的文件重新整理一下,打包上传,可以直接解压到相应的文件夹。

然后写一个详细的操作步骤,这样大家可以看得明白一点。

使用道具 举报

帖子
713
精华
0
积分
357
金钱
814
荣誉
0
人气
0
评议
0
13#
发表于 2009-11-21 03:30:23 |只看该作者
支持一个啊...
不过双屏实在是累人了...已经在XBOX360感受过了...太什么了...

使用道具 举报

帖子
296
精华
0
积分
149
金钱
1466
荣誉
0
人气
0
评议
0
14#
发表于 2009-11-21 04:06:57 |只看该作者
跪求1代的分屏方法,
LZ可否重新发过连结
谢谢

另外要用两个STEAM ACCOUNT 吗?

使用道具 举报

帖子
25
精华
0
积分
13
金钱
80
荣誉
0
人气
0
评议
0
15#
发表于 2009-11-21 05:36:41 |只看该作者
怀念一代的画面 2带的太卡通了

使用道具 举报

帖子
3138
精华
0
积分
1591
金钱
7732
荣誉
2
人气
16
评议
0
16#
发表于 2009-11-21 05:49:09 |只看该作者
原帖由 r4v8ujha 于 2009-11-20 15:06 发表
跪求1代的分屏方法,
LZ可否重新发过连结
谢谢

另外要用两个STEAM ACCOUNT 吗?



马上上传1代所需文件及方法。。。。据说No Steam也可以用。。。。不用任何帐号。。。。。。
Dell XPS 15

i7 2630QM
6G DDR3
640G 7200rpm
NV GT540M 2G with Optimus

Win7 Home Premium 64bit with SP1

使用道具 举报

帖子
3138
精华
0
积分
1591
金钱
7732
荣誉
2
人气
16
评议
0
17#
发表于 2009-11-21 06:16:33 |只看该作者
花了1个小时补充了不少内容。。。。大家有问题就跟贴。。。欢迎提供反馈意见。。。。。。。
Dell XPS 15

i7 2630QM
6G DDR3
640G 7200rpm
NV GT540M 2G with Optimus

Win7 Home Premium 64bit with SP1

使用道具 举报

帖子
296
精华
0
积分
149
金钱
1466
荣誉
0
人气
0
评议
0
18#
发表于 2009-11-21 06:55:48 |只看该作者
原帖由 wfhgo 于 2009-11-21 06:16 发表
花了1个小时补充了不少内容。。。。大家有问题就跟贴。。。欢迎提供反馈意见。。。。。。。


LZ辛苦了,顶一个~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

使用道具 举报

帖子
3138
精华
0
积分
1591
金钱
7732
荣誉
2
人气
16
评议
0
19#
发表于 2009-11-21 07:29:33 |只看该作者
原帖由 r4v8ujha 于 2009-11-20 17:55 发表


LZ辛苦了,顶一个~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



多谢支持~~~希望有效~~~~
Dell XPS 15

i7 2630QM
6G DDR3
640G 7200rpm
NV GT540M 2G with Optimus

Win7 Home Premium 64bit with SP1

使用道具 举报

帖子
20
精华
0
积分
10
金钱
175
荣誉
0
人气
0
评议
0
20#
发表于 2009-11-21 08:21:27 |只看该作者
單機分屏好累哦~辛苦你了................

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

手机版|Archiver|游侠NETSHOW论坛 ( 苏ICP备2023007791号 )

GMT+8, 2024-4-27 06:06 , Processed in 0.383947 second(s), 12 queries , Gzip On, Memcache On.

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

分享到