.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old June 30th, 2007, 03:05 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Newlines problem

Have you tried four newlines?

If you're looking for a good text editor under Windows, I can recommend Textpad. If you are looking for something free, I think Notepad++ is. Both should be able to load and save text in *nix format.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #2  
Old June 30th, 2007, 04:01 PM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Newlines problem

Four newlines on Vim didn't work. I'll try Notepad++.
Reply With Quote
  #3  
Old June 30th, 2007, 04:30 PM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Newlines problem

A-ha! I had to create a new file, not edit an existing one, but Notepad++ works now! Thanks!

There are some problems with my format of choice. The biggest being that there's lots of scrolling down to see a unit's weapons and equipment. Hopefully most units will have much shorter descriptions.


Last edited by Endoperez; August 13th, 2008 at 11:35 AM..
Reply With Quote
  #4  
Old June 30th, 2007, 05:16 PM
paradoxharbinger's Avatar

paradoxharbinger paradoxharbinger is offline
Sergeant
 
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
paradoxharbinger is on a distinguished road
Default Re: Newlines problem

windows uses 2 different characters to represent new lines, a carriage return and a line feed, which are ASCII 10 and 13 i believe. not sure about the order off the top of my head.
__________________
ParadoxHarbinger's MapGen New Site!

Get The MapGen Alpha

Get The Dom3 Unit Maker

I'm shoulder high in crap, and my water-wings are flat!
Reply With Quote
  #5  
Old June 30th, 2007, 05:52 PM

Fate Fate is offline
Sergeant
 
Join Date: Aug 2005
Posts: 286
Thanks: 8
Thanked 9 Times in 7 Posts
Fate is on a distinguished road
Default Re: Newlines problem

Another program I like (because it has variable syntax highlighting) is Crimson Editor. I haven't tested it with dominions yet, but it seems more unix-based (at least it doesn't auto-add .txt).
Reply With Quote
  #6  
Old July 1st, 2007, 01:37 AM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Newlines problem

Crimson Editor works really well for all Dominions related stuff. All of the old Faerun map files were done with that and it reads it no problem.

As far as plain text editors go, in my opinion Notepad is the source of all evil. I'll use it if I have to, but only if I have to.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:10 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.