Race Specific Clothing
- cedarbridge
- Joined: Fri May 23, 2014 12:24 am
- Byond Username: Cedarbridge
Race Specific Clothing
Is there currently a var or similar flag for clothing/wearable items that is used to designate that it can be only worn by a certain type of mob?
Example: Plasmaman suits only fit plasmamen.
I haven't looked yet but I presume that the special lizard feet use an exclusion instead of an allowance for shoes.
Example: Plasmaman suits only fit plasmamen.
I haven't looked yet but I presume that the special lizard feet use an exclusion instead of an allowance for shoes.
- PKPenguin321
- Site Admin
- Joined: Tue Jul 01, 2014 7:02 pm
- Byond Username: PKPenguin321
- Github Username: PKPenguin321
- Location: U S A, U S A, U S A
Re: Race Specific Clothing
slope
i play Lauser McMauligan. clown name is Cold-Ass Honkey
i have three other top secret characters as well.
tell the best admin how good he is
i have three other top secret characters as well.
tell the best admin how good he is
Spoiler:
- MrEousTranger
- Joined: Thu May 19, 2016 11:54 pm
- Byond Username: Mr.EousTranger
- Location: Stuck in 2005.
Re: Race Specific Clothing
NOT OKAYcedarbridge wrote: Example: Plasmaman suits only fit plasmamen.
I once killed a plasma man target as traitor, stole his suit
And equipped a voice changer and impersonated him the entire round... untill I accidently blew up chemistry and died, but none the less. This idea would ruin great situations like this.
EDIT: shit sorry realized this wasn't the ideas forum, move along
I don't play often but when I do I'm Kyp Astar normally a sec role unless I'm bored and go assistant.One person on this planet wrote:Wow you're funny and original Eous
-
- Github User
- Joined: Fri Apr 18, 2014 1:50 pm
- Byond Username: Xxnoob
- Github Username: xxalpha
Re: Race Specific Clothing
poor tractionPKPenguin321 wrote:slope
- oranges
- Code Maintainer
- Joined: Tue Apr 15, 2014 9:16 pm
- Byond Username: Optimumtact
- Github Username: optimumtact
- Location: #CHATSHITGETBANGED
Re: Race Specific Clothing
nothing currently exists afaik
-
- Github User
- Joined: Tue Apr 15, 2014 11:41 pm
- Byond Username: Incoming
- Github Username: Incoming5643
Re: Race Specific Clothing
There is a system I highly discourage using for making sprites look different on specific races (look at boxing shorts) but nothing that locks clothing to a race.
I really discourage that kind of mechanic though.
I really discourage that kind of mechanic though.
Developer - Datum Antags: Feburary 2016
Poly the Parrot - All Seeing Bird Transcends Universe, Joins Twitter.
Kofi - Make A Poor Life Choice
Good ideas backed by cruddy code since 2012!™
Poly the Parrot - All Seeing Bird Transcends Universe, Joins Twitter.
Kofi - Make A Poor Life Choice
Good ideas backed by cruddy code since 2012!™
- cedarbridge
- Joined: Fri May 23, 2014 12:24 am
- Byond Username: Cedarbridge
Re: Race Specific Clothing
I asked a coding question and gave an example of how it would work. I didn't say the example is what I'm doing. Cripes.PKPenguin321 wrote:slope
- oranges
- Code Maintainer
- Joined: Tue Apr 15, 2014 9:16 pm
- Byond Username: Optimumtact
- Github Username: optimumtact
- Location: #CHATSHITGETBANGED
Re: Race Specific Clothing
this man fucks birds
- MisterPerson
- Board Moderator
- Joined: Tue Apr 15, 2014 4:26 pm
- Byond Username: MisterPerson
Re: Race Specific Clothing
Fake newsoranges wrote:this man fucks birds
I code for the code project and moderate the code sections of the forums.
Feedback is dumb and it doesn't matter
Feedback is dumb and it doesn't matter
- Steelpoint
- Github User
- Joined: Thu Apr 17, 2014 6:37 pm
- Byond Username: Steelpoint
- Github Username: Steelpoint
- Location: The Armoury
Re: Race Specific Clothing
Alternative is that if you wear a piece of clothing not intended for your characters species that you get a message in your text screen telling you how uncomfortable the suit/whatever is, and you suffer a minor movement slow down.
Otherwise, I disagree with restricting clothing options to race.
Otherwise, I disagree with restricting clothing options to race.
- Ricotez
- Joined: Thu Apr 17, 2014 9:21 pm
- Byond Username: Ricotez
- Location: The Netherlands
Re: Race Specific Clothing
MimicFaux wrote:I remember my first time, full of wonderment and excitement playing this game I had heard so many stories about.
on the arrival shuttle, I saw the iconic toolbox on the ground. I clubbed myself in the head with it trying to figure out the controls.
Setting the tool box, now bloodied, back on the table; I went to heal myself with a medkit. I clubbed myself in the head with that too.
I've come a long ways from asking how to switch hands.
Spoiler:
- Thunder11
- In-Game Admin
- Joined: Fri Apr 18, 2014 12:55 pm
- Byond Username: Thunder12345
- Github Username: Thunder12345
- Location: Scotland, UK
Re: Race Specific Clothing
Pay attention, this is the coding forum, not ideas. This thread is not about an idea it's a question about how to do a code thing.cedarbridge wrote:I asked a coding question and gave an example of how it would work. I didn't say the example is what I'm doing. Cripes.PKPenguin321 wrote:slope
Spoiler:
- Qbopper
- Joined: Fri Jul 10, 2015 6:34 pm
- Byond Username: Qbopper
- Github Username: Qbopper
- Location: Canada
Re: Race Specific Clothing
It's getting annoying how no one is reading these posts, this isn't "should we add race specific clothing?"Thunder11 wrote:Pay attention, this is the coding forum, not ideas. This thread is not about an idea it's a question about how to do a code thing.cedarbridge wrote:I asked a coding question and gave an example of how it would work. I didn't say the example is what I'm doing. Cripes.PKPenguin321 wrote:slope
It's "is there a method in the code for race specific clothing?"
Limey wrote:its too late.
-
- Joined: Sat Apr 19, 2014 5:19 am
- Byond Username: Gun Hog
Re: Race Specific Clothing
Possibly a flag or list var in each species datum with clothing they can wear. Such as FIT_LIZARD flag that would be given to both Ashwalkers and station lizards. FIT_PLASMAMAN for plasmamen, etc. Clothing would have this same var. So, if someone wants to wear a certain suit, you check that the mob's fitting flag matches at least one flag on the item. Example: For a miner suit: fittings = FIT_HUMAN|FIT_LIZARD would let lizards and humans wear it, but NOT any species lacking a FIT_HUMAN or FIT_LIZARD flag. You can also do a list, such as fittings = list("human", "lizard").
- cedarbridge
- Joined: Fri May 23, 2014 12:24 am
- Byond Username: Cedarbridge
Re: Race Specific Clothing
/vg/ uses a VOX_SHAPED and GREY_SHAPED in roughly the same way as that.Gun Hog wrote:Possibly a flag or list var in each species datum with clothing they can wear. Such as FIT_LIZARD flag that would be given to both Ashwalkers and station lizards. FIT_PLASMAMAN for plasmamen, etc. Clothing would have this same var. So, if someone wants to wear a certain suit, you check that the mob's fitting flag matches at least one flag on the item. Example: For a miner suit: fittings = FIT_HUMAN|FIT_LIZARD would let lizards and humans wear it, but NOT any species lacking a FIT_HUMAN or FIT_LIZARD flag. You can also do a list, such as fittings = list("human", "lizard").
Alternatively to excluding equips by those lacking the flag, I'd think it might be interesting to make a two part notice. "The strange suit doesn't fit you very well!" and "<name>'s suit doesn't seem to fit poorly." It still lets you wear the disguise, but (like real disguises made up on the spot) its imperfect. I presume something like that could also be done with the same flags?
Who is online
Users browsing this forum: No registered users