Posted by Stealth on January 17, 1998 at 18:07:41:
In Reply to: Re: Can't get lift to change speed... posted by Smo on January 17, 1998 at 17:45:59:
> > > Guys, I have a 4x4lift....I tried to use the standard cog (00_elev_switch2.cog),
> > > changing the speed...still goes VERY slow. I extracted the cog and
> > > customized it...here it is....
> > I cannot see anything wrong with it...
> > Try making the speed local to your cog instead of setting it in Jed.
> > flex speed=10.0 local
> > you should be able to change it from your cog then. Just an idea.
> > Oh... please use "activated" instead of "activate", and "GetSurfaceCenter" instead of "SurfaceCenter", those glitches in LEC's naming convention hurt my sensible eyes... :-) Also, please try to adopt the "capitalize first letter of every word" in cog verbs (i.e. "MoveToFrame" instead of "movetoframe") I really find that WAY more readable.
> > -CogKing "just trying to establish good habits from the start" :-)
> Thanks CogKing, the local worked....still can't hear the beep1.wav as the switch. There are many cog verbs in that cog, should all be capitalized...unsure cause its just an edited original game cog...I did make the changes you mentioned.
Smo
I had problems with that cog today too.. the line with
"Int curframe=0 Local" doesn`t get parsed correctly and shows up in the cog placer.
so it screws up all the variables after that.
chnage the "Local" to local and it should work out.. you`ll have to delete the cog and readd it too.