Forum Discussion
11 Replies
Replies have been turned off for this discussion
- Hadron17769 years agoNot applicableThere's an optional parameter 'num_whitelist_required', maybe that'll help.
- Hadron17769 years agoNot applicableOops, didn't read the whole post about the sim filter bit. I was looking in objective tuning :D
sorry :( - Razerbone8 years agoNot applicableFirst Sorry for posting this Here, I cannot start my own Discussion.
I want to add the "days lived" UI change to a custom trait, I looked into the Adult vampire "days lived" but was unable to find anything. Is there XML code that i missed that triggers the UI change or is it hardcoded into the vampires. - Hadron17768 years agoNot applicableIt's tied to the Vampire occult type. It's not necessarily hard-coded, but I'm not sure how to link a trait to an occult. Here's the relevant code (from SimInfoSummaryPanel.gfx; instance DA7597EAEB9BA388):
var _loc3_:uint = GameplayStateData.SimAge.age;
var _loc4_:Boolean = GameplayStateData.SimOccultType.Type == OccultTypes.OCCULT_VAMPIRE && SimAgeTypes.IsYoungAdultOrOlder(_loc3_);
if(SimAgeTypes.IsElder(_loc3_) || _loc4_)
{
_loc2_ = KeysGP.SUMMARY_PANEL_DAYS_LIVED.Clone();
}
else
{
_loc2_ = KeysGP.SUMMARY_PANEL_DAYS_LEFT.Clone();
} - Razerbone8 years agoNot applicable@Hadron1776
Thanks, I was hoping it was in the XML so I could add it to my trait. My modding know how is limited.
If anyone has any Ideas let me know. - Razerbone8 years agoNot applicableCan gfx files from UI.package be overridden with one from a mod and what program is needed to edit the gfx files.
- Hadron17768 years agoNot applicableJPEXS is a free program that I'm using to modity GFX files; it says the actionscript editor is experimental, but I've been able to use it without issues. The GFX files can be overridden by mods, as long as the instance ID's match. :)
- Razerbone8 years agoNot applicable@Hadron1776 Thanks, I will look into JPEXS.
- Razerbone8 years agoNot applicableI do not know how long it is going to take me to understand that script, and i am not having any luck finding code to copy, but my though it to add similar code but for the trait "trait_Eternal". It is from a mod I have edited for my own use. I was hoping someone knows that script enough to help with the coding I can copy, I will keep looking for code i can copy from other scripts.
- Krentebrood8 years agoNot applicableAlso sorry for posting this here, I cannot start my own Discussions on this forum. I think i have a similar issue but have no clue on how to get it working or if i am trying to do something that is not possible.
I have been dabbling a bit with some custom clubseed tuning. So far i have been able to seed custom clubs. In the description files in Club.Seeds and under club_rules you can find tunables for restriction and with_whom. Under with_whom you have different criteria. I have tested age and club_membership criteria and they work. But when you try traits criteria the game crashes and stops working. No events are logged in the log files. For membership criteria all the tunables seem to work, but not for club rules. What i have noticed is for clubrules there are options for age and club membership in the UI, but not for traits.
I dont know if i am pushing the limits or just have errors in my xml tuning. Hope anyone has experience with this and can point me in the right direction? Have been looking around on the different forums but not many people seem to do club tuning. Basically what i did was extracting the tuning for an existing clubseed with S4S and modified it according the description files. Saved it to a package file and used the club seed cheatcode with my custom clubseed info. See here a copy of my xmls.
0x08827E34
121698
27915
28614
2f7d0004:00000000:50d00e0aea68967e
1
2
False
YOUNGADULT
16699
102448
0x6A0D21E8