Jump to content
Korean Random
Sign in to follow this  
Yzangard

Is it possible to use XVM snippets to show data from PYC script ?

Recommended Posts

Hello,

 

I would like to use XVM snippets to print data from my own scripts (python ones), is there a way to send data there ?

Share this post


Link to post

Short link
Share on other sites

You can do it yourself from your script. Use pprint for example.

 

Hey Sirmax, glad someone as talented replied :)

 

Problem is I never used XVM but for already made stuff, now I want to add my own stuff but something is missing for me : how do I call snippets from my own script ? Of course I may add system.messages or GUI.Text but I prefer using XVM if possible since job is already done and very well done.

 

What does pprint do exactly and how do I tell pprint to print in a said snippet and not another ?

 

Not sure I'm clear :p

Share this post


Link to post

Short link
Share on other sites

First of all, forget about snippets, they are for another purpose.

You can create your own mod, using XVM as platform. You can use src\xvm\xvm-clock.as3proj for example of the Flash part for hangar and src\xpm\xvmstat as example for python part.

For battle we have no extensible mods framework, all our code is in the xvm.swf file. We are waiting when WG will move battle GUI to the AS3 like the hangar.

 

If system.messages or GUI.Text is enough for your task, may be it is the best solution for now.

Share this post


Link to post

Short link
Share on other sites

Yes but GUI.Text or system.messages don't allow you to change fonts for example.

 

Well, maybe I'll stick with them since what I need to print is during battle and XVM don't provide a way to do this.

 

 

Thanx for you reply Sirmax

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...