Top Banner
CS Department Lunch Game Scripting Languages Jessica D. Bayliss, Ph.D. Rochester Institute of Technology Computer Science Dept.
15

CS Department Lunch Game Scripting Languages Jessica D. Bayliss, Ph.D. Rochester Institute of Technology Computer Science Dept.

Dec 25, 2015

Download

Documents

Justin Banks
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CS Department Lunch Game Scripting Languages Jessica D. Bayliss, Ph.D. Rochester Institute of Technology Computer Science Dept.

CS Department Lunch

Game Scripting Languages

Jessica D. Bayliss, Ph.D.Rochester Institute of Technology

Computer Science Dept.

Page 2: CS Department Lunch Game Scripting Languages Jessica D. Bayliss, Ph.D. Rochester Institute of Technology Computer Science Dept.

RIT Computer Science Dept.

Game Programming

o Early on (Atari 2600): o Hand coded assembly

o PCs: o Higher level coding o A file system meant that content could be loadedo The advent of the game engine concepto Recently this has led to greatly increased game

costs

Page 3: CS Department Lunch Game Scripting Languages Jessica D. Bayliss, Ph.D. Rochester Institute of Technology Computer Science Dept.

RIT Computer Science Dept.

The Content Problem

o It's expensive - over 60% of a game budget.o Need for games to be replayable

o New levelso New characterso New games

Page 4: CS Department Lunch Game Scripting Languages Jessica D. Bayliss, Ph.D. Rochester Institute of Technology Computer Science Dept.

RIT Computer Science Dept.

Mods

o A "modification" of an existing gameo May just look differento May be another gameo May add interface features not available in

the original game (i.e. close captioning)

o User driven: o one solution to the content problem

o Some of our students are involved in mod creation outside of class.

Page 5: CS Department Lunch Game Scripting Languages Jessica D. Bayliss, Ph.D. Rochester Institute of Technology Computer Science Dept.

RIT Computer Science Dept.

How Different?

UT Before UT After (Thievery)

Page 6: CS Department Lunch Game Scripting Languages Jessica D. Bayliss, Ph.D. Rochester Institute of Technology Computer Science Dept.

RIT Computer Science Dept.

Game Scripting

o Used for:o Character AI and creationo Special interface commands and changeso Object properties

Page 7: CS Department Lunch Game Scripting Languages Jessica D. Bayliss, Ph.D. Rochester Institute of Technology Computer Science Dept.

RIT Computer Science Dept.

Languages

o Game specialty languageso Second Life scripting language (Second Life)o UnrealScript (Unreal Tournament)o NWN script (Neverwinter Nights)

o Customizing other languageso Lua (World of Warcraft)o Python (Civ IV)o C/C++ (Half Life II)

Page 8: CS Department Lunch Game Scripting Languages Jessica D. Bayliss, Ph.D. Rochester Institute of Technology Computer Science Dept.

RIT Computer Science Dept.

Second Life

Page 9: CS Department Lunch Game Scripting Languages Jessica D. Bayliss, Ph.D. Rochester Institute of Technology Computer Science Dept.

RIT Computer Science Dept.

Second Life

o It isn't really a gameo There is no end goal except what users

createo Scripts are written in a C-like languageo Almost all items, games, etc. inside the

world are user createdo Second Life is the first massively multiplayer

platform to give users copyright privileges to what they create

Page 10: CS Department Lunch Game Scripting Languages Jessica D. Bayliss, Ph.D. Rochester Institute of Technology Computer Science Dept.

RIT Computer Science Dept.

Examples

o [Paul Wheeler's scripting work]

Page 11: CS Department Lunch Game Scripting Languages Jessica D. Bayliss, Ph.D. Rochester Institute of Technology Computer Science Dept.

RIT Computer Science Dept.

Page 12: CS Department Lunch Game Scripting Languages Jessica D. Bayliss, Ph.D. Rochester Institute of Technology Computer Science Dept.

RIT Computer Science Dept.

Unreal Tournament

o Another game with a custom scripting language

o UnrealScripto Java-like, complete with garbage collectiono Contains specialty constructs for state

transitions in the game engine

Page 13: CS Department Lunch Game Scripting Languages Jessica D. Bayliss, Ph.D. Rochester Institute of Technology Computer Science Dept.

RIT Computer Science Dept.

Gamebots

o A client/server mod that enables bot clients written in any language to connect to Unreal Tournament serverso Works on UT, UT2003, and UT2004

o Messaging protocol is simple text messages:o "GAM {PlayerScores {CTF-Command.FriendlyRemoteFemale1Bot7

0.000000} {CTF-Command.FriendlyRemoteMale1Bot7 0.000000} {CTF-Command.FriendlyMale1Bot0 0.000000} {CTF-Command.FriendlyMale2 0.000000}} {TeamScores {0 0.000000} {1 0.000000}}"

Page 14: CS Department Lunch Game Scripting Languages Jessica D. Bayliss, Ph.D. Rochester Institute of Technology Computer Science Dept.

RIT Computer Science Dept.

Conclusions

o Modern games quite often contain scripting

o Many opportunities for learning different scripting languages from within games

o Some of these have made their way into courses (Gamebots)

Page 15: CS Department Lunch Game Scripting Languages Jessica D. Bayliss, Ph.D. Rochester Institute of Technology Computer Science Dept.

CS Department Lunch

Questions?