lcrey
New Member
Posts: 8
|
Post by lcrey on Nov 23, 2021 17:09:13 GMT -5
I want to change the emotions that a sim has while being around another sim that they know is a vampire. A few questions here. Which files would determine if a sim knows the other is a vampire? What category would I find the it under (trait?, loot?, etc..?). Also, what files would determine if one is near that vampire sim? And what category would I find them under? Which ones would need to be edited? God Bless.
|
|
|
Post by MizoreYukii on Nov 29, 2021 13:48:03 GMT -5
Could you be more specific? I just dug through the files and didn't see anything about knowing if a sim is a vampire or not, so if you could mention the details on what you're seeing in-game I can probably track down the files.
|
|
lcrey
New Member
Posts: 8
|
Post by lcrey on Dec 2, 2021 3:00:14 GMT -5
In the game, some sims will know another sim is a vampire and other sims do not know. There should be a file that contains data determining this.
There is one more thing I am looking for. Also, in the game, sims can have buffs due to someone being in the room, sentiments being the prime example. If a sim has sentiments towards another sim, they might get a happy buff when they are around the other sim. What files contain the data determining if a sim is near another sim?
|
|
|
Post by MizoreYukii on Dec 3, 2021 0:32:25 GMT -5
That's my point, I am not finding that file and why I asked for an example. An example includes a buff, notification, literally anything you can take a picture of or describe from in the game. Regardless if you can provide an example or not, I recommend downloading Show Sim Info instead. Check your sims stats (traits/buffs/etc.) beforehand, then run a scenario to re-create what you are seeing. When a sim shows the signs, pause the game and click on them, search through their buffs (likely culprit), traits, relationships, or interactions to see if there is anything different from before. If found, search the ID mentioned in XML File Finder to track down how it's all related. This is a great way of tracking down EA examples if you have no idea what to look for in the files. If that doesn't help (and I'd be surprised if it didn't) you could try manually searching with a program like DocFetcher. Knowing if a sim is an occult, such as with aliens, is usually a file type called a relationship bit, relbit for short. Aliens have it, for example, but I'm not finding it in the relbits, and I checked traits too in case it came from researching about vampires, and I'm also not seeing anything. Sentiments have a SentimentTrack that has a loot_on_proximity, which activates anytime they are near each other. For regular buffs, they are called proximity_buff_added_reason with a proximity_detection_tests.
|
|
lcrey
New Member
Posts: 8
|
Post by lcrey on Dec 3, 2021 3:28:17 GMT -5
Thank you MizoreYukii. I see what you are saying now. I am very new to modding, as most of my coding experience is in the way of information technology, not gaming. I also am not used to the markup language, XML, as I have not used it on many occasions. The only markup language that I've really put to use is HTML. Please understand that I am very new to this, as everyone was at one point. The "Show Sim Info" looks like a very helpful tool. I wish I had known about this earlier. It would have made searching for files much quicker and easier. I will give it a go. After doing some studying, it seems the file I am attempting to locate would simply be a file regarding every sim, not just occult sims. The files involved would probably be along the lines of, one sim knows another sim is in the area. I could simply add some xml to make certain things only available to vampires. The files I need are most likely proximity_detection_tests.
|
|
|
Post by MizoreYukii on Dec 3, 2021 11:17:43 GMT -5
Do you have the TDESCs yet? If not you should bookmark this page: lot51.cc/tdescIt tells you what does what in the files. Proximity_detection_tests are inside buffs, they can test for a variety of files and info. A buff with a proximity test and reason (reasons would be optional) look like this (from the bro trait): <I c="Buff" i="buff" m="buffs.buff" n="Buff_Trait_Bro_Broximity(Hidden)" s="12656"> <T n="audio_sting_on_add" p="InGame\Audio\Stings\sting_buff_gain.propx">39b2aa4a:00000000:8af8b916cf64c646</T> <T n="audio_sting_on_remove" p="InGame\Audio\Stings\sting_buff_loss.propx">39b2aa4a:00000000:3bf33216a25546ea</T> <U n="game_effect_modifier"> <L n="_game_effect_modifiers"> <V t="continuous_statistic_modifier"> <U n="continuous_statistic_modifier"> <T n="modifier_value">5</T> <T n="statistic">74073<!--commodity_trait_bro_broximity--></T> </U> </V> </L> </U> <T n="icon" p="InGame\UI\Icons\Debug\missing_image.png">2f7d0004:00000000:30f0846c783606f9</T> <V n="proximity_buff_added_reason" t="proximity_add_reason"> <T n="proximity_add_reason">0xAF302126<!--(From Bro Trait)--></T> </V> <V n="proximity_detection_tests" t="proximity_tests"> <L n="proximity_tests"> <L> <V t="trait"> <U n="trait"> <E n="subject">TargetSim</E> <L n="whitelist_traits"> <T>16826<!--trait_Bro--></T> </L> </U> </V> </L> </L> </V> <T n="show_timeout">False</T> <L n="topics"> <T>16766<!--topic_dinosaurs--></T> <T>16799<!--topic_PlayfulStarter--></T> </L> <T n="visible">False</T> </I>
|
|
lcrey
New Member
Posts: 8
|
Post by lcrey on Dec 4, 2021 1:27:46 GMT -5
You mentioned the knowing alien relbit. Maybe I could use that one and edit the xml file to create a relbit for vampires as I am not able to locate the file either. I do not see the knows is alien relbit either though. Please tell me what the file is called.
|
|
|
Post by MizoreYukii on Dec 6, 2021 15:50:50 GMT -5
It's called relationshipbit_KnowsIsAlien. xD There's one for Aliens who know other aliens too, same naming format.
|
|