BO2 Mob of the dead Plane Parts
-
Hi
I put the script to have more than one after life in custom game solo. However, i cannot carry more than one plane part at the same time. Does anyone know how to fix that?Thanks
-
Whats the script you use look like?
3 afterlifes in customs and can pick up multiple plane parts should be as simple as level.is_forever_solo_game = true; under init
I've done that and have it working in custom and never got your issue -
Yeah. I put this.
init()
{
level.is_forever_solo_game = true;
}like i said, i do have 3 afterlifes but cant carry multiple parts
-
Alt_Zypher so forget what I said before im going to make the script that will make being able to carry multiple parts possible for this scenario better than the 1 line init
-
#include maps\mp_utility;
#include common_scripts\utility;
#include maps\mp\zombies_zm_utility;
#include maps\mp\zombies_zm_craftables;
#include maps\mp\zm_alcatraz_utility;
#include scripts\zm_zm_afterlife;init()
{
level thread plane_set_pieces_shared();
level.is_forever_solo_game = true;
}plane_set_pieces_shared()
{
foreach(stub in level.zombie_include_craftables)
{
if(stub.name == "plane" || stub.name == "refuelable_plane")
{
foreach(piece in stub.a_piecestubs)
{
piece.is_shared = 1;
piece.client_field_state = undefined;
}
}
}
}I test this in custom games myself it works
putting it in a comment is so messy but here -
It gives me an error. Maybe you can send a screenshot of what you put in the file. I've copied everything you put in the chat above
The error is :
****1 script error(s)
Urresolved external : "is_classic" with 0 parameters in "scripts/zm/solo.gsc" at line 1 -
Alt_Zypher ah its the isclassic and specifying the map line remove all that I wasnt thinking that part through but everything else work can confirm that
remove the isclassic part until you get to this then it works
plane_set_pieces_shared()
{
foreach(stub in level.zombie_include_craftables) -
Alt_Zypher screenshot? the one that works is this one
-
It works. Thank you very much
-
@FluffySn0w0yFox I just tested this one myself. The 3 stacks of Afterlife works fine and the plane parts. the problem is with the fuel cans. for some reason it doesn't seem to work for me in custom games. any ideas?