I have a character selecter, and so does my freind Pmac, now on mine, whatever gender you got ur key with, u use that icon, but on his, there is a pop up window, in other words, I need a class selecter that works, my current one is:
orld
mob = /mob/create_character //set the default mob to create_character, as to make the selection stuff happen
view = 7 //I prefer 7...
turf = /turf/grass
mob/monkey //we are playing God here! let's create a monkey
icon = 'monkey.dmi' //the monkey will look like this!
verb //the monkey is quite primitive, so the things it can do are limited
//the things it can do are...
yell() //yell for no reason!
world << "[usr] yells like a monkey!"
run_about() //run around, monkily!
world << "[usr] runs around mindlessly!"
philosophize() //very primitive philopholizations!
world << "[usr] philosophizes! \He thinks, 'Munkee go woo hoo!'"
mob/human
icon = 'human.dmi' //this is what it will look like. quite ugly, no?
verb //the humans are more intelligent than the primitive monkies
speak(msg as text)
world << "[usr] says, in a sophisticated voice, '[msg]!'" //very sophisticated!
walk_around() //they can walk erect!
world << "[usr] strolls around leisurely."
philosophize() //they have much more developed brain power - they can philosophize meaningful things!
world << "[usr] wants to debate philosophical matters!"
this is not Pmac's. This is mine, from a demo, he got his from a tutorial, I jsut need a selector that works
ID:178451
May 11 2002, 4:27 am
|
|
In response to Mellifluous
|
|
mob/creating_character
Login() ..() world << "[usr] has just entered '[world.name]'!" src.CreateCharacter() proc/CreateCharacter() var/char_name = input("Please put your character name in here.","Name") as null|text var/mob/new_mob var/char = input(src,"Pick your character!") in list("Human","Monkey","None") if(char_name == "") src.Logout() if(char == "Human") new_mob = new/mob/human if(gender == "Female") new_mob = new/mob/monkey if(gender == "None") src.Logout() new_mob.name = char_name src.client.mob = new_mob usr.loc = locate(1,1,1) Tiny Chao Chatroom.dm:30:error:/mob/human:undefined type path Tiny Chao Chatroom.dm:32:error:/mob/monkey:undefined type path now what??? |
In response to Mellifluous
|
|
mob/creating_character
Login() ..() world << "[usr] has just entered '[world.name]'!" src.CreateCharacter() proc/CreateCharacter() var/char_name = input("Please put your character name in here.","Name") as null|text var/mob/new_mob var/char = input(src,"Pick your character!") in list("Human","Monkey","None") if(char_name == "") src.Logout() if(char == "Human") new_mob = new/mob/human if(gender == "Female") new_mob = new/mob/monkey if(gender == "None") src.Logout() new_mob.name = char_name src.client.mob = new_mob usr.loc = locate(1,1,1) Tiny Chao Chatroom.dm:30:error:/mob/human:undefined type path Tiny Chao Chatroom.dm:32:error:/mob/monkey:undefined type path now what??? |
In response to Airjoe
|
|
I really need this, please help:
mob/creating_character Login() ..() world << "[usr] has just entered '[world.name]'!" src.CreateCharacter() proc/CreateCharacter() var/char_name = input("Please put your character name in here.","Name") as null|text var/mob/new_mob var/char = input(src,"Pick your character!") in list("Human","Monkey","None") if(char_name == "") src.Logout() if(char == "Human") new_mob = new/mob/human if(gender == "Female") new_mob = new/mob/monkey if(gender == "None") src.Logout() new_mob.name = char_name src.client.mob = new_mob usr.loc = locate(1,1,1) Tiny Chao Chatroom.dm:30:error:/mob/human:undefined type path Tiny Chao Chatroom.dm:32:error:/mob/monkey:undefined type path |
In response to Airjoe
|
|
Airjoe wrote:
I really need this, please help: Stop posting all of this we only need it once. To fix this change it to how you have defined your mobs. IE; mob/player These get put as: /mob/player/lee Get what I mean by this? Well, the point is to change the /mob/human --Lee |
In response to Mellifluous
|
|
I see, so I have to out the name, then the icon, and the icon_state? is that it? then it will work right
|
In response to Airjoe
|
|
Airjoe wrote:
I see, so I have to out the name, then the icon, and the icon_state? is that it? then it will work right I will make a little snippet for you to work from ok... |
In response to Mellifluous
|
|
ok, the game is a chao chatroom,basically, I just want so you can pick what color chao you want in the begining
|
In response to Airjoe
|
|
Airjoe wrote:
ok, the game is a chao chatroom,basically, I just want so you can pick what color chao you want in the begining Here you go, hope this gets you into how things work: world --Lee |
In response to Mellifluous
|
|
Thank you sooooo Much, and do you have AIM? what is ur sn?
|
In response to Airjoe
|
|
Airjoe wrote:
Thank you sooooo Much, and do you have AIM? what is ur sn? Lebaria |
Try this:
Hope that helps.
--Lee