Steve Jackson Games - Site Navigation
Home General Info Follow Us Search Illuminator Store Forums What's New Other Games Ogre GURPS Munchkin Our Games: Home

Go Back   Steve Jackson Games Forums > Roleplaying > GURPS > GURPS Character Assistant

Reply
 
Thread Tools Display Modes
Old 04-05-2016, 03:06 AM   #11
Armin
GCA Prime
 
Armin's Avatar
 
Join Date: Aug 2004
Location: Portland, OR
Default Re: Modifying Dice + Adds Rule

Quote:
Originally Posted by Boge View Post
Old thread, I know.

How do I get this to work? How do I create a data file?

Can you do a step by step explanation on how to set this up?

I copied everything into a txt file and renamed it to .gdf. I loaded it up after all the other data files. I resynced my character, but it doesn't change 1d+5 to 2d+1. It changes it to 1d+3. It just drops everything over 3 down to 3.
You don't mention what you copied or what you are trying to do. We need to know that. Did you include the required header info in the file? Please check the FAQ for info on creating data files, and there are docs and help on my site for greater detail.

If you provide specifics, we can give more detailed answers.

Edit: on mobile, sorry for being terse.
__________________
Armin D. Sykes | Visit my GCA5 blog for updates and previews. | Get GURPS Character Assistant 5 now at Warehouse 23.
Armin is offline   Reply With Quote
Old 04-06-2016, 03:38 PM   #12
Boge
 
Boge's Avatar
 
Join Date: Jul 2015
Default Re: Modifying Dice + Adds Rule

I copied the text in the box from the second post into a .txt file and renamed it to a .gdf file. I loaded it in the data files in GCA, but there is no box to check.

I'm looking into whatever information I missed, but it's not clear to me.
Boge is offline   Reply With Quote
Old 04-06-2016, 04:12 PM   #13
Armin
GCA Prime
 
Armin's Avatar
 
Join Date: Aug 2004
Location: Portland, OR
Default Re: Modifying Dice + Adds Rule

Quote:
Originally Posted by Boge View Post
I copied the text in the box from the second post into a .txt file and renamed it to a .gdf file. I loaded it in the data files in GCA, but there is no box to check.

I'm looking into whatever information I missed, but it's not clear to me.
The text from that box is not a complete data file, it's just the one section needed to implement a specific change.

As I suspected, you are missing the header information; without it, GCA won't use the data from the file correctly, because it's not recognized as a valid data file.

Including a simple header, your data file should look something like this:

Code:
Version=3
* The version information above MUST be the first line of the data file
Program=4.0.423

************************************************************************************************************************
[ConvertDice]
************************************************************************************************************************
* Convert damage bonus into extra dice
*
* Starting this section will clear any existing
* convert dice items
*
* break()	  'if the bonus is this Value or more ...
* adddice()	'... add this Value to the damage dice ...
* subtract()  '... then subtract this amount from the bonus
*
* you need to start with the biggest break you want to deal with,
* and work down to the smallest, because GCA doesn't sort these either

** Converts +7 into +2d
break(7),adddice(2),subtract(7)

** Converts +6 into +2d-1
break(6),adddice(2),subtract(7)

** Converts +5 into +1d+1
break(5),adddice(1),subtract(4)

** Converts +4 into +1d
break(4),adddice(1),subtract(4)

** Converts +3 into +1d-1
break(3),adddice(1),subtract(4)
If you put the header info at the top of your data file, or copy the entire block into it, ensuring that the Version=3 bit is on the first line, then GCA should read it correctly.

The other steps you took, load order and resync, were correct, so you were good there. Do that again if GCA reads this file, and you should have the data you need for the character.

The check box mentioned above is in Options, on the Current Character Options tab. It's called "Use Optional Rule Modifying Dice + Adds (see p. B269)" and it will need to be checked, too, in order for this to work.
__________________
Armin D. Sykes | Visit my GCA5 blog for updates and previews. | Get GURPS Character Assistant 5 now at Warehouse 23.
Armin is offline   Reply With Quote
Old 04-06-2016, 04:32 PM   #14
Boge
 
Boge's Avatar
 
Join Date: Jul 2015
Default Re: Modifying Dice + Adds Rule

That works. Thanks!
Boge is offline   Reply With Quote
Old 04-06-2016, 05:42 PM   #15
Armin
GCA Prime
 
Armin's Avatar
 
Join Date: Aug 2004
Location: Portland, OR
Default Re: Modifying Dice + Adds Rule

You're welcome!
__________________
Armin D. Sykes | Visit my GCA5 blog for updates and previews. | Get GURPS Character Assistant 5 now at Warehouse 23.
Armin is offline   Reply With Quote
Reply

Tags
modifying dice + adds

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Fnords are Off
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 05:12 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.