Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > Hero Lab Discussion

Notices

Reply
 
Thread Tools Display Modes
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old September 29th, 2010, 02:03 AM
Whilst reviewing all the user created content, suggestions, requests and code examples; upon these hallowed forums; it occured to me that if all the completed working scripts with their function title were re posted and collected into a “working scripts" topic for each game system; then everyone would be able to find examples on pretty much everything so far achieved more easily!

If the working scripts were then collected into an official authoring kit documentation appendix available for download as a PDF, then the majority of scripting questions could be acquired without trawling through numerous posts.
Just raw scripts that work and can be adapted for custom characters, kept in one handy place, without ancillary posts!

Just a thought.
Bodrin

I know I've posted this topic in the pathfinder thread but I didn't spot the hero lab only discussion until after. Apologies for the double topic.
bodrin is offline   #1 Reply With Quote
chiefweasel
Senior Member
 
Join Date: Aug 2008
Location: Miamisburg, OH
Posts: 1,322

Old September 29th, 2010, 05:36 AM
I agree, but i would like to see ach source book as a seperate file, that way people can use what they want. or have a process to select out of material if it is all contained in one file.

With this in mind, LW cannot do this due to license issues. This would have to come from the user community. But when we start combining individual files from the user comminuty we start to get a lot of dup errors and things like that. That would need to be resolved somehow.

also if any error or infomration mistakes crops up, someone would need to to correct them and put the file out again.

That being said, i'm up for giving it a shot.

Web site - Cheese Weasel Logistics - www.cheeseweasel.net
Twitter - @CheeseWeaselGMZ
For user created content check out www.d20pfsrd.com and www.cheeseweasel.net
For video demos of Hero Lab go to http://www.youtube.com/user/TheChiefweasel?blend=9&ob=5
chiefweasel is offline   #2 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old September 29th, 2010, 09:36 AM
I think bodrin is talking about something more basic actually. Just a search-able document that stores Script examples with informative headings.

In example here is a recent question I answered that would be helpful when doing many feats. The title of the script could be "How to script a class ability to only work when wearing medium or heavy armor only."
Code:
~Post-Attributes 10,000
~If hero is wearing Medium or Heavy Armor then apply DR 5/-
if (hero.tagis[Hero.MedArmor] + hero.tagis[Hero.HeavyArmor] <> 0) then
    ~Do your stuff here for when wearing Heavy/Medium armor
endif
I was in agreement before about this as I have dozens of Example Scripts I keep locally so I can just Copy and Paste code. I mean who wants to write stuff from scratch. Plus Mathias has to have hundreds of great scripts that would help people out.

If these where all on a search-able wiki site it would be really nice. Though their is the other side of this argument. The Forums can be searched already and I do it very often to find information, but many people just post a question instead of searching....

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #3 Reply With Quote
chiefweasel
Senior Member
 
Join Date: Aug 2008
Location: Miamisburg, OH
Posts: 1,322

Old September 29th, 2010, 10:07 AM
Ah, sorry about that.

Web site - Cheese Weasel Logistics - www.cheeseweasel.net
Twitter - @CheeseWeaselGMZ
For user created content check out www.d20pfsrd.com and www.cheeseweasel.net
For video demos of Hero Lab go to http://www.youtube.com/user/TheChiefweasel?blend=9&ob=5
chiefweasel is offline   #4 Reply With Quote
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old September 29th, 2010, 12:19 PM
Quote:
Originally Posted by ShadowChemosh View Post
I think bodrin is talking about something more basic actually. Just a search-able document that stores Script examples with informative headings.

In example here is a recent question I answered that would be helpful when doing many feats. The title of the script could be "How to script a class ability to only work when wearing medium or heavy armor only."
Code:
~Post-Attributes 10,000
~If hero is wearing Medium or Heavy Armor then apply DR 5/-
if (hero.tagis[Hero.MedArmor] + hero.tagis[Hero.HeavyArmor] <> 0) then
    ~Do your stuff here for when wearing Heavy/Medium armor
endif
I was in agreement before about this as I have dozens of Example Scripts I keep locally so I can just Copy and Paste code. I mean who wants to write stuff from scratch. Plus Mathias has to have hundreds of great scripts that would help people out.

If these where all on a search-able wiki site it would be really nice. Though their is the other side of this argument. The Forums can be searched already and I do it very often to find information, but many people just post a question instead of searching....
This is exactly what I was suggesting, One forum topic for each game system with completed code that works, like the code above with a Bold headline stating what it does, which can be used by the forum community using the search tools before posting a question.

Of course people will always ask the same questions without using the search tools but as the boards are well used by everyone that is helpful, then it would be perfectly easy to link to the solution on the Completed Scripts forum instead of copying and pasting a code box.

Quote:
For example User "X" asks the question How can I make a class ability only function if wearing the correct Armour?

User "Y" replies here's the link to the Completed Script that ShadowChemosh has written just modify the code for your particular need User "X"

http://forums.wolflair.com/showthrea...ed=1#post45154

For further reference all custom created scripts are located in the topic "Completed Working Scripts"

Last edited by bodrin; September 29th, 2010 at 12:23 PM.
bodrin is offline   #5 Reply With Quote
chiefweasel
Senior Member
 
Join Date: Aug 2008
Location: Miamisburg, OH
Posts: 1,322

Old September 30th, 2010, 06:03 AM
This is the sort of thing that happens in all forums. Many people need the same advice at different times and so miss the original posts.

But I agree with you, a large repository of example code would help a fair number of the questions and repeat questions.

Does the wiki have some of this though?

Web site - Cheese Weasel Logistics - www.cheeseweasel.net
Twitter - @CheeseWeaselGMZ
For user created content check out www.d20pfsrd.com and www.cheeseweasel.net
For video demos of Hero Lab go to http://www.youtube.com/user/TheChiefweasel?blend=9&ob=5
chiefweasel is offline   #6 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:45 PM.


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