Reminder: Internet Explorer 6 or below are NOT supported.





|
There are currently 94 users playing Freelancer on
85 servers. | May. 19, 2013 |
The Starport Forum Index
>
The Shipyard
>
Speciality Modding
>
Freelancer-related Programming
>
Infocard XML coding
Browsing this Thread:
1 Anonymous Users
Re: Infocard XML coding |
||||
|---|---|---|---|---|
|
Home away from home
![]()
Joined:
2010/3/14 18:10 From Germany
Group:
Registered Users Senior Members
Posts:
1503
![]() |
aren't they all stored on adoxa's homepage?
Posted on: 2010/10/2 19:47
|
|||
|
||||
Re: Infocard XML coding |
||||
|---|---|---|---|---|
|
Home away from home
![]()
Joined:
2009/8/16 2:58 From Qld, Aus.
Group:
Registered Users FLServer Admins Trusted Speciality Developers Senior Members
Posts:
1399
![]() |
@Sethernis: Thank you.
@wodk4: Yeah, I should, just too lazy. Plus I only do minimal testing, so I'd like a bit of feedback before committing. Plugins I won't, though, just too many of 'em. Hm, could probably zip 'em all together as a collection.@Gisteron: Yes, all my tools are on my site. Only a few plugins are, but I'll eventually get around to putting them all on.
Posted on: 2010/10/3 8:20
|
|||
|
||||
Re: Infocard XML coding |
||||
|---|---|---|---|---|
|
Just popping in
![]()
Joined:
2010/4/6 16:55 From New York
Group:
Registered Users
Posts:
9
![]() |
adoxa, FRC looks neat, I'm sure it will be useful for devs.
For people who don't deal with the dlls themselves, lets say people who are just the content generation part of a dev team and all just submit resources to the final person who puts them into a dll, I've got some things that might make life a bit easier. Because even though many of us can look at raw code and visualize what it will look like, it's sometimes nice to not have to deal with the low level stuff, and a real preview is always nice. Here is a set of 3 related functions, all using the XML translator class I posted above, that are an extremely simple copy/paste/click interface for editing cards on the fly and generating valid xml for them. These are by no means intended to be used for major batch jobs, that's a whole different kettle of fish, but for quick validation I've already found them useful myself. #1 - XML Preview - given raw XML, will validate the syntax and display it in HTML how it will look ingame #2 - BBCode Editor - using bbcode, will generate XML from the bbcode and show the in-game preview #3 - Rich-Text Editor - edit rich-text cards, generate XML, and preview. I've tested it to work for copy/pasting formatting from a MS Word 2007 document in the current version of Firefox with Windows XP and 7, and it handles paragraphs, color, and sometimes alignment too. Other combinations of OS/Browser/Text Editor may or may not work for importing directly, but it will correctly handle any formatting you give it on the page itself. (IE8/FF/Opera/Safari, Chrome doesn't have the API last I tested) I'm not trying to step over your feet here adoxa, but when working with infocard people in the Disco team, they seemed to like these for the ease of use. If someone finds bugs that aren't already listed, feel free to send me a PM here.
Posted on: 2010/12/8 22:43
|
|||
|
||||
Re: Infocard XML coding |
||||
|---|---|---|---|---|
|
Home away from home
![]()
Joined:
2010/2/22 0:47 Group:
Registered Users Senior Members
Posts:
650
![]() |
Quote:
Does anyone know how to make cyan + bold? Or, even better, an overview of how to make colors + attributes? I had a vague memory of a fairly complete description of all the various options and/or an editor rendering text strings that could be pasted into FLED-Ids, but all I could find is this thread. And, maybe the info might is here - if so, I'm just not smart enough to deduce it.
Posted on: 2011/8/24 21:15
|
|||
|
||||
Re: Infocard XML coding |
||||
|---|---|---|---|---|
|
Just can't stay away
![]()
Joined:
2008/6/16 20:41 Group:
Registered Users
Posts:
260
![]() |
http://www.asciizeichen.de/RGB.html for the first 6 numbers after 0x, guess the last are used for bold, normal and italic but dont know the code
![]()
Posted on: 2011/8/24 21:24
|
|||
|
||||
|
||||
Re: Infocard XML coding |
||||
|---|---|---|---|---|
|
Home away from home
![]()
Joined:
2010/2/22 0:47 Group:
Registered Users Senior Members
Posts:
650
![]() |
Quote:
Thanx!! Will it work wth hex (0x) values, or will I have to recalculate them into decimals? Of well, I can find that out soon enough.
Posted on: 2011/8/24 21:26
|
|||
|
||||
Re: Infocard XML coding |
||||
|---|---|---|---|---|
|
Starport Admin
![]()
Joined:
2009/2/21 21:42 Group:
Webmasters Registered Users
Posts:
2974
![]() |
FLDev'll generate the code for you, otherwise remember the data tag has to be of the format BGR (RGB in reverse order), so say #AAF289 bold becomes 0x89F2AA01. You can write them directly in hex provided you prepend them with 0x.
Posted on: 2011/8/24 21:27
|
|||
|
"Cynicism is not realistic and tough. It's unrealistic and kind of cowardly because it means you don't have to try." -Peggy Noonan |
||||
|
||||
Re: Infocard XML coding |
||||
|---|---|---|---|---|
|
Home away from home
![]()
Joined:
2010/2/22 0:47 Group:
Registered Users Senior Members
Posts:
650
![]() |
Quote:
Thanks!! It now all makes sense to me ![]()
Posted on: 2011/8/25 9:05
|
|||
|
||||










Donations
Forum



Hm, could probably zip 'em all together as a collection.



