Results 1 to 4 of 4

Thread: TWO Mods

  1. #1

    Default TWO Mods

    Hello Friends of Medal!


    I have two MODs PK3, but only works that run last.
    ZZ_ Anti-namechange.pk3 and ZZZZ_RconUpdated.pk3, only what starts ZZZZ works correctly

    What form of the two work together

  2. #2

  3. #3

    Default

    the problem is both mods use an dmprecache.scr

    if u open the dmprecache.scr with notepad and scroll down u see stuff like --> exec global/Anti-namechange.scr
    and in the other dmprecache.scr u will find exec/global rconupdated.scr.

    but it will only use 1 dmprecache.scr
    so u have to open one of the dmprecache files, lets say u open the dmprecache from antinamechange..... there u add exec/global rconupdated.scr right under the exec global/Anti-namechange.scr

    so u have now 2 executes in 1 dmprecache .

    u can also putt all the files in one mod.. just drag and drop... open the dmprecahe and add the line like i discribed above, rename your pk3 t antiname_rconupdate.pk3 (so u remember u combined 2 mods)

  4. #4

    Default

    if u have 2 mods like 3rd person and anticamp (just an example), u could have in both mods an dmprecache with 1 saying @ the end exec global/3rdperson.scr and in the other mod exec global/anticamp.scr.

    now the server will only load the dmprecache that is loaded as last..... wich one is loaded as last???????Z

    the server loads mod on alphabetic order (thats why alot mods have zzzzzzz in the name.... to be sure its loaded as last).

    so for example you have to mod:

    bodycount.pk3 and
    critical.pk3

    it will use the dmprecache of critical becease it will load as last.

    to combine the 2 mods together u open the dmprecache and u scroll down to the level waittil spawn part.

    Code:
    main:
    
    	if(level.preloaded==1)
    		end
    		
    	level.preloaded = 1
    
    	thread cache
    	
    	//REBORN EVENT REGISTERING
    	//local.result = registerev "spawn" global/spawnhandler.scr
    	//local.result = registerev "connected" global/connectedhandler.scr
    
    end
    
    cache:
    
    cache models/statweapons/flak88turret.tik
    cache models/animate/allied_airborne_soldier_dead.tik
    cache models/animate/papers2_sas.tik
    cache models/animate/pulse_radiobomb_pickup.tik
    cache models/emitters/fancyfire.tik
    cache models/emitters/fireandsmoke.tik
    cache models/emitters/inferno.tik
    cache models/emitters/lightswarmers_small.tik
    cache models/fx/bazookaexplosion_dm.tik
    cache models/fx/corona_red.tik
    cache models/fx/dummy.tik
    cache models/fx/fx_tank_explosion.tik
    cache models/human/german_afrika_grenadier.tik
    cache models/items/binoculars.tik
    cache models/items/dm_50_healthbox.tik
    cache models/items/item_50_healthbox.tik
    cache models/items/papers.tik
    cache models/miscobj/bottle_wine.tik
    cache models/miscobj/sledgehammer.tik
    cache models/human/german_afrika_grenadier.tik
    cache models/animate/pulse_radiobomb_pickup.tik
    cache models/fx/fx_tank_explosion.tik
    cache models/animate/papers2_sas.tik
    cache models/animate/allied_airborne_soldier_dead.tik
    cache models/static/indycrate.tik
    cache models/player/axis_mog_camo_waffenss_shutze.tik
    cache models/animate/fx_mortar_water.tik
    cache models/player/german_afrika_grenadier.tik
    cache models/player/german_recoil_3rd_fallschirmjager.tik
    cache models/player/allied_mog_camo_ranger.tik
    cache models/player/allied_17thairb_medic.tik
    cache models/player/axis_mog_camo_afrika_private.tik
    cache models/player/german_8thcamo44-facewrap.tik
    cache models/player/allied_101st-screaming-eagle-3.tik
    cache models/player/german_waffenss_nco.tik
    cache models/player/allied_british_can3rd-sergeant.tik
    cache models/player/german_wac_nazi_medic.tik
    cache models/player/allied_airborne_101e_col_sink.tik
    cache models/player/allied_mr_bean.tik
    cache models/player/allied_101st-screaming-eagle-1.tik
    cache models/player/allied_1st_airborne_helmet.tik
    cache models/player/allied_506easycapt.tik
    cache models/player/allied_506easyplatoonsarg.tik
    cache models/player/allied_airborne.tik
    cache models/player/allied_airborne_101e_corp_liebgott.tik
    cache models/player/allied_airborne_101e_lt_speirs.tik
    cache models/player/allied_bandit.tik
    cache models/player/allied_belgian_army.tik
    cache models/player/allied_breach&clear.tik
    cache models/player/allied_crazyhorse-1.tik
    cache models/player/allied_desertcamo.tik
    cache models/player/allied_guar_modernarmy.tik
    cache models/player/allied_halo_master_chief_v2.tik
    cache models/player/allied_hoss.tik
    cache models/player/allied_iwo-jima_veteran.tik
    cache models/player/allied_manon.tik
    cache models/player/allied_minister.tik
    cache models/player/allied_pilot.tik
    cache models/player/allied_recoil_ateam2.tik
    cache models/player/allied_sas.tik
    cache models/player/american_army.tik
    cache models/player/american_ranger.tik
    cache models/player/axis_gbt_machinegunner.tik
    cache models/player/axis_hauptmann.tik
    cache models/player/axis_mog_camo_panzer_shutze.tik
    cache models/player/german_352nd_jaeger-leutnant.tik
    cache models/player/german_8thfieldgrey.tik
    cache models/player/german_afrika_officer.tik
    cache models/player/german_afrika_private.tik
    cache models/player/german_black_assassinx.tik
    cache models/player/german_elite_officer.tik
    cache models/player/german_elite_sentry.tik
    cache models/player/german_fitz_urban_tiger.tik
    cache models/player/german_germanspecops.tik
    cache models/player/german_kradshutzen.tik
    cache models/player/german_luftwaffe_falschirmjager.tik
    cache models/player/german_luftwaffe_falschirmjager_gasmask.tik
    cache models/player/german_luftwaffe_field.tik
    cache models/player/german_panzer_grenadier.tik
    cache models/player/german_panzer_obershutze.tik
    cache models/player/german_panzer_shutze.tik
    cache models/player/german_panzer_tankcommander.tik
    cache models/player/german_proto_tek.tik
    cache models/player/german_scientist.tik
    cache models/player/german_terrorist.tik
    cache models/player/german_waffenss_officer.tik
    cache models/player/german_waffenss_shutze.tik
    cache models/player/german_wehrmacht_nco.tik
    cache models/player/german_wehrmacht_officer.tik
    cache models/player/german_wehrmacht_soldier.tik
    cache models/player/german_winter_1.tik
    cache models/player/german_winter_2.tik
    cache models/player/german_worker.tik
    cache models/projectiles/steilhandgranate_primary.tik
    cache models/static/45cal_crate.tik
    cache models/static/50cal_crate.tik
    cache models/static/barbwire_two_post.tik
    cache models/static/bshelf-tall-thin.tik
    cache models/static/corona_orange.tik
    cache models/static/corona_reg.tik
    cache models/static/cratelid1.tik
    cache models/static/cratelid2.tik
    cache models/static/indycrate.tik
    cache models/static/locker.tik
    cache models/static/nazi_crate.tik
    cache models/static/oldladypainting.tik
    cache models/static/piano.tik
    cache models/static/planningtable.tik
    cache models/static/sandbag_link_leftbend.tik
    cache models/static/sandbag_link_main.tik
    cache models/static/sandbag_link_rightbend.tik
    cache models/static/sandbag_link_topcap.tik
    cache models/static/single_bed.tik
    cache models/static/smallfilecabinet.tik
    cache models/static/static_cablespool_full.tik
    cache models/static/static_nazibanner.tik
    cache models/static/static_naziflag2.tik
    cache models/statweapons/mg42_bipod_nonstatic.tik
    cache models/statweapons/mg42_gun.tik
    cache models/statweapons/mg42_gun_viewmodel.tik
    cache models/vehicles/panzer_iv.tik
    cache models/vehicles/shermantank.tik
    cache models/weapons/bar.tik
    cache models/weapons/bazooka.tik
    cache models/weapons/colt45.tik
    cache models/weapons/kar98.tik
    cache models/weapons/kar98sniper.tik
    cache models/weapons/m1_garand.tik
    cache models/weapons/m2frag_grenade.tik
    cache models/weapons/m2frag_grenade_sp.tik
    cache models/weapons/mp40.tik
    cache models/weapons/mp44.tik
    cache models/weapons/p38.tik
    cache models/weapons/panzerschreck.tik
    cache models/weapons/shotgun.tik
    cache models/weapons/springfield.tik
    cache models/weapons/steilhandgranate.tik
    cache models/weapons/thompsonsmg.tik
    
    level waittill spawn
    
    exec global/3rdperson.scr
    exec global/anticamp.scr
    
    end
    //
    // Done
    ///////////////////////////////////////////////////////////////////////////////
    now u see i added

    exec global/3rdperson.scr
    exec global/anticamp.scr

    and now u make sure this dmprecache is loaded as last to putt some zzzzz before ur mod like zzzz_anticamp.pk.. so u know it will load as last.

    -xxx-

Posting Permissions

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