The forum has been set to read-only mode. For community discussion and questions, head over to our Discord: https://discord.taleoftwowastelands.com

change player texture script help.

General discussion of Tale of Two Wastelands
Post Reply
chris114
Posts: 6
Joined: Wed Aug 19, 2015 4:30 pm

change player texture script help.

Post by chris114 » Wed Aug 19, 2015 4:46 pm

Hi all, I am new and need help with a script. I am trying to make a mod that adds viable damage to the player at every 20% HP lost. but I don't know how to do the script that change players Head and body textures at every 20% HP lost, so could some make/tell me how to make a script like this? 


 


Thanks



User avatar
RoyBatty
Gary
Posts: 7742
Joined: Sun Apr 27, 2014 10:26 am
Location: Vault 108

You can't update the player

Post by RoyBatty » Wed Aug 19, 2015 8:57 pm

You can't update the player model, unfortunately.


Image

chris114
Posts: 6
Joined: Wed Aug 19, 2015 4:30 pm

I meant the texture not model

Post by chris114 » Wed Aug 19, 2015 9:33 pm

I meant the texture not model, can that not be done either?



chris114
Posts: 6
Joined: Wed Aug 19, 2015 4:30 pm

I am trying but don't

Post by chris114 » Wed Aug 19, 2015 9:54 pm

I am trying but don't understand the script cuse I suck.


I think this is the they used but I don't fully understand it. I'll just read up script making.


You do not have the required permissions to view the files attached to this post.

User avatar
RoyBatty
Gary
Posts: 7742
Joined: Sun Apr 27, 2014 10:26 am
Location: Vault 108

They are using swaptexture,

Post by RoyBatty » Thu Aug 20, 2015 12:16 am

They are using swaptexture, doesn't look too complicated. However you may need to check and make sure the player body/head supports texture swapping.


Image

chris114
Posts: 6
Joined: Wed Aug 19, 2015 4:30 pm

I'll keep at it.

Post by chris114 » Thu Aug 20, 2015 1:03 am

I'll keep at it.



chris114
Posts: 6
Joined: Wed Aug 19, 2015 4:30 pm

Scripting is had I can't

Post by chris114 » Sat Aug 22, 2015 3:27 pm

Scripting is had I can't figure it out. Can someone recommend a good scripting how to?



TrickyVein
Posts: 982
Joined: Fri Mar 29, 2013 3:04 pm

We've gathered a list of

Post by TrickyVein » Sat Aug 22, 2015 3:49 pm

We've gathered a list of useful modding links for learning how to do everything including scripting, here in the forums.



chris114
Posts: 6
Joined: Wed Aug 19, 2015 4:30 pm

Thank you.  

Post by chris114 » Sat Aug 22, 2015 3:54 pm

Thank you.


 



Post Reply