More Awesome Than You!
Welcome, Guest. Please login or register.
2024 November 21, 20:13:59

Login with username, password and session length
Search:     Advanced search
540287 Posts in 18067 Topics by 6545 Members
Latest Member: cincinancy
* Home Help Search Login Register
  Show Posts
Pages: [1]
1  Awesomeware / AwesomeMod! / Re: Working with Max Trait Limits on: 2010 July 30, 19:15:56
You're right. I just hate being lazy. Always more fun to code than just be a consumer sometimes. And other times, the other way around I guess..  Lips sealed
2  Awesomeware / AwesomeMod! / Re: Working with Max Trait Limits on: 2010 July 30, 17:59:12
That is the unfortunate drawback. However, I can put up with it in the meantime. Whcih makes sense, since the NPC's are probably created using the same classes and methods that our Sims are using. Would make good sense to reuse code that way. Do you think it would be a worthwhile, and possible endeavor to try to put a switch case in the Sim constructor to check whether the Sim is flagged as a PC or an NPC? ( Could use this check to provide maxtraits for PC's and NPC's... if my assumption is correct )

Not even certain if this is how the structure is set up. But, the game certainly would have to have some way of flagging a Sim as an NPC or not, otherwise we would be able to select NPC's without mods.
3  Awesomeware / AwesomeMod! / Re: Working with Max Trait Limits on: 2010 July 29, 17:27:03
Which really makes sense that you would put variables with ranges in seperate files that can be tweaked by users.
4  Awesomeware / AwesomeMod! / Re: Working with Max Trait Limits on: 2010 July 29, 17:23:36
Thanks for the reply Rainbow. I did stumble onto that XML mod at ModTheSims. I guess this means that the actual maxtraits variables get set by tunable XML files. And you're right it definitely works well, and it is easily modable for any number of traits you desire. I was beating my ehad against the wall looking for the variables in code, and not finding them. I guess this makes more sense in retrospect  Roll Eyes
5  Awesomeware / AwesomeMod! / Working with Max Trait Limits on: 2010 July 29, 00:32:45
I'm just beginning to work with the DLL's and wanted to change the max number of traits allowable for teens and younger. I know that the Awesome mod makes it possible to have unlimited traits for adult and older. I am running into some problems locating where the max number of traits is set in the Sims3GameplaySystems.dll. I have managed to find what looked like the proper method, Get_MaxTraitsFor(this.age), but every call and instance I search through does not seem to contain the code I'm looking for. I am going to assume that the value for the max traits is somewhere defined in the Sims Descriptiopn file.

But, I could really use some hints or just plain telling me where to look Tongue..

 Grin
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.103 seconds with 19 queries.