Hey man, it's me again. So i've been messing around with renlou's gang files and gangdata.xml and i've noticed that there are drawable and texture indexes. In renlou's file all those indexes are set to >-1< (which according to him would mean that the textures would be random ) but the thing is that these textures become invisible, so i can only see face and hands on a gang member. Question is, how do i make those textures and drawables appear randomly so all the gang members do not look the same.
Not sure if you're still updating or working on this mod, but it seems that there are invisible textures on gang members. What kind of fixed it was changing texture and drawable indexes from >-1< to >0<, but now all of the pedestrian models have the same clothes so there is no diversity.
@lucasvinbr Thanks man! Did what you told me and now it works perfectly, not sure why it didn't work before since i didn't make any edits but anyways, i'm gonna have so much fun with this mod! :))
Hey man, mod looks cool and all, i really wanna play it, but i can't seem to activate it. I've downloaded latest version of native ui, scripthook, scripthookdotnet and latest version of this mod. Other mods work just fine, i tried deleting other mods just to see if there are any conflicts, but still it doesnt work.
[17:07:11] [DEBUG] Created script domain 'ScriptDomain_4D9927CE' with v2.10.8.
[17:07:11] [DEBUG] Loading scripts from 'C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V\scripts' into script domain 'ScriptDomain_4D9927CE' ...
[17:07:11] [INFO] Loading assembly 'GangAndTurfMod.dll' ...
[17:07:11] [DEBUG] Found 3 script(s) in 'GangAndTurfMod.dll'.
[17:07:11] [INFO] Loading assembly 'NativeUI.dll' ...
[17:07:12] [DEBUG] Found 1 script(s) in 'NativeUI.dll'.
[17:07:12] [DEBUG] Starting 4 script(s) ...
[17:07:12] [DEBUG] Instantiating script 'GTA.GangAndTurfMod.AmbientGangMemberSpawner' in script domain 'ScriptDomain_4D9927CE' ...
[17:07:12] [DEBUG] Started script 'GTA.GangAndTurfMod.AmbientGangMemberSpawner'.
[17:07:12] [DEBUG] Instantiating script 'GTA.GangAndTurfMod.GangWarManager' in script domain 'ScriptDomain_4D9927CE' ...
[17:07:12] [DEBUG] Started script 'GTA.GangAndTurfMod.GangWarManager'.
[17:07:12] [DEBUG] Instantiating script 'GTA.GangAndTurfMod.ModCore' in script domain 'ScriptDomain_4D9927CE' ...
[17:07:12] [ERROR] Failed to instantiate script 'GTA.GangAndTurfMod.ModCore' because constructor threw an exception:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at GTA.GangAndTurfMod.ModOptions.LoadOptions()
at GTA.GangAndTurfMod.ModOptions..ctor()
at GTA.GangAndTurfMod.GangManager..ctor()
at GTA.GangAndTurfMod.ModCore..ctor()
[17:07:12] [DEBUG] Instantiating script 'NativeUI.BigMessageThread' in script domain 'ScriptDomain_4D9927CE' ...
[17:07:12] [DEBUG] Started script 'NativeUI.BigMessageThread'.
[17:07:25] [ERROR] Caught fatal unhandled exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at GTA.GangAndTurfMod.GangManager.GetGangByName(String name)
at GTA.GangAndTurfMod.AmbientGangMemberSpawner.OnTick(Object sender, EventArgs e)
at GTA.Script.raise_Tick(Object value0, EventArgs value1)
at GTA.Script.MainLoop()
Hey man, it's me again. So i've been messing around with renlou's gang files and gangdata.xml and i've noticed that there are drawable and texture indexes. In renlou's file all those indexes are set to >-1< (which according to him would mean that the textures would be random ) but the thing is that these textures become invisible, so i can only see face and hands on a gang member. Question is, how do i make those textures and drawables appear randomly so all the gang members do not look the same.
Not sure if you're still updating or working on this mod, but it seems that there are invisible textures on gang members. What kind of fixed it was changing texture and drawable indexes from >-1< to >0<, but now all of the pedestrian models have the same clothes so there is no diversity.
@lucasvinbr Thanks man! Did what you told me and now it works perfectly, not sure why it didn't work before since i didn't make any edits but anyways, i'm gonna have so much fun with this mod! :))
Hey man, mod looks cool and all, i really wanna play it, but i can't seem to activate it. I've downloaded latest version of native ui, scripthook, scripthookdotnet and latest version of this mod. Other mods work just fine, i tried deleting other mods just to see if there are any conflicts, but still it doesnt work.
[17:07:11] [DEBUG] Created script domain 'ScriptDomain_4D9927CE' with v2.10.8.
[17:07:11] [DEBUG] Loading scripts from 'C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V\scripts' into script domain 'ScriptDomain_4D9927CE' ...
[17:07:11] [INFO] Loading assembly 'GangAndTurfMod.dll' ...
[17:07:11] [DEBUG] Found 3 script(s) in 'GangAndTurfMod.dll'.
[17:07:11] [INFO] Loading assembly 'NativeUI.dll' ...
[17:07:12] [DEBUG] Found 1 script(s) in 'NativeUI.dll'.
[17:07:12] [DEBUG] Starting 4 script(s) ...
[17:07:12] [DEBUG] Instantiating script 'GTA.GangAndTurfMod.AmbientGangMemberSpawner' in script domain 'ScriptDomain_4D9927CE' ...
[17:07:12] [DEBUG] Started script 'GTA.GangAndTurfMod.AmbientGangMemberSpawner'.
[17:07:12] [DEBUG] Instantiating script 'GTA.GangAndTurfMod.GangWarManager' in script domain 'ScriptDomain_4D9927CE' ...
[17:07:12] [DEBUG] Started script 'GTA.GangAndTurfMod.GangWarManager'.
[17:07:12] [DEBUG] Instantiating script 'GTA.GangAndTurfMod.ModCore' in script domain 'ScriptDomain_4D9927CE' ...
[17:07:12] [ERROR] Failed to instantiate script 'GTA.GangAndTurfMod.ModCore' because constructor threw an exception:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at GTA.GangAndTurfMod.ModOptions.LoadOptions()
at GTA.GangAndTurfMod.ModOptions..ctor()
at GTA.GangAndTurfMod.GangManager..ctor()
at GTA.GangAndTurfMod.ModCore..ctor()
[17:07:12] [DEBUG] Instantiating script 'NativeUI.BigMessageThread' in script domain 'ScriptDomain_4D9927CE' ...
[17:07:12] [DEBUG] Started script 'NativeUI.BigMessageThread'.
[17:07:25] [ERROR] Caught fatal unhandled exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at GTA.GangAndTurfMod.GangManager.GetGangByName(String name)
at GTA.GangAndTurfMod.AmbientGangMemberSpawner.OnTick(Object sender, EventArgs e)
at GTA.Script.raise_Tick(Object value0, EventArgs value1)
at GTA.Script.MainLoop()