How to add paperdolls for new NPCs?
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
How to add paperdolls for new NPCs?
This is a question whose answer has eluded me so far. Is there a way to add new paperdoll art for new NPCs or that would require a new version of Exult?
By paperdoll art I mean both, the heads in the SI paperdolls (as well as determining if the body should be male/female) and the gump art of standard BG inventories. It would be nice if the face also displays in the status bars.
Can anyone help?
By paperdoll art I mean both, the heads in the SI paperdolls (as well as determining if the body should be male/female) and the gump art of standard BG inventories. It would be nice if the face also displays in the status bars.
Can anyone help?
------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Re: How to add paperdolls for new NPCs?
Wish I knew, seeing as this will become crucial in totally new games using these engines.
Re: How to add paperdolls for new NPCs?
The main reason I posted it here is to see if any of the devs can shine some light on it; or anyone who knows how to do it, for that matter...
------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
-
- Site Admin
- Posts: 731
- Joined: Thu May 14, 2020 1:34 pm
Re: How to add paperdolls for new NPCs?
You can't do it without editing the exult source code.
There is a file (paperdoll_gump_info.cc i think) that contains all the data used to display paperdolls
There is a file (paperdoll_gump_info.cc i think) that contains all the data used to display paperdolls
Re: How to add paperdolls for new NPCs?
Yeah, that is what I feared. Which means that there are no new NPCs/games without a new version of Exult.
Maybe the info on paperdoll_gump_info.cc should be moved to an external xml file? And now that I have finally found out where the standard BG gumps are defined (Actor::inventory_shapenum in actors.cc), the information on that function might also be moved to an external file (after all, not everyone has SI...). Perhaps even to the same xml file; a section for gumps (for BG) and another with paperdoll information (for BG and SI).
Should I submit this as a feature request?
Maybe the info on paperdoll_gump_info.cc should be moved to an external xml file? And now that I have finally found out where the standard BG gumps are defined (Actor::inventory_shapenum in actors.cc), the information on that function might also be moved to an external file (after all, not everyone has SI...). Perhaps even to the same xml file; a section for gumps (for BG) and another with paperdoll information (for BG and SI).
Should I submit this as a feature request?
------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Re: How to add paperdolls for new NPCs?
yes, best submit a feature request.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Re: How to add paperdolls for new NPCs?
Go for it Marzo. The idea roxxors
Re: How to add paperdolls for new NPCs?
It has been submitted. I also submitted (in a separate, even though related, request) a request for moving out data about which items get ready/unready Usecode events. Given that things such as the Belt of Strength and rings of invisibility use such events, it should be obvious why one would like to have this ability...
------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Re: How to add paperdolls for new NPCs?
Thanks. There is a lot of data hard-coded into Exult, since they were also hardcoded into U7 and we were trying to get the games playable as quickly as possible. The main long-term goal for Exult is to get as much as possible into data files. My current thought is that a single .xml file would be the way to go for all the non-text information. Or maybe just a text file.
Re: How to add paperdolls for new NPCs?
My opinion is that the xml file would be better -- the information gets better organized that way. Perhaps one data file per game would be best (one for BG, one for SI and more as people make new games).
------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
-
- Posts: 468
- Joined: Thu May 14, 2020 1:34 pm
Re: How to add paperdolls for new NPCs?
And someone should write a program for editing the xml files, as it has been proven than a lot of people has a hard time understanding them. The program could even be used for configuring Exult.
- Gradilla Dragon
Re: How to add paperdolls for new NPCs?
Well, there should be graphical applications out there for manipulating XML trees already, since XML is an ubiquitous format and Exult isn't doing anything very out-there with it. Worth hunting around on sourceforge for
-
- Site Admin
- Posts: 731
- Joined: Thu May 14, 2020 1:34 pm
Re: How to add paperdolls for new NPCs?
The XML 'like' files that Exult uses are very much not standard XML files though.
Of course in Pentagram we decided not to use XML files, instead we use INI files simply because they are much simpler for the average user to understand. And they are just easier to read.
Of course in Pentagram we decided not to use XML files, instead we use INI files simply because they are much simpler for the average user to understand. And they are just easier to read.
Re: How to add paperdolls for new NPCs?
Not to mention easier to edit
It did always strike me as a bit silly to go so balls-out with XML that Exult has tags for , and gamma values. Things like that could have been handled with attributes, but I suppose Exult's parser doesn't expect or support those.
It did always strike me as a bit silly to go so balls-out with XML that Exult has tags for , and gamma values. Things like that could have been handled with attributes, but I suppose Exult's parser doesn't expect or support those.
Re: How to add paperdolls for new NPCs?
If you can make it so you can change the paperdoll, I can finally solve the problem with spark!
Re: How to add paperdolls for new NPCs?
thread necromancy by spammer!!! o_O"""
Edit by wjp: Freezing this old thread since it's a popular target for spammers.
Edit by wjp: Freezing this old thread since it's a popular target for spammers.