CGCookie – Creating a Locking Weapon System
Title:CGCookie – Creating a Locking Weapon System
Info:
In this Unity 4.6 tutorial we’ll be creating a Stinger missile launcher. For those of you who are unfamiliar with this weapon system it’s essentially an Anti-Aircraft weapon system also called MANPADS (Man-Portable Air-Defense System).
It’s a popular weapon in games such as Battlefield and even Call of Duty. You use it to lock on to an aerial target such as a helicopter or slow moving aircraft and once you’ve locked on you can fire a Stinger missile which will follow the target until it explodes on impact.
This course will go over how to create a Stinger missile launcher that locks on to specific game objects using a Raycast and tags. Once a target lock has been acquired we can then shoot out a Stinger missile which then follow the intended target (the game object) until it explodes on
impact.
This will be a fairly in depth tutorial series that covers various aspects that can be used in other games as well. Some of the things I’ll be covering in this series are:
Using Raycasts to determine which targets we want to lock on to
Animating a crosshair UI image with Mecanim
Adding 3d and 2d sound elements for added realism
Creating smoke and explosion effects using the Shuriken Particle system
Using physics to propel a game object through the air and make position and rotation adjustments in air
Using C# scripts to pass variables on to other scripts in-game dynamically
Delaying, stopping and playing various components with scripting
Creating a simple recoil animation within Unity
From this course alone you’ll get a broad knowledge of various aspects of game development with Unity and best of all you’ll have an awesome Stinger missile launcher that you can drop into any game with no modifications other than some tag additions to our enemies. Lets go!
CGCookie — — 创建锁定武器系统
标题: CGCookie — — 创建锁定武器系统
信息:
在此统一 4.6 教程中我们将创建一个毒刺导弹发射器。对于那些不熟悉该武器系统它基本上是防空武器系统也称为单兵携带防空系统 (单兵便携式防空系统)。
它是流行的武器在战场上和即使使命召唤 》 等游戏。你用它来锁定直升机等空中目标或缓慢移动的飞机,一旦你已经锁定上你可以射击,将跟踪目标直到它爆炸影响的毒刺导弹。
本课程将复习如何创建特定的游戏对象,使用 Raycast 和标记锁的毒刺导弹发射器。一旦获取目标锁定我们可以射出毒刺导弹,然后按照预定的目标 (游戏物体) 直到它在爆炸
影响。
这将是相当深入的教程系列,涵盖了其他游戏中也可以使用的各个方面。有些的事情我会在这一系列涵盖:
我们使用 Raycasts 来确定哪些目标要锁定
动画与 Mecanim 的十字准线 UI 图像
添加 3d 和 2d 的声音元素,为添加现实主义的
创建使用手里剑粒子系统的烟雾和爆炸效果
使用物理推动一个游戏物体在空中,使空气中的位置和旋转调整
使用 C# 脚本来动态传递到其他脚本变量游戏中
延迟、 停止和玩各种组件的脚本
创建一个简单的反冲动画内统一
从这个单独的课程,你会得到游戏发展与团结各方面的广泛知识和最好的是你会有令人敬畏的毒刺导弹发射装置,你可以放到任何游戏除了一些标记添加到我们的敌人不作任何修改。让我们去吧!