IPB

Welcome Guest ( Log In | Register )


Deyan
Posted on: Oct 6 2011, 02:28 PM


Newbie
*

Group: Members
Posts: 1
Joined: 6-October 11
Member No.: 30


Guys can u fix Wire piston addon.
When i choose and spawn the piston i get an error model and it cannot be spawned. The error is located at row 40 in
"wire_piston.lua" ->> function MakeWirePiston( ply, Pos, Ang, model, force, sound, length,fx,reversed )
models/engine/piston02.mdl

The error :

Creating Piston...
[addons\propeller\lua\weapons\gmod_tool\stools\wire_piston.lua:30] Model missing: models/burak575/piston20.mdl
Warning: [gmod_piston] Physics object isn't valid!
Warning: [gmod_piston] Physics object isn't valid!
[@addons\propeller\lua\weapons\gmod_tool\stools\wire_piston.lua:40] Tried to use invalid object (type IPhysicsObject) (Object was NULL or not of the right type)

I tried to change

TOOL.ClientConVar[ "model" ] = "models/burak575/piston20.mdl" to
TOOL.ClientConVar[ "model" ] = "models/engine/piston02.mdl" in the *.lua file it doesn't seem to work

When i type in the console "wire_piston_model models/engine/piston02.mdl" everything seems to be ok.. and it is, so please guys change the model ... Also nice pack
  Forum: Model Development · Post Preview: #41 · Replies: 20 · Views: 38,618


New Posts  New Replies
No New Posts  No New Replies
Hot topic  Hot Topic (New)
No new  Hot Topic (No New)
Poll  Poll (New)
No new votes  Poll (No New)
Closed  Locked Topic
Moved  Moved Topic
 

Lo-Fi Version Time is now: 26th May 2018 - 10:58 PM