Offline KI 3.8

Announcements and discussion regarding any projects related to Cyan Worlds' Plasma Engine including (but not limited to) CyanWorlds.com Engine, Drizzle, OfflineKI, PyPRP, and libHSPlasma.

Offline KI 3.8

Postby diafero » Fri Apr 13, 2012 8:38 am

The Offline KI brings the KI and other changes you are used to from UU and MOUL to your CC/TPOTS game. It allows you to reach fan ages and Cyan ages converted by Drizzle (from MOUL, Myst V or any of the other supported games): All of them are integrated into the existing environment. In addition, it lets you create and play marker missions and use flymode to inspect ages. It features a lot of KI commands useful while developing and debugging ages. On Alcugs Shards, it also fixes a lot of multiplayer issues.

Version 3.8 of my Offline KI is now available for download from the DI UAM: The recommended way to install it is to properly set up your UAM. DI-Shard already has it installed. You can download the Python source code, too.
The changes of this release are as follows:

- Fan-age information is now managed in one age descriptor per file, which makes it much easier for age authors to configure their age
- The list of restoration ages in Nexus can now be sorted by last update
- The bookshelf can be automatically populated with the most recently updated ages
- Eder Delin and Eder Tsogahl now actually and really work :)
- Fixed accidentally leaving the set-up panel of the Gahreesen Wall when clicking the background of the panel (thanks to Sirius)
- Fixed Cleft imager enabling the Relto book

If you are an age writer and want to learn about age descriptors, please read the technical documentation for further information.

I hope you enjoy it, please let me know if there are any problems (though it is also always nice to hear things are working properly :D )
I prefer e-mails to "diafero arcor de" (after adding the at and the dot) over PMs.

"Many people's horizon is a circle with a radius of zero. They call it their point of view."

Deep Island Shard | Offline KI
diafero
Deep Island Admin
 
Posts: 2966
Joined: Mon May 05, 2008 5:50 am
Location: Germany

Re: Offline KI 3.8

Postby janaba » Fri Apr 13, 2012 4:29 pm

Great update, diafero, everything works perfectly well and smooth ... :P

The Wall and the panels seem to be more stable and the standing up everytime
when accidentally clicking onto the setup panel's background is totally gone/fixed ...
The bookshelf contains the most recently updated ages ... Didn't test the Eders yet ...
The ability to see the 'last updated' dates of the Restoration ages and to even being
able to sort the list after the latest ones is absolutely awesome ...

It was a real pleasure to test this all ... Thanks, diafero and all involved ... :)
Image
User avatar
janaba
 
Posts: 918
Joined: Sun Feb 05, 2012 3:27 pm
Location: Berlin, Germany

Re: Offline KI 3.8

Postby Wamduskasapa » Fri Apr 13, 2012 6:17 pm

I also wish to thank the team. So far This Update seems very stable...
Computer = MotherBoard MSI X99S GAMING 7 - Intel I7-6950X
Dual MSI GeForce GTX 1080
64GB Kingston HyperX DDR4 Predator Memory
Dual Samsung 1TB SSD Pro - Dual Seagate 4TB SSHD
Excelvan 5.25" Multi-Function Media Dashboard
User avatar
Wamduskasapa
 
Posts: 943
Joined: Fri Apr 30, 2010 6:56 am

Re: Offline KI 3.8

Postby diafero » Sat Apr 14, 2012 2:29 am

Thanks for the positive feedback :)
I prefer e-mails to "diafero arcor de" (after adding the at and the dot) over PMs.

"Many people's horizon is a circle with a radius of zero. They call it their point of view."

Deep Island Shard | Offline KI
diafero
Deep Island Admin
 
Posts: 2966
Joined: Mon May 05, 2008 5:50 am
Location: Germany

Re: Offline KI 3.8

Postby cskid13 » Sat Apr 14, 2012 9:34 am

Would the code used for Eder Delin and Eder Tsogal work for Eder Gahrahno and Eder Nahtoka?
cskid13
 
Posts: 228
Joined: Tue Feb 01, 2011 4:19 pm
Location: Eder Tsogal

Re: Offline KI 3.8

Postby Sirius » Sun Apr 15, 2012 3:25 am

cskid13 wrote:Would the code used for Eder Delin and Eder Tsogal work for Eder Gahrahno and Eder Nahtoka?
It won't, but if Diafero doesn't mind, I'll use his update of the file to create a new script to be used in fan-ages like yours. It should let you select some SDL vars (which the current script is missing for Ages other than Delin and Tsogal), and choose the offline/online running time (if your Age is big/small). Delin and Tsogal will still be using the original file, of course.

BTW, Diafero, there is a small error in your xBlueSpiral file. Line 58, "olutionvar" is missing the 's'. It doesn't prevent it from working but it would be better to fix it.
User avatar
Sirius
 
Posts: 1506
Joined: Mon Jul 26, 2010 4:46 am
Location: France

Re: Offline KI 3.8

Postby diafero » Sun Apr 15, 2012 4:46 am

Thanks, Sirius, I must have missed this when moving variables around.

Regarding fan-ages using this script: I would prefer if we did not needlessly add another copy of this code. Uru is full of code duplication already, we should try to avoid it rather than add to it ;-)
So my suggestion would be to extend the current script, adding new options to it. The values for Delin and Tsogahl can be hard-coded, if other ages use the script, they have to provide them as arguments. I did this for the SDL variable names, you can find the new version at https://gitorious.org/offline-ki/offlin ... eSpiral.py .
The actual running time is currently hard-coded to 60 seconds, it must exactly match the duration of the door rotation animation (which happens to be one minute for both Delin and Tsogal). That could of course be made a parameter as well (with a default value of 60 seconds), if you plan to make the time different in your age. What's changed for offline is the "slowdown", which makes use of the feature of Uru to play an animation slower (or quicker) than normally so that people have four times as much time when playing offline. I think such a relative value is a good choice and does not need to become a parameter (there are already a whole lot of them^^).
The assumption of using exactly 7 cloths is currently hard-coded and used throughout the script, because there is stuff the script needs for each cloth (like the responder to make the corresponding number glow on the door, or the activator from the clickable). Changing that would require quite an effort.
I prefer e-mails to "diafero arcor de" (after adding the at and the dot) over PMs.

"Many people's horizon is a circle with a radius of zero. They call it their point of view."

Deep Island Shard | Offline KI
diafero
Deep Island Admin
 
Posts: 2966
Joined: Mon May 05, 2008 5:50 am
Location: Germany

Re: Offline KI 3.8

Postby Sirius » Sun Apr 15, 2012 5:16 am

diafero wrote:Regarding fan-ages using this script: I would prefer if we did not needlessly add another copy of this code. Uru is full of code duplication already, we should try to avoid it rather than add to it ;-)
Good idea. I just wasn't sure if you wanted to let a fan-age use a script that was supposed to work in Cyans' ages.

diafero wrote:...so that people have four times as much time when playing offline. I think such a relative value is a good choice and does not need to become a parameter (there are already a whole lot of them^^).
That's right.

diafero wrote:The assumption of using exactly 7 cloths is currently hard-coded and used throughout the script, because there is stuff the script needs for each cloth (like the responder to make the corresponding number glow on the door, or the activator from the clickable). Changing that would require quite an effort.
I didn't want to mess with it anyway. In fact, since Ages using Journeys always have 7 clothes, I don't see the use of adding more of them.
User avatar
Sirius
 
Posts: 1506
Joined: Mon Jul 26, 2010 4:46 am
Location: France

Re: Offline KI 3.8

Postby diafero » Sun Apr 15, 2012 5:36 am

Sirius wrote:Good idea. I just wasn't sure if you wanted to let a fan-age use a script that was supposed to work in Cyans' ages.

Sure, I even prefer them to do so, at least if the scripts are global (i.e., start with an "x"). That makes the fan age's Python code smaller and probably of better quality, since bugs have to be fixed only once.

That mess with every age shipping its own copy of the linking/journal book script... really horrible, but I guess it's too late to fix this. It'd also take someone who could build ages, so that a "global" script (taking, for example, the activator, the target age name, and the target spawn point name as argument - which suffices for most ages) can actually be tested. Which excludes me ;-) . Something similar for journals (activator, and the filename of the journal content in the ageresources folder), and much of the custom Python code fan-ages currently ship is totally unnecessary.
I think that's what Dustin attempted to do with his UAM Vars scripts, but those are totally over-designed and try to solve some other problems at the same time, and fix/replace stuff that's not really broken (like SDL).
I prefer e-mails to "diafero arcor de" (after adding the at and the dot) over PMs.

"Many people's horizon is a circle with a radius of zero. They call it their point of view."

Deep Island Shard | Offline KI
diafero
Deep Island Admin
 
Posts: 2966
Joined: Mon May 05, 2008 5:50 am
Location: Germany

Re: Offline KI 3.8

Postby Karkadann » Fri Sep 28, 2012 9:25 am

Does any one else have a problem adding fan made ages to the bottom shelf in Relto with KI 3.8 using the "/bookshelf" command or is it just my bad spelling.
The Optimist see's the glass half full, The Pessimist see's the glass half empty.
Its the Realist who see's the glass is half full with air, half full with water
User avatar
Karkadann
 
Posts: 1223
Joined: Sun Aug 02, 2009 10:04 am
Location: Earth

Next

Return to Plasma Development

Who is online

Users browsing this forum: No registered users and 0 guests

cron