07.04.2019, 18:22
Quote:
If you put the object in server files, you need to use a base ID of 19466 (mall window ID), which makes the transparency fixed.
|
But... I have this problem.
I'm loading the model from individual folders, as Kalcor did with vc/lv, the problem with this is that the transparency 'effect' only works for me if the model is inside the "models" folder, and not within a subfolder , why?
Example:
Screenshot 1 - Folder path.
Screenshot 2 - Not trasparency.(Subfolder path)
Screenshot 3 - Transparency (Folder models)
Method of Kalcor:
Code:
AddAllMODSRPSimpleObject(flags,newmodelid,dffpath[],txdpath[]) { AddSimpleModel(zhmodels_vworld,FindModelIDForFlags(flags),newmodelid,dffpath,txdpath); } AddAll_MEMODS() { AddAllMODSRPSimpleObject(19466, -1022, "Modelskrit/Recimari/Recipmaria.dff","Modelskrit/Onetxd/grasshouse.txd"); }
Code:
AddSimpleModel(-1,19466, -1022, "Recipmaria.dff", "grasshouse.txd");