Files

> > CS2D > Lua Scripts > CS2DTibia - RPG
Files overviewCS2D overviewLua Scripts overview

English CS2DTibia - RPG >

665 comments364 kb, 21,985 Downloads

old CS2DTibia - RPG

goweiwen
User Off Offline

Minor fix, only npcs.lua is modified from previous version.
More >


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
Approved by Starkkz

Download Download

364 kb, 21,985 Downloads

Comments

665 comments
Page
To the start Previous 1 228 29 3033 34 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old Help?

Pwncookies
User Off Offline

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:
I like it!

old

Obscht93
User Off Offline

Best Script ever
I like it!

old

Yorty
User Off Offline

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

old

connor34
User Off Offline

i know Levic i trie but its not work ;{ but no problem i fix it :}
I like it!

old

Refresh
User Off Offline

@LightOfTheHeaven

If the map blue, then you did something WRONG
I like it!

old

SQ
Moderator Off Offline

I've played this recently and this Tibia rocks!

There should be many improvements, but I haven't seen anything like that so far.
I like it!

old

connor34
User Off Offline

its dont work d you know why when i open cs2d the map is blue
I like it!

old

Night Till Death
User Off Offline

dude you dant have to accualy name it LOLz name it whatever you want
I like it!

old

connor34
User Off Offline

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
I like it!

old

Night Till Death
User Off Offline

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,
     },
I like it!
edited 1×, last 19.06.10 11:27:53 am

old

connor34
User Off Offline

hi can u guy help me how can i add magma clothes dark clothes ?
I like it!

old

Refresh
User Off Offline

Good but...
I like it!

old

awcmon
User Off Offline

AWESOME! BUT I'm never logged in when i make a dedicated server.
I like it!

old

uLtR4
User Off Offline

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
I like it!

old

Night Till Death
User Off Offline

@RomaN can you tell me where do you type that in? The console or the chat?
I like it!

old

Emreo6
User Off Offline

wow amazing but i have a problem
I like it!

old

Night Till Death
User Off Offline

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
I like it!

old

Slater
User Off Offline

I HATE POKEMON...

But IT IS SO GOOD SCRIPT I CAN `T GIVE YOU ONLY ONE STAR!!
VERY GOOOD!
I like it!

old

RyceR
User Off Offline

Here is my trade:
trade={{903, 50}, {900, 2500}, {901, 5000}, {902, 10000}},

903 = snowball
900 = Deagle
901 = Chainsaw
902 = AWP
I like it!
To the start Previous 1 228 29 3033 34 Next To the start