Stop Peds from using roof down on convertible

GTA:V Modding with ZModeler3 discussion.
Post Reply
rieljames
Posts: 10
Joined: Tue Nov 11, 2008 8:11 pm
Location: tagum, PH
Contact:

Stop Peds from using roof down on convertible

Post by rieljames »

Good day!

I am making a bus/coach mod and added an animation to open the luggage compartment by pressing H. This is mainly used by convertible vehicles roof animation. I was successful and it works in game. However, the vehicle I replaced (bus or coach),some drives around with the compartment open. I know this is because they think that it's the roof.

Is their a way to disable this and only I can toggle the animation? I tried using FLAG_HAS_NO_ROOF and it works but it rains inside the vehicle lol.

Any help is greatly appreciated :D

Image
User avatar
Oleg
Site Admin
Posts: 14904
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Stop Peds from using roof down on convertible

Post by Oleg »

hmm.. may be you should pick the animation for a different type in game? for example, make your mod on towing truck and bind animation to another in-game task? just a thought.
rieljames
Posts: 10
Joined: Tue Nov 11, 2008 8:11 pm
Location: tagum, PH
Contact:

Re: Stop Peds from using roof down on convertible

Post by rieljames »

Thanks for the response Oleg! :D

the towing truck doesn't use any animation. i already gave up on the idea heheh.

Anyway, can you help me with another thing instead?

for some reason, I can't get the reflection to work on the new mod im creating.

Both mod uses the same shader but the white bus doesn't have any reflection at all compared to the red one. I even imported teh red bus and had it use the same shader used by the white one and it has nice reflections visible.

Any ideas why?

Image
User avatar
Oleg
Site Admin
Posts: 14904
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Stop Peds from using roof down on convertible

Post by Oleg »

Reflection is generally controlled by specmap texture. grab a specmap texture from red bus and use it on the white one, to test whether this has an effect or not.
rieljames
Posts: 10
Joined: Tue Nov 11, 2008 8:11 pm
Location: tagum, PH
Contact:

Re: Stop Peds from using roof down on convertible

Post by rieljames »

the specmap texture is the same vehicle_generic_smallspecmap. i imported the red bus and applied the same exact material i used on the white bus and it worked. so there's no issue with the material. it's weird.
User avatar
Oleg
Site Admin
Posts: 14904
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Stop Peds from using roof down on convertible

Post by Oleg »

the issue is either in material configuration or in textures you are using. mix materials/textures and keep testing variations. this is the only way to find what exactly is wrong.
rieljames
Posts: 10
Joined: Tue Nov 11, 2008 8:11 pm
Location: tagum, PH
Contact:

Re: Stop Peds from using roof down on convertible

Post by rieljames »

turns out the reflection doesn't work if i replace "coach". The default coach/dashound doesn't have any reflections. maybe it's a hardcoded thing idk. the carvariations file doesnt do anything if i modify it.

anyway, thaanks Oleg! i think it's already out of zmodeler of support. :D
User avatar
Oleg
Site Admin
Posts: 14904
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Stop Peds from using roof down on convertible

Post by Oleg »

search the vehicle's metadata file for something like "light probe" settings.
Post Reply