English Modding API

8 replies
Goto Page
To the start Previous 1 Next To the start
08.04.13 05:46:57 pm
Up
EngiN33R
Moderator
Offline Off
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
I code, therefore I exist. | Visit my blog for Lua tips and other interesting info
08.04.13 06:10:28 pm
Up
Avo
User
Offline Off
Quote:
to create your own RPG mod not based on Tibia.
Finally US.de will be free of shitty Tibia edits. I love it.
Trust me, I'm an engineer | user DC approved file cs2d Super extra mod for CS2D (64), yeah!
08.04.13 06:18:12 pm
Up
Infinite Rain
Reviewer
Offline Off
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)
A thousand may fall at your side, ten thousand at your right hand, but it will not come near you. You will only look with your eyes and see the recompense of the wicked. - Psalm 91:7-8 ESV
08.04.13 06:28:39 pm
Up
EngiN33R
Moderator
Offline Off
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.
I code, therefore I exist. | Visit my blog for Lua tips and other interesting info
08.04.13 06:42:35 pm
Up
Infinite Rain
Reviewer
Offline Off
You can also include table.tostring-like function. I'd used that.
A thousand may fall at your side, ten thousand at your right hand, but it will not come near you. You will only look with your eyes and see the recompense of the wicked. - Psalm 91:7-8 ESV
08.04.13 06:58:12 pm
Up
Avo
User
Offline Off
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.
Trust me, I'm an engineer | user DC approved file cs2d Super extra mod for CS2D (64), yeah!
08.04.13 07:06:12 pm
Up
EngiN33R
Moderator
Offline Off
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.
I code, therefore I exist. | Visit my blog for Lua tips and other interesting info
08.04.13 08:05:56 pm
Up
EndDead
User
Offline Off
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.
08.04.13 10:34:58 pm
Up
Conscience
User
Offline Off
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.
Remember to learn to forget. Whiskey shots and cheap cigarettes.
To the start Previous 1 Next To the start