tacos-private-room / MTA-Stream

MTA-SA Custom map streamer improved version

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MTA Stream Improved

Credit

  • BluePie 'Aka Blue' for the insites reguarding Async
  • CodyJ for the original work
  • Nurupo for the enhancement

Features

  • Support LODs, you can use it from original mod
  • Drawdistance has correcly fixed
  • No more random white texture issue
  • Has correcly build in parser to deal with IDE flags
  • Has ability to switch object creation mode, client side or server side
  • Even faster map load speed
  • Has ability to toogle on or off multible map by name
  • Support MTA 1.5.9 new feature, request object (only avaiable in client side mode).

How do you use it?

  • Download MTA Stream master
  • Extract the folder [MTA-Stream] into your MTA resources
  • Add the resource streamer to the admin group in your acl.xml
  • Start streamer then any maps or resource that use the MTA-Stream functionality.

File Formatting

JSD - (MTA-Stream-Defintions)

ID(Nick Name) ,dff file name ,txd file name ,col file name ,drawdistance(170-300) ,Flag,Backface culling(boolean) ,LOD (LOD Model Name or nil for no lod)

Example

treepatch12_sub,treepatch12_sub,sub_trees,treepatch12_sub,299,4,true,sublandpart22e

JSP - (MTA-Stream-Placement)

Line 1

X-Offset,Y-Offset,Z-Offset - World offset

Other Lines

ID(Nick Name) ,Interior ID ,Dimension ID,x Position,y Position,z Position,x Rotation,y Rotation,z Rotation,OBJ Type

  • OBJ for normal object
  • SA_PROP force using sa object without replacing, this can fix the issue on some breakble obj e.g. lampost.
  • LOD lods

Example

gados_p3a,0,-1,2060,1376,17,0,0,90,OBJ

Folder Structure

/Root

└── your-map-name/
    ├── Content - all your map model resources in here/
    │   ├── coll - stores all cols
    │   ├── models - stores all dffs
    │   └── textures - stores all txds
    ├── Loaders/
    │   ├── JSPLoader.lua - map placement loader script
    │   └── JSDLoader.lua - map definition loader script
    ├── Settings/
    │   └── CWaterData.lua - water data
    ├── gta3.JSD - map definition file
    ├── gta3.JSP - map placement file
    └── meta.xml - resources meta file

/Content

col (COL dictonary)

object.col - Contains the collision files

models (DFF dictonary)

object.dff - Contains the model files

textures (TXD dictonary)

object.txd - Contains the texture files

Want to help support development? Buy me a Pepsi

Donate

About

MTA-SA Custom map streamer improved version


Languages

Language:Lua 100.0%Language:HLSL 0.0%