CS2DTibia - RPG 
665 comments Minor fix, only npcs.lua is modified from previous version.
No need to update if you do not need these additions, as you may have to modify your additions to fit this version.
Also, I'm sincerely sorry to DC as people have been creating threads in the forum in the wrong section etc.
Forum post:
http://www.unrealsoftware.de/forum_posts.php?post=176932
You MUST run this script on a dedicated server. "join" hook does not work on listen servers. (ignore this, fixed in CS2D 0.1.1.8.)
***
For those who are complaining that this is not Tibia,
If I do not call it Tibia, people will start to complain that many elements of the game were stolen from Tibia.
***
Incomplete RPG script I made.
Still usable, though.
No need to update if you do not need these additions, as you may have to modify your additions to fit this version.
Also, I'm sincerely sorry to DC as people have been creating threads in the forum in the wrong section etc.
Forum post:
http://www.unrealsoftware.de/forum_posts.php?post=176932
Quote:
It's just a simple RPG-like game. Too many features, so I'll just name the few ones that make the script unique.
NPC system, very similar to the one in Tibia. It allows buying and selling of items, quests and stuff.
Monster system, featuring Pokemon. (I can't find pictures, so my friend recommended me a Pikachu, and I ended up with all my monsters being pokemons.) The attacking of monsters is very hacky, as I couldn't find a way to see if the player is attacking monsters. I ended up looping through all the monsters and using a bit of trigo to calculate if they are hitting them.
Leveling & money system. Players can gain experience and money. The amout of money & experience you have is shown in the lower right hand corner of your screen.
Items system. You can drop & collect items, drop & collect money. Trading was implemented, but removed. I might re-add it if I find the need to.
Inventory & Equipment system. The system is simple, F2 to access your inventory and F3 to access equipment. Simple items like runes & food.
Simple weather & time system. Just 24 hours a day, with the radar showing the clock & an item used to check time. (the clock can be seen in screenshots)
House system. Based on Tibia's housing system, you can rent a house for some money, and the house will expire after 24 hours. You can also extend the duration of rent by paying extra.
Saving system, based on U.S.G.N. id. Saves characters, map items, house information, current weather & time, etc.








You MUST run this script on a dedicated server. "join" hook does not work on listen servers. (ignore this, fixed in CS2D 0.1.1.8.)
***
For those who are complaining that this is not Tibia,
Quote:
It's called CS2DTibia because it is a base script for making Tibia-like RPGs. The Pokemon version is just an example of what it can look like if made properly.
If I do not call it Tibia, people will start to complain that many elements of the game were stolen from Tibia.
***
Incomplete RPG script I made.
Still usable, though.
edited 8×, last 09.08.11 11:16:44 am

Comments
665 commentsLog in!
You need to log in to be able to write comments!Log in
22.06.10 01:42:50 am

Everything works, but i can't see the npc's (I can still talk to them and all) And i also can't see the monsters. Help?
And the script is very good c:

And the script is very good c:

Good mod, the usual. But one big flaw: The mapping is TERRIBLE. Please get a custom tileset, and add some details and sprites...

I've played this recently and this Tibia rocks!
There should be many improvements, but I haven't seen anything like that so far.
There should be many improvements, but I haven't seen anything like that so far.

1. i already have stone clothes bronze clothes crossbow seahorse and other thing but i wanna have magma and dark clothes
2.LOLz dont work
2.LOLz dont work

This is a little help to all guys who dont know hot to make items. First find the items.lua in the cs2dtibia folder. Open it and copy any item you want! For example: Copy the Stone Armor! [311] = { the 311 number is the items ID
name = "stone armour", <- Its Name
r = 128, g = 128, b = 128, <- Color Numbers
action = "equip", <- Equiping func.
slot = 2, <- slot you want it to be
eimage = "gfx/weiwen/armour.png", <- sprite on the player
fimage = "gfx/weiwen/farmour.png", <- sprite on the ground
def = 0.2, <- its defence in %
speed = -1.5, <- the speed it gives or reduces when wearing it!
level = 5, <- lvl needed to wear it
func = equip,
},
So lets say you want to creat your own one. Copy the stone armor and paste it under it or under any other item.
Then set the ID you want but dont set the ID that is already taken or you might have problems. For exapmle: 4812! replace the old ID with this one! Next is the name: Just rename it to what ever you want! Example: LOlz
Next is the color code: For example if you want a RED armor not too dark not to bright use 155 and set it in the R. Same for *G*reen and *B*lue The ** is just to show you where it is dont use it in the lua. Next is the slot you want it to be in just leave it in the same one for armor. Next is the sprite: If you have one of your own you can just replace it. If you dont leave it be. If you have it colored then just delete the *r = 128, g = 128, b = 128,* part out and it will be the color it is. Next is defence: the most EASY part just set it in % you want for example: 15.4 and it will be 15.4% defending you. Speed: Just set the speed you want it to be while the player is wearing it.
Level: (you have to be STU**D if you dont know what that is) just set the level you want it to be. AND your DONE! Your item is complete! Congrats. You created your very first item! If you have more questions i will awnser later! just PM me!
[4812] = {
name = "LOlz",
r = **155**, g = 128, b = 128,
action = "equip",
slot = 2,
eimage = "gfx/weiwen/armour.png",
fimage = "gfx/weiwen/farmour.png",
def = 15.4,
speed = -1.5,
level = 5,
func = equip,
},
name = "stone armour", <- Its Name
r = 128, g = 128, b = 128, <- Color Numbers
action = "equip", <- Equiping func.
slot = 2, <- slot you want it to be
eimage = "gfx/weiwen/armour.png", <- sprite on the player
fimage = "gfx/weiwen/farmour.png", <- sprite on the ground
def = 0.2, <- its defence in %
speed = -1.5, <- the speed it gives or reduces when wearing it!
level = 5, <- lvl needed to wear it
func = equip,
},
So lets say you want to creat your own one. Copy the stone armor and paste it under it or under any other item.
Then set the ID you want but dont set the ID that is already taken or you might have problems. For exapmle: 4812! replace the old ID with this one! Next is the name: Just rename it to what ever you want! Example: LOlz
Next is the color code: For example if you want a RED armor not too dark not to bright use 155 and set it in the R. Same for *G*reen and *B*lue The ** is just to show you where it is dont use it in the lua. Next is the slot you want it to be in just leave it in the same one for armor. Next is the sprite: If you have one of your own you can just replace it. If you dont leave it be. If you have it colored then just delete the *r = 128, g = 128, b = 128,* part out and it will be the color it is. Next is defence: the most EASY part just set it in % you want for example: 15.4 and it will be 15.4% defending you. Speed: Just set the speed you want it to be while the player is wearing it.
Level: (you have to be STU**D if you dont know what that is) just set the level you want it to be. AND your DONE! Your item is complete! Congrats. You created your very first item! If you have more questions i will awnser later! just PM me!
[4812] = {
name = "LOlz",
r = **155**, g = 128, b = 128,
action = "equip",
slot = 2,
eimage = "gfx/weiwen/armour.png",
fimage = "gfx/weiwen/farmour.png",
def = 15.4,
speed = -1.5,
level = 5,
func = equip,
},
edited 1×, last 19.06.10 11:27:53 am

its a very nice mod, makes much fun. i love it but u could do some more "maps" cause if u are level 10 it gets boring


rockgame to get the crossbow you must put it in a shop by its ID code! example: Federigo(Or whoever) ID CODE OF crossbow - Money that the crossbow costs just edit the npc lua