Balthagor wrote: ↑Oct 12 2018
Sorry, like I said, we don't mind users digging in the UI files, but this is an area we won't be able to support.
maybe not an editor , but maybe a little documentation of the more obscure commands
like obUdefxc and obFlags
here my question - maybe it is very easy to answer for you (but iam at total loss)
i managed to get fixed data for resources working (see screenshot) with setting obUdefxc to 0,0,0,0 and using obUdef from 0 to 11 for the resources , i even managed to get the right icon and resource name with that, but unfortunately it does not work the same with the AI-minister-lock, only
here the code i used for the lock for the timber resource - but it only locks agriculture - is that maybe defined by the obAction&obData entries?
Code: Select all
&&HAPOB 6,
obName ,
obSysuse 83,
obFlags 0x200001,
obState 0x0,
obStyle 0,
obUdef 2,
obUdefxc 0, 0, 0, 0,
obAction 1749,
obData 1749,
obDatafmt 0,
ToolTip "Minister Allowed Product Controls",
ToolTipSel "Minister Locked from Product Controls",
ToolTipGrid ,
obRect 170, 0, 200, 30,
obSyspar 81,
hapname "MOD_41RESDATA",
obUdefxp ,
bitmapstyles 26, 0,
currframe 0,
Thank you very much for any hint!