moving env_spark

moving env_spark

Re: moving env_spark Posted by StixNStonz on Sat Jun 4th 2005 at 2:57am
StixNStonz
71 posts
Posted 2005-06-04 2:57am
71 posts 17 snarkmarks Registered: Feb 25th 2005 Occupation: student Location: canada
k, i wanted to make a tiny and long brush (1 X 1 X 500) that acts like a fuse. You shoot it at the front (i cant figure out how to make a trigger that's set off by a shot), and it ignites an env_spark (i can do this), and then the env_spark moves along the 'fuse' (func_movelinear, targeted, i understand i have to parent it but exactly which entity's name goes into which entity's parent field?). Any help would be greatly appreciated.
Re: moving env_spark Posted by SuperCobra on Sat Jun 4th 2005 at 4:33am
SuperCobra
184 posts
Posted 2005-06-04 4:33am
184 posts 28 snarkmarks Registered: Jan 2nd 2005 Location: Oregon,USA
Ok well the object you want the fuse to follow give it a name......then
parent the env_spark to the name you named the object you want it too
follow!
Life is like a box of chocolates u never know what you'll get you might get a.....scream.
Re: moving env_spark Posted by DrGlass on Sat Jun 4th 2005 at 9:37am
DrGlass
1825 posts
Posted 2005-06-04 9:37am
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
make a small func_train at the front of your fuse, make sure its
covered in nodraw texture. make the spark a child of the train.

Now make a small brush, with nodraw too, and turn it into a small
func_breakable. Turn off all gibs, etc. and set it up so
when it breaks it turns on the sparks and starts the train.
Re: moving env_spark Posted by StixNStonz on Sat Jun 4th 2005 at 5:16pm
StixNStonz
71 posts
Posted 2005-06-04 5:16pm
71 posts 17 snarkmarks Registered: Feb 25th 2005 Occupation: student Location: canada
nice guys, i hadnt thought of the func_breakable

so no func_movelinear then? is it ever used, instead of train?
Re: moving env_spark Posted by DrGlass on Sat Jun 4th 2005 at 6:36pm
DrGlass
1825 posts
Posted 2005-06-04 6:36pm
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
I've never used a func_movelinear or anything like it.

ps. mark my answer as correct if it is, err... correct.
Re: moving env_spark Posted by StixNStonz on Sat Jun 4th 2005 at 7:00pm
StixNStonz
71 posts
Posted 2005-06-04 7:00pm
71 posts 17 snarkmarks Registered: Feb 25th 2005 Occupation: student Location: canada
nice job gentlement, it worked. On to the next problem :razz:

and nice, now i know i have to hit the 'yes it answered my Q' button
Re: moving env_spark Posted by wil5on on Sun Jun 5th 2005 at 12:45am
wil5on
1733 posts
Posted 2005-06-05 12:45am
wil5on
member
1733 posts 570 snarkmarks Registered: Dec 12th 2003 Occupation: Mapper Location: Adelaide
Movelinear can be set to move to certain points along a linear path. Say you have:

O---------

where O is the movelinear and --- is the path. You can trigger the movelinear to move to a point along the path with parameters in the trigger. So, if you trigger it to move with a parameter of 0.5, it will move to this point:

----O-----

1.0 will take it to the end of the path. I think you can use numbers outside the range 0-1, to move it along an infinite line.

This will work for what you want to do, and will probably be easier to set up than a func_train (it doesnt require pathcorners).
"If you talk at all during this lesson, you have detention. Do you understand?"
  • My yr11 Economics teacher
Re: moving env_spark Posted by StixNStonz on Sun Jun 5th 2005 at 2:43am
StixNStonz
71 posts
Posted 2005-06-05 2:43am
71 posts 17 snarkmarks Registered: Feb 25th 2005 Occupation: student Location: canada
hmm... sounds like movelinear is like a teleport then, rather than a smooth movement. Could work in conjunction with a timer, but would also tax the systems a lot more.

Func_train worked anyhoo :razz:
Re: moving env_spark Posted by wil5on on Mon Jun 6th 2005 at 7:55am
wil5on
1733 posts
Posted 2005-06-06 7:55am
wil5on
member
1733 posts 570 snarkmarks Registered: Dec 12th 2003 Occupation: Mapper Location: Adelaide
Movelinear is a smooth movement... I suppose I shouldve made that clear. It moves at a set speed to the point you tell it.
"If you talk at all during this lesson, you have detention. Do you understand?"
  • My yr11 Economics teacher
Re: moving env_spark Posted by DrGlass on Mon Jun 6th 2005 at 10:18am
DrGlass
1825 posts
Posted 2005-06-06 10:18am
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
Movelinear is a smooth movement... I suppose I shouldve made
that clear. It moves at a set speed to the point you tell it.
func_train works fine as long as no one is going to ride it.
Re: moving env_spark Posted by wil5on on Tue Jun 7th 2005 at 6:35am
wil5on
1733 posts
Posted 2005-06-07 6:35am
wil5on
member
1733 posts 570 snarkmarks Registered: Dec 12th 2003 Occupation: Mapper Location: Adelaide
Yeah, trains work fine, movelinear is probably for a very specific purpose. I used one as the magazine for my cinderblock cannon :biggrin:
"If you talk at all during this lesson, you have detention. Do you understand?"
  • My yr11 Economics teacher