Template:BuildingInfo: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "<noinclude>This template is used on Building and related pages. <hr> </noinclude> == Important information about buildings: == * Buildings cannot be created with dynamic object model IDs (like a door that opens when you push it), they are meant to be used for static objects, mainly buildings as the name suggests. For example, [https://dev.prineside.com/en/gtasa_samp_model_id/model/1502-Gen_doorINT04/ object ID 1502 (Gen_doorINT04)] is a dynamic object...")
 
mNo edit summary
Line 1: Line 1:
<noinclude>This template is used on [[Building]] and related pages. <hr>
<noinclude>This template is used on [[Building]] and related pages. <hr></noinclude>
 
</noinclude>
== Important information about [[Building|buildings]]: ==
== Important information about [[Building|buildings]]: ==



Revision as of 10:05, 14 October 2024

This template is used on Building and related pages.


Important information about buildings:

  • Buildings can only be created inside regular GTA:SA Map Boundaries (X between -3000 and 3000; Y between -3000 and 3000). Use createObject to spawn objects outside these normal limits.
  • Created buildings can have LOD models, which is possible using createBuilding to spawn the LOD building, then setLowLODElement to associate it with a non-LOD building element created beforehand. LOD model distance changed with engineSetModelLODDistance affects buildings too.