Jump to content

Easy Request


nightinglae850

Recommended Posts

I tried putting the animation of writing but didn't work (compiled and all but he wouldn't do it), tried another one (waving) to make sure it worked and it did, so the problem is that apparently not all animations can be done by the player unfortunately

Link to comment
Share on other sites

  • Replies 105
  • Created
  • Last Reply

Top Posters In This Topic

Already built them, only need to write all the letters and the script (so far 35 letters written, 132 lines of code, still 1/10 of actors, may take longer than a few days after all =/).

Thanks for offering help though enigmaniac.

 

 

I wonder why that is, oh well the mod is great anyway :smile:

 

I will include the source code with the mod, so a capable modder might figure out how to include the writing animation to work with the player too, I'm just writing it keeping in mind that there's no animation but if someone tells me how to do it with the player, if possible, It'll be just about tweaking it a bit to add a pause and show the animation.

Edited by Xilante
Link to comment
Share on other sites

I will include the source code with the mod, so a capable modder might figure out how to include the writing animation to work with the player too, I'm just writing it keeping in mind that there's no animation but if someone tells me how to do it with the player, if possible, It'll be just about tweaking it a bit to add a pause and show the animation.

 

PM me a link to the script and I'll take a look. I don't want any credit for getting it working (it's your script).

I just think this is an awesome concept and I'd like to see it flourish to it's full potential (and download/use it).

Link to comment
Share on other sites

It'll be more than 150, anyway here's a short video:

 

So far it works like that, I guess I could add the pause with the animation just after.

The full script is still to be "shaped" and you won't find any problem (related to animation at least) in there as I'm writing it as if it's not supposed to be there (after quite many fail tests) but the plan if you get it to work (And of course i'll credit you) is:

Function ReachLetter()
	Debug.Notification("Letter stored.")
	LetterBox.AddItem(XI_PlayerReachLetter)
	Utility.Wait(RealTimeWait)
	Debug.Notification("Letter sent.")
	LetterBox.RemoveItem(XI_PlayerReachLetter)
	RegisterForSingleUpdateGameTime(Utility.RandomInt(4, 10))
Endfunction

Have an animation of the player writing just before the notification that it has to be stored, maybe taking away playercontrols for a short time just to avoid breaking it, in-game there's a chair that makes NPCs write right away (but players can't use it), so far I tried:

PlayerRef.PlayIdle(IdleWave) and PlayerIdleWithtarget which worked good, the actor waved as he was supposed to but as soon as I tried those idles (to make him write) they didn't work:
IdleWriteTableStanding
IdleWriteTableChair

And some (many) other which I found by typing "Help write", there's quite a list there, I think it works differently from the other animations like waving from the content I found there (A whatif Enter-Exiting), anyway if you get it to work in a simple OnTrigger/OnActivate/OnInit or anything just to test whatever it can be done or not it'd be plenty useful and I'd be more than glad to credit you as I would learn something off it too

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...