Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Easier editNPC (https://forums.graalonline.com/forums/showthread.php?t=62182)

Aknts 11-10-2005 05:42 PM

Easier editNPC
 
Can you make a format easier to make editnpc's? Because most people who used them are level makers and most level makers can not script. It would be cool to have like a little program that lets you pic tiles from the tileset and use them. Maybe even just a path editor that lets you change the tiles and such. My head hurts I think everything I just typed makes no sense.

Malinko 11-10-2005 07:04 PM

What you said makes sense.

Though it would be helpful to post what you wish to have made as a EditNPC.

excaliber7388 11-11-2005 07:00 PM

Eh, it couldn't hurt, even those who can script could use it as a shortcut. I sometimes get leves for my server with really bad scripts. So, more predifined scripts couldn't hurt.
oh man, i feel stupid...and i had known this too. :\ however, i think he wants something easier for those who do not know how to script

Yen 11-11-2005 09:52 PM

Excaliber's post made me giggle.

Spanky, there's a predefined NPC function in the editor. It pastes in an already made NPC and uses the variables you type in.

You just add a .txt file to levels/npcs/, like this one:
PHP Code:

//#COMMENTS Changes the tileset of the level
//#EDIT Tileset pics1.png
//#CLIENTSIDE
function onPlayerEnters() {
  
addtiledef(Tilesetlevel0);


You can then go to 'Predefined NPCs' in the level editor, select this one, type in the tileset image, and place it in the level.

Inverness 11-12-2005 03:53 AM

Something I would like is a program that loads only npcs and not the level editor.
Like it would show a list of the NPCs in the level and their coordinates and maybe some other stats, something like how the DBNPC list works, you could edit them without opening the level. And there would also be a button to load the level editor in case you need to do more.


All times are GMT +2. The time now is 11:41 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.