• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(2040)

Corporal
Mar 20, 2001
40
0
euprovince.cjb.net
I've started to work on a Monarch and Leader editor and have some questions about uniqueness of the IDs.

1. If I've got it right the Leaders and Monarchs have unique IDs and there can't be two of the same in either type. There can't be a Monarch with the same ID as a Leader. Is this correct?

2. They start at 0001 and go up to about 3000. Can I use any free ID for either type (leader or monarch)? Can I go higher?

3. Is the nations in any way required to get certain IDs?

4. Can there be any collisions with the IDs and other files in the game (scenarios for instance).

Thanks for any help.
/mgs
 
1) Correct.

2) Correct, and you can't go higher than 3000.

3) Only as far the the monarch descriptions in text.csv and the events in "Historical events monarchs.csv" are concerned.

4) Not if the monarchs and leaders are defined in the leader and monarch files (as opposed to in an .inc or .eug file).
 
Though I'd mention it here.

Your recent change in your linkbar on your site broke it in Mozilla (it doesn't even show up now ). :(

btw, avoid using MS Frontpage for making webpages. It produces crappy HTML =(
 
Your recent change in your linkbar on your site broke it in Mozilla (it doesn't even show up now ).

I had my doubts about these hoverbuttons.:( I tested it in Netscape 4.7 and Explorer with no problems however. As most people use explorer I prefer having it look best there. It should however work in other browsers even if it can look a little odd sometimes.

I'll change to a more compatible menu:)
 
Originally posted by euprovince


I had my doubts about these hoverbuttons.:( I tested it in Netscape 4.7 and Explorer with no problems however. As most people use explorer I prefer having it look best there. It should however work in other browsers even if it can look a little odd sometimes.

I'll change to a more compatible menu:)


Do it with HTML & CSS instead =)

What MS Frontpage can do with propietary coding on 200 lines, you can do manually with standard HTML/CSS in 20 lines =)

The real benefit though is that, even if sometimes the "hover" effect dissapers (in old browsers), the HTML links will NEVER be broken in any OS/browser combination =)
Pretty important for a navbar IMO :rolleyes:

If you need any help to get into CSS I'll send you a quick example file of how to do your linkbar if you whish =)
 
Originally posted by euprovince
I had a lecture in CSS some year ago, and I remember thinking this is really useful and I should learn sometime. Well, other things come along since then...

So, if you wish to send a sample, I'll give it a try.:)

Ehm sure, just send me that nonworking linkbar (I see you've already changed it to a simpler one =).
 
Never mind, I guess you are brigt enough to take it from here =)

This is how it look basicly (the below are correct HTML4.01/CSS2 checked with W3C's validators, look in the webpage authoring parts of my site for direct links =)

As you can see it's even shorter then what you currently have, not to mention the non working linkbar you had previously =)

*navbar.html*
-------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Main Navbar</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<base target="main">
<link rel="stylesheet" media="screen" title="Main SS" href="blueberry.css" type="text/css">
</head>
<body class="navbar">
<p>
<a href="frame_right.htm">Home</a><br />
<a href="about.htm">About EU</a><br />
<a href="tech.htm">Technology</a><br />
<a href="religion.htm">Religion</a><br />
<a href="monarchs.htm">Monarchs&nbsp;&amp; Leaders</a><br />
<a href="abbr.htm">Abbreviations</a><br />
<a href="misc.htm">Miscellaneous</a><br />
<a href="links.htm">Links</a>
</p>
<p><a href="mailto:euprovince@telia.com">Contact</a></p>
<p><img border="0" src="icons/flag_small.gif" alt="flagg" width="35" height="22"></p>
<p>Best viewed with IE 5.0+ and 1024x768+</p>
<p><img border="0" src="icons/msie.gif" alt="MS IE symbol" width="70" height="23"></p>
</body>
</html>



*blueberry.css*
---------------
body.navbar {
text-align: center;
background: #000 url(none);
color: #aaf; /* #08f = #0088ff = the color 0,137,255 */
margin: 10px 5px 60px 5px; /* in order top-right-bottom-left */
}

p { font-family: arial, sans-serif; font-size: 10pt; font-weight: normal; font-style: italic; }
a { font-family: tahoma, sans-serif; font-size: 10pt; font-weight: bold; font-style: normal; line-height: 25px; }

a:link { background: transparent; color: #3d3 }
a:visited { background: transparent; color: #3d3 }
a:hover { background: transparent; color: #afa }
a:active { background: #00f ; color: #8d8 }
 
Last edited:
Originally posted by euprovince
Bright enough so far... I got your code to work and it looks alot better than ordinary text-links. However, my previous navbar contained images that changed when the mouse entered them. Is that possible with css too?

Yes and no =(

You can do it with CSS, but MSIE´s CSS implementation is really crappy, so the images simply don't show up (which puts us back where we started :( )
Perhaps in IE 6 ... but don't hold your breath.

Of course, you could add different background images to the link texts. That might work with IE too, though i hav't tested.

Update:
Yes it works with at least IE 5.5

ie
a:link { background: url(pic1.jpg); color: #3d3 }
a:visited { background: url(pic2.jpg); color: #3d3 }
a:hover { background: url(pic3.jpg); color: #afa }
 
Last edited: