UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Can someone help me with a boss zombie such as the Napalm zombie

broken avatar :(
Created 10 years ago
by Deleted User
0 Members and 1 Guest are viewing this topic.
1,908 views
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
So I'm making a map and its going pretty well... I have put in a lot of stuff but I want to learn how to make a boss such as the napalm zombie and later on when I learn enough the panzer...
Please don't tell me to go just learn c++ because i already know that i need that.
If someone could help me or point me in the right direction I would be very greatfull!
 ;D ;D
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 6 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
Signature
×
MakeCents's Groups
Mapper Has released one or more maps to the UGX-Mods community.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
So I'm making a map and its going pretty well... I have put in a lot of stuff but I want to learn how to make a boss such as the napalm zombie and later on when I learn enough the panzer...
Please don't tell me to go just learn c++ because i already know that i need that.
If someone could help me or point me in the right direction I would be very greatfull!
 ;D ;D

This is codscript, not c++ but it does have some similarities. Napalm boss difficulty would depend on how much you want it like the original. If exactly, then there is so much involved besides just the scripting.

You would need the models, create a spawner, the anims probably too if they are different, and then all the work to get those in and working. If you just use the animname "boss_zombie" instead of other anims then its a little easier.

After creating a spawner, you would, when ready to spawn that boss, get that spawner and thread a function to handle his attack, and make sure he doesn't gib and check health and set it if needed, and make sure he isn't a runner or sprinter, unless you want that.

Something like this could get you started scripting wise:

Code Snippet
Plaintext
//thread this when you want to spawn a zombie
SpawnBoss(){
        damage = 50;
        distancehurt = 666;
bosses = GetEntArray("napalmboss", "targetname");//spawner kvps
boss = bosses[0];//this for now to spawn the boss, decide if more spawns later
zombie = spawn_zombie( boss );
        zombie.zombie_move_speed = "walk";
zombie.animname = "boss_zombie";
zombie.health = 50000;
zombie.maxhealth = 50000;
zombie.gibbed = true;
while(IsAlive( zombie )){
players = getplayers( );
array_thread( players,::BurnThem,zombie,damage,distancehurt );
wait(1);
}
}
BurnThem(zombie,damage,distancehurt){
        zombie endon("death");
if(is_player_valid( self ) & Distance( self.origin,zombie.origin )<distancehurt){
self SetBurn( 1 );
if(self.health>damage) self DoDamage( damage, self.origin, zombie, zombie );
else radiusdamage(self.origin, distancehurt, damage, 5, zombie);
}
}


Not tested, just put together quick
Last Edit: June 06, 2016, 03:08:43 pm by MakeCents

 
Loading ...