Jump to content

dopeboi

Members
  • Posts

    8
  • Joined

  • Last visited

dopeboi's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. Alright got it all working now but there is a bug it seems. Alot of models are still not removed until you enter and exit the model viewer. This happens both on server and alone in editor. What's up with that? So without doing this, normal players might still be seeing alot of models for some reason. The script does remove 70% of the visible models / textures but only once you open and close the model viewer, the script only THEN does what it should and everything is cleared. Can someone please confirm this or help find out whats causing this? Thanks for all the help so far!
  2. Other experienced map editors on mta irc told me I could probably be safe with 100 - 150 models. Not 8. Problem I'm having now is this script is removing even my custom & all models from my map. How can I edit this function to remove most of the game models but leave like 200 left for me to use for custom models? There are 18634 models total in my model browser in my map editor.
  3. What? Really? I would think combining that many models would cause a crash. You certainly can't do that in other game engines. I'll be having like a whole city worth of models. Do you really combine them all? Or are you exaggerating? How many custom models exactly can you use before its unstable?
  4. Update: Okay the following script works there was a pastebin copy paste 1 character problem. Ok well I have the script running on my server through deathmatch mode. Although there are still a bunch of models still visible around the map. This is the script: function removeObjects () for i = 550, 20000 do removeWorldModel ( i, 10000, 0, 0, 0 ) end end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), removeObjects ) I put that in C:\Program Files (x86)\MTA San Andreas 1.3\server\mods\deathmatch\resources\[gamemodes]\[deathmatch]\deathmatch.zip inside a new file called removedefault.lua Then I opened the meta.xml in the deathmatch.zip resource and added rite under Finally I set the gamemode to deathmatch and most things disappear when map loads Now if only I can figure how to completely remove every single default model
  5. Another question- this function will only remove all default models at runtime when the server is started and not while using the map editor correct? So you will have to start building the new map a few stories above the default city in the editor since everything is still there? And everything thats custom won't be removed since my imported models id's are higher numbers?
  6. Haha thanks for the proper code. I plan to import all my custom models from 3dsmax, I have a big city already made that was being used in another game engine. I want to make a completely new map with all custom models. I mean this should be possible with multiplayer pretty easily with that function right? And not only that, you can use google 3d warehouse, or rip models from other games to use. You could put like a world of warcraft forest if you wanted already made and change the models around a bit.
  7. Yeah but with that function don't you have to get the ID of each and every single model as well as its texture and that will take like hundreds of lines and alot of time to delete every single model? Or is there a way to use that function in an easier way to delete every default model at once? Someone experimented and tried this on his server: for i=1,100000 do removeWorldModel(i,10000,0,0,0) And most of the world disappeared. Am I on the right track with that? Or can someone give me a better example, there has to be an easier way to remove every default model at once easily
  8. Hello I was wondering if there is an easier way to remove all the default sa city models in a multiplayer MTA map? There was an old tool called a "map cleaner" but no longer works. So far it seems the only way is to find the ID of each object and its texture and add a line to a script to delete each one. Oh my god is that going to take me forever. I'm trying to make a completely new city with custom assets I made in 3dsmax & zbrush but I wish there was an easier way start with a blank map. I mean, I understand adding a feature to remove default models within the map editor may be added eventually, but I just want to remove EVERYTHING. All models and textures except for characters animations & vehicles. Wouldn't that be easier to do?
×
×
  • Create New...