Jump to content
Eviles

Special Apparel Shop - Monster Model

Recommended Posts

Hey @Satan, nice scripts.
If you don't mind, I have some comments and suggestions.

 

Usage of Eudemon, - that is, a command to prompt the npc talk/texts.
once click on any of the apparel strings, the NPC model will be summoned and begin following the user.
Ofcourse, restrictions must also be thought of: only in certain map, only 1 model at a time, how long each model will follow, etc...


If you are up for the challenge, I am up to guide/help if needed.

  • Like 1

kong.png

a2.png

Share this post


Link to post
Share on other sites

i try install this but my npc dont talk and cant hide after spawn

i add all sdk lines, make 1 test-npc in characterinfo with apparels, change coordinates to near fountain place

gs start without any errors

Цитата

    local modelRole = CreateChaX(m, 223400, 278700, 0, 1900000, r)    
        SetChaLifeTime( modelRole, 7200000 )

Цитата

                    elseif SpecialAppMob.step == 9 then
                        ChaMove(SpecialAppMob.monsterrole,223425,277825)
                    elseif SpecialAppMob.step == 13 then
                        ChaMove(SpecialAppMob.monsterrole,223400,278700)

+my npc spawn after click "try" correct
+main npc trade appareal correct

 

pls help with this

Edited by RedMAN

Share this post


Link to post
Share on other sites

@RedMAN For npc walk works it's needed a tick on cha_timer, which the function ApparelMonsterModel(ignore,role) does it arealdy, but it's hooked on another function. Main reason for it doesn't working is:

 

1. You don't have custom_cha_timer and didn't read end of file which i said to disable hook if doesn't use and call it from cha_timer;

2. Maybe you configured it out on cha_timer instead of custom_cha_timer, but forget to change functions params;

3. For npc talking it's needed the function Say() if u doesn't have;


lelouch_signature_by_vahntheknight-d4uafwj.png

Share this post


Link to post
Share on other sites
20 часов назад, Satan сказал:

@RedMAN For npc walk works it's needed a tick on cha_timer, which the function ApparelMonsterModel(ignore,role) does it arealdy, but it's hooked on another function. Main reason for it doesn't working is:

 

1. You don't have custom_cha_timer and didn't read end of file which i said to disable hook if doesn't use and call it from cha_timer;

2. Maybe you configured it out on cha_timer instead of custom_cha_timer, but forget to change functions params;

3. For npc talking it's needed the function Say() if u doesn't have;

ill try it today

thx for fast reply

Edited by RedMAN

Share this post


Link to post
Share on other sites
В 16.08.2017 в 22:39, Satan сказал:

@RedMAN For npc walk works it's needed a tick on cha_timer, which the function ApparelMonsterModel(ignore,role) does it arealdy, but it's hooked on another function. Main reason for it doesn't working is:

 

1. You don't have custom_cha_timer and didn't read end of file which i said to disable hook if doesn't use and call it from cha_timer;

2. Maybe you configured it out on cha_timer instead of custom_cha_timer, but forget to change functions params;

3. For npc talking it's needed the function Say() if u doesn't have;

DONE! thank you.

It was cha_time hook and my function name ChaSay (not CharSay)

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...