Wiremod Forums  

Go Back   Wiremod Forums > Wiremod Skills > Wiremod Addons

Wiremod Addons Have you created a wiremod addon? Post it here.

Reply
 
LinkBack Thread Tools Display Modes
Old 02-06-2008   #1 (permalink)
cpf
Wire Sofaking
Points: 2,525, Level: 30 Points: 2,525, Level: 30 Points: 2,525, Level: 30
Activity: 0% Activity: 0% Activity: 0%
 
cpf's Avatar
 
Join Date: Nov 2007
Location: Uh...Alberta!
Posts: 421
cpf is on a distinguished road
Send a message via MSN to cpf Send a message via Skype™ to cpf
Default

Hi

First [released] SENT! Yay! [e.g. please comment]

Well, this is in response to someone (I forget) saying that a lever would be cool, so here it is! Use toggles it

You'll need HL2EP2 for the model though... (or just download it)


Here's what it looks like:




Note: Spawn from the entities tab

Edit: The model is here!
__________________
WireSim.com
Why does everybody say CPF? it's cpf :P
Hey, look! It's a tutorial on using LuaInterface!

Last edited by cpf; 03-23-2008 at 02:23 PM.
cpf is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-06-2008   #2 (permalink)
Inactive
 
SlashH4X's Avatar
 
Join Date: Dec 2007
Location: Sherwood Park AB, Canada
Posts: 52
SlashH4X is on a distinguished road
Default

THANK YOU
SlashH4X is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-06-2008   #3 (permalink)
Wire Amateur
Points: 1,906, Level: 26 Points: 1,906, Level: 26 Points: 1,906, Level: 26
Activity: 0% Activity: 0% Activity: 0%
 
CapsAdmin's Avatar
 
Join Date: Mar 2007
Posts: 75
CapsAdmin is on a distinguished road
Default

Good idea!

How about making more of those? Perhaps a wheel that you can turn (0 - 100) or something.
CapsAdmin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-07-2008   #4 (permalink)
andy1976uk
Guest
 
andy1976uk's Avatar
 
Posts: n/a
Default

Oh wow, kewl, someone made it! :dance: *downloading*

Edit: Holy crap, it animates too!

Only thing I'd suggest is that wheel / multiple-settings idea that Caps mentioned and perhaps a selection of models. That one is kewl, but some smaller ones in addition to that would be great.

PS anyone like me with a few hundred quintillion entities who's wondering where it is, and is freaking out because they don't see anything called "Lever", well, it's called "Wired Lever"
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-07-2008   #5 (permalink)
Wirererer
 
miron's Avatar
 
Join Date: Apr 2007
Location: California
Posts: 300
miron is on a distinguished road
Send a message via AIM to miron Send a message via MSN to miron
Default

Amazing work. Excellent. I will not use buttons nearly as often anymore.
But is there a way to make it variable, to where you are looking? Like if you're looking exactly in the middle, it outputs 0.5?

Maybe steal some code from the graphics tablet, if you need it.
Still very cool.

EDIT: Just had a thought, how about if you make it more like a constant value? I was thinking something like where it's got 5 values, and it sticks at 0%, 25%, 50%, 75%, 100%.
Maybe have it as a checkbox, so you can have it without snapping or with snapping.
This is for if you make it a stool, with a menu. I don't know how that idea would work as a sent.
__________________
Quote:
Originally Posted by Flux
Isnt masturbating a hobby?
miron is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-08-2008   #6 (permalink)
andy1976uk
Guest
 
andy1976uk's Avatar
 
Posts: n/a
Default


Quote:
Maybe steal some code from the graphics tablet, if you need it.
Still very cool.[/b]
Steal it all, greenarrow's brought it upon himself by disappearing on us and leaving the modular panels half-done
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-08-2008   #7 (permalink)
cpf
Wire Sofaking
Points: 2,525, Level: 30 Points: 2,525, Level: 30 Points: 2,525, Level: 30
Activity: 0% Activity: 0% Activity: 0%
 
cpf's Avatar
 
Join Date: Nov 2007
Location: Uh...Alberta!
Posts: 421
cpf is on a distinguished road
Send a message via MSN to cpf Send a message via Skype™ to cpf
Default

Sorry, but the animation is open or closed, I cant think of a way to make it stick in the center, though i'll look into how the HL2 levers worked, and how I could emulate that with LUA (with the ballsockets and all...). The wheel would be cool, though i'm not sure how to do it (since it comes in 2 parts I think, just like the HL2 lever...)
__________________
WireSim.com
Why does everybody say CPF? it's cpf :P
Hey, look! It's a tutorial on using LuaInterface!
cpf is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-08-2008   #8 (permalink)
Wirererer
 
high6's Avatar
 
Join Date: Apr 2007
Posts: 243
high6 is on a distinguished road
Default

I would like to add this to svn, is that ok with you cpf?


A few suggestions,

remove

Code:
function ENT:Think()
****
****if not (WireAddon == nil) then Wire_TriggerOutput(self.Entity, "A", on) end
end
And add it somewhere else because this would spam expressions that use ~on etc.

and make your global variables local by doing

ENT.var and self.var

Also maybe remove the white/black highlight because I personally don't like it.
high6 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-08-2008   #9 (permalink)
cpf
Wire Sofaking
Points: 2,525, Level: 30 Points: 2,525, Level: 30 Points: 2,525, Level: 30
Activity: 0% Activity: 0% Activity: 0%
 
cpf's Avatar
 
Join Date: Nov 2007
Location: Uh...Alberta!
Posts: 421
cpf is on a distinguished road
Send a message via MSN to cpf Send a message via Skype™ to cpf
Default

I'm fine with SVNing it, I cpuldnt get local variables to work, and I don't know how to remove that outline... Any tips? :P
__________________
WireSim.com
Why does everybody say CPF? it's cpf :P
Hey, look! It's a tutorial on using LuaInterface!
cpf is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-08-2008   #10 (permalink)
Wirererer
 
high6's Avatar
 
Join Date: Apr 2007
Posts: 243
high6 is on a distinguished road
Default

Quote:
I'm fine with SVNing it, I cpuldnt get local variables to work, and I don't know how to remove that outline... Any tips? :P[/b]
With the outline I believe by default the base ent is base_gmodentity which if you look at it's cl_init.lua you can see the draw functions that make the outline. (Overwrite the functions in your sents cl_init.lua)


ps base_gmodentity is in sandbox gamemodes entites folder.
high6 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 06:10 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0
Ad Management plugin by RedTyger
adjunct
adjunct
adjunct
adjunct
gilt
gilt
gilt
gilt
gallery
gallery
gallery
gallery