door (sucks)

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

User avatar
k47a
товарищ
Posts: 810
Joined: Fri Mar 25, 2005 1:19 pm

Post by k47a »

Alright, thanks everybody. The problem I got now is that my map disappeared !!!
What happened was this: I had a slightly large custom tex in the map. When I tried to compile the map, the game just broke down (while loading). My PC looked rather messed up after that so I restarted it and tried again. Anyway, when I tried to open the map in rad, it was still there, well it's name was, but everything was gone. I had, so to say, an empty map...
I dunno where it is now. I didn't delete it or anything. It's just not there anymore... :evil:
Just what can I do now? Is it lost forever :cry: ?
Image
Elgan
Site Admin
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

when u rebuild u will find it's better the second time.

unless its one of those one off things like a sandcastle. perfect then ur bro jumps on it with a over priced football form norway. Then after u drowwed him u start to rebuild but never is it as perfect as that once. same applies for lego. The work of a thausand years is nothing but rubble. Mapping and 3d modeling though its totaly diff,erent the more u do the better it is:D
User avatar
k47a
товарищ
Posts: 810
Joined: Fri Mar 25, 2005 1:19 pm

Post by k47a »

Meaning, it's def lost? :shock:
Jezus Christ... I'm gonna hang myself in the attic...
Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

open the .map file in notepad and see if it is gone or not . If you try to open a bad .map file it will load until it finds a problem so some of it may load but as soon as it gets to the problem it stops . You can actually fix it in notepad some times by deleteing the bad brush for example . Also you can see if you have a .bak file if you do rename it to .map extention and see if it is any better for you .
Image
User avatar
k47a
товарищ
Posts: 810
Joined: Fri Mar 25, 2005 1:19 pm

Post by k47a »

Okay, it's still there, but when I try to open it in rad, I get an error:
Cannot open 'aidialog.cfg'
GetLastError () = 2 - 1282
An unrecoverable error has occured. Would you like to edit preferences 'fore exit rad?
:?
Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

How did you start mohradiant ? I had that when I tried to pin it to the start menu in windows to fix it I had to make a shortcut icon and pin that to the start menu . I guess you can also goto the right directory on your hard drive and double click the mohradiant.exe icon as well .
Image
User avatar
k47a
товарищ
Posts: 810
Joined: Fri Mar 25, 2005 1:19 pm

Post by k47a »

Rad is just in the main folder, no shortcut.
When I open rad and then try to open the .map file, nothing's there. When I open the main folder and go the .map file -> open with -> MOHrad, the error above occurs...
Btw, I was able to open the .map file in notepad - it's was quite short but there was no error message afaik...
Image
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

opening rad by clicking the map file may cause the error message. u should launch rad and then open the map (as u did).
the map file in notepad ought to be not that small. If u were talking 'bout the one I saw, it should have ~450kB and over 7000 lines. Also, u'd never get error messages in these files: They are a list of all the brushes and entities and their settings, textures and they ain't a log file.
So, errr, u better look for a bak file :cry: Maybe u even have checked "snapshots" in the preferences?! Then, u'd have a snapshot folder in ur map folder where there were some backups of ur progress. If not, activating snapshots would be a good thing to do (wouldn't have snowhill without :wink: )
User avatar
k47a
товарищ
Posts: 810
Joined: Fri Mar 25, 2005 1:19 pm

Post by k47a »

Nope, I don't think I got snapshots...
How can I open the .bak file? I can't open it with rad (same error occurs) and I can't open it in rad as you can't open this type of file...
Btw: when opening rad and trying to open my map, it says something like 'no worldspawn' and 'new_map'... (Damn, have you ever tried to work on a PC with a cat (Oskar) always jumping on the desk and on your keyboard trying to eat the plants on the desk?! esp. when it's losing a ton of fur everytime it jumps...)
@ wacko: yes, it's the same map... But I had the impression that the text in the notepad was much less than 7000 lines... :shock:
Image
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

IvaN (master of disaster) wrote:Nope, I don't think I got snapshots...
How can I open the .bak file? I can't open it with rad (same error occurs) and I can't open it in rad as you can't open this type of file...
Btw: when opening rad and trying to open my map, it says something like 'no worldspawn' and 'new_map'... (Damn, have you ever tried to work on a PC with a cat (Oskar) always jumping on the desk and on your keyboard trying to eat the plants on the desk?! esp. when it's losing a ton of fur everytime it jumps...)
@ wacko: yes, it's the same map... But I had the impression that the text in the notepad was much less than 7000 lines... :shock:
kick the cat and activate snapshots. map's coming :wink:
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

a .bak file is a .map file so change mymap.bak to mymap.map and then open it in radiant better yet change the name too mymap2.map or something if you don't want to delete the old one just to be safe but you probably will delete the old one.
Image
User avatar
k47a
товарищ
Posts: 810
Joined: Fri Mar 25, 2005 1:19 pm

Post by k47a »

Alright, thanks to wacko there's no need that I hang myself in the attic... :D
Image
User avatar
k47a
товарищ
Posts: 810
Joined: Fri Mar 25, 2005 1:19 pm

Post by k47a »

Okay. The door works fine. Thanks, Tom!
What if I wanna do a second one like this? What about the name? And do I have to repeat the whole trap_door script?
Image
User avatar
Axion
Major General
Posts: 683
Joined: Mon Sep 29, 2003 5:14 am
Location: Northern California
Contact:

Post by Axion »

Make the second one the same as the first, but change the targetname to flatdoor_2 and name the trigger flatdoor_2_trigger. Scripting for the door is the same as the first door, but with the changed targetnames.

Code: Select all

flatdoor_2_mover:

$flatdoor_2_trigger waittill trigger
$flatdoor_2 time 2
$flatdoor_2 playsound ("door_wood_open_move" + (randomint(3) + 1))
$flatdoor_2 rotateXup 135
$flatdoor_2 waitmove
$flatdoor_2 playsound door_wood_open_stop
wait 20
$flatdoor_2 playsound ("door_wood_close_move" + (randomint(1) + 1))
$flatdoor_2 rotateXdown 135
$flatdoor_2 waitmove
$flatdoor_2 playsound ("door_wood_close_stop" + (randomint(2) + 1))

goto flatdoor_2_mover

end

"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9
Image
Post Reply