Well, i'm testing some stuff and one thing would be chocobo's when you mount or ride the chocobo(the blue one) i need the shallow water to be walk able... so i tried
/turf/shallow
density = 0
I just took a shot in the dark but it did not work... how would i change the already defined as a density of 1, shallow water turf to 0 (or able to walk on).
ID:175981
Feb 22 2003, 4:07 pm
|
|
In response to Koolguy900095
|
|
It's good to see you haven't used usr in Enter(), like a lot of people do. However, don't simply assume that if the entering object is a chocobo, then it can automatically enter. Instead, let it enter IF it would normally be able to enter.
<code>water icon = 'water.dmi' Enter(mob/P) if(istype(P,/mob/choccobos/water)) return ..() //Change is here else return 0 </code> You will need to make sure that the water is NOT dense, though. |
In response to Koolguy900095
|
|
Thanks alot. it works perfectly but i had to change it to
shallow icon = 'water.dmi' icon_state = "shallow" Enter(mob/P) if(usr.icon_state == "ridechocobo2") return 1 else return 0 I'll add you in the credits. i'm making a ff7 game, and i was testing differen't types of chocobo's so far shallow and yellow but soon to be more. |
In response to Cloudiroth
|
|
Cloudiroth wrote:
icon = 'water.dmi' No, no, no! No usr in Enter()! Read Lummox JR's article, usr Unfriendly, it will explain a lot. =) |
In response to Cloudiroth
|
|
KOOL! if you need any more help just ask me or post agin on these forums :p also change the return 1 to return ..()
it still works the same but ..() is better also change Enter(mob/P) to Enter() the mob/P was for what i showed you but since your not using the P you dont have to define it |
In response to Koolguy900095
|
|
That's EXACTLY what I said. Sheesh, I dunno, stealing my suggestions.... =P
|
In response to Crispy
|
|
i said it nicer :p
|
In response to Koolguy900095
|
|
HAHA... Any ways it's working now... and i'll give you both credit. and if you want gm... but i'm not publishing it untill it is really really good. meaning the whole ff7 world plus new worlds and new summons every thing you can think of plus more. any whay if you want me to make you gm just say so.:) It probibly doesn't mean much to you but it's the least i could do... i mean who doesn't love chocobos!
|
In response to Koolguy900095
|
|
Er... riiight. Whatever you say. o_0
|
In response to Cloudiroth
|
|
No need for credit or GM. I'm here to help. =)
|
In response to Crispy
|
|
me too (but in very small print u can give me credit)
|
In response to Koolguy900095
|
|
And I'm sure you'll casually accept the GM stuff. ;)
|
In response to tenkuu
|
|
no thats ok...but if he needs anymore help ill help
|
In response to tenkuu
|
|
Wow! this was more like a chat then forum... (that was fast responses!) I appreciate your humbleness but you'll be gms and get the credit anyway... Why, because I SAID SO!
hahaha... anyway thanks again! and tenkuu i'll give you gm powers just for... well nothing but just felt like it... no one else though. |
In response to Cloudiroth
|
|
WEll since you insist ill take the credit and GM :) also if u need quick help i got aim my sn is flabergasted8000
|
In response to Cloudiroth
|
|
Sheesh, you're handing out GM like candy. And you don't even know any of us. =P
Might I direct you to yet another BYONDscape article, The GM Curse? =) |
In response to Crispy
|
|
Nice article... I only have a few gms... it ruins a game when everyones a gm. that articles true but i dont plan on giving any more gm powers unless the really help... and me and the people i actually know that are gms are the ones there to help, others are given it for a token of appreciation. I wouldn't dare just give out gm status to any one... i gave tenkuu that because, well no reason just feltl like it... i wouldn't do it to any one else. that would be stupid. just felt like doing it.
|
In response to Cloudiroth
|
|
Fair enough, I suppose. =)
|
Just edit this and make sure it doesnt have a density defined in it anywhere