Quake3World.com Forums
     Programming Discussion
        Grenades explode on impact?


Post new topicReply to topic
Login | Profile | | FAQ | Search | IRC




Print view Previous topic | Next topic 
Topic Starter Topic: Grenades explode on impact?

Grunt
Grunt
Joined: 27 Oct 2010
Posts: 71
PostPosted: 11-16-2013 02:55 PM           Profile Send private message  E-mail  Edit post Reply with quote


I am currently creating a mod for Quake III. I am making a weapon that will fire grenades, but the grenades will explode on contact with the world. Anyone know how to code this? Thanks in advance. :q3:



_________________
My Website:
Image


Top
                 

Commander
Commander
Joined: 22 Jul 2011
Posts: 139
PostPosted: 11-16-2013 07:39 PM           Profile Send private message  E-mail  Edit post Reply with quote


Just comment this line in fire_grenade:
Code:
   bolt->s.eFlags = EF_BOUNCE_HALF;




Top
                 
Quake3World.com | Forum Index | Programming Discussion


Post new topic Reply to topic


cron
Quake3World.com
© ZeniMax. Zenimax, QUAKE III ARENA, Id Software and associated trademarks are trademarks of the ZeniMax group of companies. All rights reserved.
This is an unofficial fan website without any affiliation with or endorsement by ZeniMax.
All views and opinions expressed are those of the author.