![]() |
Show all 8 posts from this thread on one page |
VWBB (http://volitionwatch.papageorgefamily/vwbb/index.php)
- FreeSpace 1/2 Discussion (http://volitionwatch.papageorgefamily/vwbb/forumdisplay.php?forumid=33)
-- SEXP help (http://volitionwatch.papageorgefamily/vwbb/showthread.php?threadid=8160)
SEXP help
I'm not sure what SEXPs to use to control the following situation:
On the field, there are friendly capital ships and friendly fighters. Enemy fighters jump in, and I use C-3-9 to order them to "Engage enemy" (this does NOT include capital ships, at least I dont think so). (O are SEXPs that are chained)
Turrets Locked
.when
...has-arrived-delay
.....0
.....Enemy ship
..turret-lock-all
....GTD Ship
... (some message stuff here) ...
O Msg exchange 3
......send-message
........GTD Ship
O Attacked 1
.....fire-beam
........GTD Ship
........turret01
........GTD Ship
O Turrets freed
......when
........has-arrived-delay
..........18
..........Enemy ship
........turret-free-all
..........GTD Ship
So the problem is: When the order is given to fighers/bombs to "engage enemy", that will include the cruiser when it warps in. As you all know, because of the bug, I cant order even a single ship to "ignore target" (since for some reason they ALL ignore it). Its the same problem using expressions; they all ignore it. So is there an expression or some way so that when it warps in, ONLY the fighters ignore it? 
__________________
Freedom suppressed and again regained bites with keener fangs than freedom never endangered." -Cicero
"Comple others: do not be compelled by them." -Sun-tzu
"Black holes are where God divided by zero." -Steven Wright
"Never interrupt your enemy when he is making a mistake." -Napoleon
Leagacy at the [VBB] - October 2001 - April 2002 - 555 posts
[url=http://www.3dap.com/hlp/hosted/the158th]The 158th[/url]
SEXP help
I'm not sure what SEXPs to use to control the following situation:
On the field, there are friendly capital ships and friendly fighters. Enemy fighters jump in, and I use C-3-9 to order them to "Engage enemy" (this does NOT include capital ships, at least I dont think so). (O are SEXPs that are chained)
Turrets Locked
.when
...has-arrived-delay
.....0
.....Enemy ship
..turret-lock-all
....GTD Ship
... (some message stuff here) ...
O Msg exchange 3
......send-message
........GTD Ship
O Attacked 1
.....fire-beam
........GTD Ship
........turret01
........GTD Ship
O Turrets freed
......when
........has-arrived-delay
..........18
..........Enemy ship
........turret-free-all
..........GTD Ship
So the problem is: When the order is given to fighers/bombs to "engage enemy", that will include the cruiser when it warps in. As you all know, because of the bug, I cant order even a single ship to "ignore target" (since for some reason they ALL ignore it). Its the same problem using expressions; they all ignore it. So is there an expression or some way so that when it warps in, ONLY the fighters ignore it? 
__________________
Freedom suppressed and again regained bites with keener fangs than freedom never endangered." -Cicero
"Comple others: do not be compelled by them." -Sun-tzu
"Black holes are where God divided by zero." -Steven Wright
"Never interrupt your enemy when he is making a mistake." -Napoleon
Leagacy at the [VBB] - October 2001 - April 2002 - 555 posts
[url=http://www.3dap.com/hlp/hosted/the158th]The 158th[/url]
Well...you could "protect" the ship so that the fighters and bombers ignore it. Infact, all standard weapons will ignore the ship but beams have their own protect command so they would still attack.
__________________
- The Babylon Project Team
Well...you could "protect" the ship so that the fighters and bombers ignore it. Infact, all standard weapons will ignore the ship but beams have their own protect command so they would still attack.
__________________
- IceFire
Volition Watch Project Manager
[url=http://www.volitionwatch.com]Volition Watch[/url], [url=http://freespace.volitionwatch.com/blackwater]BlackWater Operations[/url], [url=http://freespace.volitionwatch.com/babylon]The Babylon Project[/url], [url=http://terra.sourceforge.net]Machina Terra[/url], [url=http://www.3dap.com/hlp/hosted/ott/]Over The Top[/url]
Use ai-chase-any-except. This is implemented in many of the fs2_open versions later than 3.4 that are floating around.
The ship will chase any ship except the ones listed in the sexp.
__________________
Goober5000, previously known here as Sesquipedalian, now changing his handle to make room for the HLP persona known as Sesquipedalian to register as Sesquipedalian. :)
Still play FS1? Check out my upcoming campaign, [url=http://www.geocities.com/ipw47/campaign.html]Fortunes of War[/url].
Play FS2 instead? Check out my finished minicampaign, [url=http://www.geocities.com/ipw47/dem.html]Deus Ex Machina[/url]. :D
Thanks! 
__________________
Freedom suppressed and again regained bites with keener fangs than freedom never endangered." -Cicero
"Comple others: do not be compelled by them." -Sun-tzu
"Black holes are where God divided by zero." -Steven Wright
"Never interrupt your enemy when he is making a mistake." -Napoleon
Leagacy at the [VBB] - October 2001 - April 2002 - 555 posts
[url=http://www.3dap.com/hlp/hosted/the158th]The 158th[/url]
You're welcome.
One warning - if the ship receives a new order, he won't ignore his list anymore - because he's no longer doing ai-chase-any-except.
__________________
Goober5000, previously known here as Sesquipedalian, now changing his handle to make room for the HLP persona known as Sesquipedalian to register as Sesquipedalian. :)
Still play FS1? Check out my upcoming campaign, [url=http://www.geocities.com/ipw47/campaign.html]Fortunes of War[/url].
Play FS2 instead? Check out my finished minicampaign, [url=http://www.geocities.com/ipw47/dem.html]Deus Ex Machina[/url]. :D
You're welcome.
One warning - if the ship receives a new order, he won't ignore his list anymore - because he's no longer doing ai-chase-any-except.
__________________
Goober5000, previously known here as Sesquipedalian, now changing his handle to make room for the HLP persona known as Sesquipedalian to register as Sesquipedalian. :)
Still play FS1? Check out my upcoming campaign, [url=http://www.geocities.com/ipw47/campaign.html]Fortunes of War[/url].
Play FS2 instead? Check out my finished minicampaign, [url=http://www.geocities.com/ipw47/dem.html]Deus Ex Machina[/url]. :D
| All times are EST. The time now is 03:14 AM. | Show all 8 posts from this thread on one page |
Powered by: vBulletin Version 2.2.6
Copyright © Jelsoft Enterprises Limited 2000, 2001.