Log in

View Full Version : creating custom traits



Zain
02-25-2007, 03:00
Has anyone ever been able to create a custom trait on m2tw? I went in and simply tried to add 3 eye color traits with export_descr_character_traits.txt, export_VnVs.txt, and desc_strat.txt. The game crashed, and I'm stumped...

Aegis
02-25-2007, 05:25
Mine are working just fine. I've got a couple of triggers and traits to simulate genetics (they don't do anything though). Just make sure that you place your new traits with the other traits, and the triggers with the other triggers. If you mix them, it'll give you an error when loading the game.

If the game loads but crashes when you try to play, I'd guess it's a problem in the descr_strat.txt file, but it could be anything.

Zain
02-25-2007, 14:40
I created my own trigger. I guess that won't work?

Aegis
02-27-2007, 01:20
Mine do. If you wrote them correctly and placed them right, they should work fine. If you're working with several files and the error log is not giving you any clues, try restoring some or all of them so you can narrow the error down.

If you're trying to implement new traits, I would recommend writing the traits (plus descriptions) first, load the game, check the error log, and see if something went wrong. Remember that you need to delete the .strings.bin file so the game updates it from the .txt you edited. If it works, add the triggers. If that works as well, modify whatever other files you need to (descr_strat.txt if you want to add traits to family members at the start of the game).