Search the Community
Showing results for tags '3d objects'.
Found 1 result
-
Hello all, I am creating a 3D object that involves a laptop. Similar to @killzone_kid 's example. I have got the laptop setup just fine but I am looking for information on "class Areas"(assuming this is what I need) but can't find anything useful on the Wiki. Seems to be lacking valuable information or maybe I am just blind heh. https://community.bistudio.com/wiki/DialogControls-Objects What I am trying to do is add things inside the laptop screen. Normal UI elements like RscText, RscPicture, etc... Here is what I have so far (very basic): class dlg_laptop { idd = 12345; movingEnable = 0; onLoad = "uiNamespace setVariable [""disp_laptop"", param [0]];"; onUnload = "uiNamespace setVariable [""disp_laptop"", nil];"; class objects { class laptop { idc = 100; type = CT_OBJECT_CONTAINER; x = 0.25 * safezoneW + safezoneX; y = 0.16 * safezoneH + safezoneY; w = 0.5 * safezoneW; h = 0.68 * safezoneH; z = 0.2; xBack = 0.5; yBack = 0.5; zBack = 1.2; inBack = 9; scale = 3; direction[] = {0, -0.35, -0.65}; up[] = {0, 0.65, -0.35}; enableZoom = 1; zoomDuration = 0.001; model = "\A3\Structures_F\Items\Electronics\Laptop_unfolded_F.p3d"; }; }; }; Any help would be great. Thanks!
- 4 replies
-
- 1
-
- 3d objects
- dialog
-
(and 1 more)
Tagged with: