Show-case of a simple numerical task in Julia 1.0.
GURPS always offered the flexibility to create the setting I wanted and the characters I wanted without driving myself further insane. There is always a need for a GM, and for the GM to be willing to say NO. That great flexibility in character creation can and will bite the unwary in the ass. Sometimes living in the UK makes it difficult to get RPG items compared to when I lived in the States. One of those items is a Hex Grid Mat to use for GURPS. The Chessex ones can cost up to £50.00 or more after shipping. I’ve seen some others for £35.00 so I was getting frustrated at the lack of Battlemaps for GURPS.
This is a normalized version of the Unicorns found in Gurps Fantasy and Banestorm, adjusted to be a useful ally for a PC in Dungeon Fantasy (points increased to 187, making them a 75% ally, Increased IQ and ST). Capable of fighting with horn, bite or kick, and then healing those who meet its strict standards after, it is a potent ally indeed. GURPS Compendium I: Character Creation is the first of two compendia we'll be releasing for GURPS. The second volume, GURPS Compendium II: Combat and Campaigns, will be released in November, 1996. Originally, we planned to publish just one 192-page Compendium that would include everything. Back in 1994.
LuxaBite, O-Bite and O-Bite Scan - our products for bite registration. Because it's the perfect hardness. Learn more about our products here. Jan 05, 2016 By popular request here's my review of GURPS Magic. Principles of Magic: A very important chapter that will allow you to understand and use all the rest. Chapter 2: Magic Items Chapter.
Problem: Find optimal values of Strength, Dexterity and Health for a duel in GURPS RPG system given point value for each character statistic and penalty/reward for % of duels won.
Gurps How To Figure Bite Dmg Download
Solution: Monte-Carlo simulation where Strength, Dexterity and Health are assigned at random (with randomness determined by a parameter) and given number of duels is conducted to calculate % of duels won.
What does the script do?
First have a look at output of duelExample.jl
it will give you a taste of how one duel actually looks like:
Gurps How To Figure Bite Dmg In Mac
Then run the simulation itself and see how it finds the best distribution of stats for the gun fight:Run
You will need Julia 1.0. Refer to Julia Webpage for the binaries or use your package manager of choice. There are no dependancies.It will conduct a simulated gun fight according to simplified GURPS 4ed rules 1000 times for each iteration and each iteration it will randomly change the stats of the first of dueling characters. It will accept the change only if it yielded better results (measured by % of wins and the total cost of the character's stats). The sim is ruled by the following params, which you can tweak by editing the main.jl
script.
GURPS Rules Needed For This Simulation
GURPS 4ed rules used for this simulation:
- Character has 4 basic stats:
Intelligence
,Dexterity
,Health
,Strength
. In this sim we use onlyDex
,Health
andStrength
, Intelligence plays no role in gun combat - Character can also have skills, in GURPS there is much more rules for it but for this simulation we need only
Pistols
. Value of the skill added to the value of its base stat (Dexterity
in this case) is the threshold for the test. - The test that determines if you managed to hit a target is a sum of rolling 3 D6 dice. If you roll at or below the threshold (see previous point) you passed the test.
- But not so fast! If you shoot at someone, in GURPS they can dodge. Dodge is also determined a 3x D6 test but is based on the following formula:
- Who goes first in the duel? The one with higher
basicSpeed
. See the snippet above for how it is calculated from the base stats. - What happens when your opponent shot at you, passed the test and you failed to dodge? You receive damage! To determine how much, you roll number of D6 dice specific to your weapon.
- Your number of starting
Hit Points
(and also maxHit Points
you can have) equals yourStrength
. - When you get to at or below
1/3
of your baseHit Points
your character gets a special state:reeling
. When you are reeling yourdodge
is halved. - When you get below 0
Hit Points
you need to start rolling a tests against yourHealth
if you can still fight. Again this is a sum of 3x D6 and needs to be at or below yourHealth
. Once failed you areDisabled
and the duel is over.