zookeeper
95145a4f3f
Slightly clarified variable use.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11276 387891d4-d844-0410-90c0-e4c51a9137d3
2015-03-07 09:39:26 +10:00
niffiwan
23fbcb1a2f
Add indentation for previous commit
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11265 387891d4-d844-0410-90c0-e4c51a9137d3
2015-03-01 11:02:15 +10:00
niffiwan
dc02e70716
Coverity 1093719 Negative array index read
...
Check current_bank is > -1 before using it
Note: did not alter indentation in this commit in order to make
relevant changes easier to see
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11264 387891d4-d844-0410-90c0-e4c51a9137d3
2015-03-01 11:02:15 +10:00
Echelon9
abc0fd11b5
Fix Coverity #1093720 Negative array index read in ai_big_maybe_follow_subsys_path()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10851 387891d4-d844-0410-90c0-e4c51a9137d3
2014-07-05 10:38:08 +10:00
The_E
154a1a6c76
Removing dead and potentially confusing code
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10719 387891d4-d844-0410-90c0-e4c51a9137d3
2014-05-25 19:03:50 +10:00
Wanderer
141f6bc121
fix issue with burst firing secondaries - thanks to Goober for finding it
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10150 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-25 19:29:37 +10:00
Goober5000
7e5b2aee52
turn mc_info into a plain data struct, part 2
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9822 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-26 18:51:36 +10:00
The_E
c0919e0777
Admiral MS' AI flag to enable the AI to be smarter when using afterburners. flag name is "free-afterburner-use". See http://www.hard-light.net/forums/index.php?topic=83818.0 for reference
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9795 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-20 19:23:19 +10:00
Goober5000
94f7a54596
apply m!m's fix for Mantis #2780 also correct the off-by-one error in the range check (path_num must < n_paths, not <=)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9512 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:44 +10:00
Valathil
4eaa532ce0
Fix for Mantis 2447: Allow fighters to use anti subsystem weapons when disarming/disabling protected ships.
2012-12-18 17:26:48 +00:00
Echelon9
65adaf51a9
GCC warning: variable set but not used (within AI code)
2012-06-12 16:45:36 +00:00
Echelon9
7501ff2bef
LLVM Warning fix: Value stored to target_objp is never read
2012-01-21 06:27:54 +00:00
Echelon9
2873a28131
LLVM Warning fix: Value stored to enemy_ship_type is never read
2012-01-21 06:25:30 +00:00
Echelon9
19ae6528e0
Cases of commented out Int3() indicate areas of old, redundant code.
2011-11-17 11:07:53 +00:00
The_E
abd7134e0e
ALtered according to feedback from Valathil.
2011-08-06 19:11:43 +00:00
IssMneur
1c130bbc8a
From Valathil: Fixes a problem with a min-max lifetime smart spawn weapons where it wouldn't fire except at close range
2011-08-06 18:20:34 +00:00
The_E
f768943284
Swifty's collision detection improvements.
2011-07-01 17:00:31 +00:00
Sushi
65f7c760d8
Add "$ai aims from ship center:" and "$allow primary link delay:" AI profiles flags
2010-12-31 20:03:16 +00:00
The_E
083a84feff
Swifty's go-swift stuff. Makes collision detection slightly less insane.
2010-12-22 14:42:21 +00:00
The_E
f02e83320d
Fix two instances where an object instance number was used as an index into Weapon_info[]
2010-11-23 08:20:56 +00:00
The_E
6fccf9f790
Ooops. Now this is a proper sanity check.
2010-09-27 04:46:08 +00:00
The_E
18e539c27b
Moving this assert to a better place
2010-09-25 19:08:27 +00:00
The_E
78f7d9f737
Added an Assertion() to further narrow down the cause of the "ai_find_path tries to find path that doesn't exist" bug
2010-09-24 06:29:46 +00:00
The_E
931cd6bf3a
Better feedback here, as well
2010-09-03 00:06:52 +00:00
Sushi
f045a26eed
Updated random sidethrust ($Random Sidethrust Percent) to include strafing attacks vs big ships, as well as making it a bit more situational for fighter vs fighter.
2010-08-21 19:55:44 +00:00
Sushi
34c61a7caa
Reverted commit 5656, due to side effect of changing AI behavior (see mantis 1982)
2010-05-01 20:39:41 +00:00
Wanderer
e8d72f5a50
mantis 2138, fix game crashing if using ships with secondaries but without primaries, allow ai ships armed only with secondaries to attack & shoot
2010-03-08 14:53:48 +00:00
Wanderer
96c365ca86
Fix for mantis 2131:
...
prevent for time compression caused vector scaling errors
changed time compression related beam assert into nprintf.
2010-03-05 11:48:19 +00:00
Wanderer
8546cac0c0
fix for issue when ai is selecting big attack points
2010-01-16 16:06:32 +00:00
karajorma
39550294bd
Pedro's Mantis 1982 Fix (Afterburners are used from several places in the code for ships with no afterburners).
2009-11-14 09:51:24 +00:00
Sushi
771571be7e
AI Profiles entries in AI.tbl are now overrides instead of multipliers.
2009-11-05 22:46:54 +00:00
Sushi
890b1bee36
Added $Max Aim Update Delay to AI_Profiles.tbl (and AI.tbl). $Max Aim Update Delay allows AI aim to "lag" somewhat, making it more possible to evade high-velocity weapons.
2009-09-08 23:32:03 +00:00
Sushi
95a8b8c730
Fix for bug reported by Spoon ( http://www.hard-light.net/forums/index.php?topic=65285.0 )
2009-08-24 14:16:55 +00:00
Wanderer
b77b9adf39
turret fov check improvements
2009-08-22 09:00:33 +00:00
Wanderer
064ab52578
lots of fixes to the earlier burst fire mode
2009-08-21 18:20:28 +00:00
Sushi
eb4b7c03e9
Major expansion of AI.tbl. AI.tbl now allows per-AI-class changes to AI settings in AI Profiles. Numerical values (such as $Glide Attack Percent or $Predict Position Delay) are handled as multipliers. YES/NO flags are overridden if set for a specific AI class. All of these multipliers and overrides are optional, and only active if explicitly specified for an AI class.
2009-08-18 04:32:40 +00:00
Sushi
66db559d2c
Some fixes/improvements to AI glide stuff, cleaned up some comments and notes
2009-08-05 05:36:45 +00:00
Sushi
9246a2f74d
Additional AI code, including stuff taking advantage of glide and sidethrust. Includes: Flag for allowing fighters to dodge vertically as well as horizontally, "stalemate detection" to help AI break out of circle fights and other stalemate situations, "glide attack" where AI fighters will use glide to fly away while shooting back at you, "circle strafe" where AI fighters will use sidethrusters to jink around while shooting, and an (incomplete) version of "glide strafe" that allows fighters/bombers to use glide to attack capital ships. All new stuff is off by default, and can be turned on with AI_Profiles flags.
2009-07-13 20:08:32 +00:00
Wanderer
657eed8106
Non-swarm type burst fire firing mode commit
2009-07-07 17:08:50 +00:00
portej05
719825f80d
The big CVS comment removal. This chops approx. 3.5mb off a full checkout.
...
I've tested this through compiling and through hand checking.
Normalises line endings in ALL files to \n.
2009-06-20 08:08:20 +00:00
Wanderer
2036fb95cc
merge from wanderer branch - turret target priorities setup
2009-05-20 20:43:01 +00:00
Wanderer
b4eb17bd7f
merge from wanderer branch - limited rotation turrets, reset idle turrets option
2009-05-20 18:03:14 +00:00
Goober5000
6e4021888d
add apostrophes to contractions, lol
2009-04-10 07:49:12 +00:00
Goober5000
05d4da7b01
partial commit of aldo's eyepoint feature
...
it will need a keystroke to be complete
2007-07-15 04:19:34 +00:00
Goober5000
3c3416fa3b
the great big duplicate model removal commit
2007-02-20 04:20:38 +00:00
Goober5000
b52b6b1e00
spelling
2006-02-25 21:47:19 +00:00
Goober5000
4d5a477f71
übercommit of custom IFF stuff :)
2006-01-13 03:31:20 +00:00
Goober5000
b33caf6f45
change from "setting" to "profile"; this way makes more sense
...
--Goober5000
2005-11-21 02:43:37 +00:00
Goober5000
956e48daf4
add ai_settings.tbl
...
--Goober5000
2005-11-21 00:50:02 +00:00
Goober5000
f510a86176
rolled back UnknownPlayer's commit
...
--Goober5000
2005-10-22 22:22:41 +00:00