TM-FORUM

The TrackMania universal forum ^_^
It is currently Wed Oct 01, 2014 1:14 pm

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 28 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: [Tutorial] ManiaLinks Forever
PostPosted: Mon Nov 24, 2008 2:22 pm 
Offline
pedestrian
pedestrian

Joined: Tue Apr 15, 2008 12:00 am
Posts: 8
Location: Quebec
Owned TM-games: TMUF
Manialink(s): Knuk
Yes it works, thanks! :D


Top
 Profile  
 
 Post subject: Re: [Tutorial] ManiaLinks Forever
PostPosted: Wed Dec 03, 2008 4:30 pm 
Offline
TM-Patrol
TM-Patrol

Joined: Thu Jul 10, 2008 10:48 pm
Posts: 1612
Location: London, UK
Owned TM-games: TMUF, TMNF, TMS
Manialink(s): ET
Nice tut on the new stuff marcel...

However i cannot seem to get an old style manialink working in a <frame></frame>

This is the old:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<manialink>
<music data="http://www.jamiemac1977.bplaced.net/Manialink/Puscifer_MommaSed.ogg"/>
   <line height='.5'>
      <cell width='.7'>
         <icon height='.5' manialink='Jamies:Links' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_1_1.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.5' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_2_1.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.5' manialink='Jamies' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_3_1.jpg</icon>
      </cell>
   </line>
   <line height='.25'>
      <cell width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_1_2_1_1.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_2_2_1_1.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_3_2_1_1.jpg</icon>
      </cell>
   </line>
   <line height='.25'>
      <cell width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_1_2_1_2.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_2_2_1_2.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_3_2_1_2.jpg</icon>
      </cell>
   </line>
   <line height='.25'>
      <cell width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_1_3_1_1.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_2_3_1_1.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_3_3_1_1.jpg</icon>
      </cell>
   </line>
   <line height='.25'>
      <cell width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_1_3_1_2.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_2_3_1_2.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_3_3_1_2.jpg</icon>
      </cell>
   </line>
</manialink>


This is an attempt to frame:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<manialink>
<music data="http://www.jamiemac1977.bplaced.net/Manialink/Puscifer_MommaSed.ogg"/>
<frame pos="0 0 0">
   <line height='.5'>
      <cell width='.7'>
         <icon height='.5' manialink='Jamies:Links' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_1_1.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.5' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_2_1.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.5' manialink='Jamies' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_3_1.jpg</icon>
      </cell>
   </line>
   <line height='.25'>
      <cell width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_1_2_1_1.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_2_2_1_1.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_3_2_1_1.jpg</icon>
      </cell>
   </line>
   <line height='.25'>
      <cell width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_1_2_1_2.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_2_2_1_2.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_3_2_1_2.jpg</icon>
      </cell>
   </line>
   <line height='.25'>
      <cell width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_1_3_1_1.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_2_3_1_1.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_3_3_1_1.jpg</icon>
      </cell>
   </line>
   <line height='.25'>
      <cell width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_1_3_1_2.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_2_3_1_2.jpg</icon>
      </cell>
      <cell bgcolor='000f' width='.7'>
         <icon height='.25' width='.7'>http://www.jamiemac1977.bplaced.net/Manialink/Links_Base_3_3_1_2.jpg</icon>
      </cell>
   </line>
</frame>
</manialink>


Does anyone know why it doesnt work? (i've tried the frame before and after music also)

Thx for help

_________________
Image
dr.team | Electronic Tournaments | www.disharmony.eu | maniaplanet


Top
 Profile  
 
 Post subject: Re: [Tutorial] ManiaLinks Forever
PostPosted: Wed Dec 03, 2008 9:22 pm 
Offline
solid chaser
solid chaser
User avatar

Joined: Sat Oct 07, 2006 10:03 am
Posts: 1135
Location: Turkey
Owned TM-games: TMU
Manialink(s): oliverde8
in frames you can put <quads> or <label>

<line> and <cell> is old and I don't think they work as you would like them to work if they are in a <frame>

_________________
ImageImage
Manialink : oliverde8
Servers : STATS <> United | VeryShort | Made In Turkey


Top
 Profile  
 
 Post subject: Re: [Tutorial] ManiaLinks Forever
PostPosted: Thu Dec 04, 2008 8:28 am 
Offline
TM-Patrol
TM-Patrol

Joined: Thu Jul 10, 2008 10:48 pm
Posts: 1612
Location: London, UK
Owned TM-games: TMUF, TMNF, TMS
Manialink(s): ET
it says you can in the tutorial ...

Quote:
* Combinated ManiaLink:
With the option of the "oldnew" (:D) ManiaLink you have the possibility to combine the easy table structure and the new elements.
This is easier then it sounds. Just split up your ManiaLink into two parts. Build the old ManiaLink as usual, remember only basic tags will work. Then you add the new elements in the end or in the beginning.
Thereby you can deal with the old ManiaLink part like a frame with the z-value: pos="X Y -0.04" or posn="X Y 2.56". in this way it is possible to place elements before or behind the old part.

Another hint: If you open a partially or complete new manialink in TMU you will see only the old part or nothing. There will be no error message in TMU.

_________________
Image
dr.team | Electronic Tournaments | www.disharmony.eu | maniaplanet


Top
 Profile  
 
 Post subject: Re: [Tutorial] ManiaLinks Forever
PostPosted: Thu Dec 04, 2008 10:33 am 
Offline
cyclist
cyclist
User avatar

Joined: Tue Mar 18, 2008 3:07 pm
Posts: 44
Location: Thuringia, Germany
Owned TM-games: All
Manialink(s): Marcel, FunTrackers
If I remember right, it is not possible to place <line> and <cell> into a frame, because in old ManiaLinks there were no frames. To use the old Manialinks, you have to use exactly the old structure, without any frames, because TMU didn't know any frames. And the only reason, why line/cell is still supported, is the compatibility of still old ManiaLinks ;)

I think Nadeo did not plan, that this line/cell structure should be used any longer, so that it is not parsed in frames. I think it is much better to build a ManiaLink in full new style instead using old style elements. That's why the Combinated ManiaLinks have only a small part in the end ^^

But if you want to move your line/cell-"ManiaLink" away from the center, you have to use hidden (means empty) lines and cells, as it was in TMU ;)


Top
 Profile  
 
 Post subject: Tutorial updated: New attribute "maxline" added to Label
PostPosted: Thu Dec 04, 2008 7:46 pm 
Offline
cyclist
cyclist
User avatar

Joined: Tue Mar 18, 2008 3:07 pm
Posts: 44
Location: Thuringia, Germany
Owned TM-games: All
Manialink(s): Marcel, FunTrackers
After not knowing what to do, I decided to search again after new, still unseen attributes for the ManiaLinks. I did not expected to find anything, but after some time I discovered the string "maxline". After testing this found attribute, it's clear: With it you are able to limit the lines of text displayed in a (multiline) label.
This is very usefull for dynamical ManiaLinks with user input like Guestbooks: Because you do not know, how many lines will be displayed, means that the design will always be destroyed when having to many lines. Now you can limit the number of lines, so that they will always fit into your box ;) (of course you loose the last lines, if there are to many of them)


Top
 Profile  
 
 Post subject: Re: [Tutorial] ManiaLinks Forever
PostPosted: Fri Dec 05, 2008 9:58 pm 
Offline
TM-Patrol
TM-Patrol

Joined: Thu Jul 10, 2008 10:48 pm
Posts: 1612
Location: London, UK
Owned TM-games: TMUF, TMNF, TMS
Manialink(s): ET
Ok thx for the reply marcel and the tutorial ... scince you cannot Combine (combinate as you put) the old and new manialinks i suggest maybe taking that from the Tutorial.

Thx for all your help im am building it with quads now ... I suppose i will get used to the text editor lol

If you want to check out how far i get the Manialink is "Jamies"

++

_________________
Image
dr.team | Electronic Tournaments | www.disharmony.eu | maniaplanet


Top
 Profile  
 
 Post subject: Re: [Tutorial] ManiaLinks Forever
PostPosted: Thu Dec 18, 2008 11:47 am 
Offline
road tourist
road tourist

Joined: Mon Oct 13, 2008 6:13 pm
Posts: 98
Location: United States of America
Owned TM-games: tm.
This is a very nice tutorial, Marcel! :3 I have added it to the main ManiaZone forum in the USA Zone for all to see! :thumbsup: I am desperately wanting to make a ManiaLink of my own as well, :grmblz: so I will be returning to this thread often! :lol:


Top
 Profile  
 
 Post subject: Re: [Tutorial] ManiaLinks Forever
PostPosted: Tue Mar 10, 2009 1:05 am 
Offline
smooth traffic navigator
smooth traffic navigator
User avatar

Joined: Wed Mar 15, 2006 4:43 pm
Posts: 299
Location: Czech Republic
Owned TM-games: TMO,TMS,TMN,TMU
Manialink(s): T.O.M.
Is there any "code" for ML that will open ingame message that can be send to me ? (u know automaticly open send message with my name... hope understand what i mean :oops: :mrgreen: ).

btw ... good tuto :1

_________________
MANIAPAGE : T.O.M.
ImageImage
sQs.TrackMania.cz
T.O.M.


Top
 Profile  
 
 Post subject: Re: Tutorial updated: New attribute "maxline" added to Label
PostPosted: Tue Mar 10, 2009 10:33 am 
Offline
happy cruiser
happy cruiser
User avatar

Joined: Tue May 06, 2008 1:56 pm
Posts: 118
Location: Tarbes, FR
Owned TM-games: TMN, TMU, TMUF
Manialink(s): :shaigan
T.O.M., I think there isn't any code like that. I think we can't interact with the private messaging interface :/.

FT»Marcel wrote:
After not knowing what to do, I decided to search again after new, still unseen attributes for the ManiaLinks. I did not expected to find anything, but after some time I discovered the string "maxline". After testing this found attribute, it's clear: With it you are able to limit the lines of text displayed in a (multiline) label.
This is very usefull for dynamical ManiaLinks with user input like Guestbooks: Because you do not know, how many lines will be displayed, means that the design will always be destroyed when having to many lines. Now you can limit the number of lines, so that they will always fit into your box ;) (of course you loose the last lines, if there are to many of them)

Marcel, is there a way to do the same thing but with the line width ? For the moment, I have to add chr(13)+chr(10) directly in my DB to see my lines not deformed.

_________________
Shaigan & Cie | My garage | Play TrackMania


Top
 Profile  
 
 Post subject: Re: [Tutorial] ManiaLinks Forever
PostPosted: Wed Mar 11, 2009 11:34 am 
Offline
happy cruiser
happy cruiser

Joined: Wed Jan 09, 2008 10:26 pm
Posts: 138
Location: Germany
Owned TM-games: TMN, TMU, TMUF
Manialink(s): v000nix, TManiacs
You can use the size(n)="" attribute also in labels. Combine it with autonewline="1" and the width will be regulatet automatticly.

<label posn='0 0 1' sizen='50 100' autonewline='1' text='thisisaloooongtext' />

_________________
Image
TManiacs - der deutsche TrackMania Blog || TManiacs - the german TrackMania Blog


Top
 Profile  
 
 Post subject: Re: [Tutorial] ManiaLinks Forever
PostPosted: Wed Mar 11, 2009 12:24 pm 
Offline
happy cruiser
happy cruiser
User avatar

Joined: Tue May 06, 2008 1:56 pm
Posts: 118
Location: Tarbes, FR
Owned TM-games: TMN, TMU, TMUF
Manialink(s): :shaigan
Thanks you :)

_________________
Shaigan & Cie | My garage | Play TrackMania


Top
 Profile  
 
 Post subject: Re: [Tutorial] ManiaLinks Forever
PostPosted: Sun Apr 25, 2010 5:47 pm 
Offline
happy cruiser
happy cruiser

Joined: Wed May 13, 2009 9:40 pm
Posts: 144
Owned TM-games: TMN
helpfull


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page Previous  1, 2

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group