Difference between revisions of "0x0024"

From SimsWiki
Jump to: navigation, search
(Using the Instruction Wizard)
Line 12: Line 12:
  
 
<br clear="all"/>
 
<br clear="all"/>
 
+
==Dialog Types==
 
{| class="wikitable"
 
{| class="wikitable"
|+'''Dialog Types'''
 
 
|-
 
|-
!Num!!Dialog Type
+
!Num!!Dialog Type!!Picture & Notes
 
|-
 
|-
 
|00||Message
 
|00||Message
Line 30: Line 29:
 
|05||Phone Book - Services
 
|05||Phone Book - Services
 
|-
 
|-
|06||Phone Book - Invite
+
|06||Phone Book - Invite||[[Image:PhoneBookAnnotated.JPG|thumb|Example Phone Book Dialog]]The main title of the phone book can be conifgured (NL onwards, i.e Node Version 0x01), as can the string in the top pane - using %s to substitue the name of the Sim currently selected in the lower portion of the Dialog.
 
|-
 
|-
 
|07||Phone Book - Party
 
|07||Phone Book - Party

Revision as of 17:51, 22 February 2010

Dialog
OpCode:0x0024
Game Version:The Sims 2


Overview

This primitive is used to display informations like "The car pool will arrive in one hour" and / or to display messages to which the player can reply by clicking on buttons like "Yes", "No" and "Cancel".

Using the Instruction Wizard

Dialog Instruction Wizard

This wizard allows you to choose the type of dialog you want (see the table below) and then configure various things about that dialog depending on the type you chose. Things that do not apply to your chosen dialog type, are hidden on the wizard, so do not worry if it doesn't look exactly like the picture. For many of the dialog types, the main things to be chosen are the strings used for Title, Message and buttons. These strings are taken from Text List (STR#) resource 0x0000012D (see String Resources for all the different Text List usages). The wizard allows you to pick the string from a pop-up window, so you don't have to remember that line 0x00 in the text list is "01" in the operands field, line 0x01 is "02", and so on.


Dialog Types

Num Dialog Type Picture & Notes
00 Message
01 yes-no message
02 yes-no-cancel message
03 text entry
04 tutorial
05 Phone Book - Services
06 Phone Book - Invite
Example Phone Book Dialog
The main title of the phone book can be conifgured (NL onwards, i.e Node Version 0x01), as can the string in the top pane - using %s to substitue the name of the Sim currently selected in the lower portion of the Dialog.
07 Phone Book - Party
08 Text Notification
09 Stop Text Notification
0A Text Notification Modify
0B Magazine Rack
0C Jewelry Rack
0D VideoGame Rack
0E Food Rack
0F Special Phone Services
10 Clothing Purchase
11 Clothing Selection
12 Tutorial Task
13 List Selection
14 Clothing Try On
15 Vanity Table
16 TutorialNext
17 Baby Name
18 Set Aspiration
19 TutorialNext Modal
1A Set Major
1B Resurrectonomitron
1C Fire Forget Append
1D Move Grave To Lot
1E Visit Another Lot
1F Dating Services
20 Manage Groups
21 Phone Groups
22 Set Turn On/Off's
23 Customize Your Craftable
24 Sims Available for Hire
25 Choose a Lot to Purchase
26 Choose a Lot to Transfer Ownership: [none]
27 Choose a Lot
28 Set Price
29 Plan Business Outfit
2A Buy Food
2B Make Selection (Stock Remaining)
2C "
2D "
2E Buy Clothing
2F unknown (blank)
30 Set Wage
31 Suggest an Outfit
32 Would you like to hire?
33 Unknown
34 Unknown
35 Unknown
36 Unknown
37 Unknown
38 Unknown
39 Unknown
3A Unknown
3B Unknown
3C Unknown
3D Unknown
3E Unknown
3F Unknown
40 Unknown
41 Stock Fresh Produce (Found in Juicer)

Message type "00" will show a message with just the "OK" button, while message type "02" will provide a message with three buttons: yes, no, cancel.

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox