CoD-France.com - Forums Call of Duty

»
Connexion » Inscrivez-vous ! Membres Nouveau contenu Mises à jour du statut
« Retourner à Mod Tools

{TUTO} Pack-A-Punch / Arme du multi

Sondage : {TUTO} Pack-A-Punch / Arme du multi (0 membre(s) ont votés)

Ce tuto vous a t-il été utile?

  1. oui (0 votes [0.00%])

    Pourcentage des votes : 0.00%

  2. non (0 votes [0.00%])

    Pourcentage des votes : 0.00%

  3. moyennement (0 votes [0.00%])

    Pourcentage des votes : 0.00%

Vote Les invités ne peuvent pas voter

Wolf_Silver Photo Wolf_Silver 09 December 2014 - 16:05

MOD TOOLS 1.4 + UGX SCRIPT PLACER REQUIS!!!


Hello , Ceci est un tuto pour vous permettre d'ajouter le Pack-A-Punch et des armes du multi comme le svt-40 + mire

*****************PACK-A-PUNCH************************

Déja il est necessaire de posséder ces prefabs:
Sniperbolts_tutorials_prefabs

Mettez les dossier dans VOTRE_DOSSIER_DE_JEU/map_source/prefabs

Ouvrez Radiant

faite clique droit misc puis prefab,ouvrez le dossier sniperbolts,puis 2.0 et enfin pack-a-punch

Placez le prefab où vous voulez

Compilez et c'est fini!

*****************ARME DU MULTI***********************

Allez dans VOTRE_DOSSIER_DE_JEUX/raw/weapons/mp/ choisissez votre arme ex: svt40_aperture_mp(SVT-40 + Mire)

Copiez l'arme dans VOTRE_DOSSIER_DE_JEUX/mods/nazi_zombie_???/weapons/sp (Si vous n'avez pas le dossiers apres nazi_zombie_??? Créez-les!)

Dans VOTRE_DOSSIER_DE_JEUX/raw/maps copiez dlc3_code.gsc ET _zombiemode_weapons.gsc que vous copirez dans dans VOTRE_DOSSIER_DE_JEUX/mods/nazi_zombie_???/maps

Ouvrez dlc3_code.gsc

Recherchez cette ligne:

        include_weapon( "zombie_colt", false );


Ajoutez cette ligne:
        include_weapon( "NOM_DE_L_ARME", true );


true = L'arme se trouve dans la boite
false = L'arme ne se trouve pas dans la boite

ouvrez _zombiemode_weapons.gsc

Recherchez cette ligne:

        add_zombie_weapon( "zombie_colt",                                                                       &"ZOMBIE_WEAPON_COLT_50",                                       50,             "vox_crappy",   8 );


Ajoutez cette ligne:

        add_zombie_weapon( "NON_DE_L_ARME",                                                                     &"Maintenez &&1 pour acheter NON_DE_L_ARME [cout: COUT_DE_L_ARME]",                                     COUT_DE_L_ARME,         "vox_crappy",   8 );


Ouvrez maintenant mod.csv

Ajoutez ceci:

weapon,sp/NOM_DE_L_ARME


************************SONS DES ARMES MULTI************

Allez dans VOTRE_DOSSIE_DE_JEUX/raw/soundaliases

Ouvrez weapons.csv

recherchez votre arme

exemple:
#SVT40,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
weap_svt40_fire_plr,,SFX/Weapon/Rifle/SVT40/fire/wpn_svt40_st_f.wav,,0.8,0.8,,,2,oldest,,,rfl_1st,,,,,,,,,,2d,,,,0.75,see1 ber1 ber3 oki3 firing_range ber3b hol1 living_battlefield all_mp,,,weap_svt40_fire_plr_r,,,wpn_fnt,,,,,,,,,,,,90,90,0.25,1,,
weap_svt40_fire_plr_r,,SFX/Weapon/Rifle/SVT40/fire/wpn_svt40_st_r.wav,,0.8,0.8,,,2,oldest,,,rfl_1st,,,,,,,,,,2d,,,,0.75,see1 ber1 ber3 oki3 firing_range ber3b hol1 living_battlefield all_mp,,,weap_svt40_fire_plr_act,,,wpn_fnt,,,,,,,,,,,,90,90,0.25,1,,
weap_svt40_fire_plr_act,,SFX/Weapon/Rifle/SVT40/fire/wpn_svt40_st_act.wav,,0.7,0.7,,,2,oldest,,,rfl_1st,,,0,,,,,,,2d,,,,0.7,see1 ber1 ber3 oki3 firing_range ber3b hol1 living_battlefield all_mp,,,weap_svt40_fire_plr_sur,,,wpn_fnt,,,,,,,,,,,,90,90,0.25,1,,
weap_svt40_fire_plr_sur,,SFX/Weapon/Rifle/SVT40/fire/wpn_svt40_st_sur.wav,,0.7,0.7,,,2,oldest,,,rfl_1st,,,0,,,,,,,2d,,,,0.7,see1 ber1 ber3 oki3 firing_range ber3b hol1 living_battlefield all_mp,,,weap_svt40_move_l,,,wpn_rear,,,,,,,,,,,,90,90,0.25,1,,
weap_svt40_fire,,SFX/Weapon/Rifle/SVT40/fire/wpn_svt40_mn.wav,,0.9,1,250,2000,10,priority,2,oldest,rfl_3rd,,,,2000,,,0.98,1.02,,3d,,,,0.7,ber1 ber3 see1 oki3 firing_range hol1 hol2 hol3 ber3b living_battlefield all_mp sniper,,,weap_stv40_fire_add,,,,,,,,,,,,,,,50,90,0.35,1,,
weap_svt40_fire_act,,SFX/Weapon/Rifle/SVT40/fire/wpn_svt40_mn_act.wav,,0.9,1,100,600,10,priority,2,oldest,rfl_3rd,,curve1,,1000,,,0.95,1.05,pitch,3d,,,,0.7,ber1 ber3 see1 oki3 firing_range hol1 hol2 hol3 ber3b living_battlefield all_mp sniper,,,weap_g43_fire_dist,,,,,,,,,,,,,,,70,20,0.35,1,,
weap_svt40_fire_dist,,SFX/Weapon/dist/rus/dist_rus_rifle.wav,,0.8,0.9,700,6000,10,priority,2,oldest,dist_wpn,,curve2,0.8,12000,rcurve1,rcurve3,0.85,1.05,pitch,3d,,,,0.7,ber1 ber3 see1 oki3 firing_range hol1 hol2 hol3 ber3b living_battlefield all_mp sniper,,,weap_svt40_move_l_npc,,,,,,,,,,,,no,,,70,20,0.35,1,,
weap_stv40_fire_add,,SFX/Weapon/Rifle/Gewehr43/Fire/wpn_G43_mn_sup.wav,,0.8,0.9,250,2000,10,priority,2,oldest,rfl_3rd,,,,2000,,,0.95,1.05,pitch,3d,,,,0.7,ber1 ber3 see1 oki3 firing_range hol1 hol2 hol3 ber3b living_battlefield all_mp sniper,,,weap_svt40_fire_act,,,,0.5,,,,,,,,,,,50,90,0.35,1,,
weap_svt40_reload_plr,,SFX/Weapon/Rifle/Kar_98/Foley/GR_Kar98.wav,,0.71,0.77,100,500,,,,,rfl_3rd,,curve3,,,,,0.9,1.1,,2d,,,,0.7,see1 ber1 ber3 oki3 firing_range ber3b hol1 living_battlefield all_mp,,,,,,,,,,,,,,,,,,20,90,0.35,1,,
weap_svt40_rechamber_plr,,SFX/Weapon/Rifle/Kar_98/Foley/GF_Kar98_Rechamber.wav,,0.71,0.77,100,500,,,,,rfl_3rd,,curve3,,,,,0.9,1.1,,2d,,,,0.7,see1 ber1 ber3 oki3 firing_range ber3b hol1 living_battlefield all_mp,,,,,,,,,,,,,,,,,,20,90,0.35,1,,
weap_svt40_reload,,SFX/Weapon/Rifle/Kar_98/Foley/GR_Kar98.wav,,0.71,0.77,100,500,,,,,rfl_3rd,,curve3,,,,,0.9,1.1,,3d,,,,0.7,see1 ber1 ber3 oki3 firing_range ber3b hol1 living_battlefield all_mp,,,shell_eject_rifle,,,,,,,,,,,,,,,20,90,0.35,1,,
weap_svt40_rechamber,,SFX/Weapon/Rifle/Kar_98/Foley/GF_Kar98_Rechamber.wav,,0.71,0.77,100,500,,,,,rfl_3rd,,curve3,,,,,0.9,1.1,,3d,,,,0.7,see1 ber1 ber3 oki3 firing_range ber3b hol1 living_battlefield all_mp,,,,,,,,,,,,,,,,,,20,90,0.35,1,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
weap_svt40_move_l_npc,,SFX\Weapon\Rifle\SVT40\fire\ring\svt_left_mn.wav,,0.2,0.25,50,1800,3,priority,,,decay,,curve2,,,,,0.98,1.02,,3d,,,,0.75,see1 ber1 ber3 oki3 firing_range ber3b hol1 living_battlefield all_mp,,,weap_svt40_move_r,,,,,,,,,,,,,left_shot,2,90,90,0.25,1,,
weap_svt40_move_r_npc,,SFX\Weapon\Rifle\SVT40\fire\ring\svt_right_mn.wav,,0.2,0.25,50,1800,3,priority,,,decay,,curve2,,,,,0.92,1.04,,3d,,,,0.75,see1 ber1 ber3 oki3 firing_range ber3b hol1 living_battlefield all_mp,,,shell_eject_rifle,,,,,,,,,,,,,right_shot,2,90,90,0.25,1,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
weap_svt40_move_l,,SFX\Weapon\Rifle\SVT40\fire\ring\svt_left.wav,,0.75,0.85,500,6000,,,,,decay,,curve3,,,,,0.98,1.02,,3d,,,,0.75,see1 ber1 ber3 oki3 firing_range ber3b hol1 living_battlefield all_mp,,,weap_svt40_move_r,,100,,,,,,,,,,,left_shot,20,90,90,0.25,1,,
weap_svt40_move_r,,SFX\Weapon\Rifle\SVT40\fire\ring\svt_right.wav,,0.65,0.95,500,6000,,,,,decay,,curve3,,,,,1,1,,3d,,,,0.75,see1 ber1 ber3 oki3 firing_range ber3b hol1 living_battlefield all_mp,,,shell_eject_rifle,,125,,,,,,,,,,,right_shot,20,90,90,0.25,1,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
weap_svt40_fire_plr_r_sil,,SFX/Weapon/Rifle/SVT40/fire/wpn_svt40_st_r.wav,,0.2,0.2,,,2,oldest,,,rfl_1st,,,,,,,0.9,1.1,,2d,,,,0.75,all_mp,,,weap_svt40_fire_plr_act_sil,,,wpn_all,0.5,,,,,,,,,,,90,90,0.25,1,,
weap_svt40_fire_plr_act_sil,,SFX/Weapon/Rifle/SVT40/fire/wpn_svt40_st_act.wav,,0.9,1,,,2,oldest,,,rfl_1st,,,,,,,0.97,1.03,,2d,,,,0.7,all_mp,,,shell_eject_rifle,,,wpn_all,,,,,,,,,,,,90,90,0.25,1,,
weap_svt40_fire_act_sil,,SFX/Weapon/Rifle/Gewehr43/Fire/wpn_G43_mn_act.wav,,0.9,1,100,600,10,priority,2,oldest,rfl_3rd,,curve1,,1000,,,0.95,1.05,pitch,3d,,,,0.7,see1 ber1 ber3 oki3 firing_range ber3b hol1 living_battlefield all_mp,,,,,,,,,,,,,,,,,,70,20,0.35,1,,


Faites option remplacez avec bloc-notes:

all_mp ==> all_sp

si le son ne marche toujours pas après compilations verifiez qu'il n'y a pas de
#
avant les sons!

ex:
#weap_svt40_fire_plr,,SFX/Weapon/Rifle/SVT40/fire/wpn_svt40_st_f.wav,,0.8,0.8,,,2,oldest,,,rfl_1st,,,,,,,,,,2d,,,,0.75,see1 ber1 ber3 oki3 firing_range ber3b hol1 living_battlefield all_mp,,,weap_svt40_fire_plr_r,,,wpn_fnt,,,,,,,,,,,,90,90,0.25,1,,


ne sera pas chargée car il y a un "#" avant il faut le retirer cela donne:

weap_svt40_fire_plr,,SFX/Weapon/Rifle/SVT40/fire/wpn_svt40_st_f.wav,,0.8,0.8,,,2,oldest,,,rfl_1st,,,,,,,,,,2d,,,,0.75,see1 ber1 ber3 oki3 firing_range ber3b hol1 living_battlefield all_sp,,,weap_svt40_fire_plr_r,,,wpn_fnt,,,,,,,,,,,,90,90,0.25,1,,


*********************************************************

Compilez dans mod builder en ayant au préalabable coché votre arme + _zombiemode_weapons.gsc + dlc3_code.gsc et dans compile level.
Ce message a été modifié par Wolf_Silver - 23 April 2015 - 17:21.
Répondre

tommy123 Photo tommy123 18 December 2014 - 01:15

Salut. j'ai tenté de suivre ton tuto pour ajouté l'arme "shotgun_bayonet_mp" qui es une arme multijoueur.

cela dit, j'ai reussi a mettre l'arme en jeu mais impossible de l'avoir dans la boite.

Pourtant j'ai bien mis le "true" et j'ai revirifier 3 fois pour etre sur de ne rien oublier.

ce qui est bizzar c'est que quand je compile je n'ai aucune erreur.
Donc pour moi sa devrais marché et avoir l'arme dans la boite.
Répondre

Wolf_Silver Photo Wolf_Silver 18 December 2014 - 11:57

 tommy123, le 18 December 2014 - 01:15, dit :

Salut. j'ai tenté de suivre ton tuto pour ajouté l'arme "shotgun_bayonet_mp" qui es une arme multijoueur.

cela dit, j'ai reussi a mettre l'arme en jeu mais impossible de l'avoir dans la boite.

Pourtant j'ai bien mis le "true" et j'ai revirifier 3 fois pour etre sur de ne rien oublier.

ce qui est bizzar c'est que quand je compile je n'ai aucune erreur.
Donc pour moi sa devrais marché et avoir l'arme dans la boite.


Quand tu dis que l'arme apparait en jeu c'est a dire? tu peux l'avoir avec la commande /give all?

et as tu bien coché _zombiemode_weapons.gsc et dlc3_code.gsc dans le mod builder ca ne peut venir que de la!
Ce message a été modifié par Wolf_Silver - 18 December 2014 - 11:59.
Répondre

tommy123 Photo tommy123 18 December 2014 - 14:37

 Wolf_Silver, le 18 December 2014 - 11:57, dit :

Quand tu dis que l'arme apparait en jeu c'est a dire? tu peux l'avoir avec la commande /give all?

et as tu bien coché _zombiemode_weapons.gsc et dlc3_code.gsc dans le mod builder ca ne peut venir que de la!



Avec la commande /give all la commando n'y est pas. c'est avec la commande /give_shotgun_bayonet_mp que je l'obtient en main. mais à part ça je ne l'ai pas.

oui j'ai bien cocher _zombiemode_weapon.gsc et dlc3_code.gsc


j'ai ajouté les ligne que tu as dit comme ceci.

Pour le DLC3_code: regarde dans l'onglet shotgun

include_weapons()
{
include_weapon( "zombie_colt" );
include_weapon( "zombie_colt_upgraded", false );
include_weapon( "zombie_sw_357" );
include_weapon( "zombie_sw_357_upgraded", false );

// Bolt Action
include_weapon( "zombie_kar98k" );
include_weapon( "zombie_kar98k_upgraded", false );

// Semi Auto
include_weapon( "zombie_m1carbine" );
include_weapon( "zombie_m1carbine_upgraded", false );
include_weapon( "zombie_m1garand" );
include_weapon( "zombie_m1garand_upgraded", false );
include_weapon( "zombie_gewehr43" );
include_weapon( "zombie_gewehr43_upgraded", false );

// Full Auto
include_weapon( "zombie_stg44" );
include_weapon( "zombie_stg44_upgraded", false );
include_weapon( "zombie_commando", true );
include_weapon( "zombie_thompson" );
include_weapon( "zombie_thompson_upgraded", false );
include_weapon( "zombie_mp40" );
include_weapon( "zombie_mp40_upgraded", false );
include_weapon( "zombie_type100_smg" );
include_weapon( "zombie_type100_smg_upgraded", false );

// Scoped
include_weapon( "ptrs41_zombie" );
include_weapon( "ptrs41_zombie_upgraded", false );

// Grenade
include_weapon( "molotov" );
include_weapon( "stielhandgranate" );

// Grenade Launcher
include_weapon( "m1garand_gl_zombie" );
include_weapon( "m1garand_gl_zombie_upgraded", false );
include_weapon( "m7_launcher_zombie" );
include_weapon( "m7_launcher_zombie_upgraded", false );

// Flamethrower
include_weapon( "m2_flamethrower_zombie" );
include_weapon( "m2_flamethrower_zombie_upgraded", false );

// Shotgun
include_weapon( "zombie_doublebarrel" );
include_weapon( "zombie_doublebarrel_upgraded", false );
include_weapon( "zombie_shotgun" );
include_weapon( "zombie_shotgun_upgraded", false );
include_weapon( "zombie_shotgun_bayonet_mp", true ); <<<<je l'ai mis ICI

// Heavy MG
include_weapon( "zombie_bar" );
include_weapon( "zombie_bar_upgraded", false );
include_weapon( "zombie_fg42" );
include_weapon( "zombie_fg42_upgraded", false );

include_weapon( "zombie_30cal" );
include_weapon( "zombie_30cal_upgraded", false );
include_weapon( "zombie_mg42" );
include_weapon( "zombie_mg42_upgraded", false );
include_weapon( "zombie_ppsh" );
include_weapon( "zombie_ppsh_upgraded", false );

// Rocket Launcher
include_weapon( "panzerschrek_zombie" );
include_weapon( "panzerschrek_zombie_upgraded", false );

// Special
include_weapon( "ray_gun", true, ::factory_ray_gun_weighting_func );
include_weapon( "ray_gun_upgraded", false );
include_weapon( "tesla_gun", true );
include_weapon( "tesla_gun_upgraded", false );
include_weapon( "zombie_cymbal_monkey", true, ::factory_cymbal_monkey_weighting_func );
// include_weapon( "mortar_round" );

// Bouncing betties
include_weapon( "mine_bouncing_betty", false );

// Added By Sniperbolt
// include_weapon( "zombie_the_sniperbolt", true );
// include_weapon( "zombie_the_sniperbolt_upgrated", false );

// Limited weapons
maps\_zombiemode_weapons::add_limited_weapon( "zombie_colt", 0 );
maps\_zombiemode_weapons::add_limited_weapon( "zombie_gewehr43", 0 );
maps\_zombiemode_weapons::add_limited_weapon( "zombie_m1garand", 0 );
}

include_powerups()
{
include_powerup( "nuke" );
include_powerup( "insta_kill" );
include_powerup( "double_points" );
include_powerup( "full_ammo" );
include_powerup( "carpenter" );
}


Pour zombiemode_weapon:regarde dans l'onglet shotgun


// Pistols
add_zombie_weapon( "colt", &"ZOMBIE_WEAPON_COLT_50", 50, "vox_crappy", 8 );
add_zombie_weapon( "colt_dirty_harry", &"ZOMBIE_WEAPON_COLT_DH_100", 100, "vox_357", 5 );
add_zombie_weapon( "nambu", &"ZOMBIE_WEAPON_NAMBU_50", 50, "vox_crappy", 8 );
add_zombie_weapon( "sw_357", &"ZOMBIE_WEAPON_SW357_100", 100, "vox_357", 5 );
add_zombie_weapon( "zombie_sw_357", &"ZOMBIE_WEAPON_SW357_100", 100, "vox_357", 5 );
add_zombie_weapon( "zombie_sw_357_upgraded", &"ZOMBIE_WEAPON_SW357_100", 100, "vox_357", 5 );
add_zombie_weapon( "tokarev", &"ZOMBIE_WEAPON_TOKAREV_50", 50, "vox_crappy", 8 );
add_zombie_weapon( "walther", &"ZOMBIE_WEAPON_WALTHER_50", 50, "vox_crappy", 8 );
add_zombie_weapon( "zombie_colt", &"ZOMBIE_WEAPON_ZOMBIECOLT_25", 25, "vox_crappy", 8 );
add_zombie_weapon( "zombie_colt_upgraded", &"ZOMBIE_WEAPON_ZOMBIECOLT_25", 25, "vox_crappy", 8 );

// Bolt Action
add_zombie_weapon( "kar98k", &"ZOMBIE_WEAPON_KAR98K_200", 200, "", 0);
add_zombie_weapon( "zombie_kar98k", &"ZOMBIE_WEAPON_KAR98K_200", 200, "", 0);
add_zombie_weapon( "zombie_kar98k_upgraded", &"ZOMBIE_WEAPON_KAR98K_200", 200, "", 0);
add_zombie_weapon( "kar98k_bayonet", &"ZOMBIE_WEAPON_KAR98K_B_200", 200, "", 0);
add_zombie_weapon( "mosin_rifle", &"ZOMBIE_WEAPON_MOSIN_200", 200, "", 0);
add_zombie_weapon( "mosin_rifle_bayonet", &"ZOMBIE_WEAPON_MOSIN_B_200", 200, "", 0 );
add_zombie_weapon( "springfield", &"ZOMBIE_WEAPON_SPRINGFIELD_200", 200, "", 0 );
add_zombie_weapon( "zombie_springfield", &"ZOMBIE_WEAPON_SPRINGFIELD_200", 200, "", 0 );
add_zombie_weapon( "springfield_bayonet", &"ZOMBIE_WEAPON_SPRINGFIELD_B_200", 200, "", 0 );
add_zombie_weapon( "zombie_type99_rifle", &"ZOMBIE_WEAPON_TYPE99_200", 200, "", 0 );
add_zombie_weapon( "zombie_type99_rifle_upgraded", &"ZOMBIE_WEAPON_TYPE99_200", 200, "", 0 );
add_zombie_weapon( "type99_rifle_bayonet", &"ZOMBIE_WEAPON_TYPE99_B_200", 200, "", 0 );

// Semi Auto
add_zombie_weapon( "zombie_gewehr43", &"ZOMBIE_WEAPON_GEWEHR43_600", 600, "" , 0 );
add_zombie_weapon( "zombie_gewehr43_upgraded", &"ZOMBIE_WEAPON_GEWEHR43_600", 600, "" , 0 );
add_zombie_weapon( "zombie_m1carbine", &"ZOMBIE_WEAPON_M1CARBINE_600", 600, "" , 0 );
add_zombie_weapon( "zombie_m1carbine_upgraded", &"ZOMBIE_WEAPON_M1CARBINE_600", 600, "" , 0 );
add_zombie_weapon( "m1carbine_bayonet", &"ZOMBIE_WEAPON_M1CARBINE_B_600", 600, "" , 0 );
add_zombie_weapon( "zombie_m1garand", &"ZOMBIE_WEAPON_M1GARAND_600", 600, "" , 0 );
add_zombie_weapon( "zombie_m1garand_upgraded", &"ZOMBIE_WEAPON_M1GARAND_600", 600, "" , 0 );
add_zombie_weapon( "m1garand_bayonet", &"ZOMBIE_WEAPON_M1GARAND_B_600", 600, "" , 0 );
add_zombie_weapon( "svt40", &"ZOMBIE_WEAPON_SVT40_600", 600, "" , 0 );

// Grenades
add_zombie_weapon( "fraggrenade", &"ZOMBIE_WEAPON_FRAGGRENADE_250", 250, "" , 0 );
add_zombie_weapon( "molotov", &"ZOMBIE_WEAPON_MOLOTOV_200", 200, "vox_crappy", 8 );
add_zombie_weapon( "molotov_zombie", &"ZOMBIE_WEAPON_MOLOTOV_200", 200, "vox_crappy", 8 );
add_zombie_weapon( "stick_grenade", &"ZOMBIE_WEAPON_STICKGRENADE_250", 250, "" , 0 );
add_zombie_weapon( "stielhandgranate", &"ZOMBIE_WEAPON_STIELHANDGRANATE_250", 250, "" , 0, 250 );
add_zombie_weapon( "type97_frag", &"ZOMBIE_WEAPON_TYPE97FRAG_250", 250, "" , 0 );

// Scoped
add_zombie_weapon( "kar98k_scoped_zombie", &"ZOMBIE_WEAPON_KAR98K_S_750", 750, "vox_ppsh", 5);
add_zombie_weapon( "kar98k_scoped_bayonet_zombie", &"ZOMBIE_WEAPON_KAR98K_S_B_750", 750, "vox_ppsh", 5);
add_zombie_weapon( "mosin_rifle_scoped_zombie", &"ZOMBIE_WEAPON_MOSIN_S_750", 750, "vox_ppsh", 5);
add_zombie_weapon( "mosin_rifle_scoped_bayonet_zombie", &"ZOMBIE_WEAPON_MOSIN_S_B_750", 750, "vox_ppsh", 5);
add_zombie_weapon( "ptrs41_zombie", &"ZOMBIE_WEAPON_PTRS41_750", 750, "vox_ppsh", 5);
add_zombie_weapon( "ptrs41_zombie_upgraded", &"ZOMBIE_WEAPON_PTRS41_750", 750, "vox_ppsh", 5);
add_zombie_weapon( "springfield_scoped_zombie", &"ZOMBIE_WEAPON_SPRINGFIELD_S_750", 750, "vox_ppsh", 5);
add_zombie_weapon( "springfield_scoped_bayonet_zombie", &"ZOMBIE_WEAPON_SPRINGFIELD_S_B_750", 750, "vox_ppsh", 5);
add_zombie_weapon( "type99_rifle_scoped_zombie", &"ZOMBIE_WEAPON_TYPE99_S_750", 750, "vox_ppsh", 5);
add_zombie_weapon( "type99_rifle_scoped_bayonet_zombie", &"ZOMBIE_WEAPON_TYPE99_S_B_750", 750, "vox_ppsh", 5);

// Full Auto
add_zombie_weapon( "zombie_mp40", &"ZOMBIE_WEAPON_MP40_1000", 1000, "vox_mp40", 2 );
add_zombie_weapon( "commando", &"ZOMBIE_WEAPON_COMMANDO_1000", 1000, "vox_crappy", 8 );
add_zombie_weapon( "zombie_mp40_upgraded", &"ZOMBIE_WEAPON_MP40_1000", 1000, "vox_mp40", 2 );
add_zombie_weapon( "zombie_ppsh", &"ZOMBIE_WEAPON_PPSH_2000", 2000, "vox_ppsh", 5 );
add_zombie_weapon( "zombie_ppsh_upgraded", &"ZOMBIE_WEAPON_PPSH_2000", 2000, "vox_ppsh", 5 );
add_zombie_weapon( "zombie_stg44", &"ZOMBIE_WEAPON_STG44_1200", 1200, "vox_mg", 9 );
add_zombie_weapon( "zombie_stg44_upgraded", &"ZOMBIE_WEAPON_STG44_1200", 1200, "vox_mg", 9 );
add_zombie_weapon( "zombie_thompson", &"ZOMBIE_WEAPON_THOMPSON_1200", 1200, "", 0 );
add_zombie_weapon( "zombie_thompson_upgraded", &"ZOMBIE_WEAPON_THOMPSON_1200", 1200, "", 0 );
add_zombie_weapon( "zombie_type100_smg", &"ZOMBIE_WEAPON_TYPE100_1000", 1000, "", 0 );
add_zombie_weapon( "zombie_type100_smg_upgraded", &"ZOMBIE_WEAPON_TYPE100_1000", 1000, "", 0 );

// Shotguns
add_zombie_weapon( "zombie_doublebarrel", &"ZOMBIE_WEAPON_DOUBLEBARREL_1200", 1200, "vox_shotgun", 6);
add_zombie_weapon( "zombie_doublebarrel_upgraded", &"ZOMBIE_WEAPON_DOUBLEBARREL_1200", 1200, "vox_shotgun", 6);
add_zombie_weapon( "zombie_doublebarrel_sawed", &"ZOMBIE_WEAPON_DOUBLEBARREL_SAWED_1200", 1200, "vox_shotgun", 6);
add_zombie_weapon( "zombie_doublebarrel_sawed_upgraded", &"ZOMBIE_WEAPON_DOUBLEBARREL_SAWED_1200", 1200, "vox_shotgun", 6);
add_zombie_weapon( "zombie_shotgun", &"ZOMBIE_WEAPON_SHOTGUN_1500", 1500, "vox_shotgun", 6);
add_zombie_weapon( "zombie_shotgun_upgraded", &"ZOMBIE_WEAPON_SHOTGUN_1500", 1500, "vox_shotgun", 6);
add_zombie_weapon( "zombie_shotgun_bayonet_mp", &"ZOMBIE_WEAPON_SHOTGUN_BAYONET_MP_1500", 1500, "vox_shotgun", 6); <<<<<ICI

// Heavy Machineguns
add_zombie_weapon( "zombie_30cal", &"ZOMBIE_WEAPON_30CAL_3000", 3000, "vox_mg", 9 );
add_zombie_weapon( "zombie_30cal_upgraded", &"ZOMBIE_WEAPON_30CAL_3000", 3000, "vox_mg", 9 );
add_zombie_weapon( "zombie_bar", &"ZOMBIE_WEAPON_BAR_1800", 1800, "vox_bar", 5 );
add_zombie_weapon( "zombie_bar_upgraded", &"ZOMBIE_WEAPON_BAR_1800", 1800, "vox_bar", 5 );
add_zombie_weapon( "dp28", &"ZOMBIE_WEAPON_DP28_2250", 2250, "vox_mg" , 9 );
add_zombie_weapon( "zombie_fg42", &"ZOMBIE_WEAPON_FG42_1500", 1500, "vox_mg" , 9 );
add_zombie_weapon( "zombie_fg42_upgraded", &"ZOMBIE_WEAPON_FG42_1500", 1500, "vox_mg" , 9 );
add_zombie_weapon( "fg42_scoped", &"ZOMBIE_WEAPON_FG42_S_1500", 1500, "vox_mg" , 9 );
add_zombie_weapon( "zombie_mg42", &"ZOMBIE_WEAPON_MG42_3000", 3000, "vox_mg" , 9 );
add_zombie_weapon( "zombie_mg42_upgraded", &"ZOMBIE_WEAPON_MG42_3000", 3000, "vox_mg" , 9 );
add_zombie_weapon( "type99_lmg", &"ZOMBIE_WEAPON_TYPE99_LMG_1750", 1750, "vox_mg" , 9 );

// Grenade Launcher
add_zombie_weapon( "m1garand_gl_zombie", &"ZOMBIE_WEAPON_M1GARAND_GL_1500", 1500, "", 0 );
add_zombie_weapon( "m1garand_gl_zombie_upgraded", &"ZOMBIE_WEAPON_M1GARAND_GL_1500", 1500, "", 0 );
add_zombie_weapon( "mosin_launcher_zombie", &"ZOMBIE_WEAPON_MOSIN_GL_1200", 1200, "", 0 );

// Bipods
add_zombie_weapon( "30cal_bipod", &"ZOMBIE_WEAPON_30CAL_BIPOD_3500", 3500, "vox_mg", 5 );
add_zombie_weapon( "bar_bipod", &"ZOMBIE_WEAPON_BAR_BIPOD_2500", 2500, "vox_bar", 5 );
add_zombie_weapon( "dp28_bipod", &"ZOMBIE_WEAPON_DP28_BIPOD_2500", 2500, "vox_mg", 5 );
add_zombie_weapon( "fg42_bipod", &"ZOMBIE_WEAPON_FG42_BIPOD_2000", 2000, "vox_mg", 5 );
add_zombie_weapon( "mg42_bipod", &"ZOMBIE_WEAPON_MG42_BIPOD_3250", 3250, "vox_mg", 5 );
add_zombie_weapon( "type99_lmg_bipod", &"ZOMBIE_WEAPON_TYPE99_LMG_BIPOD_2250", 2250, "vox_mg", 5 );

// Rocket Launchers
add_zombie_weapon( "bazooka", &"ZOMBIE_WEAPON_BAZOOKA_2000", 2000, "", 0 );
add_zombie_weapon( "panzerschrek_zombie", &"ZOMBIE_WEAPON_PANZERSCHREK_2000", 2000, "vox_panzer", 5 );
add_zombie_weapon( "panzerschrek_zombie_upgraded", &"ZOMBIE_WEAPON_PANZERSCHREK_2000", 2000, "vox_panzer", 5 );

// Flamethrower
add_zombie_weapon( "m2_flamethrower_zombie", &"ZOMBIE_WEAPON_M2_FLAMETHROWER_3000", 3000, "vox_flame", 7);
add_zombie_weapon( "m2_flamethrower_zombie_upgraded", &"ZOMBIE_WEAPON_M2_FLAMETHROWER_3000", 3000, "vox_flame", 7);

// Special
add_zombie_weapon( "mine_bouncing_betty", &"ZOMBIE_WEAPON_SATCHEL_2000", 2000, "" );
add_zombie_weapon( "mortar_round", &"ZOMBIE_WEAPON_MORTARROUND_2000", 2000, "" );
add_zombie_weapon( "satchel_charge", &"ZOMBIE_WEAPON_SATCHEL_2000", 2000, "vox_monkey", 3 );
add_zombie_weapon( "zombie_cymbal_monkey", &"ZOMBIE_WEAPON_SATCHEL_2000", 2000, "vox_monkey", 3 );
add_zombie_weapon( "ray_gun", &"ZOMBIE_WEAPON_RAYGUN_10000", 10000, "vox_raygun", 6 );
add_zombie_weapon( "ray_gun_upgraded", &"ZOMBIE_WEAPON_RAYGUN_10000", 10000, "vox_raygun", 6 );
add_zombie_weapon( "tesla_gun", &"ZOMBIE_BUY_TESLA", 10, "vox_tesla", 5 );
add_zombie_weapon( "tesla_gun_upgraded", &"ZOMBIE_BUY_TESLA", 10, "vox_tesla", 5 );

Image IPB
Répondre

Wolf_Silver Photo Wolf_Silver 18 December 2014 - 15:47

tu as mis ceci:
include_weapon( "zombie_shotgun_bayonet_mp", true );


il faut retire le zombie_ ca fait juste parti du nom des armes par défault

donc ca doit donner pour ton arme:
include_weapon( "shotgun_bayonet_mp", true );


POUR DLC3_CODE.gsc

add_zombie_weapon( "shotgun_bayonet_mp",	&"ZOMBIE_WEAPON_SHOTGUN_BAYONET_MP_1500",	1500, "vox_shotgun", 6);


POUR _ZOMBIEMODE_WEAPONS.gsc
Répondre

Wolf_Silver Photo Wolf_Silver 18 December 2014 - 15:51

J ai aussi vu que tu as mis
&"ZOMBIE_WEAPON_SHOTGUN_BAYONET_MP_1500"


Je te conseille plutot de mettre
"Maintenez &&1 pour acheter Fusil a pompe + baionette [cout : 1500]"


à la place dans zombiemode_weapons.gsc sauf si tu sais creer des "hintstrings" dans un fichier en .str
Répondre

tommy123 Photo tommy123 18 December 2014 - 16:09

 Wolf_Silver, le 18 December 2014 - 15:51, dit :

J ai aussi vu que tu as mis
&"ZOMBIE_WEAPON_SHOTGUN_BAYONET_MP_1500"


Je te conseille plutot de mettre
"Maintenez &&1 pour acheter Fusil a pompe + baionette [cout : 1500]"


à la place dans zombiemode_weapons.gsc sauf si tu sais creer des "hintstrings" dans un fichier en .str



ok merci je vais corrigé tous ça.
non je ne sais pas faire des hintstrings.
Répondre

tommy123 Photo tommy123 18 December 2014 - 16:26

Voila pour le fusil a pompe tous marche nikkel. aucune erreur et je le vois dans la boxe :)

merci à toi pour ton aide :chris1mrolleyes:
Répondre

Wolf_Silver Photo Wolf_Silver 18 December 2014 - 16:29

 tommy123, le 18 December 2014 - 16:26, dit :

Voila pour le fusil a pompe tous marche nikkel. aucune erreur et je le vois dans la boxe :)

merci à toi pour ton aide :chris1mrolleyes:


De rien, ca fait plaisir d'aider
Répondre