PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Wire DoorSTool wird nicht angezeigt



Raiden
15.05.2009, 15:12
Hallo GMod.de Community,

ich hab mir heute gedacht, dass ich mir mal das Wire DoorSTool hole.
Dann habe ich das hier genommen:

http://www.garrysmod.org/img/?t=dll&id=60617

Allerdings wird das Tool nicht unter Wire - Physics angezeigt, wie es eigentlich sollte. Ich kann euch hier mal nen Ausschnitt aus dem LUA Code geben:
local defaultlimit = 5

TOOL.ClientConVar[ "class" ] = "prop_dynamic"
TOOL.ClientConVar[ "model" ] = "models/props_combine/combine_door01.mdl"
TOOL.ClientConVar[ "open" ] = "1"
TOOL.ClientConVar[ "close" ] = "2"
TOOL.ClientConVar[ "autoclose" ] = "0"
TOOL.ClientConVar[ "closetime" ] = "5"
TOOL.ClientConVar[ "hardware" ] = "1"
cleanup.Register( "door" )

TOOL.Category = "Wire - Physics" // Name of the category
TOOL.Name = "#Door" // Name to display
TOOL.Command = nil // Command on click (nil for default)
TOOL.ConfigName = "" // Config file name (nil for default)

local GhostEntity

Diese LUA Datei befindet sich in:
garrysmod\garrysmod\addons\wire doorstool\lua\weapons\gmod_tool\stools

Wenn ihr euch fragt, warum ich nicht einfach das Wire DoorSTool nehme:
http://www.garrysmod.org/img/?t=dll&id=29392

Weil es:
1. Bei mir nicht funktioniert (also auch nicht angezeigt wird)
2. Nicht die anderen Türen von Portal, etc. hat.

Ich hoffe, ihr wisst, woran das liegt, dass das Tool nicht angezeigt wird, und könnt mir helfen.

Edit: Das obere Problem hat sich erledigt, ich habe einfach die door.lua in wire_door.lua umbenannt. Allerdings hab ich nun das Problem, dass alle Türen das gleiche Model haben, also dieses hier: "models/props_combine/combine_door01.mdl"
Beim normalen DoorSTool steht das auch drin, sind allerdings verschiedene Models. Weiß einer, woran das liegt?

Djhaimo
06.09.2009, 01:35
Hallo,
Ich habe genau das selbe problem. Bei mir finde ich die Door's jetzt bei den Tool als Wire funktion und bei den Wire Door's ist auch bei jedem das 1 Model. Wie bekomme ich die Tool Door's zu den Wire Door's?

Könnt ihr vielleicht helfen?

Lg Dj Haimo

frog
06.09.2009, 13:11
ladet euch mal per svn das Wire Unofficial pack runter.

da ist es mit Drinnen

Djhaimo
06.09.2009, 14:24
danke und wie lade ich das runter? (Url Link)
lg Djhaimo

frog
06.09.2009, 18:46
Das Wort "SVN" müsste dich eigentlich stuzig machen so das du im Forum schaust und dann es per Tortois SVN wie hier
http://www.garrysmod.de/forum/showthread.php?t=13337
machst.

der link ist

http://svn.dagamers.net/wiremodextras/trunk