DF-21 Forums Forum Index DF-21 Forums
The Dark Forces Community
 
DF-21.net Home | FAQ | Search | Memberlist  | Register 
Profile | Log in to check your private messages | Log in

Trouble with the INF on Mac

 
Post new topic   Reply to topic    DF-21 Forums Forum Index -> Dark Forces Levels & Editing
View previous topic :: View next topic  
Author Message
Jimmy Chicken
Gamorrean

Joined: 09 Dec 2003

PostPosted: Dec 27, 2003 01:30    Post subject: Trouble with the INF on Mac View user's profile Send private message Reply with quote

I'm having severed trouble with the INF on Dark Forge. It keeps corrupting my Levels old skool madness

I us BBEdit Lite 6.1.2.smi to do all my programming and I don't add it until the end, but I do add my completion elevator when the level is still in progress. I also make back ups of my levels.

I would like some advice from other Dark Forge users Neutral

Burning Gundam
Kell Dragon

Joined: 28 Sep 2003

PostPosted: Dec 27, 2003 04:39    Post subject: View user's profile Send private message Send e-mail Reply with quote

If the problem with the INF is having scripts where they shouldn't be, here's my trick.

Write the script like you normally would, but instead of adding the item and seq parts at the beginning, just write the script and only ad seqend at the end. It hasn't failed me at all. Here's a simple example

item: sectorname(?)
seq
class: elevator scroll_floor
event_mask: 0
speed: 10
angle: 45
seqend

But instead, try this.

class: elevator scroll_floor
event_mask: 0
speed: 0
angle: 45
seqend

Just ignore the item and seq script parts all together. Don't worry, Dark Forge will write in those parts as it saves the INF. Just make sure that if you make any changes to the script in the future to add seqend at the end every time, or it will corrupt the file.

If that wasn't the problem, I don't know what it is. I assume that's the problem. Good Luck!

_________________
I don't think outside the box... I customize it.

Brad Oliver
Ree-Yees

Joined: 30 Sep 2003

PostPosted: Jan 02, 2004 03:19    Post subject: Re: Trouble with the INF on Mac View user's profile Send private message Reply with quote

Jimmy Chicken wrote:
I'm having severed trouble with the INF on Dark Forge. It keeps corrupting my Levels



I believe there's a long-standing bug whereby Dark Forge will corrupt the line-endings of the INF file. I'd just edit the INF outside Dark Forge and manually add it to the GOB with GOB Viewer.

Burning Gundam
Kell Dragon

Joined: 28 Sep 2003

PostPosted: Jan 02, 2004 06:50    Post subject: View user's profile Send private message Send e-mail Reply with quote

I've been able to do it with Microsoft word and convert it using MacGober. It worked for me Very Happy .

_________________
I don't think outside the box... I customize it.

alkaline888
Ree-Yees

Joined: 26 Sep 2003

PostPosted: Jan 02, 2004 17:49    Post subject: View user's profile Send private message Reply with quote

Jimmy C., this is a longstanding issue -- try searching the archives for past references and strategies. Patrick Haslow probably has been the most vocal on this.

I've done all my INF on DarkForge (contrary to Patrick H.'s repeated advice to us) and suffer only an occasional corruption. I don't include seq, item, or seqend when I write code -- but I do include an extra, hard carriage return at the end. E.g.:

class: elevator basic
event_mask: 4
speed: 16
stop: @0 hold
stop: @24 hold
[AND PRESS RETURN AGAIN]

This has been working for me very well. But use at your own risk!

_________________
Those who believe in telekinetics, raise my hand.
—Kurt Vonnegut

Burning Gundam
Kell Dragon

Joined: 28 Sep 2003

PostPosted: Jan 02, 2004 21:46    Post subject: View user's profile Send private message Send e-mail Reply with quote

Interesting. Maybe I'll try that sometime. But my method has never failed me. You should try mine sometime Alkaline888.

_________________
I don't think outside the box... I customize it.

Patrick Haslow
Trandoshan

Joined: 25 Sep 2003

PostPosted: Jan 04, 2004 03:33    Post subject: View user's profile Send private message Reply with quote

I guess I have used Bbedit for so long now I couldn't change. I must say though that large scale INF effects involving tons of sector definitions are easier to handle with a text editor, because of it's handy "find" option it can quickly locate the INF definition of choice. It would have taken me far longer to do the sunset effect in The Dark Tide II if I had used Dark Forge!

Burning Gundam
Kell Dragon

Joined: 28 Sep 2003

PostPosted: Jan 04, 2004 05:19    Post subject: View user's profile Send private message Send e-mail Reply with quote

Maybe I'll just start to use a text editor instead.

_________________
I don't think outside the box... I customize it.

Nottheking
Kell Dragon

Joined: 29 Sep 2003

PostPosted: Jan 04, 2004 16:54    Post subject: View user's profile Send private message Reply with quote

That's another thing I like about WDFUSE: you can double-click on a sector or line reference, and it will take you to the INF definition that sector or wall has. I suppose that the "find" function of a text editor would work just as well...

_________________
Wake up, George Lucas... The Matrix has you..

Patrick Haslow
Trandoshan

Joined: 25 Sep 2003

PostPosted: Jan 04, 2004 17:12    Post subject: View user's profile Send private message Reply with quote

To clarify- Dark Forge works exactly the same way. It is after all based on the same source code as WDFUSE. My point was that after trying to use both the INF wizard and Dark Forge's INF field I find that a text editor gives me more control over my editing.

Display posts from previous:   
Post new topic   Reply to topic    DF-21 Forums Forum Index -> Dark Forces Levels & Editing All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group