聚焦终极FPS:借助终极第一人称框架快速追踪游戏

时间:2024-04-11 15:48:47

Ultimate FPS是Unity Asset Store中运行时间最长的资产之一,拥有超过1500条评论和5星级评分。 (Ultimate FPS is one of the longest-running assets on the Unity Asset Store, with over 1500 reviews and a 5-star rating average.)

特价:
免费获得UFPS (Special Offer:
Get UFPS Free)

For a limited time, Ultimate FPS is included free with Unity Plus subscriptions as part of the Accelerator Pack, which also includes 2 other top-selling productivity assets (normally a $190 value total) that will help you fast track your development and get your project to the finish line faster.

在限定时间内,Unity Plus订阅中免费包含Ultimate FPS,作为Accelerator Pack的一部分,该软件包还包括其他2项最畅销的生产力资产(通常总价值190美元),可帮助您快速跟踪开发进度并获得项目到终点线更快。

学到更多 (Learn more)

The following is presented by Justin Mosiman of Opsive, the publishers of Ultimate FPS.

以下是终极FPS发行商Opsive的Justin Mosiman提出的内容。

Ultimate FPS (UFPS) started off as a basic first person camera that has since evolved into the ultimate first person shooter framework. If you’re just getting started with Unity, UFPS is a great way to kick start your first person game. In fact, if you’ve already seen the the Accelerator Pack video, you know you can simply drag and drop a prefab into your game and have the basis for a first person shooter.

Ultimate FPS(UFPS)最初是一种基本的第一人称相机,此后逐渐发展为最终的第一人称射击者框架。 如果您刚开始使用Unity,UFPS是启动第一人称游戏的好方法。 实际上,如果您已经看过 Accelerator Pack视频 ,就知道您可以简单地将预制件拖放到游戏中,并成为第一人称射击游戏的基础。

Today, I’d like to expand on that and walk you through how easy it is to customize UFPS to fit your project’s needs by configuring a weapon to match the style of the market scene used in the video.

今天,我想在此基础上进行扩展,并逐步引导您,通过配置一种与视频中使用的市场场景风格相匹配的武器,来定制UFPS以适应您项目的需求是多么容易。

The standard UFPS weapons work well for prototyping, but this time I’m going to use the Scifi Rifle from the Free Guns Pack on the Asset Store as a starting point. After importing the asset and changing the shader to a Toon Shader, it blends into the scene perfectly.

标准UFPS武器可以很好地用于原型制作,但是这次我将使用 Asset Store上 Free Guns Pack中 的Scifi步枪 作为起点。 导入资源并将着色器更改为Toon Shader之后,它会完美融合到场景中。

Next, I’ll set this weapon up to be used by UFPS by simply adding the vp_FPWeapon and vp_FPWeaponShooter components to a new GameObject and set the weapon model. I can hit play to test it out.

接下来,通过将 vp_FPWeaponvp_FPWeaponShooter 组件 添加 到新的 GameObject 并设置武器模型,来设置该武器 UFPS使用 。 我可以打一下游戏来测试一下。

By default, the weapon is positioned in the far left corner — to adjust that I just have to modify the default movement’s position and rotation springs, as well as the recoil spring. UFPS’ spring system makes it easy to add super-smooth movement without needing to author the actual animations.

默认情况下,武器位于最左角-要进行调整,我只需要修改默认机芯的位置和旋转弹簧以及反冲弹簧即可。 UFPS的弹簧系统使添加超平滑运动变得容易,而无需编写实际的动画。

With the weapon now in a better position, I can move to customizing the weapon effects. As it’s currently set, there is no muzzle flash, audio, or decals when the weapon fires — but this can also easily be customized through the vp_FP Weapon Shooter component. The screenshot below contains the settings used for the Scifi Rifle.

现在武器处于更好的位置,我可以开始定制武器效果了。 按照当前设置,当武器开火时,没有枪口的闪光,声音或贴花-但这也可以通过vp_FP Weapon Shooter组件轻松进行自定义。 下面的屏幕快照包含用于科幻步枪的设置。

Awesome. I now have a new weapon which has a custom set of springs and effects, and I did all of this without writing any code or creating any animations.

太棒了 现在,我有了一种新武器,它具有一组自定义的弹力和效果,而我所做的所有操作都无需编写任何代码或创建任何动画。

聚焦终极FPS:借助终极第一人称框架快速追踪游戏

For the final weapon polish, I’ll use the UFPS Surface System to change the decal and particle effects depending on the object that was hit. For example, if a bullet hits stone it should have a different type of impact effect than if it hits wood. This can easily be added through the vp_SurfaceIdentifier component.

对于最后的武器抛光,我将使用UFPS表面系统根据所击中的对象更改贴花和粒子效果。 例如,如果子弹击中石头,则其撞击效果应不同于击中木头。 可以通过vp_SurfaceIdentifier组件轻松添加。

聚焦终极FPS:借助终极第一人称框架快速追踪游戏
聚焦终极FPS:借助终极第一人称框架快速追踪游戏

The Scifi rifle is looking really good, but I want to enable one more feature: support for the Oculus Rift. The Rift is supported out of the box with UFPS so all I have to do is enable VR mode and I’ll be able to play the game on the Rift.

科幻步枪看起来确实不错,但是我想启用另一个功能:对Oculus Rift的支持。 UFPS对Rift进行了开箱即用的支持,因此,我要做的就是启用VR模式,然后就可以在Rift上玩游戏了。

聚焦终极FPS:借助终极第一人称框架快速追踪游戏

So far, we’ve covered some basics, but UFPS also has a lot to offer those who already know their way around Unity. Even if you don’t need a first person controller, UFPS has a Photon multiplayer add on for those intense multiplayer matches. The inventory, camera effects, full-body awareness, spawn point system, and moving platforms are just some of the other features supported right out of the box that can be used as a reference and great starting point for your game.

到目前为止,我们已经介绍了一些基础知识,但是UFPS还可以为已经了解Unity方式的人们提供很多帮助。 即使您不需要第一人称手柄,UFPS也会 为这些激烈的多人比赛 提供 Photon多人 游戏。 库存,相机效果,全身意识,生成点系统和移动平台只是开箱即用支持的其他一些功能,可以用作您游戏的参考和最佳起点。

UFPS has been used by many successful Unity games ranging from Gone Home and Slender: The Arrival to Time Rifters and Rambo… and we hope UFPS can also help you achieve success with your projects!

UFPS已被许多成功的Unity游戏所使用,从 《消失的家》 和《 苗条:时间裂痕》Rambo ... ...,我们希望UFPS还能帮助您在项目中取得成功!

演示地址

******

******

在有限的时间内, 新的Unity Plus订阅将免费提供 Accelerator Pack,其中包括Ultimate FPS,Amplify Shader Editor和Playmaker(总价值190美元) (For a limited time, the Accelerator Pack, which includes Ultimate FPS, Amplify Shader Editor, and Playmaker (a $190 total value), is included free with new Unity Plus subscriptions.)

Along with the amazing value of the Accelerator Pack, you’ll enjoy the enhanced features of Unity Plus:

除了Accelerator Pack的惊人价值之外,您还将享受 Unity Plus 的增强功能 :

  • Editor Dark Skin UI

    编辑器Dark Skin UI

  • 1 month of free access to Unity Certification Courseware

    1个月免费访问Unity认证课件

  • Performance Reporting: troubleshoot and identify issues in real time

    效果报告:实时排查和发现问题

  • VIP Cloud Build Queue, enhanced Unity Analytics, Multiplayer, and more!

    VIP云构建队列,增强的Unity Analytics,多人游戏等!

For more information and frequently asked questions, please visit the Accelerator Pack page.

有关更多信息和常见问题,请访问Accelerator Pack页面。

已经是订阅者? (Already a subscriber?)

The Accelerator Pack is included with new Unity Plus and Pro subscriptions. If you subscribed to Plus or Pro in the past 30 days, you are eligible to receive the Accelerator Pack at no charge, simply contact Unity Support for assistance.

Accelerator Pack包含在新的Unity Plus和Pro订阅中。 如果您在过去30天内订阅了Plus或Pro,则有资格免费获得Accelerator Pack,只需与 Unity支持 联系即可 获得帮助。

For current Unity Plus and Pro subscribers, we are pleased to be able to offer you the Accelerator Pack for $75 —  a significant discount of 60% off the retail price of these assets. To claim your Accelerator Pack at this special discounted price, simply contact us at [email protected] Inquiries will be processed in the order they are received.

对于当前的Unity Plus和Pro订户 ,我们很高兴能以75美元的价格为您提供Accelerator Pack,这些资产的零售价可享受60%的大幅折扣。 要以这个特别的折扣价申领您的Accelerator Pack,只需通过 [email protected] 与我们联系 。 查询将按照接收到的顺序进行处理。

翻译自: https://blogs.unity3d.com/2017/04/18/spotlight-on-ultimate-fps-fast-track-your-game-with-the-ultimate-first-person-framework/