ID:171276
 
I just finished my game and i dont know how to upload it to the game site.HELP
I also have anouther question, i want to have a mob out on grass or something and when you walk 1 square behind it a verb will come, like to shoot a laser.Does anyone know how to do that?There is also an attack that if you do -999999 it heals the person instead of hurting them.Can anyone help with that?
Tsonic112 wrote:
I just finished my game and i dont know how to upload it to the game site.HELP

try following the instructions found at http://bwicki.byond.com/ByondBwicki.dmb?NewHubEntry
and see if that helps
In response to Tsonic112
Tsonic112 wrote:
I also have anouther question, i want to have a mob out on grass or something and when you walk 1 square behind it a verb will come, like to shoot a laser.Does anyone know how to do that?

You can give that mob a verb and allow people in view(1) to use it.
mob/NPC/laser_shooting_guy
verb/Shoot_Laser()
set src in view(1) // This allows people players to use this verb.
view() << "[usr] shoots a laser with help from [src]."

Just remember that src is now the NPC and usr is the player who clicked the verb.


There is also an attack that if you do -999999 it heals the person instead of hurting them.Can anyone help with that?

Just check if the damage is less than zero, if it is make it zero.

p.s. I, personally, would like to know how that link digitalmouse gave works out for you. =)
In response to Tsonic112
Ack, it is quite hard to decipher your text :-P. So, just wondering but you have a completed game but you have trouble with simple things like this?
For your first question I'm guessing you mean something where if your within 1 space of the mob you can attack it, try this-
mob/verb/Attack(M as mob in oview(1))//Makes it so you can attack any mob within 1 space of the usr
//-Also oview makes it so the usr cannot attack the usr
usr << "You attacked [M]"//A msg to the usr saying he attacked the victim
M << "[usr] attacked you"//A msg to the victim saying he got attacked by the usr

For your second question if you have a var and you take away a negative number from it it will get added, for example a simple math problem- 5-(-2) = 7.
Just take away the - before the number.
In response to Artekia
eh, i didnt code alla it in, but you dont get what i mean, i mean like i want a lazer mob and when you get behind it a new verb will apear and you can shoot it.Or i could have a verb that always lets you shoot wherever you are but it onley goes like 5 sqrs and people can walk through it.
In response to YMIHere
digital mouse helped but where it says login URL where is a place i can get one so i can host it?
In response to Tsonic112
You don't need one to host, it's just used to link to permanent servers. Just run your game in Dream Seeker, click the host button in the bottom-right corner, pick your settings, and as long as you have your pager on public it will show up in the games live pages. =)
In response to Tsonic112
Ooo you mean like a laser gun??? If that is what you mean you can do somethin like this.
obj/LaserCannon
verb
Fire()
set src in view(1)
if(usr.y == src.y-1)
new/obj/Laser(src.loc)

obj/Laser
density = 1
New()
var/A = 5
while(A--)
sleep(3)
step(src,NORTH)
del src
Bump(atom/O)
O << "You got hit by a laser!"
In response to YMIHere
It doesnt come up on the screen, how do you make it?I have a LAN connection so what do i need to put as a location??Im really confused.PLEASE HELP!!
In response to Tsonic112
Tsonic112 wrote:
It doesnt come up on the screen, how do you make it?I have a LAN connection so what do i need to put as a location??Im really confused.PLEASE HELP!!

Have you drawn the icons for it?

Location? Lan?
You make no sense.
Seriously, revise your posting.
In response to Tsonic112
If you're on a network you'll probably have to do some port forwarding with your router. I think there was a page with help on this, but I'm not sure where. Try doing a forum search for network or something. =\

*Edit
Erm, it seems like you can open it in Dream Seeker. Use open file and find the .dmb file, or just choose Build >> Run from Dream Maker.
In response to Kholint
It doesnt come up on the screen, how do you make it?I have a LAN connection so what do i need to put as a location??Im really confused.PLEASE HELP!!

when i said it doessnt come up on screen i meant, you know the little box that comes up when you host it on the website?and there is a link that says join on it?thats the one, it doesnt come up when i try to host it.