Book Image

Unreal Development Kit Game Design Cookbook

By : Thomas Mooney
Book Image

Unreal Development Kit Game Design Cookbook

By: Thomas Mooney

Overview of this book

UDK is a free, world class game editing tool and being so powerful it can be daunting to learn. This guide offers an excellent set of targeted recipes to help game artists get up to speed with game designing in UDK.Unreal Development Kit Game Design Cookbook contains everything you need to jumpstart your game design efforts. The lessons are aimed squarely at the artist's field of production, with recipes on asset handling, creating content within the editor, animation and visual scripting to get the content working in gameplay.Unreal Game Development Kit Game Design Cookbook exposes how real-time environments are built using UDK tools. Key features are examined ñ assets, animation, light, materials, game controls, user interface, special effects, and game interactivity - with the view of making UDK technically accessible so users can transcend technique and focus on their creative design process. The book has well prepared recipes for level designers and artists of all levels. It covers core design tools and processes in the editor, particularly setting up characters, UI approaches, configuration and scripting gameplay. It is a technical guide that allows game artists to go beyond just creating assets, and it includes creative, extensive demonstrations that extend on mere functionality.
Table of Contents (17 chapters)
Unreal Development Kit Game Design Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Placing an SWF on a BSP using Render to Texture


Once an SWF is imported, it usually displays full screen. This can be changed so the SWF is drawn on a BSP surface (or CSG Additive surface really) anywhere in the level you like. In this recipe we will use a simply skinned Slider built upon a CLIK component, set it on a BSP surface, and ensure it still operates when triggered. The biggest problems for SWF displayed on a BSP surface are to do with the cursor having to track just the surface of the BSP, not the whole screen (so you may face registration problems), and getting the SWF to take focus. There are simple solutions to both of these issues.

How to do it...

  1. Import to a new package the provided file BSPSlider.SWF, and save its new package as BSPSlider.UPK. In the same package in the Content Browser, right-click and choose New TextureRenderTarget2D . Call this BSPSlider.Texture.SWFtoBSP (or anything you want). All this does is serve as a placement proxy for the SWF. Right-click on it and...