Mohaa crashing in map load?

Discussion in 'Mapping' started by 69th_pshyco, Nov 21, 2003.

  1. 69th_pshyco Private

    Contributions:
    1
    Ive made my map and it worked untill i added waypoints for my truck. i first had 20 waypoints and it worked, i then added more untill i got up to around 43. on the 43rd waypoint i targeted waypoint number 2 so it loops. but now mohaa crashs. here is my console log:
    Code:
    ^~^~^ Can't find 0.tga
    Couldn't find image for shader 0
    sv_maxclients will be changed upon restarting.
    g_gametype will be changed upon restarting.
    g_gametypestring will be changed upon restarting.
    ------ Server Initialization ------
    Server: dm/drop
    Called FadeSound with: 0.000000
    Called FadeSound with: 0.000000
    ------- S_StopAllSounds (stop music) -------
    ------- S_StopAllSounds Complete-------
    ------- S_StopAllSounds (stop music) -------
    ------- S_StopAllSounds Complete-------
    Called FadeSound with: 0.000000
    Setting up Shaders
    UI_DrawConnect called
    LoadLibrary (mainta/gamex86.dll)
    ==== InitGame ====
    sizeof(Actor) == 3020
    Magic sizeof actor numer: 2956
    
    ------------------
    Event system initialized: 178 classes 1468 events 1045216 total memory in response list
    
    ==== CleanupGame ====
    CM_LoadMap( maps/dm/drop.bsp, 0 )
    -------------------- Spawning Entities -----------------------
    soundtrack switched to .
    -------------------- Actual Spawning Entities -----------------------
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/animate/electrical_switch_nopulse.tik
    spawn 'animate_equipment_electric-switch-nopulse':  0.71 seconds
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/human/german_afrika_officer.tik
    spawn 'ai_german_afrikacorps_officer':  1.69 seconds
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/emitters/electric_arc.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/items/item_25_healthbox.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/emitters/generic_spark.tik
    ^~^~^ Classname group used, but model was not a TIKI, using Object.
    *!*!*!* Objects are not allowed for use in the game. Make it a static model or a script model as needed.
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/emitters/smoke_smallfry.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/emitters/debris_smoke.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/emitters/t2l4_fire.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/statweapons/mg42_gun.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/weapons/kar98.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/weapons/mp40.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/weapons/thompsonsmg.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/weapons/m1_garand.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/vehicles/opeltruck.tik
    -------------------- Actual Spawning Entities Done ------------------ 2574 ms
    Different messages on linked doors.  Targetname = ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/vehicles/vehiclesoundentity.tik
    ^~^~^ WARNING: func_crate entities 42 and 45 have overlapping volumes near (521 570 111) to (539 590.001 121)
    0 teams with 0 entities
    Adding script: 'dm/drop.scr'
    exec gloal/friendly.scr (maps/dm/drop.scr, 17)
    ^
    
    ^~^~^ Script Error: Can't find 'gloal/friendly.scr'
    
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/weapons/p38.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/weapons/colt45.tik
    There are 0 friendlyspawners
    SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/allied_oss.skc' or 'models/player/allied_oss.skc'
    ^~^~^ TIKI_InitTiki: Couldn't load models/player/allied_oss.tik
    SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/allied_oss_fps.skc' or 'models/player/allied_oss_fps.skc'
    ^~^~^ TIKI_InitTiki: Couldn't load models/player/allied_oss_fps.tik
    ^~^~^ Box data is corrupted for 'models/human/allied_pilot/allied_pilot.skd'
    ^~^~^ Morph targets data is corrupted for 'models/human/allied_pilot/allied_pilot.skd'
    SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_elite_gestapo.skc' or 'models/player/german_elite_gestapo.skc'
    ^~^~^ TIKI_InitTiki: Couldn't load models/player/german_elite_gestapo.tik
    SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_elite_gestapo_fps.skc' or 'models/player/german_elite_gestapo_fps.skc'
    ^~^~^ TIKI_InitTiki: Couldn't load models/player/german_elite_gestapo_fps.tik
    Channel named Bip01 L Clavicle pos not added. (Bone will not work without it)
    Channel named Bip01 R Clavicle pos not added. (Bone will not work without it)
    SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter1.skc' or 'models/player/german_winter1.skc'
    ^~^~^ TIKI_InitTiki: Couldn't load models/player/german_winter1.tik
    SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter1_fps.skc' or 'models/player/german_winter1_fps.skc'
    ^~^~^ TIKI_InitTiki: Couldn't load models/player/german_winter1_fps.tik
    SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter2.skc' or 'models/player/german_winter2.skc'
    ^~^~^ TIKI_InitTiki: Couldn't load models/player/german_winter2.tik
    SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter2_fps.skc' or 'models/player/german_winter2_fps.skc'
    ^~^~^ TIKI_InitTiki: Couldn't load models/player/german_winter2_fps.tik
    Adding autosave names
    83 entities spawned
    182 simple entities spawned
    0 entities inhibited
    -------------------- Spawning Entities Done ------------------ 7050 ms
    *!*!*!* '*6' was spawned as an Object entity at (1256 831 93). Should be made into a static model or script model (#1).
    *!*!*!* 'models/emitters/t2l4_fire.tik' was spawned as an Object entity at (1080 40 80). Should be made into a static model or script model (#2).
    
    
    -----------PARSING 'ubersound/uberdialog.scr' (SERVER)------------
    Any SetCurrentTiki errors means that tiki wasn't prefetched and tiki-specific sounds for it won't work. To fix prefetch the tiki. Ignore if you don't use that tiki on this level.
    CG_Command_ProcessFile: ubersound/uberdialog.scr
    Parse/Load time: 0.705000 seconds.
    -------------PARSING 'ubersound/uberdialog.scr' DONE (SERVER)---------------
    
    
    
    -----------PARSING 'ubersound/ubersound.scr' (SERVER)------------
    Any SetCurrentTiki errors means that tiki wasn't prefetched and tiki-specific sounds for it won't work. To fix prefetch the tiki. Ignore if you don't use that tiki on this level.
    CG_Command_ProcessFile: ubersound/ubersound.scr
    Parse/Load time: 0.124000 seconds.
    -------------PARSING 'ubersound/ubersound.scr' DONE (SERVER)---------------
    
    ------ Server Initialization Complete ------ 30.93 seconds
    		$player takeall (global/loadout.scr, 23)
    		$player ^
    
    ^~^~^ Script Error: command 'takeall' applied to NULL listener
    
    		$player item weapons/M2frag_grenade_sp_start.tik (global/loadout.scr, 30)
    		$player ^
    
    ^~^~^ Script Error: command 'item' applied to NULL listener
    
    		$player item weapons/steilhandgranate_start.tik (global/loadout.scr, 31)
    		$player ^
    
    ^~^~^ Script Error: command 'item' applied to NULL listener
    
    		$player item weapons/nebelhandgranate_start.tik (global/loadout.scr, 33)
    		$player ^
    
    ^~^~^ Script Error: command 'item' applied to NULL listener
    
    		$player item weapons/M18_smoke_grenade_start.tik (global/loadout.scr, 34)
    		$player ^
    
    ^~^~^ Script Error: command 'item' applied to NULL listener
    
    soundtrack switched to music/random.mus.
    playing music/random.mus
    music set to normal with fallback normal
    Loading Ambient.scr
    
    and here is my scr file

    Code:
    // drop zone
    // ARCHITECTURE: [69th]PsHyCo.
    // SCRIPTING: [69th]PsHyCo.
    main: 
    // set scoreboard messages
    setcvar "g_obj_alliedtext1" "Drop Zone"
    setcvar "g_obj_alliedtext2" "Map by 69th_PsHyCo"
    setcvar "g_obj_alliedtext3" "69th Airborne clan"
    setcvar "g_obj_axistext1" "Visit us www.69thairborne.tk"
    setcvar "g_obj_axistext2" "send us an email at"
    setcvar "g_obj_axistext3" "mohaa_pshyco@hotmail.com"
    
    setcvar "g_scoreboardpic" "dropload"
    
    exec global/ai.scr
    exec global/loadout.scr maps/dm/drop.scr 
    exec gloal/friendly.scr
    
    level waitTill prespawn
    
    //*** Precache Dm Stuff
    exec global/DMprecache.scr
    
    level.script = maps/dm/drop.scr 
    exec global/ambient.scr random
    
    level waittill spawn
    level.script = "maps dm drop.scr"
    thread truck
    
    exec global/dmdog.scr
    
    wait 10
    exec global/dmdog.scr::dogspawn ( 1600 576 0 ) 45 1 5 "axis" 1
    wait 5
    exec global/dmdog.scr::dogspawn ( 848 576 0 ) 90 1 5 "allies" 1
    
    truck:
    $trk drive $wap
    end
    any help will be thankful.

    [69th]<-=*Maj.PsHyCo*=->
    www.69thairborne.tk
    (site made by ME!)
  2. Balr14 Moderator

    Contributions:
    97
    PREMIUM
    I Donated
    exec gloal/friendly.scr

    Shouldn't that be global?
  3. 69th_pshyco Private

    Contributions:
    1
    ah thanks never noticed that. im testing now so i hope it works.
  4. 69th_pshyco Private

    Contributions:
    1
    It gets to the same point on the loading then it stop responding.
    i dont no weather its the same error again or not but.
    Code:
    sv_maxclients will be changed upon restarting.
    g_gametype will be changed upon restarting.
    g_gametypestring will be changed upon restarting.
    ------ Server Initialization ------
    Server: dm/drop
    Called FadeSound with: 0.000000
    Called FadeSound with: 0.000000
    ------- S_StopAllSounds (stop music) -------
    ------- S_StopAllSounds Complete-------
    ------- S_StopAllSounds (stop music) -------
    ------- S_StopAllSounds Complete-------
    Called FadeSound with: 0.000000
    Setting up Shaders
    UI_DrawConnect called
    LoadLibrary (mainta/gamex86.dll)
    ==== InitGame ====
    sizeof(Actor) == 3020
    Magic sizeof actor numer: 2956
    
    ------------------
    Event system initialized: 178 classes 1468 events 1045216 total memory in response list
    
    ==== CleanupGame ====
    CM_LoadMap( maps/dm/drop.bsp, 0 )
    -------------------- Spawning Entities -----------------------
    soundtrack switched to .
    -------------------- Actual Spawning Entities -----------------------
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/animate/electrical_switch_nopulse.tik
    spawn 'animate_equipment_electric-switch-nopulse':  0.73 seconds
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/human/german_afrika_officer.tik
    spawn 'ai_german_afrikacorps_officer':  2.20 seconds
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/emitters/electric_arc.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/items/item_25_healthbox.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/emitters/generic_spark.tik
    ^~^~^ Classname group used, but model was not a TIKI, using Object.
    *!*!*!* Objects are not allowed for use in the game. Make it a static model or a script model as needed.
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/emitters/smoke_smallfry.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/emitters/debris_smoke.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/emitters/t2l4_fire.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/statweapons/mg42_gun.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/weapons/kar98.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/weapons/mp40.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/weapons/thompsonsmg.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/weapons/m1_garand.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/vehicles/opeltruck.tik
    spawn 'addon_vehicle_german_Opel-Truck-All':  0.10 seconds
    -------------------- Actual Spawning Entities Done ------------------ 3237 ms
    Different messages on linked doors.  Targetname = ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/vehicles/vehiclesoundentity.tik
    ^~^~^ WARNING: func_crate entities 42 and 45 have overlapping volumes near (521 570 111) to (539 590.001 121)
    0 teams with 0 entities
    Adding script: 'dm/drop.scr'
    	$player.entref = -1 (global/friendly.scr, 87)
    	$player^
    
    ^~^~^ Script Error: Field 'entref' applied to NULL listener
    
    	$player.maxhealth = $player.health (global/friendly.scr, 2133)
    	$player.maxhealth = $player^
    
    ^~^~^ Script Error: Field 'health' applied to NULL listener
    
    	$player.maxhealth = $player.health (global/friendly.scr, 2133)
    	$player^
    
    ^~^~^ Script Error: Field 'maxhealth' applied to NULL listener
    
    There are 0 enemies
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/weapons/p38.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/weapons/colt45.tik
    There are 0 friendlyspawners
    SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/allied_oss.skc' or 'models/player/allied_oss.skc'
    ^~^~^ TIKI_InitTiki: Couldn't load models/player/allied_oss.tik
    SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/allied_oss_fps.skc' or 'models/player/allied_oss_fps.skc'
    ^~^~^ TIKI_InitTiki: C
    
    and i really want to get this fixed but i have an idea it might be that ive done wap1 linked to wap2....etc......then wap43 linked to wap3 would that be causing the problem?
    if you need my map file i can send it to you aswell.
  5. 69th_pshyco Private

    Contributions:
    1
    ok i got the map to load but how would i do it so that after the truck gets to waypoint 43(wap43) it would go to waypoint3(wap3). i tryed linking them with target but then the map wouldnt load then so is there any other way? and how can i add collison so that if the player walks into the truck he dies and that they can jump on to the back bit on the truck and ride around. also is there anyway i can make the truck pause at the start for about 10 secs? then restat after it finishs in about 20 secs?

    Thanks for all your help.

    [69th]<-=*Maj.PsHyCo*=->
    www.69thairborne.tk
  6. tltrude Private

    Contributions:
    27
    line

    Take this line out:

    level.script = "maps dm drop.scr"


    Also, is it a singleplayer map or a Multiplayer map? You have stuff in your script for both.

    This line:

    exec global/DMprecache.scr

    will probably override these lines:

    exec global/ai.scr
    exec global/loadout.scr maps/dm/drop.scr
    exec gloal/friendly.scr

Share This Page