Page 1 of 2

Granting Items?

PostPosted: Mon Oct 04, 2010 7:13 pm
by sinkillerj
When creating a age how do you go about granting usable GUI items such as the KI or Relto Book to the player? Also what about wearable closet items?

Re: Granting Items?

PostPosted: Tue Oct 05, 2010 12:14 am
by diafero
These have to be added to some global files - the GUI items to the GUI "Black bar", if I recall correctly, and the cloths to GlobalClothing_{Male,Female}, or their own distinct file in that pseudo-age. Unfortunately, these can not be put into the normal age prp files.
There currently is no system in place to prevent conflicts of clothing items (let alone new global GUIs), but since clothing was basically figured out, it should not be too hard to do - and thankfully, the closet is modular already.

Re: Granting Items?

PostPosted: Tue Oct 05, 2010 10:11 am
by Pavitra
Doesn't Sonavio do something huddish with the blackout plants?

Re: Granting Items?

PostPosted: Tue Oct 05, 2010 12:30 pm
by diafero
IIRC it uses some very dense local black fog. At least that's what I would do...^^
(or was there some function to blank the screen, like it is also used in the fake linking in Pahts?)

Re: Granting Items?

PostPosted: Tue Oct 05, 2010 4:12 pm
by sinkillerj
Let me explain a little better, my goal is to replace the cleft.age with my own, however when I do that the player is not granted the blackbar. So I want the replacement to be able to grant the blackbar, but also grant the KI and Relto Book.

Re: Granting Items?

PostPosted: Tue Oct 05, 2010 7:11 pm
by Paradox
sinkillerj wrote:Let me explain a little better, my goal is to replace the cleft.age with my own, however when I do that the player is not granted the blackbar. So I want the replacement to be able to grant the blackbar, but also grant the KI and Relto Book.


Replace the Cleft.age files, or replace Cleft with a different Age as the starting point for a new player?

My guess is that the blackbar is turned on via Python. The user always has the blackbar, it's not "granted" per se, but rather enabled and disabled.

Re: Granting Items?

PostPosted: Tue Oct 05, 2010 7:13 pm
by sinkillerj
Paradox wrote:[Replace the Cleft.age files, or replace Cleft with a different Age as the starting point for a new player?

Right now I am replacing the Cleft.age files, but if its possible to point the engine to a different starting age that would be preferable for the project.

Re: Granting Items?

PostPosted: Tue Oct 05, 2010 11:40 pm
by Pavitra
Perhaps it would be a good idea if you explained where you were ultimately trying to go with this. I strongly suspect that the problem is much easier than you think.

Re: Granting Items?

PostPosted: Wed Oct 06, 2010 2:36 am
by diafero
There are KI commands you can send to the KI to enable/disable the GUI features, including the black bar. Those are used for example when a book is opened, or when you look at the nexus. However, this also disables the quit button, something I'd hate an age to do.

Re: Granting Items?

PostPosted: Wed Oct 06, 2010 2:27 pm
by sinkillerj
Pavitra wrote:Perhaps it would be a good idea if you explained where you were ultimately trying to go with this. I strongly suspect that the problem is much easier than you think.

The main goal is a open MagiQuest shard, no ages from the official, only user generated content. Most of the work is done, animations converted, GUI's made, etc. You can see more by requesting to join our dev forums on TMD, recruitment topic is in my signature. But given the nature of the shard no uru ages can be present, thus comes the problem that cleft activates blackbar. Changes that normally could not be included in a simple fan age can be done in this so don't be afraid to suggest python edits. We also welcome any of you to join the team, right now we have only 3 members including myself who are familiar with age creation and other plasma editing, the rest are simply MagiQuest fans.