Difference between revisions of "Job board"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(imported from extranet)
 
(See Also)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
A Chanter's board is a type of [[placeable]] used to represent a bulletin board where jobs or quests are posted for the player. Quests on chanter's boards are generally minor side quests of no direct relevance to the plot.
+
A [[job board]] is a type of [[placeable]] used to represent a bulletin board where jobs or quests are posted for the player. Quests on a job board are generally minor side quests of no direct relevance to the plot.
  
Chanter's boards are created largely through the use of [[plot]]s and [[2DA]]s. The board itself should require only a script that calls the following function when it receives the PLACEABLE_ACTION_EXAMINE event:
+
Job boards are created largely through the use of [[plot]]s and [[2DA]]s. The board itself should require only a script that calls the [[ShowChantersGUI]] function when it receives the [[PLACEABLE_ACTION_*|PLACEABLE_ACTION_EXAMINE]] action in the [[EVENT_TYPE_USE]] event.
  
ShowChantersGUI(integer BoardID);
+
== 2da Files ==
  
== JobBoards ==
+
* [[JobBoards 2da]]: The '''BoardID'''  number for any particular board is the row number in this 2da file. This 2DA also defines a few things about what a  given board looks like.
 +
* [[JobBoardPlots 2da]]: This 2DA is responsible for placing entries on job boards. To make the quest offer disappear from the board once it has been accepted by the player,  you will need to have a plot script catch the '''AcceptedFlag''' set event.
  
The BoardID number for any particular board is defined in the 2DA "JobBoards", found in JobBoards.xls. This 2DA also defines a few things about what a given board looks like.
+
The '''JobBoardPlots''' 2da is defined as an m2da so it is easy to add new side quests to to one of the job boards in the [[Single Player]] module.
  
*ID - The unique ID number for any given job board
+
== See Also ==
*LABEL - A string used by the toolset internally
+
*Texture - the background texture displayed by the job board GUI
+
*HeaderStrId - a [string ID] for a text header at the top of the board
+
*ModuleRef - The campaign that owns this board
+
*ShowDonationButton -
+
*DonationScript - script to be fired for each donation. Amount donated should be int param 0
+
*DonationMsgStrId - String for the message box that is shown when the donation is accepted
+
  
!!Note: Not sure if the donation system is functional, none of the boards in the game are set up for it and the donation script listed for them is nonexistent.!!
+
* [[JobBoards.xls]]
 +
*[http://social.bioware.com/project/4228/#files Guide by Sunjammer how to create your own Job Board]
  
== JobBoardPlots ==
+
[[Category:Plots]]
 
+
[[Category:Placeables]]
This second 2DA is responsible for placing entries on job boards.
+
[[Category:Tutorials]]
 
+
*ID - unique row ID number
+
*LABEL - a comment field
+
*PlotRef - The plot resource that this particular entry belongs to
+
*BoardId - This ID number corresponds to the board's row ID in the JobBoards 2DA.
+
*VisibleFlag - A flag ID number from the plot referenced in PlotRef. When this plot flag is ''set'', the flag's journal entry will be shown as an entry on the job board. The title given to the entry on the board will be the "Name" property of the PlotRef plot, so you should probably have a separate plot file for each entry on the board.
+
*AcceptedFlag - A flag ID number from the plot referenced in PlotRef. When the job is accepted by the player, this flag is set.
+
*OfferID - Deprecated, no longer used
+
*Comments
+
 
+
To make the quest offer disappear from the board once it's been accepted by the player, you'll need to have a plot script catch the AcceptedFlag set event and unset the VisibleFlag plot entry.
+
 
+
JobBoardPlots is an M2DA so it's easy to add new side quests to existing Chanter's boards.
+
 
+
[[Category:2DAs]]
+

Latest revision as of 09:27, 10 July 2014

A job board is a type of placeable used to represent a bulletin board where jobs or quests are posted for the player. Quests on a job board are generally minor side quests of no direct relevance to the plot.

Job boards are created largely through the use of plots and 2DAs. The board itself should require only a script that calls the ShowChantersGUI function when it receives the PLACEABLE_ACTION_EXAMINE action in the EVENT_TYPE_USE event.

2da Files

  • JobBoards 2da: The BoardID number for any particular board is the row number in this 2da file. This 2DA also defines a few things about what a given board looks like.
  • JobBoardPlots 2da: This 2DA is responsible for placing entries on job boards. To make the quest offer disappear from the board once it has been accepted by the player, you will need to have a plot script catch the AcceptedFlag set event.

The JobBoardPlots 2da is defined as an m2da so it is easy to add new side quests to to one of the job boards in the Single Player module.

See Also