lsk66
New Member
Posts: 7
|
Post by lsk66 on Jun 21, 2024 23:18:48 GMT -5
I'm very new to modding-- all I've done so far is create a career and it doesn't even work yet-- so I know I'll have to build up some skills to be able to do this, but I was curious if its possible to create a new type of occult sim. For example, a zombie sim, like what they had in previous versions of TS. I'd want them to have their own set of genetics, something that would guarantee that offspring would also be that type of occult sim and would have the possibility of getting those genetics, which would have to be CC. That being said, I don't know enough about the coding of the game or how it works from that end to know if this is even possible, or how difficult it would be, so I was hoping someone with more experience or someone with more information might be able to tell me if this can be done.
|
|
|
Post by mauvemorn on Jun 22, 2024 4:23:28 GMT -5
Hi. To my knowledge, there are no legit custom occult states, only imitations with traits and accessories, so this information must be hard coded.
|
|
|
Post by o19 on Jun 22, 2024 13:37:17 GMT -5
Zombies usually don't switch back to human form. I wonder whether you really need an occult or could simply add a trait to the sims and apply skins and/or outfit modifiers to sims with such a trait.
Occults are defined in '<M n="sims.occult.occult_tracker" ...>' and there's a corresponding SimData which can be extracted via S4S. Alien might be the most easy form to clone. Anyhow as this is TS4 there might be much more things which need to be adjusted for it to work. In any case overriding SimData will make the mod incompatible with other mods which add custom occults and in case EA adds a new occult such an overrride mo will break the game.
|
|
lsk66
New Member
Posts: 7
|
Post by lsk66 on Jun 22, 2024 18:35:45 GMT -5
Hi. To my knowledge, there are no legit custom occult states, only imitations with traits and accessories, so this information must be hard coded. Ah, thanks for the info!! This might be a dumb question but in my defense, I have practically no experience with this-- if I wanted to make the sim via imitation and they had custom genetics (things like claws or custom eye colors, etc.) & a special reward trait that denoted their "occult" state, is there a way to make it so that that trait and their custom genetics would be passed down to any potential offspring, or is that hard-coded as well?
|
|
lsk66
New Member
Posts: 7
|
Post by lsk66 on Jun 22, 2024 18:38:43 GMT -5
Zombies usually don't switch back to human form. I wonder whether you really need an occult or could simply add a trait to the sims and apply skins and/or outfit modifiers to sims with such a trait. Occults are defined in '<M n="sims.occult.occult_tracker" ...>' and there's a corresponding SimData which can be extracted via S4S. Alien might be the most easy form to clone. Anyhow as this is TS4 there might be much more things which need to be adjusted for it to work. In any case overriding SimData will make the mod incompatible with other mods which add custom occults and in case EA adds a new occult such an overrride mo will break the game. I was just using zombie as an example so that it'd be easier to explain, but I think I could accomplish what I wanted with the reward trait and using that to apply modifiers like you mentioned. However, do you happen to know if there's a way to make that trait and the custom features passable to offspring? For instance, if I gave them claws, is there a way to make it so the offspring can inherit that with the reward trait instead of the player having to then assign the trait to the offspring as well? Thank you so much for the info!!
|
|
|
Post by mauvemorn on Jun 22, 2024 18:55:06 GMT -5
Hi. To my knowledge, there are no legit custom occult states, only imitations with traits and accessories, so this information must be hard coded. Ah, thanks for the info!! This might be a dumb question but in my defense, I have practically no experience with this-- if I wanted to make the sim via imitation and they had custom genetics (things like claws or custom eye colors, etc.) & a special reward trait that denoted their "occult" state, is there a way to make it so that that trait and their custom genetics would be passed down to any potential offspring, or is that hard-coded as well? I know that when two spellcasters procreate, their offsprings get a special trait, so you could check what part of xml is responsible for it www.carls-sims-4-guide.com/gamepacks/realmofmagic/magical-bloodline.phpAlternatively, you could look at occult traits, but there will probably be a lot of information sims.fandom.com/wiki/Hidden_trait#:~:text=Hidden%20traits%20are%20traits%20in,Sim%20with%20the%20hidden%20trait.
|
|
|
Post by o19 on Jun 23, 2024 16:27:01 GMT -5
For traits there is a random chance that they are transferred to babies, as long as they are available for all ages and not CHILD+ or ADULT+ traits. Then there's the '<M n="traits.trait_tracker" s="16739999421562710072">' tuning with things like this:
<L n="outcomes"> <U> <T n="trait">218026<!-- trait_Occult_WitchOccult_BloodlineStrong --></T> </U> </L> <L n="parent_a_blacklist"> <T>213050<!-- trait_Occult_WitchOccult --></T> </L> <L n="parent_a_whitelist"> <T>218027<!-- trait_Occult_WitchOccult_BloodlineAncient --></T> </L> <L n="parent_b_blacklist"> <T>213050<!-- trait_Occult_WitchOccult --></T> </L>
I'm not sure whether one can extend and replace it, it might be a dead end. A script mod which runs on-birth or on-load to add traits if needed after checking the parents should work.
|
|
lsk66
New Member
Posts: 7
|
Post by lsk66 on Jun 23, 2024 19:42:56 GMT -5
Ah, thanks for the info!! This might be a dumb question but in my defense, I have practically no experience with this-- if I wanted to make the sim via imitation and they had custom genetics (things like claws or custom eye colors, etc.) & a special reward trait that denoted their "occult" state, is there a way to make it so that that trait and their custom genetics would be passed down to any potential offspring, or is that hard-coded as well? I know that when two spellcasters procreate, their offsprings get a special trait, so you could check what part of xml is responsible for it www.carls-sims-4-guide.com/gamepacks/realmofmagic/magical-bloodline.phpAlternatively, you could look at occult traits, but there will probably be a lot of information sims.fandom.com/wiki/Hidden_trait#:~:text=Hidden%20traits%20are%20traits%20in,Sim%20with%20the%20hidden%20trait. Thanks!! Ideally, how I want it to function is very similar to the spellcasters stuff, especially since, if I remember correctly, they have the ability to inherit different levels of magical bloodlines.
|
|
lsk66
New Member
Posts: 7
|
Post by lsk66 on Jun 23, 2024 19:45:04 GMT -5
For traits there is a random chance that they are transferred to babies, as long as they are available for all ages and not CHILD+ or ADULT+ traits. Then there's the '<M n="traits.trait_tracker" s="16739999421562710072">' tuning with things like this: <L n="outcomes"> <U> <T n="trait">218026<!-- trait_Occult_WitchOccult_BloodlineStrong --></T> </U> </L> <L n="parent_a_blacklist"> <T>213050<!-- trait_Occult_WitchOccult --></T> </L> <L n="parent_a_whitelist"> <T>218027<!-- trait_Occult_WitchOccult_BloodlineAncient --></T> </L> <L n="parent_b_blacklist"> <T>213050<!-- trait_Occult_WitchOccult --></T> </L>
I'm not sure whether one can extend and replace it, it might be a dead end. A script mod which runs on-birth or on-load to add traits if needed after checking the parents should work. Ah that's perfect, and very close to how I want mine to function. I wanted there to be different levels that they could inheret like what's listed with the bloodlines there-- so if both parents had the trait, offspring would automatically have it, etc. Thanks for the info!!
|
|