Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ Missile system
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Fri 14 Oct 2005 09:54 AM (UTC) |
Message
| As i see it the missile system only works from other rooms or once in the same room, as the target. I would like to change it so you can just continuly fire arrows at a target regardless of how close they are to you, any ideas how i would do that? |
Everything turns around in the end | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #1 on Fri 14 Oct 2005 12:56 PM (UTC) |
Message
| I'm not sure I understand "only works from other rooms or once in the same room". What else is there to work from? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Reply #2 on Fri 14 Oct 2005 09:35 PM (UTC) |
Message
| the same room? but the way in smaugfuss it works you can stand next to a person fire once, and then have to go melee... I wanted to change it and i did, I just commented out the part that checks if the player is fighting or not. Lucky guess on my half. |
Everything turns around in the end | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #3 on Fri 14 Oct 2005 09:45 PM (UTC) |
Message
|
Quote: As i see it the missile system only works from other rooms or once in the same room
You already said "the same room", so I still don't see what else there is. But you figured it out? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Reply #4 on Fri 14 Oct 2005 10:51 PM (UTC) |
Message
| ok lets say bob is to the east, you can fire east bob i think is the syntax could be wrong, or you could go east and fire bob, but if you do that later of the two you'd only get one shot before going to hand tp hand and no longer be able to fire arrows at said target, so i commented out...
{
if( who_fighting( ch ) == victim )
{
send_to_char( "They are too close to release that type of attack!\n\r", ch );
return rNONE;
}
which allowed my player to continuely fire missiles at said target |
Everything turns around in the end | Top |
|
Posted by
| Specter
(10 posts) Bio
|
Date
| Reply #5 on Sat 15 Oct 2005 01:17 AM (UTC) |
Message
| The game I'm coding has somthing like this, I just have a target varible, so the player just targets first, then everything is checked (distance, distance it can shoot, etc) and if it's good it fires. It's some pretty impressive stuff to play with, but pretty damn simple if you see the code behind it. | Top |
|
Posted by
| Gatewaysysop2
USA (146 posts) Bio
|
Date
| Reply #6 on Sat 15 Oct 2005 01:18 AM (UTC) |
Message
| Erm ...
Am I the only person wondering just what logical sense it makes to be able to fire, say, a cross bow, repeatedly at someone when they're engaging you in melee combat? That just doesn't sound right to me. Seems like its right up there with wielding a sword, a shield, a dagger and holding a staff at the same time. Then again, maybe that's just me. LOL.
That aside, maybe you should adjust the chances of actually hitting someone downward when the target is in melee combat with the user of the missile weapon? Just a suggestion for game balance, but to each his own. ;)
|
"The world of men is dreaming, it has gone mad in its sleep, and a snake is strangling it, but it can't wake up." -D.H. Lawrence | Top |
|
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Reply #7 on Sat 15 Oct 2005 06:26 AM (UTC) |
Message
| if you were standing two feet in front of me, and i had a 4 four shot revolving crossbow, your butt would be grass. However it is a prove fact that you can rapidly fire a bow and arrow at someone, while moving, or in close range. Just takes skill and practice. Granted I know nothing of coding just a little things to do worthless things but... atleast I'm trying... *mumble* |
Everything turns around in the end | Top |
|
Posted by
| Specter
(10 posts) Bio
|
Date
| Reply #8 on Sat 15 Oct 2005 04:18 PM (UTC) |
Message
| Heh it did strike me kind of odd he wanted to use it with a crossbow/bow and arrow thing...thats just odd to think about. I have mine set up with modern day guns, good shit, very good shit. | Top |
|
Posted by
| Gatewaysysop2
USA (146 posts) Bio
|
Date
| Reply #9 on Sun 16 Oct 2005 03:55 AM (UTC) |
Message
|
Quote:
if you were standing two feet in front of me, and i had a 4 four shot revolving crossbow, your butt would be grass.
Heh. Yeah, that makes all the sense in the world except for maybe the fact that your arm is already longer than 2 feet by itself (unless you're some kind of freak) and when you tack the length of your weapon on top of that, the physical impossibility of putting it between you and someone two feet away starts to paint a silly picture.
Like I said, to each his own. I know realism doesn't mean the same to everyone and I'm not trying to say what's right or wrong. Just sayin' what seems realistic to me and what doesn't, that latter of which includes your example.
Do what you like though, it's your system and your call. One of many perks to running your own MUD. ;)
|
"The world of men is dreaming, it has gone mad in its sleep, and a snake is strangling it, but it can't wake up." -D.H. Lawrence | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
26,989 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top