Originally Posted by
easymeat
Spearhead pk1.pk3 models/weapons and if patches installed pk3.pk3 models/weapons
Breakthrough pk1.pk3 models/weapons and if patches installed pk3.pk3 models/weapons
Same for player skins models/player in the pk3.pk3's for both games
The patches added more weapons to the games and for some silly assed reason put them in pk3.pk3
Code:
// weapons
cache models/weapons/m1_garand.tik
cache models/weapons/springfield.tik
cache models/weapons/thompsonsmg.tik
cache models/weapons/bar.tik
cache models/weapons/bazooka.tik
cache models/weapons/shotgun.tik
cache models/weapons/colt45.tik
cache models/weapons/m2frag_grenade.tik
cache models/weapons/enfield.tik
cache models/weapons/mosin_nagant_rifle.tik
cache models/weapons/svt_rifle.tik
cache models/weapons/ppsh_smg.tik
cache models/weapons/sten.tik
cache models/weapons/uk_w_l42a1.tik
cache models/weapons/us_w_minedetector.tik
cache models/weapons/us_w_mine.tik
cache models/weapons/uk_w_Vickers.tik
cache models/weapons/uk_w_piat.tik
cache models/weapons/delisle.tik
cache models/weapons/kar98.tik
cache models/weapons/kar98sniper.tik
cache models/weapons/mp40.tik
cache models/weapons/mp44.tik
cache models/weapons/panzerschreck.tik
cache models/weapons/p38.tik
cache models/weapons/steilhandgranate.tik
cache models/weapons/G43.tik
cache models/weapons/it_w_moschetto.tik
cache models/weapons/it_w_breda.tik
cache models/weapons/gr_w_mine.tik
cache models/weapons/gr_w_minedetector.tik
cache models/weapons/kar98_mortar.tik
cache models/weapons/it_w_carcano.tik
cache models/weapons/kar98sniper.tik
cache models/weapons/mills_grenade.tik
cache models/weapons/m18_smoke_grenade.tik
cache models/weapons/webley_revolver.tik
cache models/weapons/It_W_Beretta.tik
cache models/weapons/Nagant_revolver.tik
cache models/weapons/RDG-1_Smoke_grenade.tik
cache models/weapons/Russian_F1_grenade.tik
cache models/weapons/It_W_Bomba.tik
cache models/weapons/It_W_BombaBreda.tik
//player
//ALLIED ASSAULT
cache models/player/allied_airborne.tik
cache models/player/allied_manon.tik
cache models/player/allied_sas.tik
cache models/player/allied_pilot.tik
cache models/player/american_army.tik
cache models/player/american_ranger.tik
cache models/player/german_afrika_officer.tik
cache models/player/german_afrika_private.tik
cache models/player/german_elite_officer.tik
cache models/player/german_elite_sentry.tik
cache models/player/german_kradshutzen.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_scientist.tik
cache models/player/german_waffenss_officer.tik
cache models/player/german_waffenss_shutze.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
// SPEARHEAD MODELS
cache models/player/allied_101st_Captain.tik
cache models/player/allied_101st_Infantry.tik
cache models/player/allied_101st_Scout.tik
cache models/player/allied_501st_PIR_Scout.tik
cache models/player/allied_501st_PIR_Soldier.tik
cache models/player/allied_british_6th_Airborne_Captain.tik
cache models/player/allied_british_6th_Airborne_Paratrooper.tik
cache models/player/allied_russian_Crazy_Boris.tik
cache models/player/allied_russian_Recon_Scout.tik
cache models/player/allied_russian_Recon_Soldier.tik
cache models/player/allied_british_tank_corporal.tik
cache models/player/allied_russian_seaman.tik
cache models/player/allied_technician.tik
cache models/player/german_Ardennes_Artillery_Commander.tik
cache models/player/german_DDay_Colonel.tik
cache models/player/german_Panzer_Corporal.tik
cache models/player/german_Stukageschwader.tik
// BREAKTHROUGH MODELS
cache models/player/allied_russian_seaman.tik
cache models/player/allied_technician.tik
cache models/player/allied_russian_corporal.tik
cache models/player/allied_british_tank_corporal.tik
cache models/player/allied_Wheathers.tik
cache models/player/allied_US_Tank.tik
cache models/player/allied_US_Mask.tik
cache models/player/allied_British_Tank.tik
cache models/player/allied_British_Cmd.tik
cache models/player/sc_ax_ital_inf.tik
cache models/player/sc_ax_ital_inf2.tik
cache models/player/it_ax_ital_vol.tik
Hello , i tried your sh weapons script that in Medal of Honor Series file , and his name zzzzzzzz_EZM_SH_Weapons.pk3
So problem that its got folder weapons and in it sh_bolt.scr , sh_sniper.scr , sh_rocket.scr
Also its not got weapons .tik to edit there weapons like firedelay or amount of ammo , because server now running without .tik weapons and snipers become like default there firedelay like 1.50 so they slow while shooting and need to edit it and ammo 5 only.
Tried to put weapons .tik to this folder but mod wont work only when i delete them.
if you can please to make weapons.scr like what you did in breakthough game without to put sh_sniper.scr in weapons file
this the sh_sniper.scr :
Code:
/*
SPEARHEAD WEAPONS SWAP
*/
Main:
// checks for cvar in server.cfg to turn on mod ( set sniper "1" )
level.sniper = getcvar "sniper"
if(level.sniper == "1")
{
thread allied
thread axis
}
end
allied:
waitframe
local.n = randomint 99999
self weaponcommand mainhand targetname ("w" + local.n)
if ($("w" + local.n))
{
local.weap = $("w" + local.n)
local.weap.targetname = ""
}
else
end
switch(local.weap.model)
{
/*
ALLIED WEAPONS
These are weapons to be swapped do not remove slashs from weapon unless that is the
game you are running
*/
// ALLIED ASSAULT WEAPONS TO BE SWAPPED
case "models/weapons/m1_garand.tik":
//case "models/weapons/springfield.tik":
case "models/weapons/thompsonsmg.tik":
case "models/weapons/bar.tik":
case "models/weapons/bazooka.tik":
case "models/weapons/shotgun.tik":
//SPEARHEAD WEAPONS TO BE SWAPPED
case "models/weapons/enfield.tik":
case "models/weapons/mosin_nagant_rifle.tik":
case "models/weapons/svt_rifle.tik":
case "models/weapons/ppsh_smg.tik":
case "models/weapons/sten.tik":
// BREAKTHROUGH WEAPONS TO BE SWAPPED
//case "models/weapons/uk_w_l42a1.tik":
//case "models/weapons/us_w_minedetector.tik":
//case "models/weapons/us_w_mine.tik":
//case "models/weapons/uk_w_Vickers.tik":
//case "models/weapons/uk_w_piat.tik":
//case "models/weapons/delisle.tik":
/*
These are weapons to be taken from players
*/
// ALLIED ASSAULT WEAPONS TO BE TAKEN
self take "models/weapons/m1_garand.tik"
//self take "models/weapons/springfield.tik"
self take "models/weapons/thompsonsmg.tik"
self take "models/weapons/bar.tik"
self take "models/weapons/bazooka.tik"
self take "models/weapons/shotgun.tik"
// ALLIED ASSAULT SECONDARY WEAPONS TO BE TAKEN ( only for allied assault)
//self take "models/weapons/colt45.tik"
//self take "models/weapons/m2frag_grenade.tik"
// SPEARHEAD WEAPONS TO BE TAKEN
self take "models/weapons/enfield.tik"
self take "models/weapons/mosin_nagant_rifle.tik"
self take "models/weapons/svt_rifle.tik"
self take "models/weapons/ppsh_smg.tik"
self take "models/weapons/sten.tik"
// BREAKTHROUGH WEAPONS TO BE TAKEN
//self take "models/weapons/uk_w_l42a1.tik"
//self take "models/weapons/us_w_minedetector.tik"
//self take "models/weapons/us_w_mine.tik"
//self take "models/weapons/uk_w_Vickers.tik"
//self take "models/weapons/uk_w_piat.tik"
//self take "models/weapons/delisle.tik"
// checks allied skins
switch(self.model)
{
case "models/player/allied_british_6th_airborne_captain.tik":
case "models/player/allied_british_6th_airborne_paratrooper.tik":
case "models/player/allied_british_tank_corporal.tik":
case "models/player/allied_manon.tik":
case "models/player/allied_sas.tik":
case "models/player/allied_russian_corporal.tik":
case "models/player/allied_russian_crazy_boris.tik":
case "models/player/allied_russian_recon_scout.tik":
case "models/player/allied_russian_recon_soldier.tik":
case "models/player/allied_russian_seaman.tik":
case "models/player/allied_101st_Captain.tik":
case "models/player/allied_101st_Infantry.tik":
case "models/player/allied_101st_Scout.tik":
case "models/player/allied_501st_PIR_Scout.tik":
case "models/player/allied_501st_PIR_Soldier.tik":
case "models/player/allied_airborne.tik":
case "models/player/allied_oss.tik":
case "models/player/american_army.tik":
case "models/player/american_ranger.tik":
// swaps allied weapons
waitframe
// Give new weapon
self give "models/weapons/springfield.tik"
waitframe
// Force player to use new weapon
self use "models/weapons/springfield.tik"
break
// Sets the default weapon
default:
waitframe
self give "models/weapons/springfield.tik"
waitframe
self use "models/weapons/springfield.tik"
break
}
break
}
end
axis:
waitframe
local.n = randomint 99999
self weaponcommand mainhand targetname ("w" + local.n)
if ($("w" + local.n))
{
local.weap = $("w" + local.n)
local.weap.targetname = ""
}
else
end
switch(local.weap.model)
{
/*
AXIS WEAPONS
These are weapons to be swapped do not remove slashs from weapon unless that is the
game you are running
*/
// ALLIED ASSAULT WEAPONS TO BE SWAPPED
case "models/weapons/kar98.tik":
//case "models/weapons/kar98sniper.tik":
case "models/weapons/mp40.tik":
case "models/weapons/mp44.tik":
case "models/weapons/panzerschreck.tik":
//SPEARHEAD WEAPONS TO BE SWAPPED
case "models/weapons/g43.tik":
case "models/weapons/kar98_mortar.tik":
// BREAKTHROUGH WEAPONS TO BE SWAPPED
//case "models/weapons/it_w_moschetto.tik":
//case "models/weapons/it_w_breda.tik":
//case "models/weapons/gr_w_mine.tik":
//case "models/weapons/gr_w_minedetector.tik":
//case "models/weapons/it_w_carcano.tik":
/*
These are weapons to be taken from players
*/
// ALLIED ASSAULT WEAPONS TO BE TAKEN
self take "models/weapons/kar98.tik"
//self take "models/weapons/kar98sniper.tik
self take "models/weapons/mp40.tik"
self take "models/weapons/mp44.tik"
self take "models/weapons/panzerschreck.tik"
// ALLIED ASSAULT SECONDARY WEAPONS TO BE TAKEN ( only for allied assault)
//self take "models/weapons/p38.tik"
//self take "models/weapons/steilhandgranate.tik"
// SPEARHEAD WEAPONS TO BE TAKEN
self take "models/weapons/g43.tik"
self take "models/weapons/kar98_mortar.tik"
// BREAKTHROUGH WEAPONS TO BE TAKEN
//self take "models/weapons/it_w_moschetto.tik"
//self take "models/weapons/it_w_breda.tik"
//self take "models/weapons/gr_w_mine.tik"
//self take "models/weapons/gr_w_minedetector.tik"
//self take "models/weapons/it_w_carcano.tik"
// checks the axis skins
switch(self.model)
{
case "models/player/german_afrika_officer.tik":
case "models/player/german_afrika_private.tik":
case "models/player/german_elite_gestapo.tik":
case "models/player/german_elite_sentry.tik":
case "models/player/german_kradshutzen.tik":
case "models/player/german_panzer_grenadier.tik":
case "models/player/german_panzer_obershutze.tik":
case "models/player/german_panzer_shutze.tik":
case "models/player/german_panzer_tankcommander.tik":
case "models/player/german_scientist.tik":
case "models/player/german_waffenss_officer.tik":
case "models/player/german_waffenss_shutze.tik":
case "models/player/german_wehrmacht_officer.tik":
case "models/player/german_wehrmacht_soldier.tik":
case "models/player/german_winter1.tik":
case "models/player/german_winter2.tik":
case "models/player/german_DDay_Colonel.tik":
case "models/player/Sc_AX_Ital_Inf.tik":
case "models/player/Sc_AX_Ital_Inf2.tik":
case "models/player/IT_AX_Ital_Vol.tik":
case "models/player/SC_AX_ITAL_PARA.tik":
// swaps out weapons
waitframe
// Give new weapon
self give "models/weapons/kar98sniper.tik"
waitframe
// Force player to use new weapon
self use "models/weapons/kar98sniper.tik"
break
default:
waitframe
self give "models/weapons/kar98sniper.tik"
waitframe
self use "models/weapons/kar98sniper.tik"
break
}
break
}
end
and this in sh_weapons.scr that located in global :
Code:
main:
level.sniper = getcvar "sniper"
if(level.sniper == "1")
{
exec weapons/sh_sniper.scr
}
level.bolt = getcvar "bolt"
if(level.bolt == "1")
{
exec weapons/sh_bolt.scr
}
level.rocket = getcvar "rocket"
if(level.rocket == "1")
{
exec weapons/sh_rocket.scr
}
end
BTW i found how to remove other skins weapons only need this script please
Thanks