View Full Version : Xml question for Shimrod...or anyone that can answer it =)
ChickieTeeta
6th Mar 2012, 11:01 PM
I was trying to make a no jealousy mod. I can get it to work so they don't all cancel what they're doing to come and complain about it. There's no visual sign of jealousy except for the negative relationship decrease sign above their heads, which doesn't bother me too much.
Using options like 'kiss' still result in rejection, which I think are in the socializing xmls, along with stopping the relationship decrease.
If I add these xmls to mine I assume it will conflict with your seduce, easy woohoo, execute mod.
I don't mind it so much the way it is, and I can still get round it using your seduce option, plus Grim was thinking of adding it to his core. It's just curiosity with this one, but I also made autonomous woohoo, I've modified the xmls from your seduce mod instead of the ones in the delta build package so I can use both mods together, otherwise I think it'll cause problems.
Do you know if there's a way to do the no jealousy and autonomous woohoo so it won't conflict with your mod?
(This is my first attempt at modding xmls, thought I'd point that out incase this is just a really dumb question to ask)
SeishiNui
7th Mar 2012, 10:16 AM
not an advanced and experienced modder here, just tried few weeks ago as well.
but i saw <JealousyLevel>Low</JealousyLevel> at Socializing XML, try setting the same to those that has Medium and/or High value on them?
i do not have the mod you mentioned so i can't say what's on the mod and if it would conflict on it...
ChickieTeeta
7th Mar 2012, 11:47 AM
not an advanced and experienced modder here, just tried few weeks ago as well.
but i saw <JealousyLevel>Low</JealousyLevel> at Socializing XML, try setting the same to those that has Medium and/or High value on them?
i do not have the mod you mentioned so i can't say what's on the mod and if it would conflict on it...
Thank you for replying, but I wasn't asking how to make the mod, I already tried last night without Shimrod's mod in and it works removing all values and leaving it blank, (am reluctant to remove the tags completely since I don't know if that will cause problems...don't know if leaving it blank will cause problems at some point either, but it appeared to work fine when I tested it.)
(It looks like <JealousyLevel></JealousyLevel>)
Since one of Shimrod's mods uses the same xml, I'd assume both of us using the same xml for different mods would cause problems at some point.
I did load both 'no jealousy' and Shimrod's mod at the same time last night as well, and the relationship boost from the seduce option doesn't work anymore, although everything else in the mod seems to work ok. Even after removing mine and reloading just Shimrods mod, this function appears to be permanently broken in that one kingdom.
My question was is there a way to do it (without modifying his xml) that will allow them not to conflict with each other?
The jealousy one will obviously need tested a bit more, since I'm not sure if the way I've done it is ok, but the autonomous woohoo is working great and I'd like to share it at some point, I haven't tested the woohoo one alongside Shimrod's mod yet but I'm fairly sure both of us using separate versions of the same xml is not a good idea.
As far as I understand it, which is admittedly not far, the modded xml overrides the game xml, but 2 modded versions of the same xml, can't both work in conjunction either, one mod surely has to try and take precedence over the other mod??? and that's when the conflict occurs? Have I misunderstood and it's only if the values inside both versions of the xml are set differently, in which case I could try and make mine function alongside his, but since, I imagine this will involve copying everything he's changed anyway, then I may as well just use his mod to do it and that's wrong to upload that since it would basically be me stealing his mod and adding my own parts.
Is there a way to rename my mod so it works? like give it a new id, or take the code I want to change, put it elsewhere and still have my options override the ones in the original xml? or is it always going to be a case of pick which of the 2 mods you want to use? Obviously I can put all my changes into Shimrod's mod and have all the options I want available for personal use, I was just wondering, for curiosities sake, and in the event I might want to upload them after more testing, if there's a way to do this. I doubt I'll upload it if it involves making a choice between mine and his, because I love his mod and imagine most others do to.
Shimrod101
7th Mar 2012, 03:19 PM
As far as I know you cannot use the same XML twice, I've never been able to do this with Sims3 for example. So if you're using my mod, the sensible thing to do is use mine as your base, and add your changes into it. I don't think it actually works correctly cutting pieces out of for example, the Socializing XML, and placing them in your own new XML and simply assigning them a new ID. That part may work fine, but to use this together with my mod, those parts have to be cut out of my mod, removed. So then you haven't gotten any further anyway, no one else would have this "cut" version of my thingy to use together with yours.
ChickieTeeta
7th Mar 2012, 04:41 PM
As far as I know you cannot use the same XML twice, I've never been able to do this with Sims3 for example. So if you're using my mod, the sensible thing to do is use mine as your base, and add your changes into it. I don't think it actually works correctly cutting pieces out of for example, the Socializing XML, and placing them in your own new XML and simply assigning them a new ID. That part may work fine, but to use this together with my mod, those parts have to be cut out of my mod, removed. So then you haven't gotten any further anyway, no one else would have this "cut" version of my thingy to use together with yours.
Thank you Shimrod, that's what I'd feared.
I didn't think the 'new xml' idea through properly, but of course the problems you've pointed out that would arise from that make sense too.
That answers most everything I need to know for personal use, thank you.
How would that work in terms of uploading though?
Would I upload just my changes to the original xml with the warning that any other mod that uses the socializing xml should be removed if using mine, and list specific mods I'm aware of that could conflict?
Or upload the modified version of yours so no-one has to lose any features? (which I'm not really comfortable asking about because I'm sure that's just wrong)
or if it was going to be added to yours and uploaded, should it then be something that's requested instead of being added in by someone else?
Again I'm ok just keeping it for personal use, just curious how something like that should be done.
Also, hate to be a pain, but concerning no jealousy, is it okay to leave the jealousy level blank (i.e <JealousyLevel></JealousyLevel>)?
Can and should those tags be removed completely if they're not in use, or should they be left there?
or is there another level that indicates no jealousy that I should be filling in, in place of low medium or high?
I modified the jealousy reaction file first, and this on it's own is obviously able to run side by side with yours (and it's ok because I can over-ride rejection by using your seduce option, and I don't mind the relationship decrease too much because I acknowledge that although it's wrong to wander up and smack the monarch in the face, it is acceptable to be privately upset), but if jealousy is removed from the socializing file, then the 'no jealousy reaction' mod wouldn't be needed anymore since there'd be no jealousy to react too...is that right?
Thank you for your reply to my original question, it's much appreciated.
Shimrod101
7th Mar 2012, 09:51 PM
It's fine by me if you modify mine with the no jealousy added and upload it. You may want to consider doing yours alone without my stuff in it as a second flavor, which players have to choose between. There may be some who aren't using my mod and don't want all that stuff.
I think you can do it like this <JealousyLevel>None</JealousyLevel>, or the way you have it above, or remove the line completely, and all of these will work.
As far as using the Jealous Reaction or other XML's also; this is something you simply need to test to see if it's necessary to use the other(s) or not. In Sims 3 at least it isn't enough to do the jealousy level in the socializing XML's, it won't work as a no-jealousy mod. TSM may have a simpler jealousy system, but I've never tried any of this in TSM so it isn't possible for me to say what's needed.
ChickieTeeta
7th Mar 2012, 10:28 PM
It's fine by me if you modify mine with the no jealousy added and upload it. You may want to consider doing yours alone without my stuff in it as a second flavor, which players have to choose between. There may be some who aren't using my mod and don't want all that stuff.
My problem is I can't imagine anyone not wanting that stuff, it's an excellent mod.
I will do that though if I ever upload it (I'm a bit nervous I've done something wrong, and it will end up breaking something at some point, lack of confidence again), thank you so much, I felt awful asking about it, but since we're limited on new stuff compared to other sims games, it would be such a shame to have to choose between 2 if you wanted all the functions, again thank you, your generosity with your mod is very much appreciated.
I think you can do it like this <JealousyLevel>None</JealousyLevel>, or the way you have it above, or remove the line completely, and all of these will work.
I'll leave it the way I have it in that case, it will make it easier for me to see what I've changed if I go back to do something else to it.
As far as using the Jealous Reaction or other XML's also; this is something you simply need to test to see if it's necessary to use the other(s) or not. In Sims 3 at least it isn't enough to do the jealousy level in the socializing XML's, it won't work as a no-jealousy mod. TSM may have a simpler jealousy system, but I've never tried any of this in TSM so it isn't possible for me to say what's needed.
Thank you, I'll test it without the reaction first and then put the no react file back in if it doesn't work, and test it again. I'll make a new kingdom to do that, the one I broke the seduce relationship boost in was the one I was currently playing :faceslap:
Thank you for all your help and the permission to use your mod as a base :)
ChickieTeeta
7th Mar 2012, 11:33 PM
As far as using the Jealous Reaction or other XML's also; this is something you simply need to test to see if it's necessary to use the other(s) or not. In Sims 3 at least it isn't enough to do the jealousy level in the socializing XML's, it won't work as a no-jealousy mod. TSM may have a simpler jealousy system, but I've never tried any of this in TSM so it isn't possible for me to say what's needed.
It seems to work just modifying the xml and leaving the react file alone. I'll test it more, but on the first run it's working ok.
I left 'pronounce undying devotion' and the 'propose marriage' and 'get married' options with jealousy on low, a whole bunch of sims looking like they're crying while the monarch falls in love and gets married will be ok I think, so unless I get problems on further tests I'll leave the react file alone so they can all cry at the wedding. :cry: :jest:
I'm sure this will look fine for other hero sims as well.
vBulletin v3.0.14, Copyright ©2000-2013, Jelsoft Enterprises Ltd.