Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Authoring Kit (http://forums.wolflair.com/forumdisplay.php?f=58)
-   -   Help with scripts (http://forums.wolflair.com/showthread.php?t=9797)

fierop February 15th, 2010 05:28 AM

Help with scripts
 
Greetings all, I am trying to set up a custom file to distribute to other gamers in my group.

I have created some items that have pre-requisites.

Does anyone have any sample pre-req. scripts that I could use as a base for building my own?

If there is one thing I am a bit disappointed in it is the scripting docs.

Any assistance would be appreciated.

PFiero

Mathias February 15th, 2010 08:12 AM

In the editor for each game system, you can open any of the existing things defined for that system. That will allow you to look up the prerequisites they use.

fierop February 15th, 2010 09:21 AM

I understand that I can look at the existing objects but I'm talking making a custom object and making pre-requisites for it which apparently requires writing a script.

I will dig through the existing systems though and see if I can find a suitably similar script.

Thanks,
PFiero

Mathias February 15th, 2010 10:06 AM

I'm happy to help you with the procedure, if you'll tell me what you're trying to accomplish.

fierop February 15th, 2010 10:26 AM

Thank you very much.

I am entering in some cybernetic augmentations that I ran across somewhere.

There is an item called a Tactical Analysis System that gives a player character a specific trait. However this item requires two other items in order to acquired.

So pre-requisites for Tactical Analysis System:
Mindset Rank 1
Cybernetic Eye

There are a few other items I want to be able to play with and though I'm not a strong script-writer I can usually hack things apart if I can see some examples or have docs to see what the syntax is for them.

I appreciate whatever assistance you can provide.

PFiero

Mathias February 15th, 2010 11:19 AM

Is this for a specific game system in Hero Lab? If so, next time, please post in that system's forum - that way it'll be easier for the next person trying to do the same thing you are to find the answer to their question. This forum is for new games added by users.

How are ranks defined in this game system? Are there specific tags added to the hero once the pick is added?

fierop February 15th, 2010 11:44 AM

Ack, didn't think about adding it there. It is for Cortex.

It is fairly straightforward...

When a user picks Tactical Analysis System I want HL to check to see that they have the two pre-requisite pieces of gear selected. If so then they can get the item and they will automagically acquire the Danger Sense trait at d4.

I will cross-post this in that forum.

PFiero


All times are GMT -8. The time now is 01:27 PM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.