having difficulty - lighting a half buried bobber
-
- Posts: 102
- Joined: Sat Feb 19, 2005 10:11 am
having difficulty - lighting a half buried bobber
I'm trying to figure out this moving a entity to a "lighting room" and having it appear at an origin point in the map where half of it is buried in a wall, and i can't figure out the setup for it..
its a brush with an origin brush in it(optionally?) and i've got the coordinates for its position, and a little room off side with skybox on it to light the thing in..
how do i tell it to origin somewhere?
its a brush with an origin brush in it(optionally?) and i've got the coordinates for its position, and a little room off side with skybox on it to light the thing in..
how do i tell it to origin somewhere?
Re: having difficulty - lighting a half buried bobber
I think func_bobbing entities go without origin brush or key. No need to give it an origin. The game calculates the origin based on the entity's brushes.
-
- Posts: 102
- Joined: Sat Feb 19, 2005 10:11 am
Re: having difficulty - lighting a half buried bobber
im moving the brushes into a box outside of the play area to light them, where they currently sit, they are half buried in a wall, they push back/forth.
half of the brush gets lit, the other half stays dark if i leave them were they are. ..
im trying to figure out how to tell them where to spawn..
half of the brush gets lit, the other half stays dark if i leave them were they are. ..
im trying to figure out how to tell them where to spawn..
Re: having difficulty - lighting a half buried bobber
Wherever you have them placed in the editor, that's where they will spawn and where they will have lighting calculated from. You have to set your phase values in such a way that it spawns and is lighted when IN your map and have it move wherever you want it to end up.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
-
- Posts: 102
- Joined: Sat Feb 19, 2005 10:11 am
Re: having difficulty - lighting a half buried bobber
so your saying leave them where they are, inside the map, half buried in a brush, and tell the phase to be different so they think they are at one side of the bobbing effect(ie not half buried) during light compile?
-
- Posts: 506
- Joined: Fri Nov 29, 2002 8:00 am
Re: having difficulty - lighting a half buried bobber
The brush needs to be fully visible in your editor (that is also the starting position when you load the map), that way it will be lit entirely. After the map is loaded it needs to go half into the wall, or whatever position you want it to be.
-
- Posts: 102
- Joined: Sat Feb 19, 2005 10:11 am
Re: having difficulty - lighting a half buried bobber
im still confused a bit i think :P
so i put the bobber in its normal place, but move it out to its full extension of visible... and set origin or phase..?
phase says this:
phase: sets the start offset of the oscillation cycle. Values must be 0 < phase < 1. Any integer phase value is the same as no offset (default 0).
im wondering how this works though, which value tells the bobber to be at one end or the other of its motion line?
so i put the bobber in its normal place, but move it out to its full extension of visible... and set origin or phase..?
phase says this:
phase: sets the start offset of the oscillation cycle. Values must be 0 < phase < 1. Any integer phase value is the same as no offset (default 0).
im wondering how this works though, which value tells the bobber to be at one end or the other of its motion line?
-
- Posts: 344
- Joined: Wed Jan 29, 2003 8:00 am
Re: having difficulty - lighting a half buried bobber
edit
Last edited by skinNCNmaster on Sun Dec 25, 2011 6:10 pm, edited 1 time in total.
-
- Posts: 344
- Joined: Wed Jan 29, 2003 8:00 am
Re: having difficulty - lighting a half buried bobber
o hum, donkey says this about phase in one of his tutorials:
so im in the wrong place for doing what i want, it must have to do with origin... not phase
ie, same height and speed set, phase to cause them to offset from each others cyclesEach of the 3 func_bobbing entities in the example map have a different value for the phase key, so that each bobs up and down at a slightly different rate, rather than at the same time.
so im in the wrong place for doing what i want, it must have to do with origin... not phase
Re: having difficulty - lighting a half buried bobber
Phase 1 and 0 are the same thing, it's the beginning and end of a cycle. If you were to travel along a circular track, phase 0 is the starting line, phase 1 the finish line back at where you started.
There is no origin with bobbers.
There is no origin with bobbers.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
-
- Posts: 344
- Joined: Wed Jan 29, 2003 8:00 am
Re: having difficulty - lighting a half buried bobber
okive figured it out
yes there is an origin key on func_bobbing, but it behaves like an offset function.
i go by the height of the brush and move them in integers of that up into the air, then use that as a -z in a 0,0,-? for origin on the bobbers, but the editor goes by the bottom of the brush, so subtract one integer
problem solved
yes there is an origin key on func_bobbing, but it behaves like an offset function.
i go by the height of the brush and move them in integers of that up into the air, then use that as a -z in a 0,0,-? for origin on the bobbers, but the editor goes by the bottom of the brush, so subtract one integer
problem solved
Re: having difficulty - lighting a half buried bobber
Good that you've got it solved, because I don't understand anything of what you just said.... 

-
- Posts: 102
- Joined: Sat Feb 19, 2005 10:11 am
Re: having difficulty - lighting a half buried bobber
and you thought you would write so because of your interest in the solution? or some other non important reason,
Re: having difficulty - lighting a half buried bobber
Probably interested, but also showing you that what you said makes no sense. So, next time you explain a solution, think twice about how you're going to explain it, so that it doesn't seem like you're simply speaking your own language that no one will understand. Define some of the terminology/grammar you used. "move them in integers", "move them in integers", "of that", "then use that", etc. etc. lolskinmaster wrote:and you thought you would write so because of your interest in the solution? or some other non important reason,
-
- Posts: 102
- Joined: Sat Feb 19, 2005 10:11 am
Re: having difficulty - lighting a half buried bobber
lol ok so its simple:
brush is say 100 units high, so to make life easy we use that as the measure for the moving of the brush, we move it in integers of 100 units from where we want it, up into the free open room space above or to the side of its true origin.
then we add the origin key to the brush
and use a value of zero, zero plus the number of units we moves the brush, simple if based on the brushes dimensions.
ie, 100 unit brush, moves three hundred units up, origin should be 0,0, -200
because the editor calculates from the bottom edge of the brush to figure out origin placement.
did this help?
brush is say 100 units high, so to make life easy we use that as the measure for the moving of the brush, we move it in integers of 100 units from where we want it, up into the free open room space above or to the side of its true origin.
then we add the origin key to the brush
and use a value of zero, zero plus the number of units we moves the brush, simple if based on the brushes dimensions.
ie, 100 unit brush, moves three hundred units up, origin should be 0,0, -200
because the editor calculates from the bottom edge of the brush to figure out origin placement.
did this help?
Re: having difficulty - lighting a half buried bobber
thank you for making the effort - it makes life easier for the people who find threads like this via google.
i think part of what was causing confusion was using the word 'integers'. 'integer' means number, but it's not the right word to use in english for a value - for that you might use 'increment' or 'step', e.g. "increments of 100" rather than "integers of 100".
just out of interest, why do you post with 2 accounts - is it one for home and one for work?
i think part of what was causing confusion was using the word 'integers'. 'integer' means number, but it's not the right word to use in english for a value - for that you might use 'increment' or 'step', e.g. "increments of 100" rather than "integers of 100".
just out of interest, why do you post with 2 accounts - is it one for home and one for work?
-
- Posts: 102
- Joined: Sat Feb 19, 2005 10:11 am
Re: having difficulty - lighting a half buried bobber
lost my old password and then remembered it after a few months
Re: having difficulty - lighting a half buried bobber
We get that. Anyone can put two and two together and easily assume that the scenario was either your original account was banned, or you forgot your password.skinmaster wrote:lost my old password and then remembered it after a few months
However, the question still stands, why are you STILL posting on both accounts back and forth back and forth, to this day.
-
- Posts: 344
- Joined: Wed Jan 29, 2003 8:00 am
Re: having difficulty - lighting a half buried bobber
multiple personalities? its one of the great lem mysteries .
wats the difference, they wont delete the second one, you prefer i abandon it?
wats the difference, they wont delete the second one, you prefer i abandon it?