-
Posts
70 -
Joined
-
Last visited
Essle's Achievements
Transformer (11/54)
16
Reputation
-
UndR reacted to a post in a topic:
[REL] Forest generator
-
Essle changed their profile photo
-
Gaimo reacted to a post in a topic:
[SHOW] PZEditor (Mapping editor)
-
lucas barcelos reacted to a post in a topic:
[REL] Forest generator
-
itHyperoX reacted to a post in a topic:
[SHOW] PZEditor (Mapping editor)
-
Key J is already used for inventory open. IP adress? What do you mean?
-
Hello. What are methods of optimization with a large count of objects on server? Are there streamers?
-
I'll do it. What key use for inventory with AZERTY keyboard? After update 3.0.1 inventory is fixed
-
New inventory Radio-towers
-
Zorgman reacted to a post in a topic:
[ SURVIVAL SIMULATOR ] PROJECT ZERO × RU/EN
-
(I apologize for my bad english) I present is a completely new MTA project with a survival mode in world full of zombies. Server is created from scratch and has many unique systems. Creation and up-level of bases, raids on bases of other players. Hunting, fishing and growing vegetables for food. Attacks on camps and military bases, captured by bandits. Craft of various items and much more... New mapping: IP #1 SERVER - 176.32.36.145:22003 IP #2 SERVER - 176.32.37.43:22003 YouTube - https://www.youtube.com/channel/UCbKSMM9yIFhM1cMQvhIEUHA VK - https://vk.com/mta.zombie
-
AriosJentu reacted to a post in a topic:
[REL] Forest generator
-
Essle reacted to a post in a topic:
[Rel] Lunix Phone Green [SmartPhone]
-
K1parik reacted to a post in a topic:
[SHOW] PZEditor (Mapping editor)
-
Here frequency is the distance between trees. That is, the smaller frequency, the more objects. Default frequency - 40.0, up to 20.0 it is possible to lower.
-
More than 50% does not continue? Show script logs.
-
Zorgman reacted to a post in a topic:
[REL] Forest generator
-
Forest generator 1.0.0 ---------------------------------------------------------- ---------------------------------------------------------- Use /forestgen <frency> (frequency is distance between trees) ---------------------------------------------------------- Settings fg_client.lua / generatorData - Generation settings fg_server.lua / treesList - Object settings Forest exported to .map file in root directory of script ---------------------------------------------------------- Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=14680
-
First need to finish it. Then I'll think about public release.
-
Zorgman reacted to a post in a topic:
[SHOW] PZEditor (Mapping editor)
-
Tails reacted to a post in a topic:
[SHOW] PZEditor (Mapping editor)
-
Hello. I'm present a new mapping editor (beta). Developed for Project Zero.
-
On tests you will not even notice difference.
-
This function is needed to convert .map to .ipl In all converters rotation is not calculated correctly. But this function works perfectly. Example local file = File.new("map-test.ipl") file:write("inst\n") for _, theSubject in ipairs(Element.getAllByType("object")) do local rX, rY, rZ = getElementRotation(theSubject, "ZXY") local rW = 0 rX, rY, rZ, rW = math.quaternion(rX, rY, rZ) file:write( theSubject.model..", "..engineGetModelNameFromID(theSubject.model)..", 0, ".. theSubject.position.x..", "..theSubject.position.y..", "..theSubject.position.z..", ".. rX..", "..rY..", "..rZ..", "..rW..", -1\n" ) end file:write("end") file:flush() file:close()
-
Function to translate angles of Euler into quaternions. Arguments: RotX, RotY, RotZ Return: RotX, RotY, RotZ, RotW function math.quaternion(x, y, z) local c = { math.cos(math.rad(-x)), math.cos(math.rad(-y)), math.cos(math.rad(z)) } local s = { math.sin(math.rad(-x)), math.sin(math.rad(-y)), math.sin(math.rad(z)) } local t = { c[2] * c[3], s[1] * s[2] * s[3] + c[1] * c[3], c[1] * c[2] } return math.drt(1.0 + t[1] - t[2] - t[3], (c[3] * s[1] - c[1] * s[2] * s[3]) - (-s[1] * c[2])), math.drt(1.0 - t[1] + t[2] - t[3], s[2] + (c[1] * s[2] * c[3] + s[1] * s[3])), math.drt(1.0 - t[1] - t[2] + t[3], (s[1] * s[2] * c[3] - c[1] * s[3]) - (c[2] * s[3])), math.drt(1.0 + t[1] + t[2] + t[3]) end function math.drt(a, b) a = math.sqrt(math.max(0.0, a)) * 0.5 return (b and ((b < 0) and -math.abs(a) or math.abs(a)) or a) end
