You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changed the title [-]engineRequestModel("vehicle") doesn't work with utiliy vehicles[/-][+]engineRequestModel("vehicle") doesn't load default GTA scripts[/+]on Nov 22, 2020
#1701 explicitly states that this kind of behaviours do not work:
Does not work:
Сhassis
Turrets
ZR-350 opening headlights
Rhino, Hydra, Skimmer, Seasparrow
Some specific effects like a dust effect from some helicopters, smoke effects from bikes.
Another hardcoded stuff
I guess this is caused because somewhere in GTA code they are limited to a specific vehicle ID. If that's the case, for these to work, the affected methods would need to be patched.
Bumping this. A lot of people have messaged me in regards to my resource newmodels saying that added vehicles can't have features like attaching trailers, having water hose etc... It's a popular demand
Activity
[-]engineRequestModel("vehicle") doesn't work with utiliy vehicles[/-][+]engineRequestModel("vehicle") doesn't load default GTA scripts[/+]AlexTMjugador commentedon Nov 23, 2020
#1701 explicitly states that this kind of behaviours do not work:
I guess this is caused because somewhere in GTA code they are limited to a specific vehicle ID. If that's the case, for these to work, the affected methods would need to be patched.
qaisjp commentedon Nov 23, 2020
The wiki should be updated to include this information. That article is also missing correct versioning usage
Xenius97 commentedon Nov 27, 2020
Trains doesn't work too.
Fernando-A-Rocha commentedon Oct 24, 2021
🤔 Is it possible to fix this at this stage?
Pirulax commentedon Nov 11, 2021
Would require to patch tons of code, so no, not really.
Special features are hard coded based on modelID.
TheNormalnij commentedon Nov 11, 2021
I think it's still hackable. When i added vehicle allocation i thought about a
setVehicleModelFeatureState
functionlopezloo commentedon Mar 9, 2023
I think it could be implemented like that:
mtasa-blue/Client/multiplayer_sa/CMultiplayerSA.cpp
Lines 5755 to 5794 in eedbdc5
Hooking in place of these ID checks and calling vehicle entity method to check if specific feature is enabled for specific vehicle element.
So MTA API might look like this:
In some places there might be no vehicle entity available though in theory. It would be great to document all the missing features.
Fernando-A-Rocha commentedon Sep 8, 2023
Bumping this. A lot of people have messaged me in regards to my resource newmodels saying that added vehicles can't have features like attaching trailers, having water hose etc... It's a popular demand
8 remaining items