Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Help on a cog I haven't started lol
Help on a cog I haven't started lol
2001-03-20, 2:25 PM #1
I want to get a cog that if you're on say, team1, you have a tiny current pushing you in a direction in specified sectors. I'd need the cog to run not stop (client side only I hope) and pushes a current from ghost positions or in that whole sector, but you would only feel the current if you're on that specific team.

Is that sort of stuff possible and could anyone help out with the coding of it? [http://forums.massassi.net/html/smile.gif]

Thanks in advance.



------------------
-Jedi Knight and trainer of the greatest mass-murderer that other galaxy has ever known.
2001-03-21, 2:14 PM #2
I don't think it's possible. Perhaps if you checked with a pulse the players model or team and then applied an opposite pushing force against the current. But that would be difficult and it probably won't work.
2001-03-21, 4:42 PM #3
hehe didn't really think so but my knowledge of cog is fairly limited. Thank you.

Hmm, what about if I went with a different approah? Like say... A force power that would telaport you through a few ghost positions. So you use force power, the go to ghost location1, then ghost location2, etc The power let's you jump ahead 2 of these ghost positions at a time...

I just read what I posted and doesn't sound too efficient.. Still, if it's possible I wouldn't mind trying and testing [http://forums.massassi.net/html/smile.gif]


------------------
-Jedi Knight and trainer of the greatest mass-murderer that other galaxy has ever known.
2001-03-21, 8:40 PM #4
Yes that is possible , just take alot of attatchment cogs

Attatch a cog to each sector , and have it send a trigger to the main cog , saying where the player is ... using the entered message.

Then in the main cog it will have a pulse running , and when it gets the trigger , it will if activate a varible sector2=1

then in the pulse

if(GetPlayerTeam(player) == 1)

if(sector2 ==1) ApplyForce(player) bla bla

Sorry i don't have time to write this all out proberly , just message me if you need help/don't get it.

↑ Up to the top!