3D Buzz UDK使用教程

3D Buzz以高质量的视频培训模块和 Mastering Unreal Technology(掌握虚幻技术) 书籍而闻名,他们已经把这些视频整理到一起,引导您进行所有的虚幻引擎编辑套件的基本操作,以及设计简单的游戏项目。

文件格式是MP4。不需要其它的codecs(多媒体信号解码器)。

每个压缩文档包含一个或多个视频:

您也可以从这里下载这些视频中所使用的资源:

http://download.udk.com/tutorials/using-udk/3dbuzz_assets.zip

http://download.udk.com/tutorials/using-udk/UIDemoAssets.zip

 

英文字幕

 

连接在此:

UDK多语言大致思路

貌似小搞定了多语言,在本地化文件夹里创建CHN并且指定读取文件成功,由于主菜单的特殊性,暂时还是英文。

把本地化文件夹里的INT复制一份,然后改名为CHN,再把里边的所有.INT文件改为.CHN。

打开GFxUI.CHN,把指定读取的文件更改掉,我更改结果如下:
[FontLib]
FontLib=UDKFonts_CHN.fonts_chn
FontLib=UDKFonts_CHN.gfxfontlib_chn

[Fonts]
NormalFont=Microsoft YaHei
BoldFont=SimHei
SmallFont=Microsoft YaHei
TitleFont=Microsoft YaHei,Bold

其中Fontlib项下的意思为
FontLib=UDKFonts_CHN.fonts_chn

FontLib=.upk文件包.包内文件

不过单纯在包内导入以上俩gfx字体依赖文件也没用,因为保存后进游戏在主菜单只显示背景图,因为还需要fonts_en和gfxfontlib这俩文件。(貌似没改udk_hud.fla的原因)也就是,在UDKFonts_CHN.upk文件内有四个文件,fonts_en,fonts_chn,gfxfontlib_en,gfxfontlib_chn,文件包的体积为30.9M。

不过这也是仅仅暂时实现了UDKHud的中文化,开始游戏后按F10键出现的物品菜单还无法显示中文,因为此文件并不是调用公共的字体库。所以要再嵌入字符,更改了udk_inventory.fla下的font 1,2,3的字体后,记得把字体嵌入的中文也勾上,这样发布后再导入引擎内就没神马问题了。

UDK多语言初探索

本来是要搞GFx,没想到编译了一下看到多语言解决似乎有点希望?除了Engine下的外,UDKGame打包出现以下内容(节选)

UTGame
Cooking package for Language: CHN
Couldn’t find localized resource EngineFonts_CHN.SmallFont
Couldn’t find localized resource A_Character_CorruptEnigma_CHN.Mean_Efforts.A_Effort_EnigmaMean_LandLarge03
Couldn’t find localized resource A_Character_CorruptEnigma_CHN.Mean_Efforts.A_Effort_EnigmaMean_LandLarge02
Couldn’t find localized resource A_Character_CorruptEnigma_CHN.Mean_Efforts.A_Effort_EnigmaMean_LandLarge01

………………省略一些无关紧要的内容…………

Couldn’t find localized resource UI_Fonts_CHN.MultiFonts.MF_MediumFont
Couldn’t find localized resource UI_Fonts_CHN.MultiFonts.MF_LargeFont
Couldn’t find localized resource UI_Fonts_CHN.MultiFonts.MF_HugeFont
Couldn’t find localized resource UI_Fonts_CHN.MultiFonts.MF_HudSmall
Couldn’t find localized resource UI_Fonts_CHN.MultiFonts.MF_HudMedium
Couldn’t find localized resource UI_Fonts_CHN.MultiFonts.MF_HudLarge
Couldn’t find localized resource UI_Fonts_CHN.MultiFonts.MF_HudHuge
Couldn’t find localized resource UI_Fonts_CHN.Fonts.UI_Fonts_Xbox18
Couldn’t find localized resource UI_Fonts_CHN.Fonts.UI_Fonts_Positec36
Couldn’t find localized resource UI_Fonts_CHN.Fonts.UI_Fonts_Positec18
Couldn’t find localized resource UI_Fonts_CHN.Fonts.UI_Fonts_Positec14
Couldn’t find localized resource UI_Fonts_CHN.Fonts.UI_Fonts_FoldOb36
Couldn’t find localized resource UI_Fonts_CHN.Fonts.UI_Fonts_FoldOb18
Couldn’t find localized resource UI_Fonts_CHN.Fonts.UI_Fonts_FoldOb14
Couldn’t find localized resource UI_Fonts_CHN.Fonts.UI_Fonts_Camo42Glow
Couldn’t find localized resource UI_Fonts_CHN.Fonts.UI_Fonts_Camo42
Couldn’t find localized resource UI_Fonts_CHN.Fonts.UI_Fonts_Camo24Glow
Couldn’t find localized resource UI_Fonts_CHN.Fonts.UI_Fonts_Camo24
Couldn’t find localized resource UI_Fonts_CHN.Fonts.UI_Fonts_AmbexThin18
Couldn’t find localized resource UI_Fonts_CHN.Fonts.UI_Fonts_AmbexHeavyOblique36
Couldn’t find localized resource UI_Fonts_CHN.Fonts.UI_Fonts_AmbexHeavyOblique18
Couldn’t find localized resource UI_Fonts_CHN.Fonts.UI_Fonts_AmbexHeavyOblique14
Couldn’t find localized resource UI_Fonts_CHN.Fonts.UI_Fonts_AmbexHeavy36
Couldn’t find localized resource UI_Fonts_CHN.Fonts.UI_Fonts_AmbexHeavy18
Couldn’t find localized resource UI_Fonts_CHN.Fonts.UI_Fonts_AmbexHeavy14
Couldn’t find localized resource UI_Fonts_CHN.Fonts.UI_FOnts_AmbexHeavy10
Couldn’t find localized resource UI_Fonts_Final_CHN.menus.Fonts_Positec
Couldn’t find localized resource UI_Fonts_Final_CHN.menus.Fonts_AmbexHeavyOblique
Couldn’t find localized resource UI_Fonts_Final_CHN.menus.Fonts_AmbexHeavy
Couldn’t find localized resource UI_Fonts_Final_CHN.HUD.MF_Small
Couldn’t find localized resource UI_Fonts_Final_CHN.HUD.MF_Medium
Couldn’t find localized resource UI_Fonts_Final_CHN.HUD.MF_Large
Couldn’t find localized resource UI_Fonts_Final_CHN.HUD.MF_Huge
Couldn’t find localized resource UI_Fonts_Final_CHN.menus.UI_Fonts_PS3
Couldn’t find localized resource UI_Fonts_Final_CHN.menus.UI_Fonts_Icons
Couldn’t find localized resource UI_Fonts_Final_CHN.HUD.F_GlowSecondary
Couldn’t find localized resource UI_Fonts_Final_CHN.HUD.F_GlowPrimary
Couldn’t find localized resource EngineFonts_CHN.TinyFont
No resources found, not saving ….UDKGameCookedPCStartup_LOC_CHN.upk
TagCookedStartupObjects> Using current PersistentCookerData…

上边一长串表明了几个不存在的文件,似乎给多语言带来了希望。

另外在Localization下建立一个CHN目录不知道会不会读取,GFxUI.CHN读取字体部分更改为:

[FontLib]
FontLib=UDKFonts_CHN.fonts_chn
FontLib=UDKFonts_CHN.gfxfontlib_chn

[Fonts]
NormalFont=Microsoft YaHei
BoldFont=SimHei
SmallFont=Microsoft YaHei
TitleFont=Microsoft YaHei,Bold

把UDKEngine.ini的选项Language修改为CHN后运行游戏后,进入地图界面果然被预料到了!因缺少字符全部显示为口,退出后查看log,显示重点内容如下:

[0016.85] Warning: Warning, Failed to load ‘SwfMovie UDKFonts_CHN.fonts_chn’: Failed to find object ‘SwfMovie UDKFonts_CHN.fonts_chn’
[0016.85] Warning: Warning, Failed to load ‘SwfMovie UDKFonts_CHN.fonts_chn’: Failed to find object ‘SwfMovie UDKFonts_CHN.fonts_chn’
[0016.85] Log: GFx attempted to load missing object [UDKFonts_CHN.fonts_chn]
[0016.85] Log: FGFxEngine::LoadMovieDef Error – failed to get info about / package/UDKFonts_CHN/fonts_chn

[0016.85] Warning: Warning, Failed to load ‘SwfMovie UDKFonts_CHN.gfxfontlib_chn’: Failed to find object ‘SwfMovie UDKFonts_CHN.gfxfontlib_chn’
[0016.85] Warning: Warning, Failed to load ‘SwfMovie UDKFonts_CHN.gfxfontlib_chn’: Failed to find object ‘SwfMovie UDKFonts_CHN.gfxfontlib_chn’
[0016.85] Log: GFx attempted to load missing object [UDKFonts_CHN.gfxfontlib_chn]
[0016.85] Log: FGFxEngine::LoadMovieDef Error – failed to get info about / package/UDKFonts_CHN/gfxfontlib_chn

[0016.86] Warning: Warning, Failed to load ‘Font None.Microsoft YaHei’: Failed to find object ‘Font None.Microsoft YaHei’
[0016.86] Warning: Warning, Failed to load ‘Font None.Microsoft YaHei’: Failed to find object ‘Font None.Microsoft YaHei’

今天一些初步研究就是这些,下一步导入一些字体和建立Gfx界面。
祝自己好运吧!