Jump to content
Alloder.pro: about Allods with love
Search In
  • More options...
Find results that contain...
Find results in...

New program for writers

We turn from quantity to quality and tell you how we will supplement the Allods Team program with rewards in rubles.

More

The new Updater

Let us to introduce the new addon updater software and to share the details

Read more

Alloder 2.0

We have started the process of project evolve, and this relates not only, and not even primarily of the site's view

Read more

mission.SetCharacterScene


Guest faknus
 Share

Recommended Posts

i just like to know if its possible to use this in combination with common. MakeUserScreenshot to save how the player avatar looks

i like to use it with a modified version of agai

i have not created any add with gui before and can't seem to find the right widget to use

Link to comment
Share on other sites

Function mission.SetCharacterScene() uses "3D scene", such as in Character window, as well as in ItemMall, Inspect, Stable windows.

I don't know, if it is possible to programmatically open the Character window, or to detect when it opens. I guess, no. Is it possible to create such window in user addon? I don't know, I have never experimented with it.

There is a special topic on creating addons: How to make new addon. Here you will find the Interface.1.0.03.26.2.zip file. There is all uncompiled Lua sources from very old game version - AO 1.0.03, but anyway, it is extremely useful. You will find here some examples, how to work with those 3D scenes:

\Ingame\ContextCharacter\ScriptContextCharacter.lua

\Ingame\ContextItemMall\ScriptContextItemMall.lua

\Ingame\Inspect\ScriptInspect.lua

But I'm still not sure, whether "3D scenes" will work in user addons. Good luck :)

P.S. A long time ago, when I was creating "TargetOfTarget" addon, I have experimented with unit portraits (similar thing to 3D scenes, maybe. Those portraits are used in character plate, target plate, party plates, etc.) and I have failed. Looks like there are several such portraits, all "hard-wired" into the game, and it is impossible to create one more extra portrait in a user addon.

Link to comment
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.

 Share

×
×
  • Create New...

Important Information

By using our site you agree to the Terms of Use