Addon creation?

Have a really dumb question? Ask it here to get help from the experts (or those with too much time on their hands)

Moderator: Moderator

Post Reply
Message
Author
asd2613
Low Yeek
Posts: 8
Joined: Fri Feb 20, 2015 9:23 am

Addon creation?

#1 Post by asd2613 »

I've been playing tome for a few years now and I love it! I love this community, the fact that a "dumb questions" topic exists shows how awesome you all are. Now, down to business. For all the time I've spent on this game I've always wanted to create an addon. But I have no fricking clue how to code or even how to start making an addon for tome. So could somebody either point me in a direction to find out how to code stuff for Tome or something?

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Addon creation?

#2 Post by HousePet »

Did you have something in particular in mind that you want to create?
My feedback meter decays into coding. Give me feedback and I make mods.

Micbran
Sher'Tul
Posts: 1154
Joined: Sun Jun 15, 2014 12:19 am
Location: Yeehaw, pardner

Re: Addon creation?

#3 Post by Micbran »

Unzip the game files and crack em' open with your favorite text editor.
A little bit of a starters guide written by yours truly here.

Marson
Uruivellas
Posts: 645
Joined: Thu Jan 16, 2014 4:56 am

Re: Addon creation?

#4 Post by Marson »

asd2613 wrote:I've been playing tome for a few years now and I love it! I love this community, the fact that a "dumb questions" topic exists shows how awesome you all are. Now, down to business. For all the time I've spent on this game I've always wanted to create an addon. But I have no fricking clue how to code or even how to start making an addon for tome. So could somebody either point me in a direction to find out how to code stuff for Tome or something?
Not to discourage you...
Ok, I guess that is my intent, as I think you'll end up frustrated. If you haven't coded before, I don't think a ToME addon is quite the place to start—unless you are doing something really simplistic. Even then, I think you'd get more satisfaction by starting with your own small programs. To create an addon, you have to understand the code that already exists, and that can be more of a challenge than writing something yourself.

Patashu
Higher
Posts: 74
Joined: Tue Dec 18, 2012 3:54 am

Re: Addon creation?

#5 Post by Patashu »

To act as a counterpoint, I find the most fun in programming when I modify something already existing and poke and crawl around how it works and get it to do something new and cool. I find this way more accessible and achievable than starting from scratch and having to research even the nitty gritty and most tedious stuff of how to set up and get started. So, if someone wants to get started programming by modding, let them.

Marson
Uruivellas
Posts: 645
Joined: Thu Jan 16, 2014 4:56 am

Re: Addon creation?

#6 Post by Marson »

Yeah, I agree with aspects of that, but I was thinking in terms of ToME specifically. It's just sooo big with many interacting systems. When I started on my first addon—I just wanted to enlarge the font size—I already had years of experience coding in many different languages. I enlarge the font size, but it was a bigger challenge than it would seem on the surface. Boosting the number was easy enough, but then that would cause buttons to be hidden, weird misalignment, and other UI issues. I had to dig into the nitty-gritty of DG's dialog system. I was impressed with DG's streamlined and efficient code, but at times that could also make it difficult to understand. It also made it harder to modify in a way that didn't cause problems elsewhere. I got it to work, but the resulting code was pretty ugly.

But I guess I was thinking of the kind of addons I wanted to make, which often involved deep systems of the engine. Making a new class or race would probably be a good place to start, as there's a fair amount of support for that with the hooks available, etc. Like Micbran said, you could download some of the class addons and see how others have done it and use that as a framework for your own.

Razakai
Uruivellas
Posts: 889
Joined: Tue May 14, 2013 3:45 pm

Re: Addon creation?

#7 Post by Razakai »

Yeah 'system' focused addons like the font change are very tricky. Content focused addons where you're adding or altering classes, races and items are comparatively simple.

Post Reply