Posted by Newbie Coglodite (Feeling Stupid) on January 31, 1998 at 18:07:07:
In Reply to: Re: Help with Cog (sectorthrust)-Please posted by Raptor [JiB] on January 31, 1998 at 07:12:49:
>
> > > 1. Use the original cog. It doesn't matter if you only want one sector, just leave the other sector values at -1.
> > > 2. You say that you attached the cog to the floor of the sector, which would be a surface. You can only attach this cog to a sector, if you want the floor to move like a conveyor use 00_conveyor.cog. Anyway, for sectorthrust, look at which sector your floor is in, then put this number into the cog using the Placed cogs window.
> > > 3. I ass ume you've set the vector, in the form (0.0/0.0/0.0). Each of the values indicates the x, y and z values. X=left/right, y=forward/back, z=up/down.
> > > Positive no.s give right/forward/up values (looking from JED's point of view, and negatives give the opposite. Repost if you've got more problems, I love easy questions :)
> > Yes, I have more questions.
> > Do you set the vector in the cog file or in the placed cogs window?
> > If in the cog file, under the code section I assume?
> > If in the cog window, does that mean all the thrust sectors will have the same vector?
> >
> > Which value do you change in the cog window to activate a sector? I assume it is the sector number of the one you want (sector0, sector1, sector2,...)-but what do yo change the -1 to? 0,1,2? I have tried these three, along with combos of the other chages, and haven't arrived at the magic formula yet.
> > Hope this is fun for you too....
> >
> > strontium_dog
> For sectorthrust, always set the vector in the cog window. If you want sectors thrusting different ways, just place the cog again and put in a different vector. The sector numbers are just the numbers of the sector you want to have the thrust, as you say. If you wanted sector 127 to thrust, you'd just put 127 into one of the sector boxes.
Arrghh,
I am beginning to feel a little bit stupid at this point. Let me spell out specifically what I have done:
Placed unmodified SectorThrust cog
changed following factors in placed cog window:
set vector to four different: 0.0/0.0/4.5, 0.0/0.0/0.5, 0.0/0.0/45.0, 0.0/0.0/90.0
Set speed to 1.0, 10.0
set Sector0 to 0
set Sector1 to 1
Set Sector2 to 2
(at the same time and individually)
I want this sector thrust to push a character upwards vertically, in any way shape or form.
What am I leaving out? Is gravity a factor? BTW, what does the Gravity sector flag do?