| Mirage Source http://web.miragesource.net/forums/ |
|
| new stuff http://web.miragesource.net/forums/viewtopic.php?f=210&t=1336 |
Page 1 of 1 |
| Author: | Ramsey [ Sun Feb 11, 2007 5:47 pm ] |
| Post subject: | new stuff |
i need a tut. on how to make new type of items, spells, npc behavior do you guys know where i can find one? if not can some1 write a tut for me? |
|
| Author: | lucidar [ Mon Feb 12, 2007 12:28 am ] |
| Post subject: | |
Why a tutorial for this? ClientSide: Quite simply, just add another constant for the type (EX. item_add_str = 43) Goto the item editor and add it in with the other constants in the combo box. adjust the save/load accordingly. ServerSide: Re-add the constant for the type of whatever. Goto the appropiate sub/function and add a good old 'if whatever(n).type = my_new_constant then' do whatever it should do here. Theres a bunch more, thats the jist of it though. Just follow an existing type, adding your own code after it. Use the FIND function in VB if you must. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|