ReModel

12/29/2013 13:02 Cloud'#1
Can anyone give me the codes for Scroll of Re-Model/Remover. Thanks in advance.
12/30/2013 02:03 Lumi#2
Which modelchange system are you using atm.?
12/30/2013 05:58 Cloud'#3
I have the one that can change model, but my players want to have the remover because they want to change it again ..
12/30/2013 06:08 Lumi#4
I mean where did you have this modelchange?
-> [Only registered and activated users can see links. Click Here To Register...] ?

If no, then I can give you the code. :p
12/30/2013 10:06 Rhyder'#5
Quote:
Originally Posted by ​Lumi View Post
I mean where did you have this modelchange?
-> [Only registered and activated users can see links. Click Here To Register...] ?

If no, then I can give you the code. :p
maybe depends it here on what do you want to define

Code:
#ifdef __MODEL_CHANGE
		if(pMaterial->m_dwItemId == 50044)
		{
			if( pTarget->m_dwnewID != NULL)
			{
						pTarget->m_dwnewID = NULL;
						((CMover*)pUser)->UpdateItem((BYTE)pTarget->m_dwObjId, UI_MODEL, pTarget->m_dwnewID);
						pUser->AddText("Das Model wurde Erfolgreich gelöscht!");
						b = TRUE;
			}
			else
			{
				pUser->AddText("Deine Waffe wurde nicht mit einem Model ausgestattet!");
				return;
			}
		}
#endif //__MODEL_CHANGE
as you can see 50044 i use that so it means on defineitem.h should be like this #define II_UNBIND 50044


here's a code for you to use as a guide:
Spec_Item.txt

Code:
17	II_SYS_SYS_SCR_MODELRESET	IDS_PROPITEM_TXT_016377	1	9999	IK1_SYSTEM	IK2_SYSTEM	IK3_SCROLL	=	0	1	=	0	=	=	=	=	=	=	=	0	=	=	1	=	=	1	1	=	=	=	=	_NONE	0	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	EXT_ITEM	WUI_NOW	=	=	=	=	=	=	=	=	=	0	0	0	0	0	=	=	=	=	=	=	=	=	=	=	=	=	=	1	=	=	=	"""Itm_SysSysScrItemModelReturn-32.dds"""	0	""""""	IDS_PROPITEM_TXT_016378	1	300	0	0	1	0	0	0	1	0	2	=	=	=	=	=	=	=	=	=	=	1	1	1	1	1	0	ITEM_GRADE_NORMAL	1	TYPE1_CONSUME	TYPE2_CONSUME_EXCEPTION	1	0	0	0
12/30/2013 14:34 Cloud'#6
Quote:
Originally Posted by ​Lumi View Post
I mean where did you have this modelchange?
-> [Only registered and activated users can see links. Click Here To Register...] ?

If no, then I can give you the code. :p
Im not using that, i am using the Model_change code .. Can you please give me? Thanks in advance. :handsdown:
01/01/2014 12:52 Lumi#7
Quote:
Originally Posted by Cloud' View Post
Im not using that, i am using the Model_change code .. Can you please give me? Thanks in advance. :handsdown:
Anyway.
You can use this code above your post.
You should add this in DPSrvr.cpp, so far as I know.

01/01/2014 15:45 Cloud'#8
It gives me error in opening Database .. :3
01/03/2014 23:42 Lumi#9
Show us this error.
01/04/2014 17:53 Cloud'#10
it only crash in opening database

when i am adding the item in resource
01/04/2014 18:10 Rhyder'#11
Quote:
Originally Posted by Cloud' View Post
it only crash in opening database

when i am adding the item in resource
look at your spec_item.txt if the code you input is correct on evry row :)
01/04/2014 18:27 Cloud'#12
Quote:
Originally Posted by Rhyder' View Post
look at your spec_item.txt if the code you input is correct on evry row :)
i just copied all the codes you have posted. :confused:
01/04/2014 18:28 Magnus_#13
same problem.
01/04/2014 21:57 Rhyder'#14
Quote:
Originally Posted by Cloud' View Post
i just copied all the codes you have posted. :confused:
its v19 reading :) change it into v16 reading its easy :)
01/05/2014 08:14 Cloud'#15
Quote:
Originally Posted by Rhyder' View Post
its v19 reading :) change it into v16 reading its easy :)
ok im going to try it. Thanks :handsdown: