Awesomod discussion/questions/helpful tips thread

<< < (610/666) > >>

simsmx:
I managed to get custom books by using the old method, but I cannot assembly-keyed method to work. I've created the SimsMxBooks.dll file and a corresponding SimsMxBooks XML file with several books. However, the books are not loaded. Below is the code I used in the SimsMxBooks.dll file.
Code:

[assembly: Tunable]

namespace CustomBooks
{
    public class SimsMxBooks
    {
        [Tunable]
        protected static bool kSimsMxBooks = false;
    }
}

J. M. Pescado:
That's quite strange. I can't think of any reason why it wouldn't work, I've doublechecked the code, and it works for me. Did you name your assembly correctly? Try "listasms" to see if the game is even seeing it.

simsmx:
Should I type it in the cheat command? I'm getting an "Unknown command."

These are the files I have:
[*]SimsMxBooks.dll (0xD5F738CDEEEC5072) - code shown in my last post.
[*]CustomBooks.SimsMxBooks (0x0A279D6AA751EA8F) - sets "kSimsMxBooks" to true.
[*]SimsMxBooks (0xFB14D2687D798684) - contains book information. It's the same file I used to test the old method.
[*]Strings_ENG_US (0x0014D2687D798684)
[/list]

Also, I just realized that the custom books made with the old method can't be bought from the bookstore. I was only able to get them through the library and the debug interaction "DEBUG: Add Books."

J. M. Pescado:
You may need to turn the debug commands on. Then do "listasms" and see if yours even appears. If the assembly doesn't appear, then neither will your files, because the game can't find them.

simsmx:
Apparently the game is loading my assembly. "SimsMxBooks" is on the list, but there are no books in the bookstore, book register, or library.

I've attached my file. I've no idea what's wrong.

Navigation

[0] Message Index

[#] Next page

[*] Previous page