Bullet Range?
Moderator: InsideQC Admins
4 posts
• Page 1 of 1
Bullet Range?
i was wondering if there was a function in the qc code where you can choose how far a bullet can go and if there is where and if not how would i write it would it be something with tracelines?
- sniperz227
- Posts: 112
- Joined: Sat Apr 09, 2011 3:19 am
yeah, TraceAttack in weapons.qc if I remember correctly.
Just change the distance traveled by the traceline. It won't impact/detect things outside the line traveled.
Just change the distance traveled by the traceline. It won't impact/detect things outside the line traveled.
- Spike
- Posts: 2892
- Joined: Fri Nov 05, 2004 3:12 am
- Location: UK
Re: Bullet Range?
sniperz227 wrote:i was wondering if there was a function in the qc code where you can choose how far a bullet can go and if there is where and if not how would i write it would it be something with tracelines?
sorry i forgot to ask do you know what the armor code is called in kurok ?
- sniperz227
- Posts: 112
- Joined: Sat Apr 09, 2011 3:19 am
Re: Bullet Range?
sniperz227 wrote:sorry i forgot to ask do you know what the armor code is called in kurok ?
armor code called? it's probably the same as normal quake. self.armorvalue is your armor. works kinda like health
-

behind_you - Posts: 237
- Joined: Sat Feb 05, 2011 6:57 am
- Location: Tripoli, Libya
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest