This also includes my 'Patrol Soldat' wich is a Panzer with a mingun instead of a flamethrower, to balance things out he's a slow walker
You can enable/disable the Patrol Soldat, whatever you prefer
Disclaimer:
Hidden Text
This script is originally made for Zombie Sumpf, wich is now released more then 2,5 years ago. Back when i made this i wasn't into scripting for that long.. The script is far from perfect, and right now i would do a lot of things different prob but i could never be bothered to redo it. After all it works ( mostly )
Occasionally a player could get stuck inside a model/clip when the panzer grabs him ( wich also happens in official maps every now and then btw.. ). I'm doing countless amount of traces in the script to prevent this, but specially models without collision and clips that stick out a lot increase the chanche of players getting stuck!
Instructions ( also included in the dl ): FOR VERSION 1.0 MAKE SURE TO USE THE INSTRUCTIONS BELOW AND NOT FROM INSIDE THE DOWNLOAD! I will update the instructions included in the download in version 1.1 1] Copy the .iwd file in your COMPILED mod-folder ( so appdata\local\activision\CoDWaW... etc for the disk version )
2] Pick ONE of the two .ff files depending on if you're allready using one for another feature.
-If you pick the _patch, rename it to 'mapname'_patch. So if my map was called nazi_zombie_example the .ff would be nazi_zombie_example_patch
or
-If you pick the localized_, rename it to localized_'mapname'. So in the example above it would be localized_nazi_zombie_example
Also copy the renamed .ff into you compiled mod-folder
3] Open your _zombiemode.gsc Around line 60-70 you'll see similar lines, add this one:
4] Next look for this: And add the mech anims, so it looks like: That's it for _zombiemode. save and close. 5] Now open _zombiemode_spawner and look for this line: right under it add: --------- Next look for these lines: right IN BETWEEN those, add the new line so it looks like below: 6] Now find this line: And under that add this: 7] A few line's down, under this: Add these lines: 8] Now find this piece of code: And under that part, add these line's: 9] In the function: zombie_damage( mod, hit_location, hit_origin, player ) under these line's: Add these: 10] And a bit down in the function: zombie_damage_ads( mod, hit_location, hit_origin, player ) in the same way add: That's _spawner. Save and close. 11] Open animscripts\death.gsc and look for this: And change that into: Save and close. 12] Now open animscripts\melee.gsc, and scroll to the bottom. There you will see this function: In there, replace this line: With this one: Next, right under this part: Add these new lines: 13] Now open the animtrees\generic_human.atr: Right at the top under: add this: ai_zombie_mech_grabbed bo2_mech_run_to_aim_ft bo2_mech_ft_sweep bo2_mech_ft_burn_plr bo2_mech_arrive bo2_mech_exit bo2_mech_head_pain bo2_mech_downed bo2_mech_recover bo2_mech_powercore_pain bo2_mech_leap_start bo2_mech_leap_stop bo2_mech_stunned bo2_mech_grab_aim bo2_mech_grab_idle bo2_mech_taunt bo2_mech_minigun_sweep bo2_mech_minigun_spray mech_minigun_fire_loop ============================================================= Next find the zombie-run anims, around line 450. and add these somewhere in there: bo2_mech_walk_basic bo2_mech_walk_patrol bo2_mech_run01 bo2_mech_sprint01 bo2_mech_leap_loop bo2_mech_minigun_spray_walk ============================================================= Next find: and under that add: bo2_mech_melee01 bo2_mech_melee02 bo2_mech_run_melee01 ============================================================ Find the death anims, around line 1960 and add these in there: bo2_mech_death bo2_mech_death_explode ============================================================ And now find the taunt anims, around line 2840 and add this one in there: blst_zom_mech_taunt 14] In radiant: * Make sure all your zone's have the " script_noteworthy - player_zone " ( this was actually originally in WaW scripts, but a lot of people dont use it.. ) * Where the mech spawn's, and also the struct's that are used for jetpacking: (place them half inside the ground, like riser-struct's) * Make AT LEAST 6 trigger_damage entities. ( Should be fine for spawning in 5 mechs at the same time ) make them around 30x30x30 units, give this KVP: Also select these spawnflags: -PROJ_NO -EXPLOSION_NO -SPLASH_NO -FIRE_NO Put them somewhere the players cant see / shoot them. These will be used for when the mech grabs a player, but can't be spawned in through script.. 15] If you have a Wonder Weapon you want to have a special effect on the mech, you can call this from where the ww-script does damage: He will do a pain-anim, and there's a slight chanche he gets knocked to the ground. 16] ---------------- No nuke and insta-kill effect----------------- In _zombiemode_powerups find the function check_for_instakill() and under the line's: add these line's: -------- Next find the function nuke_powerup() scroll down a bit till you see: and under that add these line's: 17] -----------Doesn't stop the rounds from changing------------ Open _zombiemode_utility.gsc, and find the line: and REPLACE it with this one: 18] Stock 'settings': -first panzer round: round 8 -after that every 3 rounds -health value's are copied from bo2 script -the patrol-soldat is included, he and the normal one will take turns spawning
Hidden Text
Single player: round 8 or higher: 1 mech round 14 or higher: 2 mechs round 18 or higher: 3 mechs
COOP: round 8 or higher: 1 mech round 11 or higher: 2 mechs round 14 or higher: 3 mechs round 17 or higher: *1 or 2 players: 3 mechs *3 or 4 players: same number of mechs as players
You can change a lot of settings in the _blst_panzersoldat.gsc thats inside the BlSt_PanzerSoldat.iwd To disable the Patrol-Soldat, open the script inside the .iwd and change this line into false: That should be all! PS: Dont ask me if i can send you the raw-files, or if you can combine two .ff's or if i can do that for you.. I won't, and i can't..
Last Edit: January 06, 2020, 09:02:07 pm by BluntStuffy
If you want scripts / features made for you, then contact me by PM or email / skype etc it will cost you tho so if you have no intention of reciprocating don't even waste my time
Holy Crap This is Awesome! I leave on vacation for 1 week then come back and all this amazing stuff comes out. I swear with this, natesmith's new releases, and Harry's shields and perks I will have my Alcatraz map done in no time. Thank you so much this will be so fun to use. Imagine the patrolling panzer in the tight prison halls of Alcatraz... creepy.
Made a minor adjustment in the tutorial, if you install this make sure to use the instructions from the Topic and not from the DL. I'll update the instructions in the dl in version1.1
If you allready installed it and having trouble because the mech doesn't move after he spawns: -remove this line from _spawner:
-redo step 5 from the instructions and you should be good to go
Last Edit: August 14, 2016, 04:53:01 am by BluntStuffy