Welcome, Guest. Please login or register.
Did you miss your activation email?
December 13, 2017, 05:16:45 AM

Author Topic: Samp 0.3.8 news  (Read 112 times)

Aleksa_Ristanovich

  • ETF-Moderator
  • Regular
  • *
  • Posts: 405
  • Ingame: Aleksa
Samp 0.3.8 news
« on: November 04, 2017, 06:10:11 PM »
Quote from: Kalcor

SA-MP 0.3.8 RC

The 0.3.8 version of SA-MP will feature server-side custom models. Right now custom objects and custom player skins are supported, with more types planned for the future. Since this feature potentially has a large scope for some servers, 0.3.8 is being placed in to RC early. This gives server owners plenty of time to plan. These new features will take some time to formalise, so be please be patient with the release.

Although there are several new security features related to custom models, these are not yet enabled in the current build. Only use the RC version with people you trust as there could be unknown security flaws in GTA:SA's model formats.

How custom models work in SA-MP

Custom models are stored with the SA-MP server, usually in the 'models' folder. When a player connects, they are given a list of all models used by the server. Players will download models as required and store them by CRC in a 'cache' folder. Every server the player connects to has a seperate model cache. The local cache is located under: Documents\GTA San Andreas User Files\SAMP\cache followed by the server's IP.Port.

For custom player skins, the player will download all of these at the start of the game, since the game can't be paused to load skins. For objects attached to the player like accessories, these must be downloaded at the start also. For world objects, these will be downloaded depending what virtual world they are in. That means it's possible to have custom worlds that the player would not have to download until they entered the virtual world.

Model format

The skin format is the same as the game's normal format. Object models require a collision attached to the dff, and this collision has to be attached using the kdff tool.

The main modeling tools for GTA:SA are written for 3dsmax, although there are some other tools available for blender. I have made a short blender export tutorial available here.

Defining custom models in the artconfig.txt file

Custom models are currently defined in the server's artconfig.txt file. The line AddCharModel is used to add a new player model, and AddSimpleModel is used to define a custom object, which includes both world objects and objects that will be attached to players as accessories.



Other fixes since 0.3.7

- The radar outline should now scale properly in widescreen resolutions.
- A bug introduced to PlayerPlaySound with sound ID 0 should be fixed.
- Actors should now be able to rotate again.

Downloads:

0.3.8 RC1 Client
SA-MP 0.3.8 RC1 Client Installer

0.3.8 RC1 Server
SA-MP 0.3.8 RC1 Windows Server


-says SAMP Developer Kalcor ^^(to see this on official samp forum click here)
Cheater?Pod mac bato !
Cheater?Under the sword bro !(Cheater will be killed by sword)

n0dai

  • Server Operator (Level 3)
  • Regular
  • *
  • Posts: 404
  • Ingame: n0dai
Re: Samp 0.3.8 news
« Reply #1 on: November 04, 2017, 07:58:37 PM »
Quote from: Kalcor
The 0.3.8 version of SA-MP will feature server-side custom models.
<3.