Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
ryleyra

Registered:
Posts: 3,214
Reply with quote  #1 
I was poking around in the mission-file-docs.txt file, and found the following. As far as I know, there have been no posts on the subject, and Thom didn't mention it in his patch notes.

 

// values that are in the game, not actually attached to an object.  To use these, do not name the object when using "if_object_property" or similar commands.

  nebulaIsOpaque
  sensorSetting
  gameTimeLimit
  networkTickSpeed
  nonPlayerSpeed
  nonPlayerShield
  nonPlayerWeapon
  playerWeapon
  playerShields
  coopAdjustmentValue

That's right. Sensor setting is now configurable in the script! [biggrin]

In addition, the other configuration settings appear to be available. I assume coopAdjustmentValue is the automatic setting that increases enemy shields based on the number of enemy ships.

As for nebulaIsOpaque, I'm assuming that is the "Nebula Hides All" setting from PvP.

I haven't tested any of the above, but I thought I would draw attention to it.

Mike Substelny

Avatar / Picture

Administrator
Registered:
Posts: 2,990
Reply with quote  #2 
You are right about nebulaIsOpaque, ryleyra. I used it in the challenge missions at Armada and it worked great.
__________________
"The Admiralty had demanded six ships; the economists offered four; and we finally compromised on eight."
- Winston Churchill
parpar88

Avatar / Picture

Registered:
Posts: 261
Reply with quote  #3 
The fog of war is think this battle.
__________________
Proud member of the Epic crew of the TSN Belisarius BS 108
Lieutenant Adam Parra in the TSN RP 

Join us on Teamspeak!

TSN comms.terranstellarnavy.community

Eastern Front online group member
techbear

Administrator
Registered:
Posts: 172
Reply with quote  #4 
Never assume Thom is actively hiding something from you or trying to be sneaky.  In this case, Thom was simply not complete in his documentation. [smile]

These values are the same as the values in the "customize" submenu, when you're setting up a game (so all the values should be the same as that menu, unless the value is a coefficient).  Mike really needed the opaque nebula to be exposed to scripting, so I added all the customize options as well.
ryleyra

Registered:
Posts: 3,214
Reply with quote  #5 
Oh, no, I didn't think you were hiding anything. I was just excited to find it.

I just finished testing and confirmed that friendly ships now fire drones. Mike had already mentioned that in a previous post, but I'm re-writing the Strike Force Seven mod and testing it out under the new code. Since I no longer have to define the player ships and non-player versions as different ships, I am adding drones to the Garbage Scow, since it doesn't have any beams.

If it works, I would recommend adding a drone rack to the TSN and Ximni Missile Cruisers, so they aren't totally helpless as NPC ships.
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.