Inside3D tutorials.

Inside3D
 • Front Page
 • Articles
 • Downloads
 • Forums
 • Hosting
 • Help Wanted
 • Interviews
 • Reviews
 • Staff

 
Allied Sites
 - AI Cafe
 - Bot Epidemic
 - Dark Places
 - Flat Earth
 - FrikBot
 - Ghoulish Art
 - Kilbert3D
 - Quake Info Pool
 - QSG: Quake Standards
 - Rusted Fork
 - Stroggs Gone Mad
 - More...
 
Quake
 - Getting Started
 - QuakeC Specs v1.0
 - QuakeC Tutorials
 - Quake Mod Index
 
Quake II
 - Getting Started
 - dll Sourcecode
 - Coding Tutorials
 
.dll Central
 - Getting Started
 - Learning
 - dll Primer
 - dll in C
 - dll in Delphi
 - Compilers
 
Jedi Knight
 - Getting Started
 - COG Specs
 - Sound Specs
 - Tutorials
 
Level Editing
 - Tutorials/Tips
 
 
Telefragged!!!
Created By: Malcolm Lim
eMail: mlbl@botepidemic.com
Difficulty Scale: Easy


This tutorial will fix a small bug in the reaper bot that doesn't allow the bot to use Wind Tunnels properly.

open up triggers.qc and go to the function called trigger_push_touch. Scroll down till you see something like :
if ( ((self.movedir_x < 0.100) && (self.movedir_y < 0.100)) ) {
	other.velocity_x = ((other.velocity_x + (80.000 * random ())) - 40.000);
	other.velocity_y = ((other.velocity_y + (80.000 * random ())) - 40.000);
}
Change this into :
if ( ((self.movedir_x < 0.100) && (self.movedir_y < 0.100)) ) {
	other.flags = other.flags - (other.flags & FL_ONGROUND);
	other.velocity_x = ((other.velocity_x + (80.000 * random ())) - 40.000);
	other.velocity_y = ((other.velocity_y + (80.000 * random ())) - 40.000);
}
There you have it ! The reaper bot now can go on wind tunnels.






The Inside3D content and design is copyrighted by the Inside3D team, and may not be re-produced or copied without proper consent. All rights reserved. Any work credited to any author not part of InsideQC is copyrighted by that author. If you have any feedback, suggestions or flames please send it in to the author. Inside3D is hosted by telefragged and the design was originated by project-9.