Call of Duty 5: World at War => Help Desk => Topic started by: conrad.multan on February 25, 2018, 10:06:40 pm
Title: Boss Fight Help
Post by: conrad.multan on February 25, 2018, 10:06:40 pm
So I have a teleporter at the end of my map where players get teleported to a "boss arena" however I have no clue how I would script a boss and make him spawn when teleported there...
Title: Re: Boss Fight Help
Post by: gympie6 on February 26, 2018, 06:48:34 pm
:nyan:
Title: Re: Boss Fight Help
Post by: fanmagic on February 26, 2018, 08:33:14 pm
That would be very much appreciated. Im assuming i would be able to edit things like the model and movement speed correct? Double Post Merge: February 26, 2018, 08:42:13 pmBasically, I would need it to spawn in a specific zone when it is activated. In my case the zone is called zone_boss but is activated with script_flag/enter_zone_boss... again thanks alot :)
Title: Re: Boss Fight Help
Post by: fanmagic on February 26, 2018, 08:48:13 pm
That would be very much appreciated. Im assuming i would be able to edit things like the model and movement speed correct? Double Post Merge: February 26, 2018, 08:42:13 pmBasically, I would need it to spawn in a specific zone when it is activated. In my case the zone is called zone_boss but is activated with script_flag/enter_zone_boss... again thanks alot :)
Yes. You are able to change everything like speed, health, model, fx and so on. I'm not at home, so i'll post the script later on here. (to spawn the zombie in the arena)
Title: Re: Boss Fight Help
Post by: conrad.multan on February 26, 2018, 08:49:26 pm
Thanks Man, thats a +1 for you ;D
Title: Re: Boss Fight Help
Post by: gympie6 on February 26, 2018, 10:11:32 pm
Yes. You are able to change everything like speed, health, model, fx and so on. I'm not at home, so i'll post the script later on here. (to spawn the zombie in the arena)
I remember there was something wrong with this napalm mod. Does the napalm zombie deal correctly radiusDamage instead of doDamage, if you are going to use the napalm explosion?
Title: Re: Boss Fight Help
Post by: fanmagic on February 27, 2018, 12:31:52 pm
I remember there was something wrong with this napalm mod. Does the napalm zombie deal correctly radiusDamage instead of doDamage, if you are going to use the napalm explosion?
I think that i corrected it a while ago. Can you tell me exectly what lines of code you are talking about, if the mistake is still there? ::)
Title: Re: Boss Fight Help
Post by: TGMKTheII on February 27, 2018, 03:37:15 pm
I think that i corrected it a while ago. Can you tell me exectly what lines of code you are talking about, if the mistake is still there? ::)
I think I still see the line of code which is causing the problem.
in scroll down to
The "self" in this function is the player and when the player's health is very low it will activate the singleplayer's defeat. I were you I should change "self" to "zombie" or change DoDamage to RadiusDamage. I think don't think I have to explain it further. :)
Title: Re: Boss Fight Help
Post by: fanmagic on February 27, 2018, 10:12:32 pm
I think I still see the line of code which is causing the problem.
in scroll down to
The "self" in this function is the player and when the player's health is very low it will activate the singleplayer's defeat. I were you I should change "self" to "zombie" or change DoDamage to RadiusDamage. I think don't think I have to explain it further. :)
I just use doDamage if the player's health is bigger than the damage. If the player has less health the else-statement uses radiusDamage to kill the player and prevant the singleplayer restart. But i havn't tested the script that much in coop, so you could be right. :)
Yes. You are able to change everything like speed, health, model, fx and so on. I'm not at home, so i'll post the script later on here. (to spawn the zombie in the arena)
If you want the boss to spawn after you activate a trigger, you can use something like this:
Title: Re: Boss Fight Help
Post by: conrad.multan on February 27, 2018, 10:21:42 pm
Ok awesome thanks man Greatly appreciated
Title: Re: Boss Fight Help
Post by: fanmagic on February 27, 2018, 10:22:24 pm
So would i download your older version, install it, and then replace the .gsc with this?
It's the same code as the one from the download. Just replace the function like i wrote above.
Title: Re: Boss Fight Help
Post by: conrad.multan on February 28, 2018, 05:24:28 am
Hey man so I finally got to adding the script and: 1. when i spawn i get a fire screen overlay effect 2. zombies don't target me 3. I don;t spawn in with as many points as i should and when I kill zombies the points don;t collect
Was just wondering how I could fix this, again wanted to thank you for what u had already helped me with.
Title: Re: Boss Fight Help
Post by: AllMoDs on February 28, 2018, 04:56:08 pm
I have a boss Script set up i made you're more than welcome to use if you want I have two different setups one where you can give your boss a guns and it could shoot projectiles and one without and the way it's set up you can give your boss multiple attacks PM me if you want the scripts and I'll have no problem helping you set it up with animation sound whatever else you want
this is one of my setup ingame
Title: Re: Boss Fight Help
Post by: conrad.multan on March 01, 2018, 12:50:46 am
:nyan:
Title: Re: Boss Fight Help
Post by: conrad.multan on March 03, 2018, 03:45:04 pm
Hey guys was still hoping for some help with this.
Title: Re: Boss Fight Help
Post by: gympie6 on March 03, 2018, 06:29:06 pm
Hey man so I finally got to adding the script and: 1. when i spawn i get a fire screen overlay effect 2. zombies don't target me 3. I don;t spawn in with as many points as i should and when I kill zombies the points don;t collect
Was just wondering how I could fix this, again wanted to thank you for what u had already helped me with.
Most of the bugs you've got doesn't come from my script. You have to let the boss spawn behind a wallhop, if you have windows on your map. And the fire screen appears, because the script can't find the zombie itself, so you maybe did something wrong.
Title: Re: Boss Fight Help
Post by: conrad.multan on March 03, 2018, 11:12:30 pm
If I were to make him spawn in a separate open area without windows would it work?
Title: Re: Boss Fight Help
Post by: fanmagic on March 03, 2018, 11:38:33 pm
If I were to make him spawn in a separate open area without windows would it work?
He needs a traverse node to start "searching" the player.
Title: Re: Boss Fight Help
Post by: conrad.multan on March 03, 2018, 11:39:36 pm
what if i put find_flesh? Double Post Merge: March 03, 2018, 11:55:41 pmUhh so i tried all of that but the zombies spawns by it self without the trigger and again the issues with points and other zombies chasing the player happened
Title: Re: Boss Fight Help
Post by: fanmagic on March 04, 2018, 12:22:13 am
what if i put find_flesh? Double Post Merge: March 03, 2018, 11:55:41 pmUhh so i tried all of that but the zombies spawns by it self without the trigger and again the issues with points and other zombies chasing the player happened
Then make sure that all of the kvp's in radiant are correct.