Results 1 to 4 of 4

Thread: Snypir's support pack, need help

  1. #1
    I'm trying to set up a pre-planned artillery mission, but when I try I get an error message. Here's the inti_general file:

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">; SP/MP Fire Spt Pack

    ; by snYpir

    ; general variables
    ; -----------------



    ; here you can make the spt pack only look for particular init files
    ; required from version 1.28 of the spt pack onwards, otherwise init_reinforce.sqs will not load
    sny_arty_var_load_init_artillery_sqs = true
    sny_arty_var_load_init_closeair_sqs = true
    sny_arty_var_load_init_airstrike_sqs = true
    sny_arty_var_load_init_extraction_sqs = true
    sny_arty_var_load_init_reinforce_sqs = true





    ; one target marker &#40;must exist on map, a marker of any colour and type&#41;
    sny_arty_var_TargetMarker = &#34;mTarget&#34;
    sny_arty_var_TargetMarkerType = &#34;SNY_target&#34;
    sny_arty_var_TargetMarkerColour = &#34;ColorBlack&#34;

    ; the delay before a &#39;request support&#39; radio message is cancelled
    ; this is used to prevent a single player preventing all other players of the same side
    ; from calling artillery. After this many seconds the range circles will clear and artillery
    ; will be available to all once again
    sny_arty_var_range_circles_timeout = 20

    ; you can turn off range markers here. DO THIS IF YOU ARE RUNNING THE SPT PACK ON A SLOW LAN.
    sny_arty_var_show_range_circles = true

    ; find clear landing position in extractions? you may want turn turn this off on dense islands
    sny_arty_var_find_clear_lz = true

    ; show dust effects?
    sny_arty_var_show_shell_dust_effects = true
    sny_arty_var_show_helo_dust_effects = true

    ; colour of dust &#40;&#34;DUST&#34;,&#34;GRASS&#34;,&#34;SAND&# 34; or &#34;DESERT&#34;&#41;
    sny_arty_var_dust_colour = &#34;GRASS&#34;


    ; array of laser designator types
    ; assumes that they all create a &#34;LaserTarget&#34; as per the BIS laser designator
    sny_arty_var_laser_types = &#91;&#34;LaserDesignator&#34;,&#34;LaserDesignato rOH&#34;,&#34;BAS_Soflam&#34;&#93;




    ; group setup
    ; -----------

    ; GroupIDs for fire control officers &#40;automatically created&#41; - for radio message mainly
    sny_arty_var_firecontrol_west_id = &#91;&#34;Hotel&#34;,&#34;GroupColor0&#34;&#93;
    sny_arty_var_firecontrol_east_id = &#91;&#34;Hotel&#34;,&#34;GroupColor0&#34;&#93;
    sny_arty_var_firecontrol_resistance_id = &#91;&#34;Hotel&#34;,&#34;GroupColor0&#34;&#93;
    sny_arty_var_firecontrol_civilian_id = &#91;&#34;Hotel&#34;,&#34;GroupColor0&#34;&#93;

    ; make true to allow ALL players in a group to call artillery. Make false to only allow the leader.
    ; Careful - if AI is the leader, support will essentially be unavilable &#40;AI can&#39;t call arty&#41;
    sny_arty_var_allow_all_to_call = true




    ; radio setup
    ; -----------
    ; if you have SEB Nam Pack 2, the following radio types are available&#58;
    ; &#34;sebprc25&#34;
    ; &#34;sebtyp63&#34;

    ; radio setup - does a radio weapon have to exist in a player&#39;s group in order to call arty?
    sny_arty_var_require_radio = true

    ; radio setup - enter types of radios that must be in this players group in order to
    ; be able to call arty &#40;ensure sny_arty_var_require_radio equals true above also&#41;
    sny_arty_var_radio_types = &#91;&#34;sebprc25&#34;,&#34;sebtyp63&#34;&#93;

    ; radio setup - which sides can see which radio triggers, and what are the messages?
    ; -1 for not used
    ; channel ALPHA - 1
    ; channel BRAVO - 2
    ; channel CHARLIE - 3
    ; channel DELTA - 4
    ; channel ECHO - 5
    ; channel FOXTROT - 6
    ; channel GOLF - 7
    ; channel HOTEL - 8
    ; channel INDIA - 9
    ; channel JULIET - 10
    sny_arty_var_radio_west = 7
    sny_arty_var_radio_west_msg = &#34;Request Support&#34;
    sny_arty_var_radio_east = 8
    sny_arty_var_radio_east_msg = &#34;Request Mortars&#34;
    sny_arty_var_radio_resistance = 9
    sny_arty_var_radio_resistance_msg = &#34;Request Support&#34;
    sny_arty_var_radio_civilian = 10
    sny_arty_var_radio_civilian_msg = &#34;Request Support&#34;

    ; a misc radio channel
    sny_arty_var_radio_misc = 1

    ; allow the player to choose the debus type for alternate drop-offs &#40;with regards to extractions&#41;?
    ; if not, the definition in init_extraction.sqs is used
    sny_arty_var_allow_user_to_select_dropoff_method = false

    ; use the action menu as well as the radio to call support?
    ; you can make the radio channels above all -1 &#40;except for the misc radio channel&#41;
    ; if you are using this
    ; be aware that support will not be available in vehicles, however
    sny_arty_var_action_activate = false





    ; pre-defined fire missions
    ; -------------------------
    ; these will automatically be initiated at the start of the mission
    ; the commented out definitions are examples

    ; format&#58;
    ; _predefined_array = &#91;
    ; 0 - mission name &#40;from init file&#41; - STRING
    ; 1 - duration - NUMBER
    ; 2 - start time &#40;use decimal time, ie 7.5 is 07&#58;30&#41;. Use 0 for immediately. - NUMBER
    ; 3 - position of target - ARRAY &#40;&#91;NUMBER,NUMBER&#93;&#41;
    ; 4 - calling side - SIDE
    ; &#93;

    ; INDEX =&#62; 0 1 2 3 4
    ;-----------------------------------------------------------------------------------------
    ------
    ;_predefined_closeair1 = &#91;&#34;Apache Flight&#34;,120,0,getpos tank,west&#93;
    ;_predefined_closeair2 = &#91;&#34;Mi24 Flight&#34;, 120,0,getpos tank,east&#93;
    ;_predefined_arty1 = &#91;&#34;105mm &#40;HE&#41;&#34;, 120, 5.55,getpos tank,west&#93;
    ;_predefined_extract1 = &#91;&#34;Huey&#34;, 0, 0,&#91;7941.222656,4672.583496,0&#93;,west&#93;
    ;_predefined_closeair3 = &#91;&#34;A10&#34;,120,0,getpos tank,west&#93;
    ;_predefined_airstrike = &#91;&#34;Napalm&#34;,120,0,getpos tank,west&#93;



    ; plug the above arrays into sny_arty_var_predefined_array here
    _predefined_arty1 =&#91;&#34;105mm &#40;HE&#41;&#34;, 120, 5.55,getpos t1,west&#93;[/QUOTE]

    Any thoughts? thanks in advance.
    Never forget your shovel. Remember: A sanitary battlefield is a happy battlefield.

  2. #2
    Staff Sergeant Rudedog's Avatar
    Join Date
    Oct 16 2001
    Location
    Ferndale, Michigan, United States
    Posts
    397
    What&#39;s the error message? ***Change it to this and it should work:

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">; INDEX =&#62; *** *** *** *** *** *** *** 0 *** *** *** *** *** *** *** 1 *** 2 3 *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 4
    ;-----------------------------------------------------------------------------------------

    ------
    ;_predefined_closeair1 = &#91;&#34;Apache Flight&#34;,120,0,getpos tank,west&#93;
    ;_predefined_closeair2 = &#91;&#34;Mi24 Flight&#34;, ***120,0,getpos tank,east&#93;
    _predefined_arty1 = *** *** &#91;&#34;105mm &#40;HE&#41;&#34;, ***120, 5.55,getpos tank,west&#93;
    ;_predefined_extract1 = ***&#91;&#34;Huey&#34;, *** ***0, ***0,&#91;7941.222656,4672.583496,0&#93;,west&#93;
    ;_predefined_closeair3 = &#91;&#34;A10&#34;,120,0,getpos tank,west&#93;
    ;_predefined_airstrike = &#91;&#34;Napalm&#34;,120,0,getpos tank,west&#93;



    ; plug the above arrays into sny_arty_var_predefined_array here
    sny_arty_var_predefined_array = &#91;_predefined_arty1&#93;[/QUOTE]




  3. #3
    Master Gunnery Sergeant Stag's Avatar
    Join Date
    Oct 20 2001
    Posts
    1,275
    Author of the Thread


    CORRECTION: Sorted&#33; Got to watch my syntax.

    Many thanks&#33;






  4. #4
    where do you find an arty script
    for use with 1.75+ NO ADDONS
    if you can give it to me in .txt form that would be best

    thanx in advance

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •