Difference between revisions of "0x0024"
MogHughson (Talk | contribs) |
MogHughson (Talk | contribs) (→Using the Instruction Wizard) |
||
Line 9: | Line 9: | ||
==Using the Instruction Wizard== | ==Using the Instruction Wizard== | ||
[[Image:DialogInstructionWizard.JPG|frame|Dialog Instruction Wizard]] | [[Image:DialogInstructionWizard.JPG|frame|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 [[STR#STR.23|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. | ||
+ | <br clear="all"/> | ||
− | + | {| class="wikitable" | |
− | + | |+'''Dialog Types''' | |
− | + | |- | |
− | + | !Num!!Dialog Type | |
− | + | |- | |
− | + | |00||Message | |
− | + | |- | |
− | + | |01||yes-no message | |
− | + | |- | |
− | + | |02||yes-no-cancel message | |
− | + | |- | |
− | + | |03||text entry | |
− | + | |- | |
− | + | |04||tutorial | |
− | + | |- | |
− | + | |05||Phone Book - Services | |
− | + | |- | |
− | + | |06||Phone Book - Invite | |
− | + | |- | |
− | + | |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. | 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. |
Revision as of 18:44, 24 December 2009
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
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.
Num | Dialog Type |
---|---|
00 | Message |
01 | yes-no message |
02 | yes-no-cancel message |
03 | text entry |
04 | tutorial |
05 | Phone Book - Services |
06 | Phone Book - Invite |
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.