Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - AcidbRain

Pages: [1]
1
Multi Theft Auto Discussion / Re: New Race Mode.
« on: January 18, 2011, 05:50:58 AM »
What is this new race mode you talk about?

2
Multi Theft Auto Discussion / Re: An update.
« on: December 22, 2010, 06:04:35 AM »
Yes! Death to mtasa.tk!

3
Multi Theft Auto Discussion / Re: Map conversion fixes
« on: December 07, 2010, 05:53:18 AM »
Which converter? the one that the mta devs made or welders converter, i use welders since it does the job much better.
The mta devs one. But there's at least a map that me and asablic spotted that had that conversion bug, I don't remember the map name though.

4
Multi Theft Auto Discussion / Map conversion fixes
« on: December 06, 2010, 01:31:44 PM »
It's a known fact that some maps make the race converter sad, specifically if it contains objects outside the 8192 coordinate limit. To fix it, you need to mass-move the map closer to the origin before the conversion process.

Here are a couple of Wurstfinger's maps that I've managed to fix; if you have other maps that need fixing, just tell me which maps you need, and I'll see if I can pull them from my library.

5
Multi Theft Auto Discussion / Re: Server ghost mode.
« on: November 18, 2010, 06:39:28 AM »
This is actually a cool script, and the one thing I'd change would be the method used to determine the distances between vehicles; you can find an improved method within the race script itself, on util_client.lua:
Code: [Select]
-- Calculate the gap between element bounding spheres
function getGapBetweenElements( elemA, elemB )
if not isElement( elemA ) or not isElement( elemB ) then
return false
end
local x,y,z = getElementPosition( elemA )
local distance = getDistanceBetweenPoints3D( x, y, z, getElementPosition( elemB ) )
distance = distance - ( getElementRadius( elemA ) or 0 )
distance = distance - ( getElementRadius( elemB ) or 0 )
return math.max( 0, distance )
end
This will get you the distance between the outer edges of the vehicles bounding spheres, instead of the distance between their centers. This may improve accuracy when you're dealing with vehicles larger than 5 units -- it's a rare occurence, but it's good to be prepared. ;)

Pages: [1]