Aller au contenu

Photo

Need help with a dart game script


  • Veuillez vous connecter pour répondre
18 réponses à ce sujet

#1
Eagles Talon

Eagles Talon
  • Members
  • 107 messages
Greetings,

I am by no means a scripter.  I can read them, sometimes.  But I know little to nothing about writing them.

I had this idea for a Dart Game script and was hoping someone can write this up - assuming all the elements detailed below can be done in a script.  What follows is the details as I thing the game would work. (sorry if the formatting gets a little quirky - copied from spreadsheet.






Dart Game














Script to be added to the "on hit" or "on damaged" script of a plot item Dart Board placeable
















Large Section

1-20 as numbered






Outer Ring


Double as numbered







Inner Ring


Triple as numbered






Outer Bull

25






Bull's Eye!

50






 







Factors determining if and where dart hits the board







3d20

range 3-60






Add Dex Bonusx2

range 0-12+






Add Int Bonus

range 0-6+






add random 1-10

range 1-10







Total range 4-88+













Roll to hit on 1 AC - always hits something - at least floor - verify weapon that hit is a standard non-magical dart


Roll a one and hit their own foot doing 1 HP damage - dart returned to inventory




 









Points





Miss

4 to 22

0

Drop single dart on floor below board


Large section

23 to 40

Random from 1-20

put single dart in board inventory


Outer Ring

41 to 48

Random from 1-20 x2

put single dart in board inventory


Inner Ring

49 to 57

Random from 1-20 x3

put single dart in board inventory


Outer Bull

58 to 64

25

put single dart in board inventory


Bull's Eye!

65 and over

50

put single dart in board inventory









Message broadcast on points from that dart and what area was hit








 




Any hit adds single dart to dartboard inventory





Any miss drops a single dart on the floor below board

#2
Eagles Talon

Eagles Talon
  • Members
  • 107 messages
Wow, talk about quirky formatting. Sorry. ;)

In the "Points" section. First entry is the range from the calc - if it falls into that
The second entry in Points is the points that hit is worth
the third entry is what happens as a result with the physical dart

#3
GhostOfGod

GhostOfGod
  • Members
  • 863 messages
Just a bit of curiosity....what if the player has weapon focus dart or epic weapon focus dart. Or even weapon specialization dart. Would/should these feats help the player as well?

#4
Eagles Talon

Eagles Talon
  • Members
  • 107 messages
I'm sure it would help them avoid getting hit in the foot at least. I had not considered it, but I suppose it would be a good RP hook at least. Sure, it should add a plus for those as well.

I have been thinking since posting about replacing the random 1-10 with something, just not sure what. The three d20's seem like enough random, adding in another 10 does not seem to fit. Dex score? Some other fixed number? Reflex Save? (althought that might get kind of high and would have to up all ranges) Suggestions welcomed. Eliminate that random 1-10 entirely?

#5
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
You may want to look at the dart game in Amulet of Zeran v2.2

#6
Eagles Talon

Eagles Talon
  • Members
  • 107 messages
As a general rule, I don't download or play modules. I play and dev on a persistent world. The concept of downloading a whole module and then tracking down and decyphering a game script is a bit ... well, just not looking forward to it is all. I probably will because you've got my curiosity piqued. Is the Dart game itself anywhere else? I'm pretty happy with the way I've got this set up, but if there's a better one.....

#7
ehye_khandee

ehye_khandee
  • Members
  • 855 messages
those are standard dart rules mostly - but you don't mention scoring of which there are several styles (games such as 301, 501, etc.) What were your thoughts on this?

Be well.Game on.
GM_ODA

P.S. I'm working on a pile of gambling games.

#8
Eagles Talon

Eagles Talon
  • Members
  • 107 messages
Well, on the scoring I thought to leave it open to the players. Scoring could be done any way they want as regards to what type of game. They could just take the best total from three darts etc. I know that's not thourough, but it provided some variety without it being a convoluted scripting process. Again suggestions welcomed.

#9
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages

ehye_khandee wrote...

those are standard dart rules mostly - but you don't mention scoring of which there are several styles (games such as 301, 501, etc.) What were your thoughts on this?

Be well.Game on.
GM_ODA

P.S. I'm working on a pile of gambling games.


It looks to me like the only thing you could play with the way he has his calc set up would be High-Score.   There is no aiming with at any region of the board.  You throw at the board and a good hit is either a tripple or a bull.  there is no way you could play a double in double out without being able to aim at the number you wanted.  OR even stright in Stright out 301 for that matter.  Heaven forbid you try and play something like shang-hi.


*********

Eagles Talon wrote...

As a general rule, I don't download or play modules. I play and dev on a persistent world. The concept of downloading a whole module and then tracking down and decyphering a game script is a bit ... well, just not looking forward to it is all. I probably will because you've got my curiosity piqued. Is the Dart game itself anywhere else? I'm pretty happy with the way I've got this set up, but if there's a better one.....


I was not suggesting that you steal the script from the module.  Would be simple enough to do, but if you did I would say to revamp it with some chat command options. 

The reasion to look at the game is to get ideas from it.  Just throw a dart at the board and get a good number on a good hit and a bad number on a bad hit is not the game of darts.  There are times when you will want to aim at and hit, lets say a, Heaven forbid, Double one.  


Ill download the module as soon as i get a change and move the starting area to the dart room.  Ill post back with a direct connect IP as soon as i get it up.

Modifié par Lightfoot8, 15 mars 2011 - 09:33 .


#10
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
Ok a test server is up.

DirectConnect: 70.185.174.129:5122

EDIT:Taken down.

Modifié par Lightfoot8, 17 mars 2011 - 11:12 .


#11
Eagles Talon

Eagles Talon
  • Members
  • 107 messages
I'll check that out probably Wednesday evening. Working now. :(

Thanks!

#12
zero-feeling

zero-feeling
  • Members
  • 144 messages
checked it out myself... and if it's up or the public... i'd like it... the whole mod in an .erf please :)

#13
Eagles Talon

Eagles Talon
  • Members
  • 107 messages
Agreed. Why reinvent the wheel? I'd also like to get the process available.

One question - can two PC's play against each other or is it only against an NPC?

#14
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
Yes a PC can play another PC.

#15
Eagles Talon

Eagles Talon
  • Members
  • 107 messages
Sooo...do you think this can be added to the Vault or e-mailed to those interested?

#16
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
before I ERF it. I wanted to try and get ahold of the module's auther to ask permission. I just have not had a chance yet.

#17
Eagles Talon

Eagles Talon
  • Members
  • 107 messages
Works for me. ;)

#18
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
It would appeare that the system has been on the vault since 2002.  This at least I think it is the same Dart Game.  The author is at least the same.

Darts Contest (Playable, 501 rules)

#19
Eagles Talon

Eagles Talon
  • Members
  • 107 messages
Excellent. You know, I just went through all 45 pages of prefabs in the vault and didn't see that there. I musta been blind. ;)

Anyway, I've downloaded it and am having a bit of trouble getting everything in place, but I still have a small bit to do, had to go to work. *crosses fingers* Hope it works, it's cool to be sure.