Survey |
TDSA Test Race 1 - [Motorcycles]
|
Main Menu |
Home Members options Social Search Web |
Save The World! |
|
Save Australian Internet!
|
Donate to PS |
|
Our Web space isn't cheap, so if you would like us to stay online, you could really help out by donating, hell even a few dollars, pounds, euros, yen, whatever currency, it will really help us out, so if you would like to donate, please, do so by clicking this link...
|
|
|
ForumsPro › PSGN › Multi Theft Auto › Help for adding a custom map in that f****** editor |
|
|
Help for adding a custom map in that f****** editor
[PS] Multi Theft Auto servers.
|
View previous topic :: View next topic
|
|
Author |
Message |
Mark76
Cadet
Joined: Sep 13, 2009
Posts: 3
Location: Le Havre
Karma:
0
|
Post subject: Help for adding a custom map in that f****** editor
Posted: Mon Sep 14, 2009 02:35 PM
|
|
Hey guys !
I'm stuck for importing a custom map/object in mta, especially in the editor. I can render my map only if I start a gamemode in it here a small screen:
Dazzajay advised me to change the dimension of the editor by changing a parameter of 200 to 0 but that's changed anything.. that's weird so I have uploaded my resource with my map if you can test it that would be great
EDIT: Here the map i'm working on for mta
Merci !
Bonne journée
|
Description:
|
lala
|
|
Filename:
|
lala.zip
|
|
Filesize:
|
318.11 KB
|
|
Downloaded:
|
47 Time(s)
|
Last edited by Mark76 on Mon Sep 14, 2009 02:53 PM; edited 1 times in total
|
|
|
Back to top
|
|
 |
Benji
The Build Team Podium Finish
Joined: Jan 02, 2009
Posts: 252
Karma:
+17
|
Post subject: Help for adding a custom map in that f****** editor
Posted: Mon Sep 14, 2009 02:51 PM
|
|
The problem is that when the editor loads a map, it will not run any scripts in the map file. (this is intentional.) The easiest way around it is to split them up - have your map file in a resource (map-lala e.g.) and your custom model + script in another. (lala) Then, in the editor, you would open the map file, THEN start your other resource manually (/start lala) to replace the models.
If you don't want to have to merge them again later on, add an <include recource="lala" /> line to the map resource meta.xml.
_________________ Benji
Last edited by Benji on Mon Sep 14, 2009 02:51 PM; edited 1 times in total
|
|
|
Back to top
|
|
 |
Mark76
Cadet
Joined: Sep 13, 2009
Posts: 3
Location: Le Havre
Karma:
0
|
|
|
Back to top
|
|
 |
scarface
PSGN Team
Joined: Jun 02, 2009
Posts: 105
Location: Mosta,Malta
Karma:
+1
|
|
|
Back to top
|
|
 |
DazzaJay
Site Founder Podium Finish
Joined: Jan 02, 2009
Posts: 839
Location: Shepparton, Victoria, Australia
Karma:
+21
|
Post subject: Help for adding a custom map in that f****** editor
Posted: Mon Sep 14, 2009 08:46 PM
|
|
Do as benji said.
Seperate the custom models into their own script and manually start it.
iil film a quick vid of me manually starting akina in my editor soon.
:::EDIT:::
Ok, this shows how i load my custom map in the editor.
it involves the 2 resource system (One for the objects, one for the map)
you will see i load the map, and then i load the custom objects manually.
files.potholestudios.c...editor.zip
_________________
Some dude on GameFAQs wrote:
Game Consoles are like women, it's what you put in them that makes them fun
For mandatory internet censorship, Australia says NO.
No Clean Feed | Stop Internet Cencorship | Electronic Frontiers Australia | Open Internet
Last edited by DazzaJay on Mon Sep 14, 2009 09:14 PM; edited 2 time in total
|
|
|
Back to top
|
|
 |
Mark76
Cadet
Joined: Sep 13, 2009
Posts: 3
Location: Le Havre
Karma:
0
|
Post subject: Re: Help for adding a custom map in that f****** editor
Posted: Mon Sep 14, 2009 10:37 PM
|
|
It's works!
Wow man I can't believe.. it's just so easy when you understand it ! why I haven't understood it before ! damn...  I think I need a new brain  no seriously thanks for that video, when I saw it I was like  that's just fuck*** easy !
I was searching a week how to do it and finally you helped me a lot in a day, thanks.
Btw you could do a radio show as presenter with that voice LOL
When I will finish my racetrack you will have my persmission to use it on your server in exclusive.
PS: I have another problem when I go too far my map disappear, I need to add a LOD model or change the LOD distance ?
|
|
|
Back to top
|
|
 |
DazzaJay
Site Founder Podium Finish
Joined: Jan 02, 2009
Posts: 839
Location: Shepparton, Victoria, Australia
Karma:
+21
|
Post subject: Help for adding a custom map in that fucking editor
Posted: Mon Sep 14, 2009 11:13 PM
|
|
Yes, you need to do some LOD shit.
wiki.multitheftauto.co...ODDistance
here is a chunk of code from Akina to show how it works.
Code:
engineSetModelLODDistance(7451, 2000)
engineSetModelLODDistance(7452, 2000)
engineSetModelLODDistance(7453, 2000)
engineSetModelLODDistance(7454, 2000)
engineSetModelLODDistance(7455, 2000)
the final 6 lines. set the LOD to "2000" for each of the 6 replaced objects.
it dosent work very well, as the MTA team need to look at it, but that should help it a little.
Also, we dont have a rule against swearing, so theres no need to cencor everything.
_________________
Some dude on GameFAQs wrote:
Game Consoles are like women, it's what you put in them that makes them fun
For mandatory internet censorship, Australia says NO.
No Clean Feed | Stop Internet Cencorship | Electronic Frontiers Australia | Open Internet
Last edited by DazzaJay on Mon Sep 14, 2009 11:17 PM; edited 2 time in total
|
|
|
Back to top
|
|
 |
AcidbRain
Private
Joined: Sep 07, 2009
Posts: 10
Karma:
0
|
Post subject: Re: Help for adding a custom map in that fucking editor
Posted: Wed Sep 16, 2009 01:09 PM
|
|
The wiki states:
wiki.mtasa.com wrote:
the MTA streamer deletes objects that are further than 500 units away, regardless of LOD distance.
Also, GTA currently has the limitation whereby the object will not be displayed if the distance to the object center is more than 300 units.
Since models won't be visible beyond 300 units, what is the effect of using a LOD parameter higher than those limits?
|
|
|
Back to top
|
|
 |
scarface
PSGN Team
Joined: Jun 02, 2009
Posts: 105
Location: Mosta,Malta
Karma:
+1
|
|
|
Back to top
|
|
 |
DazzaJay
Site Founder Podium Finish
Joined: Jan 02, 2009
Posts: 839
Location: Shepparton, Victoria, Australia
Karma:
+21
|
Post subject: Help for adding a custom map in that f****** editor
Posted: Wed Sep 16, 2009 10:10 PM
|
|
Baically, coding the LOD number higher than MTA's limit is done "Just incase" the MTA team increase the distance in some later version.
_________________
Some dude on GameFAQs wrote:
Game Consoles are like women, it's what you put in them that makes them fun
For mandatory internet censorship, Australia says NO.
No Clean Feed | Stop Internet Cencorship | Electronic Frontiers Australia | Open Internet
|
|
|
Back to top
|
|
 |
|
|
|
|
|
|
You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You can vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
|
|
|