Custom Items/Graphix... Oui.

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: Custom Items/Graphix... Oui.
Apprentice
Member # 4292
Profile #0
It's my first scenario and I'm making a couple of custom items (handgun and ammo– for what reason I don't know) and I'm utterly clueless about how the damn thing can read the graphics correctly. And I'm still wondering about what the icon adjustment is. (it_icon_adjust = ???) Any help would be appreciated.

--------------------
Where's my uzi?
-Couch
Posts: 32 | Registered: Thursday, April 22 2004 07:00
Apprentice
Member # 4292
Profile #1
Oh yeah, and I'll need to make a new missile animation... A gun shooting arrows just don't cut it.

--------------------
Where's my uzi?
-Couch
Posts: 32 | Registered: Thursday, April 22 2004 07:00
Apprentice
Member # 4292
Profile #2
Nevermind, I found an adequate missile graphic. Still working on what the icon adjustment is though. (it_icon_adjust = wtf?)

--------------------
Where's my uzi?
-Couch
Posts: 32 | Registered: Thursday, April 22 2004 07:00
Warrior
Member # 720
Profile #3
"it_icon_adjust" is how you want the game (BoA) to interpret the graphic that you choose. If you played the sample scenarios, you saw some color variants of some different graphics, or they were darker, lighter, tinted, inverted, color-swapped, etc (or a combination of a couple). That's what that it is. It just doesn't show up in the editor unless you also use "it_ed_icon_adjust". If it is not called or left at -1 I believe that no adjustment is made. (Similar calls are "cr_icon_adjust", "fl_icon_adjust", and "te_icon_adjust".)

(This information is dependant on whether I have read the instructions correctly.)

[ Tuesday, April 27, 2004 05:55: Message edited by: Daravon ]

--------------------
-Daravon
Posts: 104 | Registered: Friday, March 8 2002 08:00
Off With Their Heads
Member # 4045
Profile Homepage #4
Icon adjustment is, btw, really unpredictable. The only way to know what is happening is to make the thing, put it in a scenario's custom object script, go into the editor and place the object, and enter the scenario and see it.

For an example, do that with this code:

begindefinecreature 247;
import = 35;
cr_name = "Blue slith warrior";
cr_icon_adjust = 1;

begindefinecreature 248;
import = 35;
cr_name = "Red slith warrior";
cr_icon_adjust = 128;

begindefinecreature 249;
import = 35;
cr_name = "Slith ghost warrior";
cr_icon_adjust = 64;

You'll get some idea of the power of icon adjustment.

EDIT: I hadn't tried it_ed_icon_adjust or any of its siblings, though, because somehow I neglected to notice that they exist. My suspicion is that this will give some idea of what it looks like, but not always a great one.

EDIT 2: Also, Couch, don't triple-post. Edit instead.

[ Tuesday, April 27, 2004 11:08: Message edited by: Kelandon ]

--------------------
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
Shock Trooper
Member # 4180
Profile #5
quote:
Originally written by Kelandon:

EDIT: I hadn't tried it_ed_icon_adjust or any of its siblings, though, because somehow I neglected to notice that they exist. My suspicion is that this will give some idea of what it looks like, but not always a great one.
Actually, the only ones (that I see anyway) that exist are fl_ed_icon_adjust and te_ed_icon_adjust (floors and terrains). Presumably, that's because those are used on the mini-map. But for items and creatures, looks like we're stuck with only seeing what it looks like in game.

--------------------
-spyderbytes
Posts: 200 | Registered: Wednesday, March 31 2004 08:00