What is... a script?

Post » Sun Apr 05, 2015 4:16 pm

Sorry if this sounds... well... ignorant, but I hear the word here and there and I don't know what to make of it. The dictionary didn't help.

User avatar
Hot
 
Posts: 3433
Joined: Sat Dec 01, 2007 6:22 pm

Post » Mon Apr 06, 2015 4:29 am

A script is a set of instructions written in a language that a computer can understand and interpret.

Someone more skilled at explaining than me should elaborate. :tongue: Meanwhile: http://www.computerhope.com/jargon/s/script.htm

User avatar
jessica sonny
 
Posts: 3531
Joined: Thu Nov 02, 2006 6:27 pm

Post » Sun Apr 05, 2015 2:10 pm

http://www.creationkit.com/Category:Papyrus is the scripting language that Skyrim uses. The http://www.creationkit.com/Papyrus_Introduction page has lot's of useful information! :smile:

(It is a lot to take in, but scripting is where the real fun happens - for me at least :P )

User avatar
stevie critchley
 
Posts: 3404
Joined: Sat Oct 28, 2006 4:36 pm

Post » Mon Apr 06, 2015 4:35 am

Howdy! I'm a scripter in the industry, so hopefully I can help. A script is essentially a file that contains code (usually written by a designer, rather than a programmer) that powers a gameplay system or piece of content. Like Antares said, Skyrim's scripts are all written in Papryus, a scripting language.

A few examples:

  • A door can contain a script that tells the game what happens when you open it. (i.e. don't open the door if you haven't raised the wooden bar first, or set off a booby trap when it's opened.)
  • A quest can contain a script that tells the game what happens when you complete it. (i.e. reward experience, start a new quest, or give the player a perk)
  • An item can contain a script that tells the game what happens when you pick it up. (i.e. complete the current quest stage)

Hopefully that makes some sense. I'd be more than happy to answer any other scripting questions you may have! :)

User avatar
Daniel Holgate
 
Posts: 3538
Joined: Tue May 29, 2007 1:02 am


Return to V - Skyrim