Jump to content

Recommended Posts

Hello everybody! How are you? I'm fine, but I have a problem ;-;
I'm making a new character mod and I want him to have 4 On Key Press features, using F1 to F4 to do different actions and/or gain buffs. I am analyzing the mod "Gir" by Purswader that have this feature, but instead while playing as Gir pressing T will activate his Dog suit and give him different powers and I haven't .
Here's the problem: I have tried to use the Keyhandler tutorial but it is outdated it crashes and also I didn't fully understood what Purswader's mod have done.
Can anybody help me? I have no idea how to script!

Edited by mejoao
Link to comment
https://forums.kleientertainment.com/forums/topic/55811-on-key-pressing/
Share on other sites

@mejoaohttp://forums.kleientertainment.com/files/file/1126-tutorial-mod-rpcs-with-keyhandler/

 

It's not outdated, in fact Gir is outdated, the mod author refuses to update it unless it breaks. 

 

 

That's weird... when I open up my Don't Starve (Single Player) it says the mod (Mod RPC's with Keyhandler

)is not up to date. When I enable the mod, it crashes when I click "Apply".

I'm using Don't Starve's most updated patch TT-TT

Also, thank you for replying Kzisor! It's an honor to me :grin:

 

Edit: My bad, it says it have crashed the game. I'll try using it with all other mods disabled.

Edit 2: Still crashing :/

http://imgur.com/l0vDPYF

Edited by mejoao

@mejoao,

cause u are using a DST mod in DS. DS doesnt have a chatinputscreen. DS and DST mods are not automatically compatible with each other, it can be a lot of work to make that happen. my kerrigan mod is dualcompatible for instance, and i have keyhandlers and stuff too.

Edited by Seiai

@mejoao,

cause u are using a DST mod in DS. DS doesnt have a chatinputscreen. DS and DST mods are not automatically compatible with each other, it can be a lot of work to make that happen. my kerrigan mod is dualcompatible for instance, and i have keyhandlers and stuff too.

 

Wait... what i'm doing is using Keyhandler in DS. Or is Keyhandler a DST mod?

@mejoao,

cause u are using a DST mod in DS. DS doesnt have a chatinputscreen. DS and DST mods are not automatically compatible with each other, it can be a lot of work to make that happen. my kerrigan mod is dualcompatible for instance, and i have keyhandlers and stuff too.

Do you know if I can toggle actions with Keyhandler?

 Like if I press F1, the next attack is empowered (or something like this)

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...