Blockland Forums > General Discussion
Default blockland brick icon creating commands?
Ipquarx:
Whoops, I meant /doItemIcon first, then /doicon uiname.
Plexious:
/doIcon gives console errors and doesn't work correctly.
--- Code: ---Object 'BrickBankData' is not a member of the 'GameBaseData' data block class
base/server/scripts/allGameScripts.cs (20432): Unable to find object: '0' attempting to call function 'onRemove'
BackTrace: ->serverCmdDoIcon->[CRP]fxDTSBrick::onRemove->[Props]fxDTSBrick::onRemove->fxDTSBrick::onRemove
base/server/scripts/allGameScripts.cs (7564): Register object failed for object (null) of class fxDTSBrick.
Set::add: Object "0" doesn't exist
base/server/scripts/allGameScripts.cs (7566): Unable to find object: '0' attempting to call function 'setTransform'
BackTrace: ->serverCmdDoIcon
base/server/scripts/allGameScripts.cs (7583): Unable to find object: '0' attempting to call function 'getClassName'
BackTrace: ->doIconScreenshot
Failed to open file 'iconShots/ERROR.png'.
--- End code ---
Seems to only work with default bricks and doesn't work with bricks with a space in their uiname.
Zaxx:
Where do you think the iconshots folder is? Not in add-ons or screenshots to me.
Plexious:
--- Quote from: Zaxx on August 23, 2012, 12:01:13 AM ---Where do you think the iconshots folder is? Not in add-ons or screenshots to me.
--- End quote ---
It's supposed to be in the Blockland folder. Creating a folder named "iconShots" in the Blockland folder will fix some problems.
Port:
--- Quote from: Plexious on August 23, 2012, 07:08:43 AM ---It's supposed to be in the Blockland folder. Creating a folder named "iconShots" in the Blockland folder will fix some problems.
--- End quote ---
Not if it isn't in the mod paths.
setModPaths( getModPaths() @ ";iconShots" );