Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2024, 01:12:39 PM
Home Help Login Register
News: Zombie Master 2 discussion

  Show Posts
Pages: [1]
1  Other / Trouble in Terrorist Town / Map voting after round end. on: November 02, 2011, 06:00:03 AM
I have set

ttt_fretta_mapvoting 1
ttt_always_use_mapcycle 0
fretta_voting 0
ttt_fretta_mapvoting 0

but it still uses mapcycle and wont start map vote at end of the round for some reason...

Edit:
I guess i have to enable fretta_voting too but where can i manage maps that will be in vote list?
2  Other / Trouble in Terrorist Town / Re: [Problem] my custom wep icons wont load on: November 01, 2011, 10:58:29 PM
Well it is icon_mycoolwep_tmp in script, it was called here myserv because i toke it from my other test script real fast to paste it here coz after copying from linux it got changed so it still doesnt seems to work :/
3  Other / Trouble in Terrorist Town / Re: [Problem] my custom wep icons wont load on: November 01, 2011, 12:37:51 PM
I tried to copy it from linux nano editor to windows so it got changed by itself, real line is
resource.AddFile("materials/VGUI/ttt/icon_myserver_tmp.vmt")

Which still doesnt work
4  Other / Trouble in Terrorist Town / [Problem] my custom wep icons wont load on: November 01, 2011, 10:58:21 AM
My weapon script is located at:
/orangebox/garrysmod/gamemodes/terrortown/entities/weapons/weapon_ttt_tmp

In my weapon script i have
if SERVER then
  AddCSLuaFile( "shared.lua" )
 resource.AddFile("materials/VGUI/ttt/icon_myserver_tmp.vmt")
end

if CLIENT then
  SWEP.PrintName = "AK47"
  SWEP.Slot      = 2
  SWEP.Icon = "VGUI/ttt/icon_mycoolwep_tmp"
end


i got my vmt file at:
/orangebox/garrysmod/gamemodes/terrortown/content/materials/vgui/ttt/icon_mycoolwep_tmp.vmt
which includes

"UnlitGeneric"
{
"$basetexture" "VGUI/ttt/icon_mycoolwep_tmp"
"$vertexcolor" 1
"$vertexalpha" 1
"$translucent" 1
}

i have added my vtf file which location is:
/orangebox/garrysmod/materials/vgui/ttt/icon_mycoolwep_tmp.vtf
i have imported it by using VTFEdit.
Server should read that weapon icon from that directory but it doesn't, in-game i see pink, black icons it seems that it wont load my icon...
5  Other / Trouble in Terrorist Town / Re: Costum weapons and its icon on: October 31, 2011, 12:06:47 PM
Got it working now :P
6  Other / Trouble in Terrorist Town / Re: Costum weapons and its icon on: October 31, 2011, 10:18:17 AM
I think that i get it now,
if SERVER then
  resource.AddFile("materials/VGUI/ttt/icon_myserver_ak47.vmt")
end

here it tells where file will be loaded for client and where it should be downloaded for client but for costum weapon it is:

if CLIENT then
 
SWEP.Icon = "VGUI/ttt/icon_myserver_ak47"

 
 SWEP.EquipMenuData = {
     type = "Weapon",
     desc = "Example custom weapon."
};
end

so it knows where to read icon in server side? right?

I guess that code in script "SWEP.Icon = "VGUI/ttt/icon_myserver_ak47" isnt really needed if i make it "SWEP.AutoSpawnable = true" coz theres no use of icon if it auto spawns on map?

Is there also anyone with nice Lua knowlege so they can take a look at my scripts so i can ensure that they will work?
7  Other / Trouble in Terrorist Town / Costum weapons and its icon on: October 31, 2011, 10:00:27 AM
I am making costum weapons for my server and i got question about icons. TTT will read icons from
\garrysmod\materials\VGUI\ttt\ 
right? It seems that i dont have ttt folder under my vgui directory, so my guess is that i should create it manually but if i create it manually will it still work then or server should had to generate this directory for me?

I found my stock TTT icons under
/garrysmod/gamemodes/terrortown/content/materials/vgui/ttt

mybe i should add these icons there and under fast downloads i should make directory for /gamemodes/terrortown/content/materials/vgui/ttt where i gonna add my icons for fastdownload...
Im so confused lol
8  Other / Trouble in Terrorist Town / Re: TTT Server Suggestions on: October 31, 2011, 07:55:18 AM
You could help me work on my project :P
Got server running on my Debian dedi with 100mbps uplink port...
I wanna make something special, own costum weapons etc..
9  Other / Trouble in Terrorist Town / Re: [Help] TTT Knife on: October 30, 2011, 10:44:27 PM
I looked around TTT gamemode files and found this
code:
SWEP.Primary.Damage         = 50

I guess here i can change it...
10  Other / Trouble in Terrorist Town / [Help] TTT Knife on: October 30, 2011, 10:33:54 PM
I was wondering that how could i increase knife dmg? I would like to make it 1hit kill.


Thanks,
Xbooster
11  Other / Trouble in Terrorist Town / Re: [Looking for] Gmod ingame store on: October 30, 2011, 07:58:41 PM
Thanks man!
12  Other / Trouble in Terrorist Town / [Looking for] Gmod ingame store on: October 30, 2011, 05:37:15 PM
Im looking for my TTT server ingame store where peoples can buy hats and stuff, where they can earn credits by staying in server etc...
Does anyone know something about it? Im looking for premade script coz my lua scripting isnt good at all :P
I have seen that many servers are using it so im sure someone could share or its released somewere..

Thanks,
Xbooster
13  Other / Trouble in Terrorist Town / Re: Gmod wont load TTT gamemode on: October 30, 2011, 12:05:40 AM
Thanks but i guess i got it solved for now..
14  Other / Trouble in Terrorist Town / Gmod wont load TTT gamemode on: October 29, 2011, 11:54:40 PM
Im trying to run TTT server on my Debian 6 dedicated server but i got some problems. I have set in my server.cfg sv_defaultgamemode to terrortown but  my server it runs as sandbox gamemode for some reason. At console i can see some errors popping up like

Attempted to create uknow entity type info_ladder
Can't init info_ladder
Attempted to create uknow entity type hostage_entity!
Can't init hostage_entity
and so on...

I guess these errors are just caused coz TTT wont be loading up for some reason.
But it seems that it loads my server.cfg fine because its saying(commands what my server.cfg runs):
Unknown command "ttt_spec_prop_force"
Unknown command "ttt_spec_prop_rechargetime"
Unknown command "ttt_idle_limit"
Unknown command "ttt_namechange_kick"
Unknown command "ttt_namechange_bantime"
Unknown command "ttt_ban_type"
Unknown command "ttt_highlight_admins"
Unknown command "ttt_voice_drain"
Unknown command "ttt_voice_drain_normal"
Unknown command "ttt_voice_drain_admin"
Unknown command "ttt_voice_drain_recharge"
so on...



I have created my sh to run server:

#!/bin/bash
echo "Starting up Garry's Mod 10 server."
sleep 2
screen -A -m -d -S gm10server ./srcds_run -console -game garrysmod +maxplayers 64 +map cs_office -autoupdate
echo "Started. Type screen -x to resume!"

That should be right.
Pages: [1]


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.011 seconds with 19 queries.