Source Code Explained[message #347015]
|
Thu, 22 September 2016 04:11
|
|
Bobby R. |
|
Messages:46
Registered:September 2016 |
|
|
Hi guys.
I would like to know if the community already created a documentation for the ja2 source code?
The c files don't seem to have any content regarding the number of characters the game can distinguish
after my first "scan". (Ca. 200+?) Instead of replacing an old character to get a new one, you just ad one.
Does anybody knows where the game is regulating this?
I grinded the forum but could just find posts regarding face and audio file replacements.
Thanks for your time and have a great day.
Report message to a moderator
|
Corporal
|
|
|
|
|
|
|
Re: Source Code Explained[message #347030 is a reply to message #347025]
|
Fri, 23 September 2016 12:05
|
|
Enneagon |
|
Messages:51
Registered:July 2016 Location: Latvia |
|
|
My guess would be that probably nobody clearly understands what your true question is, because what you present so far seems somewhat weird or incredibly misguided at very least, at least to me right now.
You could start with what version of the game you trying to mod, and what exactly you're trying to accomplish.
Number of usable actors with proper profiles (including your IMPs, mercs, hire-able NPCs, full-profile shopkeepers, vehicles, etc) is limited to 254 as governed by unsigned byte index (and ID 200 being exempt).
From what I have read around here, programmers, over a decade of doing elaborate and in-deep altering of the original code, have found it to be impossible task to increase this limit; at times going to great lengths of creating whole new systems to somewhat blur the pain this limitation imposes.
Profiles are described in MercProfiles.xml - as far 1.13 is concerned.
Of course, there is also infrastructure of files containing faces, voices etc that supports that list.
But I'm no expert in this, not doing any real modding myself, nor have I read the source code. So what I'm comment is based solely of what I read in discussions around this site.
Report message to a moderator
|
Corporal
|
|
|
|
|
|
|
|