Search found 150 matches

by 7Soul
Tue Nov 17, 2020 11:43 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3707
Views: 1253927

Re: Ask a simple question, get a simple answer

It's because your i loop goes from 1 to 18 and your skills table only has 13 entries, so when it tries to get skill[14] is gets nil (nothing)
by 7Soul
Mon Nov 16, 2020 4:31 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3707
Views: 1253927

Re: Ask a simple question, get a simple answer

Yeah I understood. Although now that I think about it, my solution wouldn't be enough The thing is, you can't change how the system works (aka click skill to call a function), which is why my method is to replace all the buttons with my own. But the solution I gave above doesn't take into account cl...
by 7Soul
Mon Nov 16, 2020 1:34 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3707
Views: 1253927

Re: Ask a simple question, get a simple answer

How would I modify your OnDrawSkills so that it doesn't have all the new graphics and just the old skill system except it calls addSkillTemp, removeSkillTemp and clearSkillTemp? You might be able to get away with only covering the buttons instead Line 1854 is what covers the skills area so you can'...
by 7Soul
Mon Nov 16, 2020 1:26 am
Forum: Custom Dungeons
Topic: [WIP] The Old Nexus 「 Grimrock XL 」
Replies: 44
Views: 30572

Re: [WIP] The Old Nexus 「 Grimrock XL 」

Well then
by 7Soul
Sun Nov 15, 2020 11:24 pm
Forum: Custom Dungeons
Topic: [WIP] The Old Nexus 「 Grimrock XL 」
Replies: 44
Views: 30572

Re: [WIP] The Old Nexus 「 Grimrock XL 」

When you use an external script, you gotta import it
by 7Soul
Sun Nov 15, 2020 10:40 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3707
Views: 1253927

Re: Ask a simple question, get a simple answer

Sorry, I'm not very good at scripting- First of all, do I need to put the functions addSkillTemp, removeSkillTemp and clearSkillTemp into a file or something? and second how would I add a check for how many skill points the champion has and compare with the skill level, then make it subtract the sk...
by 7Soul
Sun Nov 15, 2020 7:21 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3707
Views: 1253927

Re: Ask a simple question, get a simple answer

Thanks, I guess I'll just make it so it gives a trait every time. *what about how to make it so the skills cost more points the higher the level? In the functions.lua of my mod, look for addSkillTemp, removeSkillTemp and clearSkillTemp. The line champion:setSkillPoints(champion:getSkillPoints() - 1...
by 7Soul
Sun Nov 15, 2020 5:49 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3707
Views: 1253927

Re: Ask a simple question, get a simple answer

How would I make it so it costs 1 skill point for the first level, 2 for the second, and so on? (I don't want to completely steal your script :lol: edit: Also how do I make my own skills? I can define them and make it so at a certain level they get a trait, but how do I make it so they get somethin...
by 7Soul
Sun Nov 15, 2020 4:17 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3707
Views: 1253927

Re: Ask a simple question, get a simple answer

Only possible with EquipmentItemComponent, and only in a very limited way; see http://www.grimrock.net/forum/viewtopic.php?f=22&t=14529 The only reasons this could ever be useful are the builtin light_weapons, heavy_weapons, missile_weapons, throwing, firearms, and magic skills since you can't clea...
by 7Soul
Thu Nov 12, 2020 8:56 pm
Forum: Custom Dungeons
Topic: [Beta] Grimrock 2 Randomizer
Replies: 30
Views: 5654

Re: [WIP] Grimrock 2 Randomizer

deleted