User:Allen Kerensky/Myriad Lite Dev

From OpenSimulator

< User:Allen Kerensky(Difference between revisions)
Jump to: navigation, search
(test to capture error)
(updated equipment table, added character sheet, close combat, ranged combat modules)
Line 9: Line 9:
  
 
Scripts I post here generally are checked with lslint before posting, but might not always be.
 
Scripts I post here generally are checked with lslint before posting, but might not always be.
 +
 +
== FIRST ==
 +
BEFORE YOU CAN USE THE SCRIPTS AND ADD-ONS ON THIS DEV PAGE
 +
 +
YOU NEED TO DOWNLOAD AND ASSEMBLE
 +
 +
> > > [[User:Allen_Kerensky/Myriad_Lite_Preview_5|Myriad Lite Preview 5]] < < <
 +
 +
The dev scripts and notes below replace parts of Preview 5, but you need the rest of the system which is not fully linked below.
 +
 
== Recent Updates ==
 
== Recent Updates ==
 
=== Servers ===
 
=== Servers ===
 +
==== Region CSV ====
 +
The CSV server contains a number of tables used for the character builder in comma-separated values (CSV) format.
 +
 +
The Preview 5 equipment CSV table was missing a number of Resource Point (RP) costs for items.
 +
 +
I have calculated those and entered them into an updated table here:
 +
 +
* [[User:Allen Kerensky/Myriad_Lite_Dev/Myriad_Lite_Equipment-v0.0.1-20120424.csv|Myriad Lite Equipment v0.0.1 20120424]]
 +
 
==== Rumors ====
 
==== Rumors ====
 
The Rumor system is intended to allow regions to offer a way for players to start anonymous, but moderated, in character rumors for all other players to find through NPCs or quests.
 
The Rumor system is intended to allow regions to offer a way for players to start anonymous, but moderated, in character rumors for all other players to find through NPCs or quests.
Line 28: Line 47:
  
 
* [[User:Allen Kerensky/Myriad_Lite_Dev/Myriad_Lite-v0.1.6-20120501.lsl|Myriad Lite v0.1.6 20120501]]
 
* [[User:Allen Kerensky/Myriad_Lite_Dev/Myriad_Lite-v0.1.6-20120501.lsl|Myriad Lite v0.1.6 20120501]]
* [[User:Allen Kerensky/Myriad_Lite_Dev/Myriad_Lite-v0.1.2-20120317.lsl|Myriad Lite v0.1.2 20120317]]
 
 
* [[User:Allen Kerensky/Myriad_Lite_Dev/Myriad_Lite_Module_Armor-v0.0.2-20120317.lsl|Myriad Lite Module Armor v0.0.2 20120317]]
 
* [[User:Allen Kerensky/Myriad_Lite_Dev/Myriad_Lite_Module_Armor-v0.0.2-20120317.lsl|Myriad Lite Module Armor v0.0.2 20120317]]
 
* [[User:Allen_Kerensky/Myriad_Lite_Dev/Myriad_Lite_Module_BAM-v0.0.4-20120317.lsl|Myriad Lite Module BAM v0.0.4 20120317]]
 
* [[User:Allen_Kerensky/Myriad_Lite_Dev/Myriad_Lite_Module_BAM-v0.0.4-20120317.lsl|Myriad Lite Module BAM v0.0.4 20120317]]
 +
* [[User:Allen_Kerensky/Myriad_Lite_Dev/Myriad_Lite_Character_Sheet-v0.0.4-20120424.txt|Myriad Lite Character Sheet v0.0.4 20120424]]
 +
* [[User:Allen_Kerensky/Myriad_Lite_Dev/Myriad_Lite_Module_Character_Sheet-v0.0.0-20120324.lsl|Myriad Lite Module Character Sheet v0.0.0 20120324]]
 
* [[User:Allen_Kerensky/Myriad_Lite_Dev/Myriad_Lite_Module_Rumors-v0.0.1-20120317.lsl|Myriad Lite Module Rumors v0.0.1 20120317]]
 
* [[User:Allen_Kerensky/Myriad_Lite_Dev/Myriad_Lite_Module_Rumors-v0.0.1-20120317.lsl|Myriad Lite Module Rumors v0.0.1 20120317]]
 +
* [[User:Allen_Kerensky/Myriad_Lite_Dev/Myriad_Lite_Module_Skill_Close_Combat-v0.0.0-20120430.lsl|Myriad Lite Module Skill Close Combat v0.0.0 20120430]]
 +
* [[User:Allen_Kerensky/Myriad_Lite_Dev/Myriad_Lite_Module_Skill_Ranged_Combat-v0.0.0-20120501.lsl|Myriad Lite Module Skill Ranged Combat v0.0.0 20120501]]
 +
 
=== Attachments ===
 
=== Attachments ===
 
==== Armor ====
 
==== Armor ====
Line 41: Line 64:
  
 
== Server Instructions ==
 
== Server Instructions ==
 +
=== Region CSV Server ===
 +
# Copy the updated [[User:Allen Kerensky/Myriad_Lite_Dev/Myriad_Lite_Equipment-v0.0.1-20120424.csv|Myriad Lite Equipment v0.0.1 20120424]] notecard into the region server.
 +
# Delete the outdated Equipment v0.0.0 notecard.
 +
# Update line 13 of the Myriad_Lite_Equipment_Server-v0.0.1 script to point to the new notecard name.
 +
# Save the updated server script
 +
# You should see the server load the updated equipment table.
 +
 
=== Rumor Server ===
 
=== Rumor Server ===
 
# Copy the Anti-Delay Manager and Node scripts from http://wiki.secondlife.com/wiki/AntiDelay_Node in your inventory
 
# Copy the Anti-Delay Manager and Node scripts from http://wiki.secondlife.com/wiki/AntiDelay_Node in your inventory
Line 55: Line 85:
 
== HUD Instructions ==
 
== HUD Instructions ==
 
=== Myriad Lite HUD ===
 
=== Myriad Lite HUD ===
# Copy all scripts above into a Myriad Lite/Dev 20120317 Folder
+
# Copy all scripts above into a Myriad Lite/Dev folder
 
# Create a 0.250 x 0.250 x 0.250 cube
 
# Create a 0.250 x 0.250 x 0.250 cube
# Name the cube "Myriad Lite v0.1.2"
+
# Name the cube "Myriad Lite v0.1.6 dev"
 
# Set it full permissions
 
# Set it full permissions
 
# Texture it with a Myriad logo.
 
# Texture it with a Myriad logo.
# Drop in the [[User:Allen_Kerensky/Myriad_Lite_Preview_5/Character_Sheet|Character Sheet]] notecard from Preview 5.
+
# Drop in the [[User:Allen_Kerensky/Myriad_Lite_Dev/Myriad_Lite_Character_Sheet-v0.0.4-20120424.txt|Myriad Lite Character Sheet v0.0.4 20120424]] notecard  
 
# Drop in the [[User:Allen Kerensky/Myriad_Lite_Dev/Myriad_Lite_Module_Armor-v0.0.2-20120317.lsl|Myriad Lite Module Armor v0.0.2 20120317]] script from inventory
 
# Drop in the [[User:Allen Kerensky/Myriad_Lite_Dev/Myriad_Lite_Module_Armor-v0.0.2-20120317.lsl|Myriad Lite Module Armor v0.0.2 20120317]] script from inventory
 
# Drop in the [[User:Allen_Kerensky/Myriad_Lite_Dev/Myriad_Lite_Module_BAM-v0.0.4-20120317.lsl|Myriad Lite Module BAM v0.0.4 20120317]] script from inventory
 
# Drop in the [[User:Allen_Kerensky/Myriad_Lite_Dev/Myriad_Lite_Module_BAM-v0.0.4-20120317.lsl|Myriad Lite Module BAM v0.0.4 20120317]] script from inventory
 
# Drop in the [[User:Allen_Kerensky/Myriad_Lite_Dev/Myriad_Lite_Module_Rumors-v0.0.1-20120317.lsl|Myriad Lite Module Rumors v0.0.1 20120317]] script from inventory
 
# Drop in the [[User:Allen_Kerensky/Myriad_Lite_Dev/Myriad_Lite_Module_Rumors-v0.0.1-20120317.lsl|Myriad Lite Module Rumors v0.0.1 20120317]] script from inventory
# Drop in the [[User:Allen Kerensky/Myriad_Lite_Dev/Myriad_Lite-v0.1.2-20120317.lsl|Myriad Lite v0.1.2 20120317]] script last
+
# Drop in the [[User:Allen_Kerensky/Myriad_Lite_Dev/Myriad_Lite_Module_Character_Sheet-v0.0.0-20120324.lsl|Myriad Lite Module Character Sheet v0.0.0 20120324]] script from inventory
 +
# Drop in the [[User:Allen_Kerensky/Myriad_Lite_Dev/Myriad_Lite_Module_Skill_Close_Combat-v0.0.0-20120430.lsl|Myriad Lite Module Skill Close Combat v0.0.0 20120430]] script from inventory
 +
# Drop in the [[User:Allen_Kerensky/Myriad_Lite_Dev/Myriad_Lite_Module_Skill_Ranged_Combat-v0.0.0-20120501.lsl|Myriad Lite Module Skill Ranged Combat v0.0.0 20120501]] script from inventory
 +
# Drop in the [[User:Allen Kerensky/Myriad_Lite_Dev/Myriad_Lite-v0.1.6-20120501.lsl|Myriad Lite v0.1.6 20120501]] script last
 
# Set all scripts and notecards full permissions
 
# Set all scripts and notecards full permissions
 
# Take the new HUD into inventory
 
# Take the new HUD into inventory
Line 92: Line 125:
 
* /5 RUMOR_MODERATE - moderate the list of pending rumors
 
* /5 RUMOR_MODERATE - moderate the list of pending rumors
 
* /5 RUMOR_RESET - reset the entire rumor system back to seed rumors only
 
* /5 RUMOR_RESET - reset the entire rumor system back to seed rumors only
 +
 +
== Using the Character Sheet Module ==
 +
I've started adding multi-character support to the character sheet module.
 +
 +
When you enter a region or reset - you will get a drop down menu asking for which character you want to load.
 +
 +
There is a default option to load the hardcoded character sheet by name.
 +
 +
Or, you can create custom character sheet notecards by region named:
 +
  charactername@regionname
 +
 +
You can have up to 11 characters per region (plus default) to pick from the menu.
 +
 +
I plan on adding estate support to the region settings server so you can use the same characters across an estate of regions easier, since LSL and OSSL do not support programmatically finding the current grid or estate names.
 +
 +
More development to do in this space, but this should get people started.

Revision as of 17:36, 3 May 2012

Contents

Myriad Lite

This space allows me to release at-whim snapshots of various parts of the Myriad Lite development as I go, for testing and feedback by live users.

I will change this page as needed as I put various pieces together and all changes available here will roll up in the next Preview Release.

This page will be wiped out and started fresh each preview release.

Scripts I post here generally compile and run on OpenSim and OSgrid, but may not have ever been ported to SecondLife.

Scripts I post here generally are checked with lslint before posting, but might not always be.

FIRST

BEFORE YOU CAN USE THE SCRIPTS AND ADD-ONS ON THIS DEV PAGE

YOU NEED TO DOWNLOAD AND ASSEMBLE

> > > Myriad Lite Preview 5 < < <

The dev scripts and notes below replace parts of Preview 5, but you need the rest of the system which is not fully linked below.

Recent Updates

Servers

Region CSV

The CSV server contains a number of tables used for the character builder in comma-separated values (CSV) format.

The Preview 5 equipment CSV table was missing a number of Resource Point (RP) costs for items.

I have calculated those and entered them into an updated table here:

Rumors

The Rumor system is intended to allow regions to offer a way for players to start anonymous, but moderated, in character rumors for all other players to find through NPCs or quests.

The Rumor System comes in two parts - a standalone server script with a notecard of "starting" or "seed" rumors that the region admin

The second part is a Myriad Lite HUD module that provides the interface for the player to the rumor server.

A better interface is planned, as well as integration with NPCs and quests.

The Rumor Server has also been upgraded from my prototype versions to allow the owner's objects (like BAM quest goals) to add pre-approved rumors.

HUD

Have recoded all of the link message handling to allow all module scripts to be in the root prim again without endless reflections.

Attachments

Armor

Below is a snapshot of the improved armor code I've been working on to handle power armor better and provide more hooks for armor developers to trigger their own scripted special effects on armor-related events.

Feel free to use the discussion page to ask questions or make comments.

Server Instructions

Region CSV Server

  1. Copy the updated Myriad Lite Equipment v0.0.1 20120424 notecard into the region server.
  2. Delete the outdated Equipment v0.0.0 notecard.
  3. Update line 13 of the Myriad_Lite_Equipment_Server-v0.0.1 script to point to the new notecard name.
  4. Save the updated server script
  5. You should see the server load the updated equipment table.

Rumor Server

  1. Copy the Anti-Delay Manager and Node scripts from http://wiki.secondlife.com/wiki/AntiDelay_Node in your inventory
  2. Copy the Myriad Lite Rumor Server v0.0.4 20120317 script into an inventory script
  3. Create a server prim
  4. Drop in the Anti-Delay Manager and one or more copies of the Anti-Delay Node script into the server prim
  5. Copy the seed rumors into a notecard in your inventory
  6. Edit the seed rumor notecard to contain the starter rumors you want in your region to begin with.
  7. Drop the Seed rumors notecard into the server prim
  8. Drop the rumor server script into the rumor server prim
  9. Use the Tools Menu (v1 viewers, v2+ viewers you're on your own) to reset all scripts in the selection.
  10. The server is now ready to serve rumors.

HUD Instructions

Myriad Lite HUD

  1. Copy all scripts above into a Myriad Lite/Dev folder
  2. Create a 0.250 x 0.250 x 0.250 cube
  3. Name the cube "Myriad Lite v0.1.6 dev"
  4. Set it full permissions
  5. Texture it with a Myriad logo.
  6. Drop in the Myriad Lite Character Sheet v0.0.4 20120424 notecard
  7. Drop in the Myriad Lite Module Armor v0.0.2 20120317 script from inventory
  8. Drop in the Myriad Lite Module BAM v0.0.4 20120317 script from inventory
  9. Drop in the Myriad Lite Module Rumors v0.0.1 20120317 script from inventory
  10. Drop in the Myriad Lite Module Character Sheet v0.0.0 20120324 script from inventory
  11. Drop in the Myriad Lite Module Skill Close Combat v0.0.0 20120430 script from inventory
  12. Drop in the Myriad Lite Module Skill Ranged Combat v0.0.0 20120501 script from inventory
  13. Drop in the Myriad Lite v0.1.6 20120501 script last
  14. Set all scripts and notecards full permissions
  15. Take the new HUD into inventory
  16. Attach to HUD Lower Left from inventory
  17. Edit and Position on screen
  18. You should see your armor piece register once the character sheet it loaded.
  19. If you have a Rumor Server in the region, you should see a notice that the region supports Rumors
  20. Take the HUD back into inventory to save its position

Attachment Instructions

Armor

  1. Copy the Myriad Lite Armor v0.0.6 20120212 attachment script into inventory
  2. Create an Armor attachment, named "Myriad Lite Armor (attachment pointname)"
  3. Attach the armor object someplace visible in-world
  4. Edit and position it onscreen
  5. Drop in the Myriad Lite Armor script from inventory
  6. Detach the Armor attachment back to inventory to save its position
  7. Re-atttach it

Using The Rumor System

Players

  • /5 RUMOR_GET - get a rumor
  • /5 RUMOR_PUT|some rumor text - add a rumor to the system, requires approval by region admin

Admins

  • /5 RUMOR_MAIN - show the admin main menu
  • /5 RUMOR_LIST - list currently active rumors
  • /5 RUMOR_MODERATE - moderate the list of pending rumors
  • /5 RUMOR_RESET - reset the entire rumor system back to seed rumors only

Using the Character Sheet Module

I've started adding multi-character support to the character sheet module.

When you enter a region or reset - you will get a drop down menu asking for which character you want to load.

There is a default option to load the hardcoded character sheet by name.

Or, you can create custom character sheet notecards by region named:

 charactername@regionname

You can have up to 11 characters per region (plus default) to pick from the menu.

I plan on adding estate support to the region settings server so you can use the same characters across an estate of regions easier, since LSL and OSSL do not support programmatically finding the current grid or estate names.

More development to do in this space, but this should get people started.

Personal tools
General
About This Wiki