Would be nice to have defines/consts for every base id as a header file or something.
Remembering 0x0001CF95 (mutant npc?) etc. Isn't that easy.
Printable View
Would be nice to have defines/consts for every base id as a header file or something.
Remembering 0x0001CF95 (mutant npc?) etc. Isn't that easy.
Yes, you are right. I've been planning this. It isn't too difficult either, as we already have all the data in the database. Just needs parsing.
EDIT done:
https://github.com/Foxtacles/vaultmp...ript/records.h
Also all related functions are optionally strongly typed (at least in C++). By defining GAME_FALLOUT3 or GAME_NEWVEGAS before the inclusion of vaultscript.h, all functions and callbacks are typed so they only accept data members either from the Fallout 3 or New Vegas namespace. If none is defined, it falls back to the generic type.
In C, only one "namespace" is available at a time controlled by the above defines. This is due to the numerous enumerator name clashes.
Holy crap that list is huge :eek: