Re: I am a little confused
Posted by Baddog on
Tue Dec 21st 2004 at 5:51am
79 posts
8 snarkmarks
Registered:
Dec 6th 2004
Location: Portland,Oregon USA
Ok I want to make a thing so when I press a button it will slide also
what propertie do I have to set for my thing for example
models/props_wasteland/tram_bracket01.mdl is it func_something? or what
how do I go about doing this.
Re: I am a little confused
Posted by Joe-Bob on
Tue Dec 21st 2004 at 6:17am
Joe-Bob
member
180 posts
77 snarkmarks
Registered:
Dec 3rd 2004
I'm a little confused too, actually.
Re: I am a little confused
Posted by Baddog on
Tue Dec 21st 2004 at 6:42am
79 posts
8 snarkmarks
Registered:
Dec 6th 2004
Location: Portland,Oregon USA
I want a bracket to move some place when I press a button. so in other
words I want to move a world model after I press a button.
Re: I am a little confused
Posted by genesisrage on
Tue Dec 21st 2004 at 7:06am
33 posts
3 snarkmarks
Registered:
Dec 12th 2004
how much does it need to move, direction, rotation, etc... need a little bit more info.
Re: I am a little confused
Posted by Baddog on
Tue Dec 21st 2004 at 7:10am
79 posts
8 snarkmarks
Registered:
Dec 6th 2004
Location: Portland,Oregon USA
it just needs to move when I press a button from one spot to the next I want it to be a world model tho
Re: I am a little confused
Posted by genesisrage on
Tue Dec 21st 2004 at 7:32am
33 posts
3 snarkmarks
Registered:
Dec 12th 2004
if your just sliding it a little bit (dont know that model off my head), but you might be able to:
-create a func_button
-texture with NODRAW
-give it a name
-remove flags so player can't use
-flag it passable (just in case)
-set directions for movement, speed, and distance
-have your other button activate this one
-and set the world model's parent to this button
as im not really for sure how you want it to move, this may or may not work for what you are trying to achieve.
Re: I am a little confused
Posted by Baddog on
Tue Dec 21st 2004 at 8:06am
79 posts
8 snarkmarks
Registered:
Dec 6th 2004
Location: Portland,Oregon USA
what entity do I set what too for the slide thing.
Re: I am a little confused
Posted by fishy on
Tue Dec 21st 2004 at 8:28am
fishy
member
2623 posts
1476 snarkmarks
Registered:
Sep 7th 2003
Location: glasgow
just make it a func_door if you only want it to move from A to B
Re: I am a little confused
Posted by Baddog on
Tue Dec 21st 2004 at 8:36am
79 posts
8 snarkmarks
Registered:
Dec 6th 2004
Location: Portland,Oregon USA
ok cool um also can I make it go from B back to A?
Re: I am a little confused
Posted by Baddog on
Tue Dec 21st 2004 at 10:16am
Posted
2004-12-21 10:16am
79 posts
8 snarkmarks
Registered:
Dec 6th 2004
Location: Portland,Oregon USA
Ok I still dont understand I just want a brush to move when I press a
button so when I press a button the brush will slide across the floor I
need to know everything from beggining to end.
Re: I am a little confused
Posted by ReNo on
Tue Dec 21st 2004 at 2:56pm
ReNo
member
5457 posts
1991 snarkmarks
Registered:
Aug 22nd 2001
Occupation: Level Designer
Location: Scotland
Good suggestions have already been made, but I'm still not utterly sure
what you meant in the first place. You say you want to move a world
model but also put the path to a prop - so do you mean an object you
built in hammer, or an object that was built in an external program
(ie. a prop)?
If you are using a brush based object, then you will want to look into
using a func_door most likely as it is the simplest object you can have
move from A to B and then back again. There are loads of tutorials out
there on these entities and HL1 topics will still be relevant, so go do
a bit of research. It may not seem it at first, but you can change the
distance that the door travels by giving it a lip value.
If you want a prop to move, then your simplest option would probably be
to make a small func_door that works the way you want, and then put
your prop into the level in the right place and set its "parent"
property to the name of the func_door. This will make the prop_dynamic
move along with the func_door, thereby giving you your moving object.