Forum

> > CS2D > Mods > Modding API
Forums overviewCS2D overview Mods overviewLog in to reply

English Modding API

8 replies
To the start Previous 1 Next To the start

old Modding API

EngiN33R
Moderator Off Offline

Quote
The zombie survival mod had a hidden agenda. I didn't simply develop it, I developed it with this project in mind. All of the libraries I wrote for the zombie mod have been made universal, and will be included in this CS2D modding API. I didn't want to waste any time thinking of a cool name, so I'll postpone that - or maybe even leave it to you.

The modding API is basically a collection of many functions that make the work of a modmaker easier. If you want to make your own RPG mod, then you could use this API and its (example) levels/exp, NPC and item modules, along with utility ones to create your own RPG mod not based on Tibia. And that's only one example.

I would like to note that I won't be using the work of other users of this forum unless they want me to or unless I'm so lost and stupid that I can't write it myself. I cannot say that I won't be inspired by others' ideas though.

This does not imply that I stopped working on the zombie mod.

I turn to you now for ideas for libraries, or modules (same thing), that you would like to see in the API, and your basic opinion on the idea - that is, whether it's something you find useful, and, perhaps, whether it's something you could use. I'll write examples of library syntaxes as well, in time.

This list is subject to change
List of modules (implemented or to-do):
• Player utility - no tedious player(id,"argument") and console commands to change those arguments. All in one player table. (idea from someone, I think ketamire, whatever his name is right now)
• NPCs - a universal library for both monsters and static NPCs (vendors etc.), governed by NPC archetypes.
• Items - inventory, dropping, environment inventories like chests, dead corpses of monsters (NPC integration), trading.
• Menu utility - no long strings to create menus, just a function that will handle the pagination and buttons.
• Levelling - experience, levels, expressions to calculate experience requirements or a fixed table of requirements, experience gain from NPC killing and various other actions. (interlibrary integration)
• Chat - all things chat: chat commands, chat colours, name modification, muting; everything neatly packed in friendly functions.
• GUI - buttons, scrollbars, checkboxes and other pretty things. Custom interface elements for your mods. (courtesy of user Starkkz, graphics courtesy of user KimKat)
edited 3×, last 21.09.13 10:34:35 pm

old Re: Modding API

Avo
User Off Offline

Quote
Quote
to create your own RPG mod not based on Tibia.
Finally US.de will be free of shitty Tibia edits. I love it.

old Re: Modding API

Infinite Rain
Reviewer Off Offline

Quote
No, it will be not, besides kids doesn't know how to use API.
Or unrealsoftware will be now spammed with other not-tibia based RPG mods.

Edit:
@user EngiN33R:
Well, you can make some hard-math-based functions. Like extend position in the X direction.
(I had that problem most of the times, until I learnt some of the trigonometry)

old Re: Modding API

EngiN33R
Moderator Off Offline

Quote
user Infinite Rain has written
Well, you can make some hard-math-based functions. Like extend position in the X direction.


That will be in the utility library, yes.

old Re: Modding API

Avo
User Off Offline

Quote
Oh, David.

I hope Ilya will include GUI (VisualLua) and some object-oriented stuff. That would be cool. Simple library only with functions like table.tostring and angleposition couldn't be called modding API.

Engi's not going to fail (as always), so we can be sure this modding API will be huge success. I cross my fingers.

old Re: Modding API

EngiN33R
Moderator Off Offline

Quote
user Avo has written
I hope Ilya will include GUI (VisualLua) and some object-oriented stuff. That would be cool. Simple library only with functions like table.tostring and angleposition couldn't be called modding API.

Yes, Starkkz has been kind enough to provide his code, too, so I'll merge the two to make a cool GUI library. I'll hopefully have some interesting OOP things, too.

user Avo has written
Engi's not going to fail (as always), so we can be sure this modding API will be huge success. I cross my fingers.

Thank you for your kind words.

old Re: Modding API

EndDead
User Off Offline

Quote
What user Avo wrote.
--
That is going to be awesome. I'll be sure to check/use it when its available.
Once again, Good job.

old Re: Modding API

Conscience
User Off Offline

Quote
I actually like Weiwen's Tibia script. It's pretty good. Too bad it is abused by google monster images.

Good luck though, @user EngiN33R.
To the start Previous 1 Next To the start
Log in to reply Mods overviewCS2D overviewForums overview