hmm..was thinking.. is there an rocket mod for Q3A?
-
- Posts: 871
- Joined: Sat Jun 10, 2000 7:00 am
I think this will work.
I havent the shit setup properly to compile the damn thing to vm's.
The function G_MissileImpact within g_missile.c needs these lines inserted.
I havent the shit setup properly to compile the damn thing to vm's.
The function G_MissileImpact within g_missile.c needs these lines inserted.
Code: Select all
// impact damage
if (other->takedamage) {
// FIXME: wrong damage direction?
if ( ent->damage )
{
vec3_t velocity;
///blood.angel
int inairdamage = 0;
if(other->client->ps.groundEntityNum == -1)
{
inairdamage = 300;
}
else
{
inairdamage = 0;
}
///blood.angel
if( LogAccuracyHit( other, &g_entities[ent->r.ownerNum] ) ) {
g_entities[ent->r.ownerNum].client->accuracy_hits++;
hitClient = qtrue;
}
BG_EvaluateTrajectoryDelta( &ent->s.pos, level.time, velocity );
if ( VectorLength( velocity ) == 0 ) {
velocity[2] = 1; // stepped on a grenade
}
G_Damage (other, ent, &g_entities[ent->r.ownerNum], velocity,
ent->s.origin, ent->damage+inairdamage,
0, ent->methodOfDeath);
}
}
-
- Posts: 4065
- Joined: Sat Mar 08, 2003 8:00 am
-
- Posts: 5493
- Joined: Sat Feb 19, 2005 12:57 am
-
- Posts: 5496
- Joined: Sun Feb 20, 2000 8:00 am
-
- Posts: 4065
- Joined: Sat Mar 08, 2003 8:00 am
Dark Metal wrote:Errrrr... 109 minute wait... Anyone got another link?
reeeead the thread... :icon33:
reefsurfer wrote:dont know if u guys need it...but here is a direct link: http://www.uni-vologda.ac.ru/students/p ... ll_052.zip
and crinkly, yea i will make a post about this idea.
-
- Posts: 4065
- Joined: Sat Mar 08, 2003 8:00 am
-
- Posts: 5493
- Joined: Sat Feb 19, 2005 12:57 am