I'm trying to get projectiles to launch out of a volcano and into the playable area.
So far I've tried doing this in two different ways: following UGX's Airstrike tutorial, and using code from BO2 Nuketown's method of having random perks come from the sky. In UGX's airstrike tutorial, it instructs me to set vehicletype to "corsair". This caused the game to crash upon loading:
Other vehicletypes cause it to crash too. When I remove the vehicletype KVP, the game throws an error:
When I remove the script_vehicle and all related ents from the map completely, the game loads fine.
Originally I had a bunch of script_origin ents linked to each other and had the projectile MoveTo() each node, but it looked ugly as fuck because it moved to each node in a straight line, and paused for a split-second before moving to the next node, so just looked horrible.
Double Post Merge: July 12, 2016, 08:13:52 amCodmoddd1234 has fixed this issue, he sent me a couple of things via PM. I asked him if I could post the code here in case others have the same issue:
Added to mapname_patch.csv: rawfile,vehicles/rubber_raft then put maps\setupvehicles::setupvehicles_preload(); before maps\_zombiemode::main();
I'll probably make a tut/download later on for this, too.