-
-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mapfixes resource #504
Add mapfixes resource #504
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should make this resource much more customizable.
It would be best if each patch had a separate identifier or name, and could be turned on and off in meta.xml, or even configured if there are multiple available options.
I think that's a bit overkill for this purpose. This should just be a simple map resource that fixes obvious holes for the purposes of the |
What I can think of is having meta.xml settings to enable/disable each patch individually. Wouldn't this be okay? |
Lazy server owners would be able to toggle the patches via the Admin Panel by accessing the resource settings menu. |
I mean that's quite enough, yes. |
Yes sir, if you look closely at the code I used createBuilding and meta.xml has the min version adequately xD |
My bad, sorry. |
Let's get more feedback from the community on how this should work. |
Personally I'd say the highest priority are obvious erroneous differences between singleplayer and mta, such as big smokes crack den or the blown up warehouse in san fierro. However discussion on discord seems to indicate the scope should be much wider and include the more minor issues like missing collision in geometry that could result in accidentally or purposely falling through the map. While I don't see a desperate need for these issues to be addressed, I don't see any problem with taking on the task if enough people are interested in dealing with it. I would however say these should be resolved by fixing the models rather than band-aiding around them. If this resource ends up addressing more than the couple glaring mistakes, I'd say a setting for each fix in the meta.xml is desirable. |
I think if you want this to be of any value it needs to be configurable. Another thing that's worth considering is making multiple alternatives for a single "fix". This also would be done by making them configurable, as you could just disable the wall if you want the interior bit. |
Ok. Solid points. My idea to make it configurable is create several meta.xml settings and listen to changes using the event onSettingChange to reload the patches accordingly. Any better alternatives? |
Did as suggested. Demo video: |
I think the system doesn't need to get more complex than this. Let's keep adding actual map fixes related to spawning/removing objects. We'll sorry about game model modifications later imo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
Added two interiors 'Doherty's garage and 'just business' mission'
@THEGizmoOfficial These are nice map improvements. We can definitely add them to this resource. Obviously they will be toggle-able, but I think they really fit the freeroam gamemode which is the Default MTA Server gamemode. |
Added 2 more original open-world interiors.Here the interior was placed, and the garage ID 22 was opened using // Here the interior was placed and the entrance doors removed. I'm thinking of spawning the doors at the same position, and making them pushable (setting model group to the same as Gen_doorINT04 which the player can push to open). |
If MTA wants to remain lightweight and avoid shipping hundreds of slightly modified original assets, then you'd be better off adding COL/DFF/TXD fixes as a community resource and letting other users contribute. There are hundreds of broken COL models, if not thousands of exploits for access to blue hell, or the insides of buildings. I have, like others, created many fixes for these but they keep becoming more obvious when working with different models. That's only COL issues. There's a lot of DFF issues as well if you take into consideration minor issues like zfighting, prelight, or IPL/mesh offsets that create tiny blue hell gaps in the world. At some point you'd be looking at redistributing a large portion of the original game's files, like a mod pack would. If this is something that's maintained by MTA then it would add quite a lot of file sizing to servers that either have their own fixes already, or just don't really care for non-gamebreaking issues. Whether it's toggled on I imagine it would still be distributed as part of MTA installation. What about file standards? Missing interiors on the other hand, sound reasonable as it's easily kept non-destructive and exclusively code based |
@tut001 Unfortunately you're right, we can't distribute dozens of modified game models with MTA. If we kept going with these model fixes it would eventually never end. I've removed them from the resource, and I'm fine with calling it completed soon & ready for final review. Thanks for your input. Solid points! |
For those still interested in the Model Fixes project, I've made it a separate branch on my fork. |
Main PR post updated. Ready. |
Done @Nico8340 |
and rename some settings + new setting friendly names and descriptions
Added original Big Smoke Crack Palace wall covering the holeThis object is present throughout the entire game except after the last mission where CJ drives through it with a S.W.A.T. vehicle, destroying the wall. The object is set to unbreakable and frozen so it cannot be destroyed, the same as during the entire storyline. The interior added behind was now set as disabled by default. |
Got any more fixes you want to include?
While I wouldn't approve of adding "dozens" of models, perhaps we can consider a small number of collision fixes for the most glaring issues? Do we want to make this a |
Not for now.
I believe the game model fixes can be a separate resource that I'm working on a separate branch on my fork (
I think we do! These map modifications are perfectly compatible with the freeroam gamemode. Otherwise, it becomes just another forgotten resource if not made default. |
I tested and reviewed the resource, but I think we should approach it in a different direction. I don't think it should contain models, but it could contain some small collision fixes. |
@Nico8340 Feel free to suggest the collision fixes you think we can include in this resource. |
Exactly |
Ok. @ community Please state the most important collision fixes and similar that should be fixed, to get this PR to a ready state. |
At this point I think this is ready to merge. If anyone wants to add collision fixes they can follow up in a later PR. If there are no objections I'm just gonna send it this weekend. |
Yep |
This is intended to patch some flaws in the default MTA world, caused by missing objects that would usually be loaded in the singleplayer game.
Contributors to this mini-project:
List of map fixes
Objects were spawned using the exact positions provided in the game's IPL files.