Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

Reply
 
Thread Tools Display Modes
Old February 6, 2020, 06:25   #1
ionarevamp
Rookie
 
Join Date: Feb 2020
Posts: 3
ionarevamp is on a distinguished road
Modding Furyband (help please)

So I found an old "Magic Circle" script by Zfang that I copied from a version of t-o-m-e.net which can be found on the Wayback Machine, and basically it adds an ability that allows you to draw a magic circle which--while standing on it--doubles your spellpower and then gets destroyed immediately after one use. It was obviously meant for ToME2, but I figured it would be cool to add to the craziness of Furyband. Full disclosure: I dabble in coding, but I'm not an expert at modding *bands by any means.

I'm running Furyband 5.1 Gold on Windows 10. So far I've gotten the script working (mostly) as intended, and even tweaked it a little to make it feel more fair. I have two separate issues, however:
1. When I press 'm' to access the ability menu, the ability isn't listed at all. I can use the ability by pressing '@' and typing out the mkey name, after which the ability works as expected.
2. I hope to reduce the in-game energy cost of using the ability by decreasing the energy_use variable by some combination of the Meta and Mastery Skills. I'm just not sure which variable to use and how to access the current level of those skills in order to calculate a proportion.

I'm also getting a somewhat concerning 'Unknown mego value modifier 1' error upon loading the Furyband module. I'm not sure whether it has to do with the menu problem or not.

I will attach the script I found in a .txt file, with some comments denoting what I changed. (The script itself already includes a changed version of the spellcasting function, with edits 'CHANGE1!' and 'CHANGE2'.)

Any help, expertise, or even questions for clarification are all appreciated in advance.
Attached Files
File Type: txt MagicCircle_script.txt (6.3 KB, 19 views)

Last edited by ionarevamp; February 6, 2020 at 07:15.
ionarevamp is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Furyband: Help Theyli Variants 0 October 2, 2016 01:42
Modding Mangband question TheHairyOne Variants 1 May 1, 2016 20:27
[furyband 5.1] Brouhaha Variants 2 February 3, 2014 11:12
Modding for beginner? Zambaku Development 3 June 11, 2010 16:58
Furyband 5.1 djwid Variants 3 March 9, 2010 19:41


All times are GMT +1. The time now is 17:35.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.