Rechercher
Derniers sujets
» FR-mapping ! ouverture du site prochainement par Wolf_silver Jeu 28 Nov - 17:19
» Nightmare prend les commandes
par Wolf_silver Mer 27 Nov - 15:49
» SITE HEBERGER FERME !
par Razor1700 Ven 25 Mai - 13:36
» problème de motivation
par Enzotoy Dim 25 Oct - 20:33
» [FR-Mapping mod]Changer soi-même son menu principale!!
par Wolf_silver Sam 24 Oct - 17:19
Ajouter George roméro de Cal of the dead
Page 1 sur 1 • Partagez
Ajouter George roméro de Cal of the dead
Hello, Ce tuto va vous permettre d'ajouter Roméro de bo1 à votre map
Tout d'abord téléchargez [Vous devez être inscrit et connecté pour voir ce lien]
et prenez le .iwd et le localized et mettez le dans votre map (pensez à renommez le localized en localized_nazi_zombie_???)
Copiez (si ce n'est pas déjà fait) _zombiemode_spawner.gsc qui se trouve dans raw/maps dans mods/nazi_zombie_???/maps
et recherchez la fonction "zombie_spawn_init()" et remplacez toute la fonction par:
Maintenant ajoutez à la fonction init() (tout en haut du fichier):
Copiez (si ce n'est pas déjà fait) _zombiemode.gsc qui se trouve dans raw/maps dans mods/nazi_zombie_???/maps
recherchez:
ajoutez juste en dessous du dernier PrecacheModel (celui avec tag_origin):
dans la fonction main() rajoutez :
et voilà!
Tout d'abord téléchargez [Vous devez être inscrit et connecté pour voir ce lien]
et prenez le .iwd et le localized et mettez le dans votre map (pensez à renommez le localized en localized_nazi_zombie_???)
Copiez (si ce n'est pas déjà fait) _zombiemode_spawner.gsc qui se trouve dans raw/maps dans mods/nazi_zombie_???/maps
et recherchez la fonction "zombie_spawn_init()" et remplacez toute la fonction par:
- Code:
zombie_spawn_init( animname_set )
{
if( !isDefined( animname_set ) )
{
animname_set = false;
}
self.targetname = "zombie";
self.script_noteworthy = undefined;
if( !animname_set )
{
self.animname = "zombie";
}
self.ignoreall = true;
self.allowdeath = true; // allows death during animscripted calls
self.gib_override = true; // needed to make sure this guy does gibs
self.is_zombie = true; // needed for melee.gsc in the animscripts
self.has_legs = true; // Sumeet - This tells the zombie that he is allowed to stand anymore or not, gibbing can take
// out both legs and then the only allowed stance should be prone.
self allowedStances( "stand" );
self.gibbed = false;
self.head_gibbed = false;
self.boss = false;
// might need this so co-op zombie players cant block zombie pathing
self PushPlayer( true );
// self.meleeRange = 128;
// self.meleeRangeSq = anim.meleeRange * anim.meleeRange;
animscripts\shared::placeWeaponOn( self.primaryweapon, "none" );
// This isn't working, might need an "empty" weapon
//self animscripts\shared::placeWeaponOn( self.weapon, "none" );
self.disableArrivals = true;
self.disableExits = true;
self.grenadeawareness = 0;
self.badplaceawareness = 0;
self.ignoreSuppression = true;
self.suppressionThreshold = 1;
self.noDodgeMove = true;
self.dontShootWhileMoving = true;
self.pathenemylookahead = 0;
self.badplaceawareness = 0;
self.chatInitialized = false;
self disable_pain();
self.dropweapon = false;
level thread zombie_death_event( self );
// We need more script/code to get this to work properly
// self add_to_spectate_list();
self random_tan();
self set_zombie_run_cycle();
self thread zombie_think();
self thread zombie_gib_on_damage();
self thread zombie_damage_failsafe();
if (level.bosses_alive < level.boss_total)
{
rand = randomintrange( 1000 );
if( rand >= level.boss_chance )
{
if( level.boss_ready == true )
{
players = get_players();
newhealth = players.size * level.boss_health;
self.maxhealth = level.zombie_health * newhealth;
self.health = level.zombie_health * newhealth;
self.boss = true;
level.bosses_alive++;
}
else
{
self.maxhealth = level.zombie_health;
self.health = level.zombie_health;
}
}
else
{
self.maxhealth = level.zombie_health;
self.health = level.zombie_health;
}
}
else
{
self.maxhealth = level.zombie_health;
self.health = level.zombie_health;
}
// MM - mixed zombies test
// if ( flag( "crawler_round" ) ||
// ( IsDefined( level.mixed_rounds_enabled ) && level.mixed_rounds_enabled == 1 &&
// level.zombie_total > 10 &&
// level.round_number > 5 && RandomInt(100) < 10 ) )
// {
// self thread make_crawler();
// }
// self thread zombie_head_gib();
self thread delayed_zombie_eye_glow(); // delayed eye glow for ground crawlers (the eyes floated above the ground before the anim started)
if (self.boss == true)
{
self setModel("bo1_c_zom_george_romero_zombiefied_fb");
}
self.deathFunction = ::zombie_death_animscript;
self.flame_damage_time = 0;
self zombie_history( "zombie_spawn_init -> Spawned = " + self.origin );
self notify( "zombie_init_done" );
}
Maintenant ajoutez à la fonction init() (tout en haut du fichier):
- Code:
///////////////////// Start Boss Variables (you can edit anything between these commented lines) ////////////////////////
level.boss_total = 1; // Total number of bosses able to spawn in a round.
level.boss_chance = 1; // The chance of a boss spawning in a round. (VALUE MUST BE IN BETWEEN 0 AND 1000!!!) Higher values mean less of a chance, while lower values mean a higher chance.
level.boss_health = 25; // The factor that the boss' healths are determined by. Higher values mean higher health and vice versa.
//////////////////////////////// End Boss Variables (DON'T EDIT ANYTHING ANYMORE!!!) ////////////////////////////////////
level.bosses_alive = 0;
Copiez (si ce n'est pas déjà fait) _zombiemode.gsc qui se trouve dans raw/maps dans mods/nazi_zombie_???/maps
recherchez:
- Code:
precache_models()
{
precachemodel( "char_ger_honorgd_zomb_behead" );
precachemodel( "char_ger_zombieeye" );
PrecacheModel( "tag_origin" );
}
ajoutez juste en dessous du dernier PrecacheModel (celui avec tag_origin):
- Code:
precachemodel( "bo1_c_zom_george_romero_zombiefied_fb" );
dans la fonction main() rajoutez :
- Code:
level.boss_ready = true;
level thread boss_check();
- Code:
boss_check()
{
while( 1 )
{
if( level.bosses_alive >= level.boss_total )
{
level.boss_ready = false;
level waittill("between_round_over");
level.bosses_alive = 0;
level.boss_ready = true;
}
else
{
}
wait( 0.01 );
}
}
et voilà!
Re: Ajouter George roméro de Cal of the dead
Le tuto à été testé et il fonctionne parfaitement!
Petit bonus:
Recherchez dans _zombiemode_spawner.gsc:
remplacez le 1 de:
par le nombre de roméro qui peuvent spawner dans une même manche
Maintenant remplacer le 1 de:
C'est le nombre de chance qu'a roméro de spawner dans une manche, doit être compris entre 0 et 1000 (plus le chiffre est petit plus roméro à de chance de spawner)
Et enfin remplacez le 25 de:
Par le multiplicateur de vie par rapport au zombie classique donc par défault roméro a 25 fois plus de vie qu'un zombie
Petit bonus:
Recherchez dans _zombiemode_spawner.gsc:
- Code:
///////////////////// Start Boss Variables (you can edit anything between these commented lines) ////////////////////////
level.boss_total = 1; // Total number of bosses able to spawn in a round.
level.boss_chance = 1; // The chance of a boss spawning in a round. (VALUE MUST BE IN BETWEEN 0 AND 1000!!!) Higher values mean less of a chance, while lower values mean a higher chance.
level.boss_health = 25; // The factor that the boss' healths are determined by. Higher values mean higher health and vice versa.
remplacez le 1 de:
- Code:
level.boss_total = 1; // Total number of bosses able to spawn in a round.
par le nombre de roméro qui peuvent spawner dans une même manche
Maintenant remplacer le 1 de:
- Code:
level.boss_chance = 1; // The chance of a boss spawning in a round. (VALUE MUST BE IN BETWEEN 0 AND 1000!!!) Higher values mean less of a chance, while lower values mean a higher chance.
C'est le nombre de chance qu'a roméro de spawner dans une manche, doit être compris entre 0 et 1000 (plus le chiffre est petit plus roméro à de chance de spawner)
Et enfin remplacez le 25 de:
- Code:
level.boss_health = 25; // The factor that the boss' healths are determined by. Higher values mean higher health and vice versa.
Par le multiplicateur de vie par rapport au zombie classique donc par défault roméro a 25 fois plus de vie qu'un zombie
Re: Ajouter George roméro de Cal of the dead
Merci beaucoup Wolf_silver !
mattdu53- Prestige 5
- Messages : 58
Réputation : 0
Date d'inscription : 28/04/2015
Re: Ajouter George roméro de Cal of the dead
Pour moi il spawn TOUJOURS à partir de la manche 2, comment on fait pour qu'il spawn à partir de la manche 5 ?
mattdu53- Prestige 5
- Messages : 58
Réputation : 0
Date d'inscription : 28/04/2015
Re: Ajouter George roméro de Cal of the dead
Recherche ça dans _zombiemode.gsc:
transforme le en:
- Code:
level.boss_ready = true;
level thread boss_check();
transforme le en:
- Code:
while(1)
{
level waittill("between_round_over");
if(level.round_number >= 5)
{
level.boss_ready = true;
level thread boss_check();
break;
}
}
Re: Ajouter George roméro de Cal of the dead
Je sais que je vais être un peu chiant mais est-il possible d'ajouter a ça que lors de ça mort il donne un atout aléatoire plus un tesla_gun comme dans le jeu
Razor1700- Prestige 13
- Messages : 386
Réputation : 1
Date d'inscription : 25/04/2015
Age : 26
Localisation : Moselle
Re: Ajouter George roméro de Cal of the dead
Et aussi qu'il aille moins vite qu'un zombie normale(2x) mais que lorsqu'il s'énerve(damage) il aille 1.5x plus vite
Razor1700- Prestige 13
- Messages : 386
Réputation : 1
Date d'inscription : 25/04/2015
Age : 26
Localisation : Moselle
Re: Ajouter George roméro de Cal of the dead
Wolf_silver a écrit:Recherche ça dans _zombiemode.gsc:
- Code:
level.boss_ready = true;
level thread boss_check();
transforme le en:
- Code:
while(1)
{
level waittill("between_round_over");
if(level.round_number >= 5)
{
level.boss_ready = true;
level thread boss_check();
break;
}
}
Petit problème après avoir modifier :/
[Vous devez être inscrit et connecté pour voir ce lien]
mattdu53- Prestige 5
- Messages : 58
Réputation : 0
Date d'inscription : 28/04/2015
Re: Ajouter George roméro de Cal of the dead
Wolf_silver a écrit:mmm peut-tu me poster ta fonction main()?
level.boss_ready = true;
level thread boss_check();
boss_check()
{
while(1)
{
level waittill("between_round_over");
if(level.round_number >= 5)
{
level.boss_ready = true;
level thread boss_check();
break;
}
}
mattdu53- Prestige 5
- Messages : 58
Réputation : 0
Date d'inscription : 28/04/2015
Re: Ajouter George roméro de Cal of the dead
- Code:
while(1)
{
level waittill("between_round_over");
if(level.round_number >= 5)
{
level.boss_ready = true;
level thread boss_check();
break;
}
}
Supprime ce que tu as déja mis et met ça à la place à la fin de la fonction main()
Re: Ajouter George roméro de Cal of the dead
Ouais non ça marche pas :/ Je l'ai mis à la fin de la fonction main()
ça me met ça : [Vous devez être inscrit et connecté pour voir ce lien]
Et j'ai enlever ce que j'ai déjà mis, et j'ai mis ça :
boss_check()
{
while(1)
{
level waittill("between_round_over");
if(level.round_number >= 5)
{
level.boss_ready = true;
level thread boss_check();
break;
}
}
Essaye tu verra il y à un problème :/
(J'ai essayé SANS et AVEC)!
"boss_check()
{"
ça me met ça : [Vous devez être inscrit et connecté pour voir ce lien]
Et j'ai enlever ce que j'ai déjà mis, et j'ai mis ça :
boss_check()
{
while(1)
{
level waittill("between_round_over");
if(level.round_number >= 5)
{
level.boss_ready = true;
level thread boss_check();
break;
}
}
Essaye tu verra il y à un problème :/
(J'ai essayé SANS et AVEC)!
"boss_check()
{"
mattdu53- Prestige 5
- Messages : 58
Réputation : 0
Date d'inscription : 28/04/2015
Re: Ajouter George roméro de Cal of the dead
Wolf_silver a écrit:mais ne met pas ça :
- Code:
boss_check()
{
lol tu insiste
Je l'ai enlevé mais il me met toujours "Bad Syntax" Essaye de ton coté il doit avoir une erreur. Désolé d'être chiant !
mattdu53- Prestige 5
- Messages : 58
Réputation : 0
Date d'inscription : 28/04/2015
Re: Ajouter George roméro de Cal of the dead
essaye de mettre /developer 1 car là je ne peux pas test je ne suis pas chez moi
Mais non tkt
Désolé d'être chiant !
Mais non tkt
Sujets similaires
» Tuto pour ajouter boss style George Romero(BO1 dlc2 call of the dead)
» ATH de Mob of the Dead
» TMG dead ship
» Ajouter un Ascenseur a sa map
» [Résolu] Ajouter de la luminosité sur ma map
» ATH de Mob of the Dead
» TMG dead ship
» Ajouter un Ascenseur a sa map
» [Résolu] Ajouter de la luminosité sur ma map
Page 1 sur 1
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum
|
|