Jump to content
Korean Random
Sign in to follow this  
alex78i

"damage text" on multiple lines

Recommended Posts

hello,

 

till the 0.8.7 when someone was killed/blown up i had the result from the picture by using the next line:

={{dmg}}=\n\n<font face='XVMSymbol' size='24'>\u002B</font>\n\n-{{vehicle}}

 

where i had one row with damage : ={{dmg}}=

two blank lines: \n\n

skull: <font face='XVMSymbol' size='24'>\u002B</font>

another two blank lines : \n\n

{{vehicle}}and the name of the vehicle killed

 

it seems now that the config is ignoring the new line commands " /n/n " - it simply print on the screen /n/n

 

is there a change in commands interpretation or is a bug?

 

alex

post-17203-0-10103900-1379235914_thumb.jpg

Share this post


Link to post

Short link
Share on other sites

 

 

another two blank lines : \n\n

 

 

new line commands " /n/n " - it simply print on the screen /n/n

Share this post


Link to post

Short link
Share on other sites

 

another two blank lines : \n\n

 

 

new line commands " /n/n " - it simply print on the screen /n/n

 

sorry...i miswrite on the ticket......i still use \n\n not /n/n

Share this post


Link to post

Short link
Share on other sites

hello, i bet it didn't change...but stilll not working

 

attached the xvm.xc and a screenshot

 

alex


i whink i found the problem,

in the onlineconfigurator i put only "\n" but i see now that the xvm.xc file was exported with "\\n"...i am now editing it manualy and see for results :D

 

 

alex

xvm.xc

post-17203-0-56142100-1379253401_thumb.jpg

Share this post


Link to post

Short link
Share on other sites

 

 

in the onlineconfigurator i put only "\n" but i see now that the xvm.xc file was exported with "\\n"

Problem solved?:)

Share this post


Link to post

Short link
Share on other sites

  hello

yes i found the problem

 

if you use online configurator it will export two slashes instead of one :(

i edited the file manually and it worked fine

but i tried on a blank config to see if the problem persisted and got the following two attachements (in the config see line 439)

 

"damageMessage": "{{dmg}}\\n",

 

that sounds like a bug.....but a different one than what i thought initially 

alex


well, it is funny

 

the online editor is exporting "\\n" instead of "\n" ----> problem that i addressed with editing manually afterwards (not a big problem as notepad++ makes 96 replacements in fractions of seconds"

 

the fun comes if i try to import this new file into the online editor :D

this new file will generate multiple lines on the editor with no "\n" or '\\n".......so the import is somehow working but different from what i saw in the past as it is recognising the new line command

 

anyway..with a little care it is working now (for me at least)

 

PS: i have come upon this problem as i returned to one file system after 3 patches as it is much easier to do it online with graphic interface than editing manually 20 files

 

alex

post-17203-0-09875200-1379254364_thumb.jpg

xvm2.xc

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...