How To: Linking Your Custom Career To Maxis Majors
Echo has discovered for us how to link custom careers to maxis majors! (Go hit one of her thanks buttons!) She has also determined that without a bunch of global rewriting, we can't link custom majors to the maxis jobs, so please don't ask us.
Open up your custom career. Learn how to make one here.
Find BCON 0x1056
The third line is what you need to edit. Decide which majors you want to provide a boost for your career and add up their values from the table below. Input this number into the Decimal Value. Hit Commit, and Save!
1 - Art
2 - Biology
4 - Drama
8 - Economics
16 - History
32 - Literature
64 - Mathematics
128 - Philosophy
256 - Physics
512 - Political Science
1024 - Psychology
If you want your career to require that sims go to college, edit the middle line. 0x0000 is no college required and a value of 0x07FF makes college required and the career becomes only available to college graduates.
We've also learned that the specific linking really doesn't work so well, so the only really useful stuff in this How-To is how to make your career require a degree or not. Careers that require degrees are not specific to which degree your sim gets.
Sorry, that can't be done. The best you can do is make sure you clone your Major and your Career from ones that are already linked. They *should* continue to be linked. Fortunately though, this is all rather a moot point as the linking doesn't actually do anything! Though, you can have it requiring a degree or not.
Probably not, I'm really rather busy. I take it the one I already made isn't quite what you had in mind?
If you do get up the courage to poke around in SimPE, open up the one I made and just change the BCON 0x1056 lines to be what you want them to be (as listed above). Making an edit of someone else's mod is usually a good place for a beginner to start. Just remember to save it as a different name when you are done.
It seems the for linking Careers to Majors you need a bit value from 01 to 10 hex giving you 16 bits 11 of which are used.
Groups 7F8CE369 and 7FE4B434 have the undeclared major as value 0x0C at the end of the list rather than 0x00 at the start.
The UI for declare major has been found it is instance CC16A50A. I think I could modify it to fit 16 buttons. and make those buttons active
I think the code might of changed for the selection of majors and linkages changed after the Uni Ep at either seasons or Free-time.
As far as modding sims2 I don't have much experience but I had some programming experience in Fortran 91 and some SC4 modding. I am just not used to all the hex and how each individual command works yet.
Your list is the same as mine from the original post, except you kept it in Hex and mine is in Decimal. I'm not really sure what you are trying to do, could you explain further?
I will try to explain.
The numbers in the original post are in decimal but they are also powers of 2 and can be expressed as:2^0, 2^1, 2^2, 2^3 ..... etc
This is using the M&G objects, file it is the same in the uni file.
For example the value in the BCON 1056 line 3 for the law enforcement career is.
0x0402 hex or 1026 decimal which using your list which gives you biology and psychology.
translate to binary
and counting from the right most digit gives you the values 2 and 11 or in hex 02 and 0B which when read from any of those constants I have listed in particular 7FD46CD0 instance 0x144 is biology and psychology.
In other words the list I posted gives the flags when referred to that relates the careers to the majors.
If I indicate for a custom career to require a degraa and link it to Drama major, will it also work in Base Game? Or is then University required?
Obviously University is required if you want the degree, but I'm asking will the package be base game compatible?