Dynaverse.net
Taldrenites => Starfleet Command Mission Scripting => Topic started by: Bonk on November 24, 2004, 10:27:56 am
-
Just a thought... I just compiled my first mission script successfully, but the hard part is ahead, I have yet to edit and run it.. ;)
I've got lots of ideas for scripting and if I have any luck with it I'll be full of more questions too!
-
The mission script does not control how the DV shifts directly. If the mission is successful, the DV will change by 1 in favour of the player, if the mission is a failure, it will shift by 1 in the opposite direction, if it is a draw, no change. The mission result is controlled by the script, but not the DV change. This of course is when running with the flatfile.
Under SQL its a different story.
-
I have yet to complete my first mission script, so perhaps I speak from ignorance. (Now that I'm settled into the new house and done with wedding plans, I'll try to get back to scripting after GW4 concludes.)
However, it appears to me that the script can recognize whether or not you have drafted a live player. Thus it would seem you could set up a conditional loop for reporting results. If you didn't draft a live player, then could you not report any result as a draw? Thus you could only change the DV if you draft a live player.
Mind you, I don't think this is a good idea. I think players should be able to change the DV by having AI battles. The enemy should not be able to protect a valuable hex by simply leaving it undefended.
A better idea might be to have the DV change by 1 if facing AI but by 10 if facing a live opponent. I haven't spotted any clue as to how to do this with scripting, but Keltset has done it in his EAW servers by using SQL.
-S'Cipio
-
Mind you, I don't think this is a good idea. I think players should be able to change the DV by having AI battles. The enemy should not be able to protect a valuable hex by simply leaving it undefended.
A better idea might be to have the DV change by 1 if facing AI but by 10 if facing a live opponent. I haven't spotted any clue as to how to do this with scripting, but Keltset has done it in his EAW servers by using SQL.
Now that I think about it you are right, using SQL mission scripts to shift DV by 10 for PvP instead of 1 is a much better idea. I guess I'll stick with trying to get SQL working on the kit for now and fiddle around with scripting after...
It'd be too cool to see some Herr Bert missions! 8)
-
Yes...some kind of shift should happen just for running a mission...otherwise..in order to prevent your enemy from taking territory...you'd only have to stay out of the hex....and they could never swing the DV... ;)
-
Thats how it is on D3