A4 Item Script
Author | Topic: A4 Item Script |
---|---|
Lifecrafter
Member # 6403
|
written Sunday, March 5 2006 05:50
Profile
Whenever I switch the item number of a gold ring and any other item, (graymold in this case, I wanted to finish the damn quest,) all rings turn into floor tiles. When I switched them back, or used a different item, it worked fine. I looked through the script looking for any possible errors, and after some reading through, concluded that what I did with the gold ring was not in any way different with what I did with the stick. (switching the 'begindefineitem' numbers.) -------------------- ??? ?????? ???? ????? Posts: 883 | Registered: Wednesday, October 19 2005 07:00 |
Raven v. Writing Desk
Member # 261
|
written Sunday, March 5 2006 07:33
Profile
Homepage
In those scripts, objects that are defined get the characteristics that are given to them after begindefineitem (such as "it_stats_to_affect_0 = 0" or whatever), but they ALSO inherit the characteristics of another item. If "import = x" is used, they inherit the characteristics of x (overwriting any characteristics that the item has already been given). If no import line is there, they inherit the characteristics of the previous item in the file. All rings (except for item 171, the platinum ring) import item 170, the gold ring (or another ring which itself imports the gold ring). (You might say the plain gold ring is the master ring...) If item 170 is no longer the gold ring, they no longer important the characteristics that make them rings! This is why editing the script files is not safe if you aren't extremely careful. -------------------- Slarty vs. Desk • Desk vs. Slarty • Timeline of Ermarian • G4 Strategy Central Posts: 3560 | Registered: Wednesday, November 7 2001 08:00 |
Lifecrafter
Member # 6403
|
written Sunday, March 5 2006 07:48
Profile
I forgot about that, it seems so simple now that you pointed it out, and yes, I do have experience reading and writing spiderwebcode. That still doesn't change why they turned into floor tiles though. -------------------- ??? ?????? ???? ????? Posts: 883 | Registered: Wednesday, October 19 2005 07:00 |
Triad Mage
Member # 7
|
written Sunday, March 5 2006 08:29
Profile
Homepage
It's a graphics issue. The floor tile (I'm assuming you're getting green grass) is the default item graphic. -------------------- "At times discretion should be thrown aside, and with the foolish we should play the fool." - Menander ==== Drakefyre's Demesne - Happy Happy Joy Joy Encyclopedia Ermariana - Trapped in the Closet ==== You can take my Mac when you pry my cold, dead fingers off the mouse! Posts: 9436 | Registered: Wednesday, September 19 2001 07:00 |
Lifecrafter
Member # 6403
|
written Sunday, March 5 2006 10:09
Profile
Can somebody please explain this? quote:No, it's not green grass, I'm getting different types of cave floor. -------------------- ??? ?????? ???? ????? Posts: 883 | Registered: Wednesday, October 19 2005 07:00 |
Councilor
Member # 6600
|
written Sunday, March 5 2006 10:21
Profile
Homepage
Did it appear while trying to post? I think I got something similar once, but I can't be sure. Dikiyoba. Posts: 4346 | Registered: Friday, December 23 2005 08:00 |
...b10010b...
Member # 869
|
written Sunday, March 5 2006 11:50
Profile
Homepage
That error usually means the forums' server is overloaded. Try again later. -------------------- The Empire Always Loses: This Time For Sure! Posts: 9973 | Registered: Saturday, March 30 2002 08:00 |