Damage...

For questions relating to POL scripting (not necessarily related to WoD)

Moderators: Siobhan, Sebastian, Drocket

Damage...

Postby myst on Thu Aug 28, 2003 4:07 pm

Hello, again.
Your forum is very good, because you are answering very quickly. Thank you for that.
Anybody knows in which way damage in combat/weapons/itemdesc.cfg is calculated. For e.x.: 9d6 - damage is dice rolling from 9 to 6? Or it is a hex value? There are a lot of such examples in many cfg files.If I want my bow to do more damage what shall I do?
And now i want to ask some questions about scripting and WoD-scripts:
1. Do the scripts which you alowed for downloading are really exact WoD-scripts?(Just for interest)
2. The problem which I posted in some my post have continued...:( My guards kill good-alignment NPC's. No matter how to set them through a ".createnpc" command or through a ".npc" command? Please help...
3. If I want to make poison arrows can i make them to reffer to pkg/rogueskills/poisoning/poisondamage.ecl? Or I have to make my own script?
4. Can I make a different projectile bow? I mean to make a bow which can fire with for e.x firearrows and arrows?
5. I have such problem with your proffesional dye tub:
When I'm choosing standart color for e.x black(dark-grey), a menu appears with different colors, but without any black, grey and white color. How can i change it?
6. Why does everywhere in healing for Pol095 you can never find bloody bandages??? I have never found a healing script, where bandages become bloody bandages, they just dissapear. I of course made such script, but there is always a bloody bandage in desc, but there isn't in scripts.
Sorry for that I ask to many questions, but on Russian sites I usually have to wait for 3 days minimum :(.
P.S: sorry for my english, but when I'm writing these posts I usually forget how it is in English :).
Thanks for future answers.(I don't know how it is correctly in english, but I hope you will understand me.)
MySt.
myst
Newbie
 
Posts: 13
Joined: Fri Aug 22, 2003 11:50 am
Location: Russia, Moskow region, Sergiev Posad.

Re: Damage...

Postby Lyl on Thu Aug 28, 2003 7:28 pm

myst wrote: Anybody knows in which way damage in combat/weapons/itemdesc.cfg is calculated. For e.x.: 9d6 - damage is dice rolling from 9 to 6?

that would be the total from 9 die each with six sides. So on average it'd do about 3.5 * 9 or 32 damage.
1. Do the scripts which you alowed for downloading are really exact WoD-scripts?(Just for interest)

No, there is a secret make Lyl unlucky script that Drocket leaves out of the releases. =P
Actually I'm curious about that question too.
2. The problem which I posted in some my post have continued...:( My guards kill good-alignment NPC's. No matter how to set them through a ".createnpc" command or through a ".npc" command? Please help...

Are you using the latest version of the scripts?
Did you change the guard ai or anything else? This doesn't happen to me so I don't know whats up. Are you using the townguard template for your guards? Rogue knights aren't supposed to be guards after all =P
3. If I want to make poison arrows can i make them to reffer to pkg/rogueskills/poisoning/poisondamage.ecl? Or I have to make my own script?

I don't think you have to make any referals or even any new scripts necessarily. I think all you have to do is add bow objtypes too poisoning_items.cfg and that will allow people to poison their bows and make poison hits. Or you could make a whole new bow and script for it if you wanted.
4. Can I make a different projectile bow? I mean to make a bow which can fire with for e.x firearrows and arrows?

Of course you can! Check out weapons\itemdesc.cfg for the bow definitions you can base your own weapons off of.
5. I have such problem with your proffesional dye tub:
When I'm choosing standart color for e.x black(dark-grey), a menu appears with different colors, but without any black, grey and white color. How can i change it?

The way the scripts work is that you need 70 tailoring to access all the colors. If you don't want that just look in the script and take that check out.
6. Why does everywhere in healing for Pol095 you can never find bloody bandages??? I have never found a healing script, where bandages become bloody bandages, they just dissapear. I of course made such script, but there is always a bloody bandage in desc, but there isn't in scripts.

We simply do not have bloody bandages on Wod. I don't know, maybe too many time of the month jokes. If you want to change it for your shard go right ahead it wouldn't be a very hard change to make.
[/quote]
Lyl
Regular Poster
 
Posts: 109
Joined: Fri Oct 11, 2002 1:04 am

Re: Damage...

Postby Drocket on Sat Aug 30, 2003 1:21 am

myst wrote:9d6 - damage is dice rolling from 9 to 6? Or it is a hex value?

Just to expand a bit more on what Lyl said: 9d6 would mean to roll 9 6-sided dice and add up their value. The minimum value would be 6 (rolling 9 1's), and the maximum value would be 45 (rolling 9 6's.) The average, as Lyl said, would be about 32. To increase that, you could change that to 10d6 (10 6-sided dice), or 9d7 (9 7-sided dice. Do they even exist? :P)

1. Do the scripts which you alowed for downloading are really exact WoD-scripts?(Just for interest)

Pretty much, yep. Obviously, there's a few files that I leave out (the data, for instance, and gms.cfg, since releasing that would give out all the GM accountnames, and that would be bad :) ) Other than that, though, its exactly what you see on WoD.

2. The problem which I posted in some my post have continued...:( My guards kill good-alignment NPC's. No matter how to set them through a ".createnpc" command or through a ".npc" command? Please help...

Haven't seen this one...

3. If I want to make poison arrows can i make them to reffer to pkg/rogueskills/poisoning/poisondamage.ecl? Or I have to make my own script?
4. Can I make a different projectile bow? I mean to make a bow which can fire with for e.x firearrows and arrows?

Making poison arrows would be pretty difficult. For the easiest way to do it, you'd have to make a special type of arrow (similar to firearrows) and a special type of bow (again similar to the fire bow) to fire that type of arrow. A more complicated way to do it is to script ranged combat (instead of using the default combat routines). At that point, you should be able to make a bow that can fire multiple types of arrows. I'm going to do this myself eventually...

5. I have such problem with your proffesional dye tub:

If you're online as a GM, then you should be able to skip the skillcheck that Lyl mentioned. I think... You could try increasing your tailoring skill and see if that works.

[quote6. Why does everywhere in healing for Pol095 you can never find bloody bandages?[/quote]
Why in the heck would you want bloody bandages? icky, icky, icky :P
Drocket
Site Admin
 
Posts: 820
Joined: Mon Oct 07, 2002 2:54 am

Postby Trakas on Sat Aug 30, 2003 7:52 am

Just to expand a bit more on what Lyl said: 9d6 would mean to roll 9 6-sided dice and add up their value. The minimum value would be 6 (rolling 9 1's), and the maximum value would be 45 (rolling 9 6's.) The average, as Lyl said, would be about 32. To increase that, you could change that to 10d6 (10 6-sided dice), or 9d7 (9 7-sided dice. Do they even exist? )


um Droket hate to correct you but 9d6 minimum is 9 not 6 :wink:
Trakas
Regular Poster
 
Posts: 125
Joined: Wed Apr 23, 2003 4:42 pm
Location: Canada

Thank you...

Postby myst on Mon Sep 01, 2003 11:51 am

Thanks, I've understood this.
And I think my guards kill NPCs because I have used an old world with old guards & probably those scripts conflicated.
MySt.
myst
Newbie
 
Posts: 13
Joined: Fri Aug 22, 2003 11:50 am
Location: Russia, Moskow region, Sergiev Posad.

Postby Maddox on Mon Sep 01, 2003 1:22 pm

9d6 would mean to roll 9 6-sided dice and add up their value. The minimum value would be 6 (rolling 9 1's), and the maximum value would be 45 (rolling 9 6's.)


You were unlucky in both guesses =)

Min is 9 (9x1)
Max is 54 (9x6)


=)
Maddox
Jr. Regular Poster
 
Posts: 98
Joined: Fri Mar 28, 2003 1:49 pm
Location: Finland


Return to Scripting Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron