• Maskless Metropolice NPC
    8 replies, posted
Hi I wanted to make a maskless combine metropolice npc. I'm new to lua, but I can code quite well, and so far all my scripts work, but I have a problem. The faces of the npc keep getting fucked up, why? Sorry for my bad grammar I am learning English.
Posting your code would help..
local Category = "Humans + Resistance" local NPC = { Name = "Metro-maskless 01", Class = "npc_citizen", Model = "models/Purvis/male_01_metrocop.mdl", Health = "100", KeyValues = { citizentype = 4 }, Category = Category } list.Set( "NPC", "npc_metro_maskless1", NPC ) local NPC = { Name = "Metro-maskless 02", Class = "npc_citizen", Model = "models/Purvis/male_02_metrocop.mdl", Health = "100", KeyValues = { citizentype = 4 }, Category = Category } list.Set( "NPC", "npc_metro_maskless2", NPC ) local NPC = { Name = "Metro-maskless 03", Class = "npc_citizen", Model = "models/Purvis/male_03_metrocop.mdl", Health = "100", KeyValues = { citizentype = 4 }, Category = Category } list.Set( "NPC", "npc_metro_maskless3", NPC ) local NPC = { Name = "Metro-maskless 04", Class = "npc_citizen", Model = "models/Purvis/male_04_metrocop.mdl", Health = "100", KeyValues = { citizentype = 4 }, Category = Category } list.Set( "NPC", "npc_metro_maskless4", NPC ) local NPC = { Name = "Metro-maskless 05", Class = "npc_citizen", Model = "models/Purvis/male_05_metrocop.mdl", Health = "100", KeyValues = { citizentype = 4 }, Category = Category } list.Set( "NPC", "npc_metro_maskless5", NPC ) local NPC = { Name = "Metro-maskless 06", Class = "npc_citizen", Model = "models/Purvis/male_06_metrocop.mdl", Health = "100", KeyValues = { citizentype = 4 }, Category = Category } list.Set( "NPC", "npc_metro_maskless6", NPC ) local Category = "Humans + Resistance" local NPC = { Name = "Metro-maskless 07", Class = "npc_citizen", Model = "models/Purvis/male_07_metrocop.mdl", Health = "100", KeyValues = { citizentype = 4 }, Category = Category } list.Set( "NPC", "npc_metro_maskless7", NPC ) local NPC = { Name = "Metro-maskless 08", Class = "npc_citizen", Model = "models/Purvis/male_08_metrocop.mdl", Health = "100", KeyValues = { citizentype = 4 }, Category = Category } list.Set( "NPC", "npc_metro_maskless8", NPC ) local NPC = { Name = "Metro-maskless 09", Class = "npc_citizen", Model = "models/Purvis/male_09_metrocop.mdl", Health = "100", KeyValues = { citizentype = 4 }, Category = Category } list.Set( "NPC", "npc_metro_maskless9", NPC )
Are you sure the model works properly?
Yep there are only some fucked up face texture only im gonna give a video now. Here is the video [url]http://www.youtube.com/watch?v=x9XlhhC94Uo[/url]
[QUOTE=Vort97;27315928]Hi i wanted do some npcs for maskless metropolice what i founded i am newbie in those things but i already write lua code and they work but there is problem with the faces they get fucked up why? And sorry for bad grammar my eng language is small[/QUOTE] Because I'm a Grammar Nazi and half the facepunch community will be turned off by your post: Hi I wanted to make a maskless combine metropolice npc. I'm new to lua, but I can code quite well, and so far all my scripts work, but I have a problem. The faces of the npc keep getting fucked up, why? Sorry for my bad grammar I am learning English. Thank you for participating in this Grammar Nazi excercise. Now onto helping with on topic stuff :) What do you mean by fucked up? The only thing wrong is that the faces look like a polygon made out of paper xD, do the models' faces look normal?
[QUOTE=Andriko1;27342076]Because I'm a Grammar Nazi and half the facepunch community will be turned off by your post: Hi I wanted to make a maskless combine metropolice npc. I'm new to lua, but I can code quite well, and so far all my scripts work, but I have a problem. The faces of the npc keep getting fucked up, why? Sorry for my bad grammar I am learning English. Thank you for participating in this Grammar Nazi excercise. Now onto helping with on topic stuff :) What do you mean by fucked up? The only thing wrong is that the faces look like a polygon made out of paper xD, do the models' faces look normal?[/QUOTE] [url]http://www.garrysmod.org/downloads/?a=showimg&v=49637_2[/url] original models work correctly only faces gets fucked up and I don't know why. And thanks for correct.
Did you test the models in game? I think I see lines in the picture
Yep I tested those ragdolls works fine
Sorry, you need to Log In to post a reply to this thread.