Search found 15 matches

by Falkenwrath
Mon Aug 10, 2015 10:16 pm
Forum: Mod Creation
Topic: Spawn Scroll and setScrollText
Replies: 11
Views: 15984

Re: Spawn Scroll and setScrollText

I having trouble with this. I have a floor trigger connected to a lua script to spawn a scroll message before going through a door using this script on the posts. local message = spawn("scroll") message.scrollitem:setScrollText("This is an important\nmessage!") after selecting th...
by Falkenwrath
Mon Aug 10, 2015 10:19 am
Forum: Mod Creation
Topic: Party modding ??: add skills and traits to party creation
Replies: 45
Views: 38824

Re: Party modding ??: add skills and traits to party creatio

ok script working, but I still want the traits I add at creation to show up in the character sheet after the game starts. benefits there but its not listed.... not huge deal but it would be nice to have it on screen that you have the ability.
by Falkenwrath
Mon Aug 10, 2015 2:59 am
Forum: Mod Creation
Topic: Party modding ??: add skills and traits to party creation
Replies: 45
Views: 38824

Re: Party modding ??: add skills and traits to party creatio

There is no reason to call addTrait in an onRecomputeStats hook. I don't know why akroma wants to do this and I don't know why you want to do this. If you want to start a class or race with the trait, just start them with the trait by adding it to their traits table. If you want to add shield_exper...
by Falkenwrath
Mon Aug 10, 2015 1:17 am
Forum: Mod Creation
Topic: Party modding ??: add skills and traits to party creation
Replies: 45
Views: 38824

Re: Party modding ??: add skills and traits to party creatio

'''onRecomputeStats = function(champion, level) if level > 0 then local lvl = champion:getLevel() champion:addTrait("endurance") champion:addTrait("weaponeer") champion:addTrait("non_caster") champion:addStatModifier("max_health", 70 + (lvl-1) * 8) champion:ad...
by Falkenwrath
Sun Aug 09, 2015 11:59 pm
Forum: Mod Creation
Topic: Party modding ??: add skills and traits to party creation
Replies: 45
Views: 38824

Re: Party modding ??: add skills and traits to party creatio

ok heres my new problem. my practice class is set up like so. defineTrait{ name = "fighter", uiName = "Warrior", icon = 96, description = "As a Warrior you are a master of close combat. You are trained to use a wide variety of weapons", gameEffect = [[ - Health 70 (+7 p...
by Falkenwrath
Sun Aug 09, 2015 3:52 am
Forum: Mod Creation
Topic: How to give a new class a starting trait?
Replies: 2
Views: 2801

Re: How to give a new class a starting trait?

...... -.- thank you lol. maybe ill go back to school first.
by Falkenwrath
Sun Aug 09, 2015 1:39 am
Forum: Mod Creation
Topic: How to give a new class a starting trait?
Replies: 2
Views: 2801

How to give a new class a starting trait?

Ok I got my own custom class with its starting health and the likes. so if My script looks like so. defineCharClass{ name = "warrior", uiName = "Warrior", traits = { "melee_specialist", "agressive" }, optionalTraits = 2., } does the trait aggressive from the l...
by Falkenwrath
Sun Aug 09, 2015 12:16 am
Forum: Mod Creation
Topic: Party modding ??: add skills and traits to party creation
Replies: 45
Views: 38824

Re: Party modding ??: add skills and traits to party creatio

Ok got my own class to show up and everything thank you. Now I have to try and figure out how to modify the amount of starting skill points and traits if possible. I want to give humans 3 skill points at first level instead of 2 / and to give farmers three traits instead of two. EDIT:: is it possibl...
by Falkenwrath
Sat Aug 08, 2015 10:24 pm
Forum: Mod Creation
Topic: Party modding ??: add skills and traits to party creation
Replies: 45
Views: 38824

Re: Party modding ??: add skills and traits to party creatio

ok I opened the assst pack and looked at the definitions "defineCharClass{ name = "fighter", uiName = "Fighter", traits = { "melee_specialist" }, optionalTraits = 2., } defineCharClass{ name = "barbarian", uiName = "Barbarian", optionalTraits = ...
by Falkenwrath
Sat Aug 08, 2015 10:02 pm
Forum: Mod Creation
Topic: Party modding ??: add skills and traits to party creation
Replies: 45
Views: 38824

Re: Party modding ??: add skills and traits to party creatio

Thank you for that info. I am getting ready to start making my own mod soon I just feel like theres a few dots I am missing before I get started. I have done a little coding in java a few years back so writing a script won't be completely foreign. I am just not completely getting how I add all the c...