Jump to content

Home

Duel guns


GangsterAngel

Recommended Posts

___________________________________

// DUEL GUNS [ This is far off perfect]

if(ent->client->pers.HandShotFrom==1){

/*

//=========Posision

trap_G2API_GetBoltMatrix(ent->ghoul2, 0, 0, &lhMat, tAng, ent->client->ps.origin, level.time,NULL, ent->modelScale);

BG_GiveMeVectorFromMatrix(&lhMat, ORIGIN, lhOrg);

//=========Posision

VectorCopy( lhOrg, muzzle );

//VectorCopy( tAng, forward);//[shoots the floor]

*/

 

if(forward[PITCH] <=0)muzzle[1]-=ent->r.maxs[1];

else muzzle[1]+=ent->r.mins[1];

 

ent->client->pers.HandShotFrom=0;

}

else ent->client->pers.HandShotFrom=1;

// DUEL GUNS

--------------------------------------------------------

 

this only works when facing certan directions,, help ? .. also dose anyone know if u can BOLT a gun to lhBolt server side only.

Link to comment
Share on other sites

Angel, don't give us lip. We can't be expected to answer immediately when the information is already out there for you to find.

 

I could probably give you a direct answer, but I'm not going to in this case since you're constantly bitching about the speed of the responses.

 

Last Hope has duel weapons in it and is open source. You can find what you need there.

Link to comment
Share on other sites

Originally posted by GangsterAngel

yeah i know, comunity is dying, and noone wants to admit it

 

Games, and communities, have life-cylces - there aren't going to be so many people sitting around waiting to help you write the next great mod, so I'm afraid if you're really serious about writing a mod, you will have to figure more than a few things out on your own.

 

It's impossible to expect a 'community' to push you forward with your own project - there are still people who play this game quite a bit.

 

Without sacrifice, there can be no glory.

Link to comment
Share on other sites

  • 1 year later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...