Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 09:37:57 am

Login with username, password and session length
Be sure to check out the Dynaverse.Net Repository, the most comprehensive SFC library around !! ftp.dynaverse.net
692198 Posts in 49569 Topics by 2957 Members
Latest Member: Jasoneagle
* Home Help Search Calendar Login Register
Dynaverse.net  |  Taldrenites  |  Starfleet Command Mission Scripting  |  Topic: Possible to shift DV only with PvP missions? 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Possible to shift DV only with PvP missions?  (Read 699 times)
Bonk
Ringworld Child
Administrator
Captain
*
Offline Offline

Posts: 9424


Tanj!


Possible to shift DV only with PvP missions?
« 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.. Wink
I've got lots of ideas for scripting and if I have any luck with it I'll be full of more questions too!
Logged

Reality is what doesn't go away when you stop believing in it. - Philip K. Dick
FPF-SCM_TraceyG_XC
Empress of the Empire
Global Moderator
Commander
*
Offline Offline

Gender: Female
Posts: 2543



Re: Possible to shift DV only with PvP missions?
« Reply #1 on: November 24, 2004, 06:06:00 pm »

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.
Logged

Captain FPF-TraceyG, Federation Protection Fleet


SFC2.net Admin member
SFC3.net Admin member
Voting member of the DGA
Member of XenoCorp, Squadron Commodore
GDA-S'Cipio
Brucimus Maximus
Commander
*
Offline Offline

Gender: Male
Posts: 4941


If I took the bones out, it wouldn't be crunchy.


Re: Possible to shift DV only with PvP missions?
« Reply #2 on: November 26, 2004, 10:29:59 am »


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
Logged

"I cannot undertake to lay my finger on that article of the Constitution which granted a right to Congress of expending, on the objects of benevolence, the money of their constituents."  - James Madison (chief author of the Constitution)

-----------------------------------------
Gorn Dragon Alliance member
Gorn Dragon Templar
Coulda' used a little more cowbell
-----------------------------------------

Bonk
Ringworld Child
Administrator
Captain
*
Offline Offline

Posts: 9424


Tanj!


Re: Possible to shift DV only with PvP missions?
« Reply #3 on: November 27, 2004, 04:57:53 pm »

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!  Cool
Logged

Reality is what doesn't go away when you stop believing in it. - Philip K. Dick
KBF-Crim
1st Deacon ,Church of Taldren
Global Moderator
Captain
*
Offline Offline

Gender: Male
Posts: 8617


Crim,son of Rus'l


Re: Possible to shift DV only with PvP missions?
« Reply #4 on: November 28, 2004, 01:50:50 pm »

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... Wink

Logged


Klingon ARM

 “The religion of Islam above all others was founded upon the sword … Moreover it provides incentives to slaughter, and in three continents has produced fighting breeds of men – filled with a wild and merciless fanaticism”. – Winston Churchill

http://falconparty.com/
FPF-SCM_TraceyG_XC
Empress of the Empire
Global Moderator
Commander
*
Offline Offline

Gender: Female
Posts: 2543



Re: Possible to shift DV only with PvP missions?
« Reply #5 on: November 28, 2004, 11:10:28 pm »

Thats how it is on D3
Logged

Captain FPF-TraceyG, Federation Protection Fleet


SFC2.net Admin member
SFC3.net Admin member
Voting member of the DGA
Member of XenoCorp, Squadron Commodore
Pages: [1] Print 
Dynaverse.net  |  Taldrenites  |  Starfleet Command Mission Scripting  |  Topic: Possible to shift DV only with PvP missions? « previous next »
Jump to:  

Powered by MySQL Powered by PHP Dynaverse.net | Powered by SMF 1.0.15.
© 2001-2008, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!
Page created in 0.139 seconds with 21 queries.