Inside3D!
     

Gyro Question

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
gnounc



Joined: 06 Apr 2009
Posts: 120

PostPosted: Mon Apr 06, 2009 10:32 am    Post subject: Gyro Question Reply with quote

I am trying to learn QuakeC through gyro, and I dont quite understand either yet.

But, as practice I am trying to make a slightly different approach to a grappling hook.

I want to make the missiles from the rocket launcher PULL you through the air.
Just shoot, and start flying.
So you could shoot yourself up to a ledge.

The gyrodocs cover how to make the missile a force entity.
My question is, how do I do the same for the player (so the missile can act on the player (pull))?


found it.

in player.qc

/*
==============================================================================
PLAYER
==============================================================================
*/

void() player_run;

void() player_stand1 =[ $axstnd1, player_stand1 ]
{
add this Gyro_Object_Activate(self, 350);
add this Gyro_Object_AddChannels(self, GYRO_CHANNEL_ORGANIC);
self.weaponframe=0;
if (self.velocity_x || self.velocity_y)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group