m_m
53b8ebeeb4
Fixed scripting functions which use the current camera to also use the main camera when no custom camera is in use. This adds a optional boolean parameter to getCurrentCamera to retain backwards-compatibility.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9610 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:49 +10:00
Zacam
43f02b201a
For BluePlanet compatibility: change-nebula-pattern SEXP. Also adds a logging nprintf for op_num in add_to_event_log_buffer.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9564 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:06 +10:00
Zacam
593be42e66
*drum roll* Pilot Code! Originated by taylor. Additional direct work by: The E, niffiwan, CommanderDJ, Pyro3D, Echelon9 (PVS-Studio), Karajorma and Eli2. (If I missed you, don't kill me.)
...
MASSIVE thanks to Mjn.Mixael and Blue Planet for tireless constant testing.
(It's still not perfect, but it probably wouldn't be where it is at without them)
Spans a lot from initial commit to AP Branch in r6835.
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9561 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:06 +10:00
m_m
7f170217a8
Fixed scripting issue with wrong type conversions.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9538 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
Echelon9
72770939a2
Further spelling fixes, inspired by bugmenot's Mantis 2794
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9533 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
Goober5000
c8b5e8e755
correct the sexp help for string-to-int
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9514 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
Goober5000
a916633b46
onlyjob's spelling fixes, per Mantis #2777
2013-01-13 09:50:08 +00:00
Goober5000
4791df1b17
return special_hitpoints to using a specific value instead of a multiplier;
...
this was extensively tested in both single-player and multiplayer, using change-ship-class and changing ship loadout, against ships both higher and lower in hitpoints, to ensure it didn't re-break Mantis #2326
2013-01-13 09:28:28 +00:00
Goober5000
e26c663c59
wing departure now works
2013-01-13 03:55:09 +00:00
Goober5000
9b589d3005
MSVC6 compatibility
2013-01-08 01:44:48 +00:00
Goober5000
2e2c1afe38
there is actually a way to check for extra sound values per Mantis #2048 , and here it is
2012-12-17 05:54:18 +00:00
Valathil
fd125acb19
Fix for Mantis 1978: Add eyepoint directions to cameras; Add guncam view for cameras that are bound to turrets
2012-12-14 22:18:45 +00:00
karajorma
2e96022d5e
Fix a couple of event logs. Clean up the operators array.
2012-12-14 08:51:22 +00:00
karajorma
eebe54b0b1
Actually fix a bug in Num-ships-in-battle rather than accidentally committing a different minor fix.
2012-12-14 03:31:26 +00:00
The_E
9ac4d2d0b0
Patch for Mantis 2733: Updates the description for add-nav-waypoint. Also makes it work as intended.
2012-12-12 13:57:34 +00:00
The_E
f0dee720d9
Fix for Mantis 2733: Adds documentation for the 4th argument for the add-nav-waypoint sexp
2012-12-09 22:47:31 +00:00
The_E
38ba853d9b
Rewrite the sexp documentation for most of Kazan's navpoint sexps to follow the formatting established by the rest of the sexp docs.
2012-12-09 22:36:17 +00:00
Goober5000
b11cca1e7d
bulletproof the activation and deactivation of shields; this should fix Mantis #2747
2012-12-05 07:45:47 +00:00
karajorma
54a8788cb9
Update SEXP help for ai goal SEXPs to reflect that priorities over 89 are allowed now.
2012-12-01 07:11:29 +00:00
The_E
26b5c3a926
Changing the function descriptions of isLaser() and isMissile() to better explain what they're doing. Also adding isPrimary() and isSecondary(), which are basically the same as the first two, but named better.
2012-11-28 21:38:09 +00:00
The_E
1a7a74f43e
From FUBAR: Patch for Mantis 2256
2012-11-28 18:32:39 +00:00
Goober5000
9df9157e3c
improve ship-copy-damage sexp with more robust checks and incidentally a fix for Mantis #2734
2012-11-26 05:49:23 +00:00
The_E
7208989f05
Did you know that WP_BEAM isn't actually used anywhere? I didn't. Neither did the isBeam() scripting function.
2012-11-24 09:17:18 +00:00
karajorma
e10a41a82e
That buffer needs to be bigger!
2012-11-23 06:37:09 +00:00
Goober5000
48f36f569e
addendum to r9340 to fix Mantis #2714 in scripting function (thanks to Admiral MS)
2012-11-19 22:57:41 +00:00
Goober5000
bc26caba28
follow-up to 9355: since we have a version of get_string that accepts SCP_string, just use that
2012-11-19 05:36:05 +00:00
The_E
def96b21d2
Increase the buffer size for stuff_string_list(SCP_vector<SCP_string>) to 2048. If this function was used with substrings longer than NAME_LENGTH, this would cause stack corruption due to a buffer overrun.
2012-11-18 17:58:05 +00:00
zookeeper
a88b1e145c
Ought to fix bug 2690.
2012-11-16 19:45:24 +00:00
Goober5000
429ab61311
fix Mantis #2714 -- hud doesn't change when change-ship-class is called
2012-11-12 03:25:59 +00:00
Goober5000
14322c5064
a ship that is self-destructed should have the same behavior as one that is destroyed, if going by mission log entries
...
(c.f. thread: http://www.hard-light.net/forums/index.php?topic=82718.0 )
2012-11-05 05:43:28 +00:00
karajorma
9dd9dd1581
Object numbers are not guaranteed to the same on the client. Sent the net_sig instead.
2012-11-03 06:08:22 +00:00
chief1983
4e5d3e2e57
Fix all the 'no newline at end of file' warnings I saw thrown by gcc on FreeBSD.
2012-11-02 17:30:17 +00:00
karajorma
cfcb883159
Switch the name of the deselect-nav SEXP
2012-10-30 02:07:41 +00:00
Goober5000
b9a803a771
fix from Admiral MS -- move waypoints properly when moved via scripting
2012-10-29 20:27:31 +00:00
The_E
4d57e2eaba
Make change-team-color multi. Also adds SCP_string overloads for multi_send_string/multi_get_string
2012-10-27 09:24:11 +00:00
The_E
f98e75dde6
A few updates to Team Colors:
...
-Team Colors can now be applied to player ships
-change-team-color sexp for on the fly changes
-New F3 lab controls: T and Y can now be used to cycle team color presets
2012-10-26 18:39:43 +00:00
karajorma
54f6d864a0
alter-ship-flag SEXP. Now does AI flags too.
2012-10-23 12:02:28 +00:00
Goober5000
b01a5b3f65
add arrival_delay and departure_delay arguments to set-arrival-info and set-departure-info
2012-10-16 01:08:30 +00:00
m_m
e2e3eeafed
Adding a few new scripting functions, including support for dockingpoint access for scripting and a function to draw HUD-like brackets around an arbitrary subsystem.
2012-10-12 16:14:47 +00:00
karajorma
7769a4e6e1
Okay, this time JUST the event.log stuff!
2012-10-08 09:13:21 +00:00
karajorma
49f63ad88b
Backout that commit. Wrong codebsse!
2012-10-08 09:11:14 +00:00
karajorma
7c25c35243
Commit the event.log feature.
2012-10-08 09:02:44 +00:00
karajorma
c94d97073c
Talon1024's Nav select/deselect SEXPs.
2012-10-04 02:28:23 +00:00
Goober5000
acac926656
update const-correctness
2012-10-01 03:19:31 +00:00
Goober5000
b028b372af
fix a compiler warning
2012-09-28 06:26:34 +00:00
karajorma
05215a7ffa
Commit Mission Moods
2012-09-24 11:00:40 +00:00
Goober5000
ef6ccc36f0
play-sound-from-table should work for both 3d and non-3d sounds
2012-09-24 06:58:54 +00:00
karajorma
6b7f78965d
Allow subtitles to also display remappable keys.
2012-09-18 09:22:21 +00:00
karajorma
3780eb6a86
Looks like Do-Nothing went walkabout. Putting it back.
2012-09-16 13:30:18 +00:00
karajorma
ee52320146
Fix Mantis 2712 (Change-ship-class does not update clients). Only a partial fix as cockpit and HUD are not updated.
2012-09-16 08:30:48 +00:00