Forum

> > CS2D > General > can't change monsters from rpgtibia
Forums overviewCS2D overviewGeneral overviewLog in to reply

English can't change monsters from rpgtibia

25 replies
Page
To the start Previous 1 2 Next To the start

old can't change monsters from rpgtibia

lenovo
GAME BANNED Off Offline

Quote
Hello users, i can't edit any monster GFX.

I read the monster.lua and have : (example)

1
2
Name = Ratata, Health = 50 , Speed = 5
monster gfx : gfx/pokemon/ratata.png

Now I go to gfx/pokemon and replace the ratata with my monster edit, and rename with the same name.

Later I open my server and the ratata is invisible.

(ratata.png is an example, the original is 1.png)

I check the console and says:

IMG:https://s4.postimg.org/x3g85g7zh/tibia.jpg


can't load image, i use png format and the background is invisible, everything is normal with the image but not with the script or console or tibia or blalbadawdm

∗ Can you help me please ?

> I already have tested in anothers tibia but nobody works.

old Re: can't change monsters from rpgtibia

Accurator
User Off Offline

Quote
It's loading the image in gfx/PP/MONSTERS named 1.png. Did you change the script to:
1
2
Name = Ratata, Health = 50 , Speed = 5
monster gfx : gfx/PP/MONSTERS/1.png

And after that move that file to gfx/pokemon and rename it to ratata.png? If so, either change the script back to:
1
2
Name = Ratata, Health = 50 , Speed = 5
monster gfx : gfx/pokemon/ratata.png

Or put your monster image back in gfx/PP/MONSTERS and rename it 1.png

old Re: can't change monsters from rpgtibia

lenovo
GAME BANNED Off Offline

Quote
Monsters.lua :

1
2
3
4
5
6
CONFIG.MONSTERS = {
	{
		name = 'Ratata', health = 100, image = 'gfx/PP/MONSTERS/1.png', scalex = 2, scaley = 2, 
		atk = 1.5, def = 1.5, spd = 5, atkspd = 5, x = 0, y = 0, ang = 0, imgang = 0, spawnchance = 50, runat = 20, spawn1 = {0, 0}, spawn2 = {110, 125}, 
		exp = 125, money = 100, loot = {{chance=1000,id=512},{chance=250,id=520}}, 
	},

gfx/PP/MONSTERS :

IMG:https://s13.postimg.org/yybycsfdj/edit.png


The ratata image is 1.png

I only replace the image with the same name, but the error continues :

IMG:https://s27.postimg.org/3u7p9wqsz/tibia.jpg

old Re: can't change monsters from rpgtibia

Sparty
Reviewer Off Offline

Quote
@user EngiN33R: kk, Now I understand it, Because You know already and I know now and understanding it.. BECAUSE The lua couldn't find the file/image with the same name Which you done it.

ummm...close it?

old Re: can't change monsters from rpgtibia

DreadMare
User Off Offline

Quote
@user Accurator: Yes

"gfx/weiwen/pokemon/19.png" is ratata. I named it 19.PNG and in game It wouldnt show and it showed the exact same problem as him. I named the path to gfx/weiwen/pokemon/19.PNG.png, and guess what? It Worked!

Go on.. Go test

old Re: can't change monsters from rpgtibia

EngiN33R
Moderator Off Offline

Quote
user DreadMare has written
@user Accurator: The script can't LOAD gfx/PP/MONSTERS/1.png because it doesnt EXIST in his GFX/MONSTERS/PP/.. That's why he needs to CHANGE the name.

You're awfully certain about that, but it might be a possibility. OP should try it.

@user Sparty: You're not OP so why are you telling me to close it? It's great that you understand, but we're yet to receive a response from user lenovo.
To the start Previous 1 2 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview