Modme Forums
Menu:

Instant Death upon zm modded map start (please help)

Game Modding | Call of Duty: Black Ops 3 | Radiant


ayuugo:

I have read about and implemented every answer to this problem that I can find on steam and still every time I try to test my map you die before the map even loads in.
Methods tried:
added informational zones with KVP
KVP (targetname start_zone#) #=number of zone
KVP script_noteworthy player_volume
KVP target start_zone#_spawners #=number of zone
have all necessary zone areas such as door coding, sun volume for level, the models for things etc.. please help me i really want this map to work.
also added in my user maps scripts zm zm_mapname.gsc
(
function usermap_test_zone_init()
{
zm_zonemgr::add_adjacent_zone("start_zone", "start_zone1", "enter_start_zone1");
zm_zonemgr::add_adjacent_zone("start_zone1", "start_zone2", "enter_start_zone2");
zm_zonemgr::add_adjacent_zone("start_zone1", "start_zone3", "enter_start_zone3");
zm_zonemgr::add_adjacent_zone("start_zone3", "start_zone4", "enter_start_zone4");
level flag::init( "always_on" );
level flag::set( "always_on" );
}
)


ayuugo:

to clarify these helpful hints were from Steam Workshop discussions.


Kricket:

to clarify these helpful hints were from Steam Workshop discussions.

First thing to check is to make sure your zone is stretched over the spawn area in all dimensions, secondly some code may be missing from your script right there. If this isn't in your main under zm_usermap::init(); , then you need to add it:
function main(){
    zm_usermap::init();


    level.zones = [];
    level.zone_manager_init_func =&usermap_test_zone_init;
    init_zones=[];
    init_zones[0] = "start_zone";
}

If in radiant you pressed the new button, this should all be in the gsc file already, but if you changed an unnamed radiant file into this map, then there will be some other issues. If you need any other help you can message me on discord: EuphoricKarizma#0228


ayuugo:

I changed a bit to match what you were saying in the GSC file.... as things were different even tough radiant is what originally made these maps coding.
What I had...
zm_usermap::main() instead of zm_usermap::init() and It had a number in the level.zones[]. going to check it as I write this... *waiting*
**New error presented**
^1ERR(6E) scripts/zm/zm_fm.gsc (87,0) : Compiler Internal Error : Unresolved external 'zm_usermap::init'
I've changed it back to the original less the number trying it again my friends map works without the number but has main this is the thinking behind this change
This made it start the game but again kills player upon level start. *Double checking my zone sizes*
All zones cover the entire area in which the area the player should be able to move around in said zone is supposed to be. The number has no effect
*Trying one last time to run** **nope**


Kricket:

I changed a bit to match what you were saying in the GSC file.... as things were different even tough radiant is what originally made these maps coding.
What I had...
zm_usermap::main() instead of zm_usermap::init() and It had a number in the level.zones[]. going to check it as I write this... *waiting*
**New error presented**
^1ERR(6E) scripts/zm/zm_fm.gsc (87,0) : Compiler Internal Error : Unresolved external 'zm_usermap::init'
I've changed it back to the original less the number trying it again my friends map works without the number but has main this is the thinking behind this change
This made it start the game but again kills player upon level start. *Double checking my zone sizes*
All zones cover the entire area in which the area the player should be able to move around in said zone is supposed to be. The number has no effect
*Trying one last time to run** **nope**

Can you show me some screenshots of the zone selected, with its kvps showing, and some screenshots of your gsc file
Thanks.


ayuugo:

Can you show me some screenshots of the zone selected, with its kvps showing, and some screenshots of your gsc file
Thanks.

yeah but you need to add me on discord I friend requested you.


ayuugo:

yeah but you need to add me on discord I friend requested you. my bad didn't see the add.


ayuugo:

some coding was wrong zones work.. now to fix the doors and spawners
For anyone interested my player spawn points were apparently below my map
credit to kricket for figuring it out, also sorry my doors confused us (lol, creating doors.... yeah.. sigh)