Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Source SDK Game Development Essentials
  • Table Of Contents Toc
Source SDK Game Development Essentials

Source SDK Game Development Essentials

By : Brett Joseph Bernier
3 (1)
close
close
Source SDK Game Development Essentials

Source SDK Game Development Essentials

3 (1)
By: Brett Joseph Bernier

Overview of this book

This book is written by a gamer, for a gamer to guide just about anything with Source SDK giving a firm grasp of all the tools it has to offer using step-by-step explanations. If you’re a keen gamer who wants a bit more out of your favorite game and create your own modifications (mods) and levels with the Source engine, this book is great for you. No programming and Source SDK experience is required.
Table of Contents (18 chapters)
close
close
Source SDK Game Development Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1
Index

Scripting assaults


Assaults give the AI a goal. In our last example, the soldiers in the map had one goal—to hunt the player. The nodes we placed in the level helped to guide the AI in both navigation and for seeking defense. We can use the same process to script AI versus AI battles. Load the ch10_example04 example map to see a house held by citizens and an outside area filled with combine soldiers. You can also create your own scenario if you wish.

The map is littered with info nodes and hint nodes. There are also hint_nodes in the windows. These are set to be visually interesting but only for NPCs outside of the house. The FOV is 180 degrees with the hint angle pointing outside the house. We want only the soldiers to focus on the windows so that they will be ready when the citizens appear in them. Run the map and see what happens.

Have a look at the preceding image. You'll notice that the soldiers aren't storming the house, and the citizens aren't going outdoors to meet them. The combine...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Source SDK Game Development Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon