求生之路吧 关注:551,667贴子:7,449,660

求教mdl文件修改问题

只看楼主收藏回复

前两天开始学习怎么搞MOD,发现L4D2的MOD实在是没法用普通的MDL编辑软件编辑,光是找到能拆L4D2的MDL的软件就已经花了好长时间
如图,这是我用的拆包软件
之后我编辑了一个 看门狗aiden 替换 Nick 的mod,想把它改成 Louis 的mod,编辑了qc文件后,发现无法封包。
左改右改,后来发现即使把刚拆开的模型什么都不做 就封包回去 也会出错......
(PS:milkshape3d,rose,hlmv等软件对于L4D2的MOD全TM不能正常封包,我也是醉了....)
如图,这是我用的封包工具GUIStudioMDL,以及封包时的报错:
在网上查了查,好像是什么 像素超过指定长度 的意思,什么鬼,太大了么....
万般无奈下,只能发帖求贴吧各大神帮助。


1楼2015-10-12 13:29回复
    不懂,绑定


    IP属地:四川2楼2015-10-12 14:24
    回复
      2025-08-21 06:31:38
      广告
      不感兴趣
      开通SVIP免广告
      另外,guistudoomdl在封包时居然会把注释当成代码…所以原文件的注释部分我都删掉了,应该不会有什么影响吧……


      来自Android客户端3楼2015-10-12 15:09
      回复
        有木有人啊。。。求不沉


        4楼2015-10-12 16:01
        回复
          mod的实际效果图




          5楼2015-10-12 16:12
          回复
            有木有人.....


            7楼2015-10-12 18:17
            回复
              你这工具应该很老了吧


              IP属地:天津8楼2015-10-12 18:59
              收起回复
                guistudoomdl2.1很老了 不用这个 用新的crowbar0.30 试试
                http://pan.baidu.com/s/1gde1eqn


                9楼2015-10-12 19:21
                收起回复
                  2025-08-21 06:25:38
                  广告
                  不感兴趣
                  开通SVIP免广告
                  "GameInfo"
                  {
                  game"Left 4 Dead 2"// Window title
                  type multiplayer_only
                  nomodels 1
                  nohimodel 1
                  l4dcrosshair 1
                  hidden_maps
                  {
                  "test_speakers"1
                  "test_hardware"1
                  }
                  nodegraph 0
                  perfwizard 0
                  SupportsXbox360 1
                  SupportsDX80
                  GameData"left4dead2.fgd"
                  FileSystem
                  {
                  SteamAppId550// This will mount all the GCFs we need (240=CS:S, 220=HL2).
                  ToolsAppId563// Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.
                  //
                  // The code that loads this file automatically does a few things here:
                  //
                  // 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin
                  // 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
                  // For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
                  // 3. For the first "Game" search path, it adds a search path called "MOD".
                  // 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
                  //
                  //
                  // Search paths are relative to the base directory, which is where hl2.exe is found.
                  //
                  // |gameinfo_path| points at the directory where gameinfo.txt is.
                  // We always want to mount that directory relative to gameinfo.txt, so
                  // people can mount stuff in c:\mymod, and the main game resources are in
                  // someplace like c:\program files\valve\steam\steamapps\<username>\half-life 2.
                  //
                  SearchPaths
                  {
                  Gameupdate
                  Gameleft4dead2_dlc3
                  Gameleft4dead2_dlc2
                  Gameleft4dead2_dlc1
                  Game|gameinfo_path|.
                  Gamehl2
                  }
                  }
                  }


                  11楼2015-10-13 10:01
                  回复
                    我用你反编译出来那些 编译了mdl 贴图都在 估计是他用这行$texturegroup "skinfamilies"把贴图都包含了 但结果是这个样子
                    不知道是为何


                    12楼2015-10-13 10:24
                    收起回复
                      楼上那图233333


                      来自iPhone客户端13楼2015-10-13 11:07
                      回复
                        至少我试过不拆mdl,只改名字,然后理所当然的,路易斯就变成透明的了,之后发现把艾登替换尼克的同时装进去,就能看见了,后来在拆包时,我只改过文件名与引用目录……所以我觉得模型本身应该没多大问题


                        来自Android客户端14楼2015-10-13 11:34
                        收起回复
                          mod不是mdl,这个你要分清,mod是模组,地图模型音效界面都可以说是模组,mdl是模型,人物模型枪模等等都是模型。你用crowbar反编译mdl文件是没错的,用GUIstudiomdl编译模型也是没错的,但是设置上有点问题,打开guistudiomdl的config菜单,把两项的参数设置下,需要指定的文件在游戏目录的bin下。然后目标gameinfo路径也要替换成求生的,点击添加,去求生目录下的left4dead2里找gameinfo。


                          IP属地:河北来自iPhone客户端15楼2015-10-13 11:47
                          收起回复
                            如果要用gui就用2.2版


                            IP属地:四川来自Android客户端16楼2015-10-13 12:48
                            收起回复
                              2025-08-21 06:19:38
                              广告
                              不感兴趣
                              开通SVIP免广告
                              现在说说我折腾的结果吧,首先,感谢@huhanina 提供给我的封包工具,虽然中间报了一回错(WARNING: AppFramework: Unable to loard module p4lib.dll),但是终于能成功封包了

                              噗.....


                              17楼2015-10-13 20:47
                              收起回复