Hi, I started up a TTT server and I have basic knowledge of LUA and whatnot but I am still experiencing some difficulties plus I can't do this by myself and so I'm posting this for anyone that knows what they are ding and are willing to help me, I have had a coder but he was terrible and wasn't really that reliable, if you can help please I really do need some help
For example of what I need :
~ Fix player models ( The player models I use are appearing as errors and I don't know why I'm pretty sure I did everything correctly)
~ Fix end round music (I don't know why it is broken)
~ Add in some more maps (this I don't really understand)
~ Add a votemap system ( it doesn't really matter as long as it works)
~ Help me adds some more player models of course
~ Add some more weapons in the Traitor and Detective shop
~ And we will go from there
if you have any requests as in $$$ I'm sure we can work something out
, Thank you in advance ~ Lunar
I pm'ed you my skype I can probably help you.
[editline]3rd August 2013[/editline]
I cant pm you, pm me your skype
[QUOTE=LunarCrisp;41701930]Hi, I started up a TTT server and I have basic knowledge of LUA and whatnot but I am still experiencing some difficulties plus I can't do this by myself and so I'm posting this for anyone that knows what they are ding and are willing to help me, I have had a coder but he was terrible and wasn't really that reliable, if you can help please I really do need some help
For example of what I need :
~ Fix player models ( The player models I use are appearing as errors and I don't know why I'm pretty sure I did everything correctly)
~ Fix end round music (I don't know why it is broken)
~ Add in some more maps (this I don't really understand)
~ Add a votemap system ( it doesn't really matter as long as it works)
~ Help me adds some more player models of course
~ Add some more weapons in the Traitor and Detective shop
~ And we will go from there
if you have any requests as in $$$ I'm sure we can work something out
, Thank you in advance ~ Lunar[/QUOTE]
1. you need to resource.AddFile("PATH NAME HERE") every model/material
2. same thing
3. drop them in /maps. done. To arm it, go to the TTT website and read.
4. There is public ones in the addon release section.
5. Follow #1
6. You can do this yourself, its drag and drop. Come on.
7. $$$$$$$$
[QUOTE=zerothefallen;41703977]1. you need to resource.AddFile("PATH NAME HERE") every model/material
2. same thing
3. drop them in /maps. done. To arm it, go to the TTT website and read.
4. There is public ones in the addon release section.
5. Follow #1
6. You can do this yourself, its drag and drop. Come on.
7. $$$$$$$$[/QUOTE]
When I add in models I can't purchase then from the pointshop
[QUOTE=LunarCrisp;41704162]When I add in models I can't purchase then from the pointshop[/QUOTE]
do you have the right points
are you in the right usergroup
are you alive when you buy it
You did create a lua file in the player models item folder, right?
[QUOTE=NiandraLades;41704655]You did create a lua file in the player models item folder, right?[/QUOTE]
Yes I put my playermodel file in addons and unzipped then I went into
pointshop-master/lua/items/playermodels/ichigoplayermodel.lua and I filled everything in as is
*note that my dedicated server is on Xenon and it comes with FastDL *
so my lua in my pointshop looks like this
ITEM.Name = 'Ichigo'
ITEM.Price = 2000
ITEM.Model = 'models/ichigo.mdl'
function ITEM:OnEquip(ply, modifications)
if not ply._OldModel then
ply._OldModel = ply:GetModel()
end
timer.Simple(1, function() ply:SetModel(self.Model) end)
end
function ITEM:OnHolster(ply)
if ply._OldModel then
ply:SetModel(ply._OldModel)
end
end
and my lua file in my ichigo/lua/autorun/ichigo.lua looks like this
if ( SERVER ) then
player_manager.AddValidModel( "ichigo", "models/ichigo.mdl" )
AddCSLuaFile( 'ichigoplayermodel.lua' ) ;
end
list.Set( "PlayerOptionsModel", "ichigo", "models/ichigo.mdl" )
--// File Generated By Fox-Warrior's Resources Generator Version 2.05 \\--
if (SERVER) then
resource.AddFile( "Ichigo/models/ichigo.dx80.vtx" )
resource.AddFile( "Ichigo/models/ichigo.dx90.vtx" )
resource.AddFile( "Ichigo/models/ichigo.mdl" )
resource.AddFile( "Ichigo/models/ichigo.phy" )
resource.AddFile( "Ichigo/models/ichigo.sw.vtx" )
resource.AddFile( "Ichigo/models/ichigo.vvd" )
resource.AddFile( "Ichigo/models/ichigo..xbox.vtx" )
resource.AddFile( "Ichigo/materials/models/Ichigo/body.vmt" )
resource.AddFile( "Ichigo/materials/models/Ichigo/body.vtf" )
resource.AddFile( "Ichigo/materials/models/Ichigo/head.vmt" )
resource.AddFile( "Ichigo/materials/models/Ichigo/head.vtf" )
resource.AddFile( "Ichigo/materials/models/Ichigo/sash.vmt" )
resource.AddFile( "Ichigo/materials/models/Ichigo/sash.vtf" )
resource.AddFile( "Ichigo/materials/Ichigo/body.vmt" )
resource.AddFile( "Ichigo/materials/Ichigo/body.vtf" )
resource.AddFile( "Ichigo/materials/Ichigo/head.vmt" )
resource.AddFile( "Ichigo/materials/Ichigo/head.vtf" )
resource.AddFile( "Ichigo/materials/Ichigo/sash.vmt" )
resource.AddFile( "Ichigo/materials/Ichigo/sash.vtf" )
end
never mind I fixed it I;m using workshopDL instead
Sorry, you need to Log In to post a reply to this thread.