Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 6 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD4 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Lost map on final save! Need help!
shookone
General Member
Since: Feb 26, 2008
Posts: 22
Last: Mar 30, 2008
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Sunday, Mar. 30, 2008 08:43 am
Im having the problem that some other people were having, where the map can not be opened in the editor or compiled. When i attempt to compile it gives me an "assertion failure" that reads "num_entities !=1".
When I try to open it in radiant it simply says no worldspawn and dumps me into untitled.map.

I was on the last save/compile of this project which I was weeks into. I have a backup, but its very old, and would probably only be helpful if I could pull some lines of code out of it and put it in the corrupted one.

Is there anything I can do to salvage this file? Does anyone know what that error means, or how to pinpoint the problem so I can remove it through text editting?
Share |
R4R44VIS
General Member
Since: Apr 22, 2005
Posts: 553
Last: Jul 24, 2008
[view latest posts]
Level 6
Category: CoD4 MP Mapping
Posted: Sunday, Mar. 30, 2008 09:47 am
Is the autosave any good or is that corrupt aswell?

I have my autosave set to about 2 hours (which is about all i'll map for in one hit), and then save myself every 10-15 mins. Then do complete backup once a week. I have lost one project, that i spent weeks on, and that was one too many. Even now worst case is i'll lose a weeks work.
I know it doesnt help, but it proves that you can never backup too much.
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Sunday, Mar. 30, 2008 09:55 am
Edit > Preferences > Snapshots to save to new file each time
Share |
SporadiC
General Member
Since: Feb 23, 2008
Posts: 159
Last: Jan 3, 2011
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Sunday, Mar. 30, 2008 12:31 pm
man I hope for you you dont have the same problem as I had, I am currently placing EVERYTHING apart from brushes back in my map as it had saved only my brushes, and even that took some work to restore...
check out this topic: http://www.modsonline.com/Forums-top-77188.html

what you need to copy and paste here for us is the following:
when you try and load your map your editor will place some text in the bottom box of radiant (the one beneath the 2d view), copy that and paste it here, that will at least tell us which error you have during loading.

edit: also, I have set my autosave to 5 minutes, not taking any chances.

edited on Mar. 30, 2008 08:33 am by SporadiC
Share |
COLMAC
General Member
Since: Sep 15, 2006
Posts: 914
Last: Jan 27, 2012
[view latest posts]
Level 7
Category: CoD4 MP Mapping
Posted: Sunday, Mar. 30, 2008 02:44 pm
have you open it in note pad?
it sounds like you have a number out of sequence in your entitys if you are carfull you can open it in note pad and start at the bottom look throgh the entitys one by one make sure all prefabs, xmodels and spawns have angles
"origins and probes dont need them "
must be number sequenced or radiant will not open
at the bottom is the last thing you added
you can open your older save "always copy first"
and copy and paste the entitys back in from your latest map
segment at a time and check each time by opening in radiant
i have lost 3 maps and this is how i started to fix them
Share |
shookone
General Member
Since: Feb 26, 2008
Posts: 22
Last: Mar 30, 2008
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Sunday, Mar. 30, 2008 05:41 pm
Yes, ive opened it in notepad. Its just im not sure I understand the formatting for everything, like whether the // or {} or () begin and start sequences, and whether the coordinants for objects are before or after themselves. Either way, here is what radiant spits out when i attempt to load the map:

Map_LoadFile: C:/Program Files/Activision/Call of Duty 4 - Modern Warfare/map_source/mp_jst.map
Updating layers...
Loading model com_bike... successful.
Loading model com_hookah_pipe... successful.
Loading model jst_light_model... successful.
Loading model jst_chair_model... successful.
Loading model jst_desk_model... successful.
Loading model jst_closetdoors_model... successful.
Loading model jst_bed... successful.
Loading model jst_lounge_1_model... successful.
Loading model jst_loveseat_model... successful.
Loading model jst_couch_model... successful.
Loading model jst_samsung_model... successful.
Loading model com_laptop_open... successful.
Loading model com_laptop_voodoo_black_open... successful.
Loading model com_office_chair_killhouse... successful.
Loading model com_debris_paper... successful.
Loading model com_widescreen_monitor... successful.
Loading model com_cardboardbox03... successful.
Loading model jst_table_model... successful.
Loading model ch_pillow_2... successful.
Loading model com_bottle2... successful.
Loading model com_bottle4... successful.
Loading model jst_n2o_model... successful.
Loading model jst_straw_model... successful.
Loading model jst_stair_model... successful.
Loading model com_potted_plant02... successful.
Loading model com_potted_plant03... successful.
Loading model jst_dressor... successful.
Loading model jst_sink_model... successful.
Loading model com_fire_light... successful.
Loading prefab prefabs/mp/dom_flag_primary_a.map... successful.
Loading prefab prefabs/mp/dom_flag_primary_b.map... successful.
Loading prefab prefabs/mp/dom_flag_primary_c.map... successful.
Loading prefab prefabs/mp/war_hq_obj.map...Loading model com_plasticcase_beige_big... successful.
Loading model com_laptop_2_open... successful.
Loading model com_cellphone_on... successful.
successful.
No worldspawn in map.
Map_New
Updating layers...


edited on Mar. 30, 2008 01:43 pm by shookone
Share |
shookone
General Member
Since: Feb 26, 2008
Posts: 22
Last: Mar 30, 2008
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Sunday, Mar. 30, 2008 06:12 pm
Phew! I recovered my map with all brushes, models, ect! If anyone else is getting the worldspawn error, it seems to be a simple matter of replacing whatever is in your map (in the text editor) named entity_0 with a worldspawn. The easiest way to do this seems to be just to create a new map, say with just one brush, save it and then open it in the text editor. Then just copy everything from your first brush down in your old map and paste into the new map over the text defining the single brush. This just makes it easier to avoid any sort of mistake, the main concept is simply to make entity_0 a worldspawn instead of whatever it is now.
Share |
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 1293
Last: Jul 9, 2016
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Sunday, Mar. 30, 2008 06:15 pm
eh, this happened to me once. I just opened it in notepad. Yourmap.map And edited in a new worldspawn. If your not sure what its supposed to look like, here are the settings your looking at, and here are what mine are, so you can kinda compare.

// entity 0
{
"ambient" "0"
"suncolor" ".9 .98 1"
"sundiffusecolor" ".9 .92 1"
"sundirection" "-40 225 0"
"sunlight" ".75"
"_color" "0.90 0.90 1"
"diffusefraction" "0.25"
"r_reflection_color_correction" "mp_farm"
"model" "prefabs/blackout/garden_02.map"
"classname" "worldspawn"

When I messed up on mine, I accidentally put something else in the world spawn, and hit enter. Then when I ran my map again, it wouldn't load in Radiant, gave me the same error yours did. So since I made a backup of my map a while back, I opened the backup.map and my map that didn't work, and looked at what the differences were in the world spawn before the words //brushes. Mine above had different world spawn settings than yours did. So all you have to do is manually put in the world spawn settings that you originally put in when you started your map/worldspawn. I would make a copy of your.map and mess with the copy to get the map working though.
Share |
COLMAC
General Member
Since: Sep 15, 2006
Posts: 914
Last: Jan 27, 2012
[view latest posts]
Level 7
Category: CoD4 MP Mapping
Posted: Sunday, Mar. 30, 2008 06:18 pm
when you open it in note pad it should start as

iwmap 4
"000_Global" flags active
"The Map" flags
// entity 0
{
"classname" "worldspawn"
// brush 0
then your brushes start after the brushes that you made your
entitys
looks like this correct ?
if not it should
you have no sun so your map will be dark as well under
//entity 0 add this
{
"contrastGain" "0.425"
"diffusefraction" "0.5"
"_color" ".8 .9 1"
"sunlight" "1"
"sundirection" "-50 -20 0"
"sundiffusecolor" ".9 0.88 .75"
"suncolor" "1 0.92 0.88"
"ambient" ".1"
"bouncefraction" ".7"
"classname" "worldspawn"

when your done it should look like this

iwmap 4
"000_Global" flags active
"The Map" flags
// entity 0
{
"contrastGain" "0.425"
"diffusefraction" "0.5"
"_color" ".8 .9 1"
"sunlight" "1"
"sundirection" "-50 -20 0"
"sundiffusecolor" ".9 0.88 .75"
"suncolor" "1 0.92 0.88"
"ambient" ".1"
"bouncefraction" ".7"
"classname" "worldspawn"
// brush 0
{
( 2816 4096 -512 ) ( -2560 4096 -512 ) ( -2560 -3840 -512 ) caulk 64 64 0 0 0 0 lightmap_gray 16384 16384 0 0 0 0
( -2560 -3840 -256 ) ( -2560 4096 -256 ) ( 2816 4096 -256 ) caulk 64 64 0 0 0 0 lightmap_gray 16384 16384 0 0 0 0
( -2816 -4864 -512 ) ( 2560 -4864 -512 ) ( 2560 -4864 -768 ) caulk 64 64 0 0 0 0 lightmap_gray 16384 16384 0 0 0 0
( 4736 -3840 -512 ) ( 4736 4096 -512 ) ( 4736 4096 -768 ) caulk 64 64 0 0 0 0 lightmap_gray 16384 16384 0 0 0 0
( 2816 4864 -384 ) ( -2560 4864 -384 ) ( -2560 4864 -640 ) caulk 64 64 0 0 0 0 lightmap_gray 16384 16384 0 0 0 0
( -3904 4224 -512 ) ( -3904 -3712 -512 ) ( -3904 -3712 -768 ) caulk 64 64 0 0 0 0 lightmap_gray 16384 16384 0 0 0 0
}
}
// entity 1
{
"origin" "-104.0 -2214.0 174.0"
"angles" "0 94 0"
"classname" "mp_global_intermission"
}
// entity 2
{
"origin" "-670.0 -2176.0 88.0"
"angles" "0 2.50448e-006 0"
"classname" "mp_tdm_spawn"
}

and so on
to be sure open backlot geo map in note pad and check that it runs in this format
Share |
COLMAC
General Member
Since: Sep 15, 2006
Posts: 914
Last: Jan 27, 2012
[view latest posts]
Level 7
Category: CoD4 MP Mapping
Posted: Sunday, Mar. 30, 2008 06:21 pm
oops posted while i was
great news glad you got it worked out
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 MP Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»