Jump to content

slmod.units_firing


NBEagle

Recommended Posts

Hi,

i used this here and it works great with v6.3 and before dcsw 1.24.

I just updated dcsw and install slmod v7.0.

Slmod initialize correctly at the begin of the mp mission, but the script did not work either...

The mission wasnt change, only the slmod and dcsw version....did i miss some?

Thanks for helping me out!

 

do
    slmod.units_firing{init_units = {'Pilot #1', 'Pilot #2', 'Pilot #3'}, flag = 100, text = '%s: BOMBS AWAY!', display_units = 'iw', display_time = 3, display_mode = 'text', weapons = {'CBU-87', 'CBU-97', 'CBU-103', 
'CBU-105', 'GBU-10', 'GBU-12', 'GBU-31', 'GBU-38', 'Mk-82', 'Mk-82AIR', 'Mk-84'}}
    slmod.units_firing{init_units = {'Pilot #1', 'Pilot #2', 'Pilot #3'}, flag = 101, text = '%s: RIFLE!', display_units = 'iw', display_time = 3, display_mode = 'text', weapons = {'AGM-65D Maverick', 'AGM-65H Maverick', 'AGM-65G Maverick', 'AGM-65K Maverick'}}
    slmod.units_firing{init_units = {'Pilot #1', 'Pilot #2', 'Pilot #3'}, flag = 102, text = '%s: ROCKETS AWAY!', display_units = 'iw', display_time = 3, display_mode = 'text', weapons = {'HYDRA-70 M151', 'HYDRA-70 MK5'}}
    slmod.units_firing{init_units = {'Pilot #1', 'Pilot #2', 'Pilot #3'}, flag = 103, text = '%s: GUNS,GUNS,GUNS!', display_units = 'iw', display_time = 3, display_mode = 'text', weapons = {'30mm AP', '30mm HE'}}
    slmod.units_firing{init_units = {'Pilot #1', 'Pilot #2', 'Pilot #3'}, flag = 104, text = '%s: FOX TWO!', display_units = 'iw', display_time = 3, display_mode = 'text', weapons = {'AIM-9M'}}
    slmod.units_firing{init_units = {'Einheit #107', 'Einheit #108', 'Einheit #109', 'Einheit #110', 'Einheit #111', 'Einheit #112', 'Einheit #113', 'Einheit #114', 'Einheit #115', 'Einheit #117', 'Einheit #119', 'Einheit #121', 'Einheit #123', 'Einheit #125', 'Einheit #127', 'Einheit #129', 'Einheit #131', 'Einheit #133'}, flag = 200, text = '%s: SAM LAUNCH!', display_units = 'wi', display_time = 3, display_mode = 'text', weapons = {'all'}} 
    slmod.units_firing{init_units = {'Einheit #23', 'Einheit #24', 'Einheit #25', 'Einheit #26', 'Einheit #78', 'Einheit #79', 'Einheit #80', 'Einheit #81', 'Einheit #82', 'Einheit #83', 'Einheit #84', 'Einheit #85', 'Einheit #135', 'Einheit #136', 'Einheit #137', 'Einheit #138', 'Einheit #139', 'Einheit #140'}, flag = 201, text = '%s: AAA!', display_units = 'wi', display_time = 3, display_mode = 'text', weapons = {'all'}} 
    slmod.units_killed_by{dead_units = {'[red]'}, killer_units = {'Pilot #1', 'Pilot #2', 'Pilot #3'}, flag = 300}
    slmod.units_ejected{units = {'Pilot #1', 'Pilot #2', 'Pilot #3'}, flag = 400} 
end

Link to comment
Share on other sites

Next time I see Speed on steam I'll poke him about it. I honestly don't know as I never used slmod for anything other than server tools, mission compatibility, and text input.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...