bizuktag
7 years agoRising Traveler
Phone Prop Override question
I'm working on a small mod to have an active Sim play the animation of taking a photo with their cell phone before taking the actual picture, using the same animation City Living tourists use.
I edited the photography_takephoto_cellphone interaction tuning to point to the citylife_walkbys_tourist_takephoto animation and the Sim now animates taking a picture first, as I wanted. But the phone is always the default color even if I set the Sim's phone to be different.
I added the following bit of code, found in the takephotowith_cellphone interaction, that appears to tell the game to use the phone color of actor X for the "take photo with" interaction:
But it didn't change the color of my active Sim's phone during the animation, even after adding it to the takephoto interaction and the tourist_takephoto interaction.
I then looked at the tourist photo Animation State Machine file, which had an object definition resource key for the cellphone:
The phone prop resource key for the tourist ASM is different to the resource key for the takephotowith ASM, or even the key for a general phone ASM like texting. Using either of these resource keys in the tourist ASM caused the prop to disappear completely.
Maybe changing the phone color for the tourist animation isn't possible, but I hope that it's just a mistake I've made or something I overlooked. Any advice or help would be appreciated!
I edited the photography_takephoto_cellphone interaction tuning to point to the citylife_walkbys_tourist_takephoto animation and the Sim now animates taking a picture first, as I wanted. But the phone is always the default color even if I set the Sim's phone to be different.
I added the following bit of code, found in the takephotowith_cellphone interaction, that appears to tell the game to use the phone color of actor X for the "take photo with" interaction:
cameraType
cellPhone
cellPhone
145433
x
149289
149290
But it didn't change the color of my active Sim's phone during the animation, even after adding it to the takephoto interaction and the tourist_takephoto interaction.
I then looked at the tourist photo Animation State Machine file, which had an object definition resource key for the cellphone:
The phone prop resource key for the tourist ASM is different to the resource key for the takephotowith ASM, or even the key for a general phone ASM like texting. Using either of these resource keys in the tourist ASM caused the prop to disappear completely.
Maybe changing the phone color for the tourist animation isn't possible, but I hope that it's just a mistake I've made or something I overlooked. Any advice or help would be appreciated!