swing from a chain

Firkat54

Newbie
Joined
Mar 19, 2005
Messages
236
Reaction score
0
I'm making a Counter Strike: Source map and I came to a problem. How would I go about making a sign (a brush, not a model) swing on a chain from the ceiling? I've seen it on the map BestBuy for CS:S so i know it can be done.

Also I'm a beginner, so can you explain it to me like I have the intelligence of a rock?

Thanks!
 
Theres your first problem. Your making a CS:S map.

For the love of god, only map if your going to continue mapping.
 
I am going to continue to make maps. But for now, my problem stands in the way of finishing this map. So please help me!
 
Phys_lengthconstraint or phys_ballsocket entity, probably.
 
Ok. I watched the video, followed it exactly, and it worked...the first time. I went back to make another bridge, and all the physics worked right, but the visual wires all attached to the origin of the map... I tried about 6 times, restarted my computer and tried again. Nothing seems to work. I even tried listening to the tutorial while the guy was talking about each step. Still connects to the origin...WHAT THE HELL'S GOING ON?????
 
He probably told you to parent the ropes to something. Parenting is a bit iffy in CS:S; use a logic_measure_movement entity instead.
 
Raeven0 said:
He probably told you to parent the ropes to something. Parenting is a bit iffy in CS:S; use a logic_measure_movement entity instead.

do i set it up the same way as the move_rope?
 
You'll set up the individual entities as if you were using a rope. The logic_measure_movement itself will need properties set for which entity to watch and which entity to move.
 
so...i would put "Entity to measure" as the bridge?...and then the "Measure Refrerence" as the keyframe?
 
ok..nvm I found a tutorial on how to get around it..thanks for the help guys..I'll post the tutorial so anyone else having this problem can find it.
 
TUTORIAL FROM:http://www.*************/wiki/index.php/Rope_Workaround_in_Counterstrike:_Source




Rope Workaround in Counter-Strike: Source

by sixsixtysix with a big thanks to Rof

Table of contents [showhide]
1 Introduction and Reason for this Tutorial

2 The entities that we'll be using

3 Placing the entities

4 Naming the entities

5 Filling in the entities' information

6 Final words


Introduction and Reason for this Tutorial
This tutorial will allow you hang entities from ropes.It is is a workaround for a known rope issue is Counter-Strike: Source. The issue being that you can't give a keyframe_rope a parent or else it will go to the map's origin (0,0,0) in-game. After posting a message over at The Snark Pit (http://www.snarkpit.net), a kind soul by the name of Rof posted an example map. Now we can all hang things from a rope!

The entities that we'll be using
A. move_rope

B. keyframe_rope

C. phys_lengthconstraint

D. env_spark

E. func_physbox or prop_physics_override (for this we'll use a physbox)

F. logic_measure_movement




Placing the entities
A. Place the func_physbox wherever you'd like it to be hanging from.

B. Place the move_rope wherever you'd like your rope to start from.

C. Place the keyframe_rope just inside the object you're hanging.

D. Place the phys_lengthconstraint in the same place as the keyframe_rope. Select and drag the small white circle to the move_rope's position.

E. Place the env_spark in the same place as well.

F. Place the logic_measure_movement off to the side for easy access in the editor.




Naming the entities
A. It's best if you give all the entities related names. For this tutorial, we'll use "box".

B. Fill in your names like this: func_physbox = box, move_rope = box_rope, keyframe_rope = box_rope_keyframe, and env_spark = box_spark (no need to name the phys_lengthconstraint unless you're using a phys_constraintsystem or somesuch).




Filling in the entities' information
A. Set move_rope's Next KeyFrame to box_rope_keyframe.

B. Set env_spark's Parent to box.

C. Set phys_lengthconstraint's entity 1 to box.

D. Set logic_measure_movement's Entity to Measure to box_spark, Measure Reference to box_rope, Entity to Move to box_rope_keyframe, and Movement Reference to box_rope.

Final words
Well, there you go. You should now be able to hang a func_physbox or prop_physics_override from a rope and have them both moving around in Counter-Strike: Source.
 
ok for some reason it blocks the word "h l 2 w o r l d . c o m" in the url..so clicking the link wont work
 
That's correct, this forum does block that word. The site/community associated with it is, y'know, trash. :)
 
Raeven0 said:
That's correct, this forum does block that word. The site/community associated with it is, y'know, trash. :)
lol...yea..that site sucks..I've only found one good thing..and thats the tutorial^^
 
Back
Top