.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, 02:23 PM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: Newlines problem

I never got it working with notepad either, but that hasn't really caused me any problems.
Reply With Quote
  #2  
Old June 30th, 2007, 02:53 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Newlines problem

I think it might be because a dos program doesnt actually do 2 newlines. Its does newline/carriage-return combinations which might be causing the dom3 program to see it differently.
Just guessing.

You might be able to beat that by using the wordpad program which seems able to handle unix style files better than notepad
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #3  
Old June 30th, 2007, 02:56 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

I've tried wordpad, but that didn't seem to work either. Should I choose some spesific kind of a text file from the list of available filetypes? As in, is there a *nix version of .txt?
Reply With Quote
  #4  
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
  #5  
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
  #6  
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
  #7  
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
Reply

Bookmarks

Thread Tools
Display Modes

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 11:50 AM.


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