Commit Graph
262 Commits
Author SHA1 Message Date
karajorma d9863543f2 Added the Team Loadout Change subcategory
Added the deal-with-ship-loadout SEXP. It's only temporary but it give people an option other than having to roll their own events to fix up loadout at the end of a mission.
Added the num_assists SEXP to complement the num_kills one.
Updated the is-ship-class SEXP so that it can also act as was-ship-class for departed and destroyed ships.
Updated change-ship-class to work with ships that aren't in the mission yet.
Updated sexp_modify_variable to actually do the multiplayer callback that V had noticed was needed but never actually added.
2006-06-02 09:29:13 +00:00
Goober5000 4448ef1c47 fix for Mantis #755, plus make the missionlog #defines uniform
--Goober5000
2006-05-20 02:03:01 +00:00
Goober5000 7e41877b7b proper capitalization according to Volition 2006-04-20 06:32:30 +00:00
karajorma e8a819366b Added SEXPs to lock and unlock the primary and secondary weapons 2006-04-07 20:17:33 +00:00
karajorma 1f55522ea0 Damn spelling mistakes. And in the only place where it would be visible too! 2006-04-06 20:44:14 +00:00
Goober5000 e85a66b369 small fix 2006-04-06 18:53:28 +00:00
karajorma b8a871fed5 Changes to support the new Enable/Disable-Builtin-Messages SEXP 2006-04-05 16:56:57 +00:00
wmcoolmon b9f263495a Maneuvering hruster scaling, gun convergence 2006-04-04 11:38:07 +00:00
wmcoolmon 965cc660b9 show-subtitle's got its groove back 2006-04-03 09:05:37 +00:00
wmcoolmon def1993de8 Miscellaneous minor changes, mostly related to addition of Current_camera variable 2006-04-03 07:48:03 +00:00
karajorma 7fe2886e3b Added the set-primary-weapon and the set-secondary-weapon SEXPs. Updated the corresponding
set-x-ammo SEXPs to also accept a rearm limit.
2006-03-28 11:41:57 +00:00
Goober5000 27f5671b52 this should fix random-of
--Goober5000
2006-03-26 06:42:01 +00:00
Goober5000 bb4324969d hopefully fix this :( 2006-03-24 18:40:13 +00:00
Goober5000 a95eeb4e97 tweak karajorma's fixes... these should work exactly the same but are closer to my original intent 2006-03-24 05:08:19 +00:00
karajorma b9f3ed9328 Fixed Random-Of so that it finally works properly. and doesn't ignore the last items on the list.
Fixed Rand-Multiple so that when seeded it works the way I originally designed it to. Previously it was
working exactly the same as rand when seeded.
2006-03-22 16:24:20 +00:00
karajorma 45ead66153 Bah. More errors fixed. This time in in-sequence 2006-03-22 01:36:21 +00:00
karajorma ee92a2a0b3 Added the In-Sequence conditional. 2006-03-21 17:19:01 +00:00
Goober5000 58b58745aa added set-death-message sexp
--Goober5000
2006-03-18 22:43:16 +00:00
taylor a5d0bc4007 make sure errors in rand_sexp() and rand_internal() are properly handled 2006-03-18 10:26:42 +00:00
Goober5000 27992b09cf add ship-subsys-targetable and ship-subsys-untargetable
--Goober5000
2006-03-18 07:12:08 +00:00
karajorma ae0ca70b81 Bah. Error in secondary and primary ammo SEXPs fixed 2006-03-04 11:05:47 +00:00
Goober5000 f0f75c4b5c fix the random-of sexps to only choose valid arguments 2006-03-03 06:14:41 +00:00
Goober5000 a166d8dfd2 took care of (hopefully) the rest of Karajorma's SEXP node handle conflicts, plus merged the random sexps with their multiple variants 2006-03-02 04:05:27 +00:00
karajorma 2199ffd0dd Fixed a bunch of bugs with Set-x-ammo and Rand SEXPs. 2006-03-01 23:22:25 +00:00
karajorma 4f8e2ab5a4 Added the random-multiple-of SEXP and fixed random-of to work as designed 2006-03-01 20:54:35 +00:00
karajorma fc01cf65cb Changed text FRED displays for Fade-In and Fade-Out SEXPs 2006-03-01 14:53:15 +00:00
Goober5000 ecea6ace41 oswpt wing fix 2006-03-01 03:14:22 +00:00
wmcoolmon 817ea347d8 Silly mistake 2006-02-28 07:52:04 +00:00
wmcoolmon 0f47fb3dd2 Targetable as bomb SEXPs and dialog stuff; made invulnerable an object flag in both FRED and FS2. 2006-02-26 23:23:31 +00:00
Goober5000 8c580f8550 wow, over a year later and I'm still finding docking bugs :p 2006-02-26 22:47:11 +00:00
Goober5000 d979eb4f30 bah 2006-02-26 01:32:23 +00:00
Goober5000 3576d1c846 fix subsystems for get-object-* 2006-02-26 00:43:10 +00:00
Goober5000 6cd9711872 some paring down of sexps 2006-02-26 00:22:15 +00:00
Goober5000 657aeefcec added function for retrieving a ship, wing, waypoint, or team from a sexp argument
--Goober5000
2006-02-25 20:18:14 +00:00
karajorma 9e2946f49d Added Seeding functions to Rand and Rand-Multiple SEXPs 2006-02-25 17:34:23 +00:00
taylor e62b022333 compiler warning fixage 2006-02-24 07:30:23 +00:00
karajorma 272a93b423 Added the String-to-int SEXP. 2006-02-23 01:37:51 +00:00
taylor 4842f0a7f7 fix subsystem distance check from single ship to subsystem (this has been broken since day 1, over 3 years ago, so there could be other Mantis bugs relating to this) 2006-02-22 18:32:18 +00:00
karajorma 45fac1c94a Changed the set-secondary-ammo and set-primary-ammo SEXPs to use the banks
capacity rather than starting ammo.
2006-02-22 00:04:04 +00:00
karajorma 3f7b89566b Fixed the problems with set-primary-ammo and set-secondary-ammo SEXPs 2006-02-21 22:20:04 +00:00
karajorma 965225ec53 Added the get and set-primary-ammo SEXPs. The set-primary-ammo
and set-secondary-ammo SEXPs appear to be broken at the moment though
2006-02-21 21:40:25 +00:00
Goober5000 1145996990 more true/false tweaks and redid the get-object-* and set-object-speed-* sexps to be more flexible and extensible
this will break compatibility with certain uses of these sexps in existing missions; I don't think there are any released campaigns
with the old versions so hopefully mission designers can simply update unreleased missions... however if it gets to be a problem
I will code in some reverse compatibility

--Goober5000
2006-02-21 09:08:10 +00:00
Goober5000 57c4855e25 add a bunch of tweaks to hopefully lessen the possibility of misinterpreting special return values (such as nan) as true or false
--Goober5000
2006-02-21 07:58:01 +00:00
karajorma 716d0fc8b8 Added the num-ships-in-wing, get-secondary-ammo and set-secondary-ammo SEXPs 2006-02-20 20:53:11 +00:00
taylor 66d317b2ab updated to newest dynamic starfield code
- this mainly is to just better support SEXP based starfield bitmap changes (preloading, better in-mission stuff loading)
 - also fixes index_buffer related double-free()
 - done waste memory for env index buffer if env is not enabled
 - address a couple of bm load/release issues and comment a little to tell why
2006-02-20 07:30:15 +00:00
Goober5000 c27ccf94c4 added ai-ignore-new which hopefully should fix the ignore bug
--Goober5000
2006-02-20 02:13:08 +00:00
Goober5000 bb95da72a8 restore original ignore behavior and remove soon-to-be-obsolete ai-chase-any-except
--Goober5000
2006-02-19 22:00:10 +00:00
wmcoolmon 01d584e9eb Oops 2006-02-19 02:04:40 +00:00
Goober5000 8be490655a additional error checking
--Goober5000
2006-02-19 00:32:47 +00:00
taylor edf5adf90c please stop modifying the passed node value in sexp functions, it makes it very difficult to debug problems 2006-02-16 05:40:58 +00:00