[object]Unity station

Started by SA:MP, Aug 08, 2023, 07:46 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

SA:MP

[object]Unity station

An old unity station object fully re-meshed and re-textured. Also added interior.

(this is my first Blender model for SA-MP)



Mod contains of two objects: main building and ground part.



Known issues: a bullet collision in some invisible places above the station.









RemoveObject and CreateObject


Code:

RemoveBuildingForPlayer(playerid, 4961, 1745.2031, -1882.8516, 26.1406, 0.25);
RemoveBuildingForPlayer(playerid, 5033, 1745.2031, -1882.8516, 26.1406, 0.25);
RemoveBuildingForPlayer(playerid, 5055, 1745.2031, -1882.8516, 26.1406, 0.25);
RemoveBuildingForPlayer(playerid, 4821, 1745.2031, -1882.8516, 26.1406, 0.25);

AddSimpleModel(-1,5033,CHANGE_TO_YOUR_ID,"unity_open.dff","union_las.txd");//unity art object
CreateObject(CHANGE_TO_YOUR_ID, 1745.2031, -1882.8516, 26.1406, 0.0000, 0.0000, 0.0000);//unity station building

AddSimpleModel(-1,5055,CHANGE_TO_YOUR_ID,"unity_open_land.dff","union_las.txd");//unity land art object
CreateObject(CHANGE_TO_YOUR_ID, 1745.2031, -1882.8516, 26.1406, 0.0000, 0.0000, 0.0000);//unity station land


Source: [object]Unity station