More Awesome Than You!
Welcome, Guest. Please login or register.
2024 November 25, 04:20:22

Login with username, password and session length
Search:     Advanced search
540287 Posts in 18067 Topics by 6545 Members
Latest Member: cincinancy
* Home Help Search Login Register
+  More Awesome Than You!
|-+  The Bowels of Trogdor
| |-+  The Small Intestines of Trogdor
| | |-+  STR# notes
0 Members and 1 Chinese Bot are viewing this topic. « previous next »
Pages: [1] THANKS THIS IS GREAT Print
Author Topic: STR# notes  (Read 9714 times)
dizzy
Souped!
*
Posts: 1572


unplugged


View Profile
STR# notes
« on: 2006 November 17, 22:14:57 »
THANKS THIS IS GREAT

I thought I'd start some generic notes on STR# resources, as that becomes pretty useful now and then.

Code:
Country code to Language chart:

1 "English US"
2 "English UK"
3 "French"
4 "German"
5 "Italian",
6 "Spanish"
7 "Dutch"
8 "Danish"
9 "Swedish"
10 "Norwegian"
11 "Finnish"
12 "Hebrew"
13 "Russian"
14 "Portuguese"
15 "Japanese"
16 "Polish"
17 "Simplified Chinese"
18 "Traditional Chinese"
19 "Thai"
20 "Korean"
21 "Hindi"
22 "Arabic"
23 "Bulgarian"
24 "Cyrillic"
25 "Ukranian"
26 "Czech"
27 "Greek"
28 "Hungarian"
29 "Icelandic"
30 "Romanian"
31 "Latin"
32 "Slovak"
33 "Albanian"
34 "Turkish"
35 "Brazilian Portuguese"
36 "Swiss French"
37 "Canadian French"
38 "Belgian French"
39 "Swiss German"
40 "Swiss Italian"
41 "Belgian Dutch"
42 "Mexican Spanish",
43 "Tagalog"
44 "Vietnamese"

Code:
STR# Variables:

Note: a,b,c, etc. are local variable references

$Object (stack object = objectId, supplies name)
$Local:a (a = value, supplies value)
$Neighbor (stack object = neighorId, supplies name)
$NeighborLocal:a (a = neighborId, supplies name)
$Family (stack object = familyId, supplies family name)
$NameLocal:a (a = objectId, supplies name)
$LastName (stack object = neighborId, supplies last name)
$FullName (stack object = neighborId, supplies full name)
$FullNameLocal:a (a = neighborId, supplies full name)

$CatalogLocal:a (a = objectId, supplies catalog name)
$GUIDCatalogNameLocal:a:b (a = guidLo, b = guidHi, supplies catalog name)

$TimeLocal:a (a = hour, supplies time)
$DayLocal:a (a = 0 to 6: 0 = Sunday, supplies name - STR# 0x99)
$DayFlags:a (a = day flags, supplies name of days)

$JobTitle:a[:b] (a = job title index, b = objectId, supplies job title)
$FamilyAssets:a (a = familyId, supplies value)
$Money[:a]:b (a = multiplier, b = value, supplies value)
$Cash:a:b (a = multiplier, b = value, supplies value)

$NeighborhoodLocal:a (a = neighborhoodId, supplies neighborhood name)
$PrimaryNeighborhood (supplies name of primary neighborhood)

$LotNameLocalByLotId:a (a = lotId, supplies lot name)

$Attrib:a (a = index, supplies value of attribute)
$SkillName:a (a = skill, supplies name of skill)
$WordPoints (supplies the word "points") (?)

$AspirationString:a:b (a = 0x9A to 0x9E, b = index, supplies name - see Live.package)
$BehaviorString:a (a = instance, supplies ?)

$PrivateString:a:b (a = instance, b = index, supplies STR#)
$SemiGlobalString (a = instance, b = index, supplies STR#)
$GlobalString:a:b (a = instance, b = index, supplies STR#)

$PropertyPrivateString (a = instance, b = index, supplies value of property)
$PropertySemiGlobalString (a = instance, b = index, supplies value of property)
$PropertyGlobalString (a = instance, b = index, supplies value of property)

$WantDescriptionLocal:a:b (a = personId, b = slotNum, supplies description)
$WantHelpTextLocal:a:b (a = personId, b = slotNum, supplies help text)
$FearDescriptionLocal:a:b (a = personId, b = slotNum, supplies description)
$FearHelpTextLocal:a:b (a = personId, b = slotNum, supplies help text)
« Last Edit: 2006 November 18, 03:29:52 by dizzy » Logged

Inge
Round Mound of Gray Fatness
Senator
*
Posts: 4320


Senator Emeritus. Oh hold on, I am still a senator


View Profile WWW
Re: STR# notes
« Reply #1 on: 2006 November 18, 09:07:36 »
THANKS THIS IS GREAT

Nice work Dizzy, thanks :thumbsup
Logged


\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
dizzy
Souped!
*
Posts: 1572


unplugged


View Profile
Re: STR# notes
« Reply #2 on: 2006 November 18, 11:29:23 »
THANKS THIS IS GREAT

Feel free to make additions and modifications. I'm still plowing through all the $Token variables, for example.  Tongue

Is "Cyrillic" really a language? I get the feeling EA may decide to change that one (to be something a bit more specific).
Logged

J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26288



View Profile
Re: STR# notes
« Reply #3 on: 2006 November 18, 11:40:15 »
THANKS THIS IS GREAT

Feel free to make additions and modifications. I'm still plowing through all the $Token variables, for example.  Tongue

Is "Cyrillic" really a language? I get the feeling EA may decide to change that one (to be something a bit more specific).
In Soviet Russia, you do not plow through variables, variables plow through YOU! Cyrillic is Russian.
Logged

Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
Inge
Round Mound of Gray Fatness
Senator
*
Posts: 4320


Senator Emeritus. Oh hold on, I am still a senator


View Profile WWW
Re: STR# notes
« Reply #4 on: 2006 November 18, 11:42:32 »
THANKS THIS IS GREAT

Cyrillic is Russian.

Nonsense!  It's what my Uncle Cyril used to speak.
Logged


\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
Inge
Round Mound of Gray Fatness
Senator
*
Posts: 4320


Senator Emeritus. Oh hold on, I am still a senator


View Profile WWW
Re: STR# notes
« Reply #5 on: 2006 November 18, 13:42:30 »
THANKS THIS IS GREAT

Peter says:

Quote
Can you just ask Dizzy whether 31 is right... Latvian might make more sense than "Latin"...
> 30 "Romanian"
> 31 "Latin"
> 32 "Slovak"
Logged


\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
dizzy
Souped!
*
Posts: 1572


unplugged


View Profile
Re: STR# notes
« Reply #6 on: 2006 November 18, 21:25:56 »
THANKS THIS IS GREAT

In Soviet Russia, you do not plow through variables, variables plow through YOU! Cyrillic is Russian.

If that's the case, then why is Russian already in the list?

Peter says:

Quote
Can you just ask Dizzy whether 31 is right... Latvian might make more sense than "Latin"...
> 30 "Romanian"
> 31 "Latin"
> 32 "Slovak"

OllyDbg says otherwise, and Olly has always been right so far.  Grin

Maybe "Cyrillic" is actually Latviešu? Now, that is more likely.

EDIT: Just double-checked, and it is Latin for certain. Unless they misspelled "latin/Latin/la" all three times.
« Last Edit: 2006 November 18, 21:57:03 by dizzy » Logged

J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26288



View Profile
Re: STR# notes
« Reply #7 on: 2006 November 19, 04:58:14 »
THANKS THIS IS GREAT

Could be how Chinese is on the list 2 or 3 times.
Logged

Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
Inge
Round Mound of Gray Fatness
Senator
*
Posts: 4320


Senator Emeritus. Oh hold on, I am still a senator


View Profile WWW
Re: STR# notes
« Reply #8 on: 2006 November 19, 11:01:39 »
THANKS THIS IS GREAT

Well, the next PJSE is going out with the langs as listed by Dizzy here.   If we get any complaints, we'll refer the complainants to this thread!
Logged


\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.075 seconds with 19 queries.