Forcing custom graphics

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: Forcing custom graphics
Agent
Member # 4506
Profile Homepage #0
Guys,

I'm pretty sure this can be done, but I don't know how. What I want to do is to "Force" one of my own custom graphics over the standard BoA character pictures. So basically, I want to the game to read MY custom graphic instead of the standard, but I don't want to permanately affect BoA. I want this to work JUST in my scenario, and not in others.

I hope that makes sense. I heard that someone else was doing something similar, just with Ursagi. Maybe that code will help...

Thanks!

- Archmagi Micael

--------------------
"You dare Trifle with Avernum?" ~ Erika the Archmage
--------------------
My Scenarios:
Undead Valley : A small Undead problem, what could possibly go wrong?
--------------------
Richard Black - PROOF of his existance (the Infernal one's website).
--------------------
MY FORUM! Randomosity at it's highest! :)
Posts: 1370 | Registered: Thursday, June 10 2004 07:00
...b10010b...
Member # 869
Profile Homepage #1
It's pretty easy. Every graphic in the standard BoA set has a sheet number attached to it; you can find these numbers by poking around in the graphics files. Just include in your scenario a custom graphic sheet with the same number as the default graphic you want to replace.

--------------------
The Empire Always Loses: This Time For Sure!
Posts: 9973 | Registered: Saturday, March 30 2002 08:00
Agent
Member # 4506
Profile Homepage #2
quote:
Originally written by Thuryl:

It's pretty easy. Every graphic in the standard BoA set has a sheet number attached to it; you can find these numbers by poking around in the graphics files. Just include in your scenario a custom graphic sheet with the same number as the default graphic you want to replace.
That was the first thing I tried. :(

- Archmagi Micael

--------------------
"You dare Trifle with Avernum?" ~ Erika the Archmage
--------------------
My Scenarios:
Undead Valley : A small Undead problem, what could possibly go wrong?
--------------------
Richard Black - PROOF of his existance (the Infernal one's website).
--------------------
MY FORUM! Randomosity at it's highest! :)
Posts: 1370 | Registered: Thursday, June 10 2004 07:00
...b10010b...
Member # 869
Profile Homepage #3
Ah, you're using Windows, aren't you? Then you might be out of luck.

--------------------
The Empire Always Loses: This Time For Sure!
Posts: 9973 | Registered: Saturday, March 30 2002 08:00
Agent
Member # 4506
Profile Homepage #4
quote:
Originally written by Thuryl:

Ah, you're using Windows, aren't you? Then you might be out of luck.
If it can be done for MAC, JV should have made it possible to be done with WIN. Perhaps a call in the scenario script would do it?

Or maybe i should just email and ask him.

- Archmagi Micael

--------------------
"You dare Trifle with Avernum?" ~ Erika the Archmage
--------------------
My Scenarios:
Undead Valley : A small Undead problem, what could possibly go wrong?
--------------------
Richard Black - PROOF of his existance (the Infernal one's website).
--------------------
MY FORUM! Randomosity at it's highest! :)
Posts: 1370 | Registered: Thursday, June 10 2004 07:00
...b10010b...
Member # 869
Profile Homepage #5
Since it's not a documented or supported feature, just exploiting a quirk of the way graphics are handled, it won't necessarily work the same way on both platforms. Judging from past experience, if you email Jeff, he's more likely to deliberately take the ability to override default graphics out of the Mac version than put it into the Windows version.

--------------------
The Empire Always Loses: This Time For Sure!
Posts: 9973 | Registered: Saturday, March 30 2002 08:00
Agent
Member # 4506
Profile Homepage #6
quote:
Originally written by Thuryl:

Since it's not a documented or supported feature, just exploiting a quirk of the way graphics are handled, it won't necessarily work the same way on both platforms. Judging from past experience, if you email Jeff, he's more likely to deliberately take the ability to override default graphics out of the Mac version than put it into the Windows version.
Yeah. But if something's only for MAC, or only for WIN, it makes it useless anyway.

Emailed asking how he's doing it in his Ursagi one.

- Archmagi Micael

--------------------
"You dare Trifle with Avernum?" ~ Erika the Archmage
--------------------
My Scenarios:
Undead Valley : A small Undead problem, what could possibly go wrong?
--------------------
Richard Black - PROOF of his existance (the Infernal one's website).
--------------------
MY FORUM! Randomosity at it's highest! :)
Posts: 1370 | Registered: Thursday, June 10 2004 07:00
Off With Their Heads
Member # 4045
Profile Homepage #7
I did this in LP. You just make graphics that have the same ID as the ones you want to over-write, and tell PC users to copy them over into their data files. You can just include it in the .cmg file for Macs and it will work more or less fine.

If you want to look at how I did it, just download Lord Putidus.

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Agent
Member # 4506
Profile Homepage #8
quote:
Originally written by Kelandon:

I did this in LP. You just make graphics that have the same ID as the ones you want to over-write, and tell PC users to copy them over into their data files. You can just include it in the .cmg file for Macs and it will work more or less fine.

If you want to look at how I did it, just download Lord Putidus.

I was wondering wether I would ahve to do that. It's a complete swap of all of the PC pictures. That's a VERY big graphics file size, for a SMALL scenario.

Anyway, Can't say more about what I'm working on, though I have taken a few hints from your Bahssikava cut-scenes (fancy images etc). I'm also using a SDF txt file now, so I don't forget what Flags have been used or not.

- Archmagi Micael

--------------------
"You dare Trifle with Avernum?" ~ Erika the Archmage
--------------------
My Scenarios:
Undead Valley : A small Undead problem, what could possibly go wrong?
--------------------
Richard Black - PROOF of his existance (the Infernal one's website).
--------------------
MY FORUM! Randomosity at it's highest! :)
Posts: 1370 | Registered: Thursday, June 10 2004 07:00
Cartographer
Member # 995
Profile #9
Most PC users will ignore a "do this change which will change everything for every OTHER scenario as well" request, anyway. Unless it's a bugfix, in which case they might do it if they don't expect JV to fix it in a future patch.

For a limited number of monsters/items you can do the import/override trick and set their graphics to your new sheets. But if it's a HUGE change, then I guess you're out of luck.
Posts: 206 | Registered: Thursday, April 18 2002 07:00
Off With Their Heads
Member # 4045
Profile Homepage #10
Obviously you copy your old data files and keep them in a safe place before writing over them. Then you just switch the copies back in after you're done with the scenario.

But granted, not many will actually do this, and it's rarely worth the effort.

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Agent
Member # 4506
Profile Homepage #11
I'm working on The Maze right now, just started the other one for a few hours. Once The Maze is done, I'll work on the other one (A obscure GF one).

- Archmagi Micael

--------------------
"You dare Trifle with Avernum?" ~ Erika the Archmage
--------------------
My Scenarios:
Undead Valley : A small Undead problem, what could possibly go wrong?
--------------------
Richard Black - PROOF of his existance (the Infernal one's website).
--------------------
MY FORUM! Randomosity at it's highest! :)
Posts: 1370 | Registered: Thursday, June 10 2004 07:00