注册 | 登录

游侠NETSHOW论坛





楼主: wfhgo
打印 上一主题 下一主题

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

帖子
3138
精华
0
积分
1591
金钱
7732
荣誉
2
人气
16
评议
0
21#
发表于 2009-11-21 08:41:59 |只看该作者
原帖由 dfd2e 于 2009-11-20 19:21 发表
單機分屏好累哦~辛苦你了................



就是第一次麻烦点,以后就是两行代码的问题~
Dell XPS 15

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

Win7 Home Premium 64bit with SP1

使用道具 举报

帖子
305
精华
4
积分
953
金钱
1697
荣誉
0
人气
1
评议
0
22#
发表于 2009-11-21 09:03:31 |只看该作者
真的假的?????[害怕] [害怕] [害怕] 有没有截图或者视频?

使用道具 举报

帖子
3138
精华
0
积分
1591
金钱
7732
荣誉
2
人气
16
评议
0
23#
发表于 2009-11-21 09:17:19 |只看该作者
原帖由 grasshoper 于 2009-11-20 20:03 发表
真的假的?????[害怕] [害怕] [害怕] 有没有截图或者视频?



请见2楼...........................
Dell XPS 15

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

Win7 Home Premium 64bit with SP1

使用道具 举报

帖子
91
精华
0
积分
46
金钱
941
荣誉
0
人气
0
评议
0
24#
发表于 2009-11-21 09:22:31 |只看该作者
不错,现在看还是一代人设经典,二代地图还行,人设没有特点,太大众。

使用道具 举报

帖子
3138
精华
0
积分
1591
金钱
7732
荣誉
2
人气
16
评议
0
25#
发表于 2009-11-21 09:24:58 |只看该作者
1代分屏,感谢国外网友的脚本:
http://forums.steampowered.com/forums/showthread.php?t=745113


1. Find an XBOX360 controller  
找一个360手柄

2. Plug it in
插入。。。。

3. Edit your 360controller.cfg file located in your \left4dead\cfg folder
修改360controller.cfg 位于\left4dead\cfg文件夹       修改后文件已上传  

Copy and paste the following and overwrite other information in your 360controller.cfg
unbindall                                // Prevent mouse/keyboard control when gamepad is in use (to prevent autoaim exploit)

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
bind "0" "slot10"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
bind "9" "slot9"
bind "a" "+moveleft"
bind "c" "+voicerecord"
bind "d" "+moveright"
bind "e" "+use"
bind "f" "impulse 100"
bind "h" "motd"
bind "m" "chooseteam"
bind "q" "lastinv"
bind "r" "+reload"
bind "s" "+back"
bind "t" "impulse 201"
bind "u" "messagemode2"
bind "w" "+forward"
bind "x" "+mouse_menu QA"
bind "y" "messagemode"
bind "z" "+mouse_menu Orders"
bind "`" "toggleconsole"
bind "SPACE" "+jump"
bind "TAB" "+showscores"
bind "ESCAPE" "cancelselect"
bind "SHIFT" "+speed"
bind "CTRL" "+duck"
bind "F1" "Vote Yes"
bind "F2" "Vote No"
bind "F5" "jpeg"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MOUSE3" "+zoom"
bind "MWHEELUP" "invprev"
bind "MWHEELDOWN" "invnext"


// controller2 bindings
cmd2 +jlook                                        // enable joystick look
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" "pause"                                // (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


4. IT IS NECESSARY THAT YOU SET THE 360 CONTROLLER SET TO PLAYER 2, THIS MEANS THE LIGHT INDICATOR ON THE CONTROLLER MUST BE ON THE NUMBER 2! -Red text below indicates how to do this
重要!360手柄在电脑上必须是默认2P (个人补充:最简单方法就是接两个手柄,然后用2号手柄,360上的灯在2号位,1P依然可以用键鼠)


5. Boot up the game

6. open console and type "Exec 360controller.cfg" without the quotations
控制台中输入 exec 360controller.cfg (个人经验:只有第一次分屏时需要输入,以后可以跳过这一步)


7. Set your split screen mode to either Horizontal-Cut (ss_splitmode 1) or Vertical-Cut (ss_splitmode 2) through the console, vertical cut is meant for widescreen monitors and dual monitor setups while the horizontal for standard monitors
输入对应代码选择分屏方式 ss_splitmode 1 水平分 ss_splitmode 2 垂直分 (自己试一下就明白了)


8. Open the console and enter ss_enable 1 once this is enabled you can simply start a single player game through the menu and splitscreen will already be enabled.
输入 ss_enable 1开启双人分屏


Alternatively, join an online game and enter "ss_connect" to add a splitscreen player and "ss_disconnect" to remove.
联网模式亦可用!!!!不过最后一步是输入 ss_connect 去掉2P则是 ss_disconnect  (非常爽,我曾经2台电脑4个人联机)

ATTENTION; IF SECOND PLAYER JOINS GAME AND DOES NOT AUTOMATICLY JOIN A TEAM USE THE COMMAND "cmd2 jointeam 2" FOR 2nd PLAYER TO JOIN SURVIVORS AND "cmd2 jointeam 3" FOR 2nd PLAYER TO JOIN INFECTED

9. HAVE THE CONTROLLER SET TO PLAYER 1, START A GAME AND AS SOON AS THE LOADING SCREEN APPEARS UNPLUG THE CONTROLLER, WAIT ONE OR TWO SECONDS AND PLUG IT BACK IN BEFORE THE GAME STARTS

如果没有两个手柄 (有两个的见我第4点的补充说明,简单多了)那么手柄会被系统识别为1P,那么就会与鼠标控制同一个角色,解决方法很奇葩:载入时拔了手柄再插回去。。。自动变2P。。。个人实验通过。。。。。)强烈推荐有两个手柄的兄弟们用第4点。。省事。。。。。。

10. PLAY CO-OP THE WAY ITS MEANT TO BE PLAYED!

11. People with controllers other than Xbox 360 controllers will have to create their own controller configurations, simply edit the above CFG to match your controller. Lines that start with "cmd2 bind" are the controls you will need to set.




-----------------------以上为1代说明---------------------

[ 本帖最后由 wfhgo 于 2009-11-20 20:30 编辑 ]
附件: 你需要登录才可以下载或查看附件。没有帐号?注册
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
26#
发表于 2009-11-21 09:41:09 |只看该作者
说明1:2代的步骤更简化,但是可能很难懂。。。我联系一下原作者看看有没有类似1代的方法。。。。。

[ 本帖最后由 wfhgo 于 2009-11-26 01:05 编辑 ]
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
27#
发表于 2009-11-21 09:41:23 |只看该作者
给1P想要用键鼠的兄弟们。。。。请替换360controller.cfg


Quote:
Originally Posted by EssGeeDee  
I'd rather use mouse and keys for player one and either of the controllers for Player 2, but I have no idea how to go about it.

You can use keyboard and mouse for player 1 by binding them under 'Alternate Control ' in the 360controller.cfg file.

Here is how mine looks:


unbindall

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
bind "0" "slot10"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
bind "9" "slot9"
bind "a" "+moveleft"
bind "v" "+voicerecord"
bind "d" "+moveright"
bind "e" "+use"
bind "f" "impulse 100"
bind "h" "motd"
bind "m" "chooseteam"
bind "q" "lastinv"
bind "r" "+reload"
bind "s" "+back"
bind "t" "impulse 201"
bind "u" "messagemode2"
bind "w" "+forward"
bind "x" "+mouse_menu QA"
bind "y" "messagemode"
bind "z" "+mouse_menu Orders"
bind "`" "toggleconsole"
bind "SPACE" "+jump"
bind "TAB" "+showscores"
bind "ESCAPE" "cancelselect"
bind "SHIFT" "+speed"
bind "c" "+duck"
bind "F1" "Vote Yes"
bind "F2" "Vote No"
bind "F5" "jpeg"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MOUSE3" "+zoom"
bind "MWHEELUP" "invprev"
bind "MWHEELDOWN" "invnext"

// controller2 bindings
cmd2 +jlook // enable joystick look
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


[ 本帖最后由 wfhgo 于 2009-11-26 01:06 编辑 ]
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
28#
发表于 2009-11-21 09:41:34 |只看该作者
占楼挖坑~~~~~~~~~~~~~~~~
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
29#
发表于 2009-11-21 09:42:01 |只看该作者
最后一楼~~~~~~~~~~~~~~~~
Dell XPS 15

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

Win7 Home Premium 64bit with SP1

使用道具 举报

帖子
3835
精华
0
积分
1965
金钱
48992
荣誉
4
人气
69
评议
0
30#
发表于 2009-11-21 09:43:19 |只看该作者
这个不错啊,可以分屏玩。
CPU   4930k 1.235V OC 4.4G
散热  利民U120E
主板  RAMPAGE IV EXTREME
机箱  Tt Spedo 豪华版
内存  海盗船白金灯条DDR3 2400 8Gx4
硬盘  主硬盘PX-128M6S,游戏盘ST3TB
显卡  盈通7970+华硕7970CF
电源  Corsair AX1200I
显示器 三星P2770H
大奶机

使用道具 举报

斯图加特 最佳新人

帖子
1229
精华
0
积分
616
金钱
8562
荣誉
0
人气
3
评议
0
31#
发表于 2009-11-21 12:22:42 |只看该作者
成功了,第一次进入游戏都正常,再进入游戏时,1P不动鼠标,自动向右慢慢移动,2P的键位都错乱了,之后就一直这样,就第一次时没问题,键位也对
喜欢的国家队:阿根廷
喜欢的俱乐部:斯图加特,河床
喜欢的球员:奥特加,希尔德布兰,赫莱布,罗马里奥,雷科巴

使用道具 举报

帖子
26
精华
0
积分
13
金钱
69
荣誉
0
人气
0
评议
0
32#
发表于 2009-11-21 13:05:18 |只看该作者
我需要2P 的PS2手把腳本!  謝謝啦!!

使用道具 举报

帖子
26
精华
0
积分
13
金钱
69
荣誉
0
人气
0
评议
0
33#
发表于 2009-11-21 13:23:48 |只看该作者
我試了 還是沒分屏  怎麼這樣?
輸入exec splitmode.txt 之後 是從開遊戲 還是從開地圖?

使用道具 举报

帖子
3
精华
0
积分
2
金钱
37
荣誉
0
人气
0
评议
0
34#
发表于 2009-11-21 13:32:25 |只看该作者
已经成功了,有哪位大大能够分享一下PS2手柄设置?XBOX手柄的不好用。极端不好用,已经乱了。

使用道具 举报

帖子
3120
精华
0
积分
1560
金钱
5396
荣誉
0
人气
0
评议
0

35#
发表于 2009-11-21 13:53:01 |只看该作者
确实需要一个非360手柄的设置,键位很乱啊现在~~~~~~~~[害怕] 模拟器也没效果

使用道具 举报

帖子
26
精华
0
积分
13
金钱
69
荣誉
0
人气
0
评议
0
36#
发表于 2009-11-21 14:19:44 |只看该作者
我2P一直收不到     能用的朋友能教一下嗎 我的是滑鼠/鍵盤+PS2手把

使用道具 举报

帖子
3138
精华
0
积分
1591
金钱
7732
荣誉
2
人气
16
评议
0
37#
发表于 2009-11-21 14:58:35 |只看该作者
原帖由 VFB守护天使 于 2009-11-20 23:22 发表
成功了,第一次进入游戏都正常,再进入游戏时,1P不动鼠标,自动向右慢慢移动,2P的键位都错乱了,之后就一直这样,就第一次时没问题,键位也对



可能要重新执行一遍配置文件?
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
38#
发表于 2009-11-21 14:59:46 |只看该作者
原帖由 a5103131 于 2009-11-21 00:23 发表
我試了 還是沒分屏  怎麼這樣?
輸入exec splitmode.txt 之後 是從開遊戲 還是從開地圖?



应该游戏自动重新读图,否则就是步骤有问题。。。再试试。。。还不行的话发图我尽量帮忙看看。。。。
Dell XPS 15

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

Win7 Home Premium 64bit with SP1

使用道具 举报

帖子
26
精华
0
积分
13
金钱
69
荣誉
0
人气
0
评议
0
39#
发表于 2009-11-21 15:02:45 |只看该作者
我打的是1911的補丁  我用exec splitmode.txt 是沒反應的

使用道具 举报

帖子
26
精华
0
积分
13
金钱
69
荣誉
0
人气
0
评议
0
40#
发表于 2009-11-21 16:25:22 |只看该作者
我是能分屏 但是我2p 就是沒反應[伤心啊]   我是用ps2手把的 教教我吧!! 1p是滑鼠/鍵盤     2p是ps2手把

使用道具 举报

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

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

GMT+8, 2024-5-2 15:30 , Processed in 0.284435 second(s), 9 queries , Gzip On, Memcache On.

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

分享到