Advertisement
Guest User

RCFF 3

a guest
Jul 29th, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 10.06 KB | None | 0 0
  1. --The
  2. --   Easy
  3. --___________________           ___________.__                 __  
  4. --\______   \_   ___ \          \_   _____/|  |   ____   _____/  |_
  5. -- |       _/    \  \/   ______  |    __)  |  | _/ __ \_/ __ \   __\
  6. -- |    |   \     \____ /_____/  |     \   |  |_\  ___/\  ___/|  |  
  7. -- |____|_  /\______  /          \___  /   |____/\___  >\___  >__|  
  8. --        \/        \/               \/              \/     \/      
  9. --. . . . . . . . . . . . . . . . . . . . . . . .A.L.P.H.A. . . . .
  10. --..... o--o o--o    O  o   o o--o o       o  o-o  o--o  o  o .....
  11. --..... |    |   |  / \ |\ /| |    |       | o   o |   | | /  .....
  12. --..... O-o  O-Oo  o---o| O | O-o  o   o   o |   | O-Oo  OO   .....
  13. --..... |    |  \  |   ||   | |     \ / \ /  o   o |  \  | \  .....
  14. --..... o    o   o o   oo   o o--o   o   o    o-o  o   o o  o .....
  15. --. . . . . . . . . . . . .V.E.R.S.I.O.N. . . . . . . . . . . . . .
  16. --. . . . . . . . . . . . . . . . . .v.0.1.1. . . . . . . . . . . .
  17. --. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  18. -- "The Easy RC-Fleet Framework"
  19. -- or also known as "RCFF"
  20. --by: nocalora
  21.  
  22. --Creating Customized Random Contacts has never been this Easy!
  23.  
  24. --Requirements
  25. --The SW3EXP Functions Library (0.6.2X)
  26.  
  27.  
  28. SW3EXP_RCFF_TableFleets =
  29. {
  30.  
  31.     --"Navy Strike Fleet: Special Operations"
  32.     {
  33.         --Fleet Data
  34.         FNAME           = "Navy_Strike_Fleet",
  35.         FAUTHOR         = "Nocalora",
  36.         FVERSION        = "1.0",
  37.         FWEBSITE        = "http://forum.1cpublishing.eu/showthread.php?t=229453",
  38.         FDESCRIPTION    = "A Navy Special Operations Fleet",
  39.         FREQUIRES       = "Navy_Strike_Fleet",
  40.        
  41.         --Fleet
  42.         FMinStrength    = 10,
  43.         FMaxStrength    = 60,
  44.         FCapital        = {"Battleship_vks2", "StoneArrowGK_vksR7", "StoneArrow_vksR10"},
  45.         FCapitalPilot   = {"VksOfficer"},
  46.         FEscortMin      = 2,
  47.         FEscortMax      = 6,
  48.         FFaction        = "Vks",
  49.         FTeam           = "Vks",
  50.         FTeamGroup      = "VksGroup",
  51.         --Waiting Time
  52.         InitialWait     = 100,
  53.         IntervalWait    = 250,
  54.        
  55.         --Properties
  56.         Prop_AllHostile             = FALSE,
  57.         Prop_SpawnRelationState     = "RELATION_NEUTRAL",
  58.         Prop_HostileTable           = CommonTables_Enemies,
  59.        
  60.         Prop_AllowMultiInstances    = FALSE,
  61.         Prop_AllowDespawn           = {FALSE, 180},                 --Allow, Time
  62.         Prop_PermVisible            = FALSE,
  63.         Prop_PermEscortVisible      = FALSE,
  64.         Prop_AllowRadio             = {TRUE, 180, "This is a warning to all Empire citizens, who ever gets in our way is authorized to be neutralized with violence."},
  65.         Prop_AllowTimerTrigger      = {FALSE, 180, ""},             --Allow, Time, Functionname
  66.         Prop_EnableChanceTrigger    = {FALSE, 50, 160, ""},         --Allow, Percentage, Time, Functionname
  67.         Prop_AllSystems             = FALSE,
  68.         Prop_SystemTable            = SysList_Navy,
  69.         Prop_PlayerInteraction      = FALSE, --Allow
  70.         Prop_CallsSOS               = FALSE,
  71.         Prop_CapitalFlees           = FALSE,
  72.         Prop_EscortFlees            = FALSE,
  73.         Prop_StackVectorMode        = {"X", 10},                    -- "X" or "Y" or "Z", Value of Coordinate
  74.         Prop_SpecificPortals        = FALSE,
  75.         Prop_SpecificPortalsTable   =
  76.                                     {
  77.                                         {
  78.                                             "PORTAL_U"
  79.                                         }
  80.                                     },
  81.         Prop_ManualEscort           = FALSE,
  82.         Prop_ManualEscortTable      =
  83.                                     {
  84.                                         {--0
  85.                                             "1",                --Type(Interceptor=1, Bomber=2, Capital=3)
  86.                                             "11",               --Min Strength(Value)
  87.                                             "16",               --Max Strength(Value)
  88.                                             "default"           --Manual Escort Object (Default=Capital), NUMBER-Based. example: a "0" would reference to THIS escort itself.
  89.                                         },
  90.                                         {--1
  91.                                             "2",
  92.                                             "5",
  93.                                             "11",
  94.                                             "default"
  95.                                         },
  96.                                         {--2
  97.                                             "1",
  98.                                             "6",
  99.                                             "8",
  100.                                             "0"
  101.                                         },
  102.                                         {--3
  103.                                             "2",
  104.                                             "8",
  105.                                             "15",
  106.                                             "1"
  107.                                         }
  108.                                     },
  109.         Prop_FullManualEscort       = TRUE,                 --OK
  110.         Prop_FullManualEscortTable  =                       --OK
  111.                                     {
  112.                                         {--0    --Flight
  113.                                             F_Carcass   =
  114.                                                         {   "StoneArrow_vksR10",
  115.                                                             "disabled",
  116.                                                             "disabled",
  117.                                                             "disabled",
  118.                                                             "disabled",
  119.                                                             "disabled"
  120.                                                         },
  121.                                             F_Pilot     =
  122.                                                         {
  123.                                                             "VksOfficer",
  124.                                                             "disabled",
  125.                                                             "disabled",
  126.                                                             "disabled",
  127.                                                             "disabled",
  128.                                                             "disabled"
  129.                                                         },
  130.                                             F_Roles     =  
  131.                                                         {  
  132.                                                             "ROLE_LEADER",
  133.                                                             "disabled",
  134.                                                             "disabled",
  135.                                                             "disabled",
  136.                                                             "disabled",
  137.                                                             "disabled"
  138.                                                         },
  139.                                             F_OverrideSpawnVector3 = {FALSE, Vector3(0, 0, 0)},
  140.                                             F_Formation =   "default", 
  141.                                             F_EscortObj =   "default",
  142.                                         },
  143.                                         {--1    --Flight
  144.                                             F_Carcass   =
  145.                                                         {   "Wyvern_nav2",
  146.                                                             "Wyvern_nav2",
  147.                                                             "Wyvern_nav2",
  148.                                                             "Wyvern_nav2",
  149.                                                             "Trident_nav2",
  150.                                                             "Trident_nav2"
  151.                                                         },
  152.                                             F_Pilot     =
  153.                                                         {
  154.                                                             "VksOfficer",
  155.                                                             "VksOfficer",
  156.                                                             "VksOfficer",
  157.                                                             "VksOfficer",
  158.                                                             "VksOfficer",
  159.                                                             "VksOfficer"
  160.                                                         },
  161.                                             F_Roles     =  
  162.                                                         {  
  163.                                                             "ROLE_LEADER",
  164.                                                             "ROLE_ATTACK",
  165.                                                             "ROLE_ATTACK",
  166.                                                             "ROLE_ATTACK",
  167.                                                             "ROLE_MISSLEDEFENCE",
  168.                                                             "ROLE_DEFEND"
  169.                                                         },
  170.    
  171.                                             F_OverrideSpawnVector3 = {FALSE, Vector3(0, 0, 0)},
  172.                                             F_Formation =   "default",
  173.                                             F_EscortObj =   "0"
  174.                                         },
  175.                                         {--2    --Flight
  176.                                             F_Carcass   =
  177.                                                         {   "StoneArrow_vksR10",
  178.                                                             "disabled",
  179.                                                             "disabled",
  180.                                                             "disabled",
  181.                                                             "disabled",
  182.                                                             "disabled"
  183.                                                         },
  184.                                             F_Pilot     =
  185.                                                         {
  186.                                                             "VksOfficer",
  187.                                                             "disabled",
  188.                                                             "disabled",
  189.                                                             "disabled",
  190.                                                             "disabled",
  191.                                                             "disabled"
  192.                                                         },
  193.                                             F_Roles     =  
  194.                                                         {  
  195.                                                             "ROLE_LEADER",
  196.                                                             "disabled",
  197.                                                             "disabled",
  198.                                                             "disabled",
  199.                                                             "disabled",
  200.                                                             "disabled"
  201.                                                         },
  202.                                             F_OverrideSpawnVector3 = {FALSE, Vector3(0, 0, 0)},
  203.                                             F_Formation =   "default", 
  204.                                             F_EscortObj =   "default",
  205.                                         },
  206.                                         {--3    --Flight
  207.                                             F_Carcass   =
  208.                                                         {   "Wyvern_nav2",
  209.                                                             "Wyvern_nav2",
  210.                                                             "Wyvern_nav2",
  211.                                                             "Wyvern_nav2",
  212.                                                             "Trident_nav2",
  213.                                                             "Trident_nav2"
  214.                                                         },
  215.                                             F_Pilot     =
  216.                                                         {
  217.                                                             "VksOfficer",
  218.                                                             "VksOfficer",
  219.                                                             "VksOfficer",
  220.                                                             "VksOfficer",
  221.                                                             "VksOfficer",
  222.                                                             "VksOfficer"
  223.                                                         },
  224.                                             F_Roles     =  
  225.                                                         {  
  226.                                                             "ROLE_LEADER",
  227.                                                             "ROLE_ATTACK",
  228.                                                             "ROLE_ATTACK",
  229.                                                             "ROLE_ATTACK",
  230.                                                             "ROLE_MISSLEDEFENCE",
  231.                                                             "ROLE_DEFEND"
  232.                                                         },
  233.    
  234.                                             F_OverrideSpawnVector3 = {FALSE, Vector3(0, 0, 0)},
  235.                                             F_Formation =   "default",
  236.                                             F_EscortObj =   "2"
  237.                                         },
  238.                                         {--4    --Flight
  239.                                             F_Carcass   =
  240.                                                         {   "Wyvern_nav2",
  241.                                                             "Wyvern_nav2",
  242.                                                             "Wyvern_nav2",
  243.                                                             "Wyvern_nav2",
  244.                                                             "Trident_nav2",
  245.                                                             "Trident_nav2"
  246.                                                         },
  247.                                             F_Pilot     =
  248.                                                         {
  249.                                                             "VksOfficer",
  250.                                                             "VksOfficer",
  251.                                                             "VksOfficer",
  252.                                                             "VksOfficer",
  253.                                                             "VksOfficer",
  254.                                                             "VksOfficer"
  255.                                                         },
  256.                                             F_Roles     =  
  257.                                                         {  
  258.                                                             "ROLE_LEADER",
  259.                                                             "ROLE_ATTACK",
  260.                                                             "ROLE_ATTACK",
  261.                                                             "ROLE_ATTACK",
  262.                                                             "ROLE_MISSLEDEFENCE",
  263.                                                             "ROLE_DEFEND"
  264.                                                         },
  265.    
  266.                                             F_OverrideSpawnVector3 = {FALSE, Vector3(0, 0, 0)},
  267.                                             F_Formation =   "default",
  268.                                             F_EscortObj =   "default"
  269.                                         },
  270.                                         {--5    --Flight
  271.                                             F_Carcass   =
  272.                                                         {   "Hrimturs_nav2",
  273.                                                             "Hrimturs_nav2",
  274.                                                             "Hrimturs_nav2",
  275.                                                             "Hrimturs_nav2",
  276.                                                             "Trident_nav2",
  277.                                                             "Trident_nav2"
  278.                                                         },
  279.                                             F_Pilot     =
  280.                                                         {
  281.                                                             "VksOfficer",
  282.                                                             "VksOfficer",
  283.                                                             "VksOfficer",
  284.                                                             "VksOfficer",
  285.                                                             "VksOfficer",
  286.                                                             "VksOfficer"
  287.                                                         },
  288.                                             F_Roles     =  
  289.                                                         {  
  290.                                                             "ROLE_LEADER",
  291.                                                             "ROLE_ATTACK",
  292.                                                             "ROLE_ATTACK",
  293.                                                             "ROLE_ATTACK",
  294.                                                             "ROLE_MISSLEDEFENCE",
  295.                                                             "ROLE_DEFEND"
  296.                                                         },
  297.    
  298.                                             F_OverrideSpawnVector3 = {FALSE, Vector3(0, 0, 0)},
  299.                                             F_Formation =   "default",
  300.                                             F_EscortObj =   "default"
  301.                                         },
  302.                                     },
  303.  
  304.         --//Objectives: 0 - Default(Patrols X RANDOM Vector3's and returns to portal)
  305.         --              1 - Escort Object, example: mothership
  306.         --              2 - Attack Object, example: mothership
  307.         --              3 - Fly to Vector3 Coordinates and fly back to portal.
  308.         --              4 - Visit Random Stations
  309.         Prop_Objective              = 0,
  310.         Prop_Objective_Object       = "",
  311.         Prop_Objective_Vector3      = {Vector3(100, 0, 0), Vector3(-100, 0, 0), Vector3(360, 0, 270), Vector3(-360, 0, 500)},
  312.         Prop_Objective_VRandStMax   = 2, --Max number of stations to visit
  313.         Prop_Objective_VRandVMax    = 6, --Max number of Vector3s to visit
  314.         Prop_Objective_VRandVMax_YMax = 50, --Max difference between Y Height. 50 = (-50 to 50)
  315.        
  316.         --Events
  317.         OnSpawn         = {"FALSE", ""},    --OK
  318.         OnLeave         = {"FALSE", ""},   
  319.         OnDeath         = {"FALSE", ""},    --OK
  320.         OnEscortDeath   = {"FALSE", ""},    --OK
  321.        
  322.         --Conditional Events
  323.         C_OnArrival     = {"FALSE", ""},    --Required Objective: 3 or 4
  324.         C_FirstPoint    = {"FALSE", ""},    --Required Objective: 3 or 4
  325.         C_LastPoint     = {"FALSE", ""},    --Required Objective: 3 or 4
  326.         C_PlayerNear    = {"FALSE", "", 60}     --Requires: "Prop_PlayerInteraction"
  327.     }
  328.    
  329. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement