#How can we modify the script of a traditional card?

32 messages · Page 1 of 1 (latest)

dusk crow
#

I ask this to know how can i modify the card [[Deploy to the Front]] warhammer card to actually create the correct token?

noble furnaceBOT
dusk crow
#

How can we modify the script of a traditional card?

vital orchid
#

Does it not create a 1/1 white soldier?

dusk crow
#

Not this one

#

(I know it's the same card with the same effect etc)

vital orchid
#

I don’t think Forge cares that much when it comes to tokens. It sees both images as a “1/1 white solder from 40K.”
From what I know, there is no more distinction than that. And probably took the first card image available.

#

You can replace the token image in your cache/images/tokens folder and put the one you think is correct in there naming it correctly.

dusk crow
vital orchid
#

Theres nothing to mod in the card calling the token. It calls “a white 1/1 soldier” and from the set the card that called it was from being 40K.
Forge just is not designed to differentiate tokens that much… from what I know. It doesn’t care nor can it call image 002 vs image 004, because it doesn’t know anything more than “1/1 white soldier from 40K”

#

It would help if you look at the token images folder. How it’s named and how they’re used.

dusk crow
#

Oh I understand yeah i imagine a script like : pick w_1_1_soldier_40k or w_1_1_soldier2_40k or w_1_1_soldier3_40k

#

I know they are used like this

#

But just to keep the """"RP"""" it's should be the kriegs and not another soldier

#

I got the same problem with the food/clues/treasures token from doctor who where each token should represent a specific reference to a season.

#

And Forge just pick a random food token from doctor who like you say

vital orchid
#

I don’t believe they call a specific image like that.
To answer the question, you need to unzip the cardsfolder zip and look at the file for the specific card name.

dusk crow
#

Where it is ? Appdata folder ?

vital orchid
#

Scripts are also written to each unique card name, and don’t care what set the card name is from.
Its in the res folder where the game is installed.

dusk crow
#

I see I see... i guess haha

vital orchid
#

You might want to head over to #card-scripting to discuss the specific token image calling ability in scripts. It might be a reasonable request.

dusk crow
#

I found the folder

#

And the correct card

vital orchid
#

And they might tell you I have no idea what I’m talking about. 😉

dusk crow
#

Thanks a lot !

vital orchid
#

Yep

true cedar
#

It is possible just takes some steps. Since you have already found the card in the res folder can change the tokenscript$ w_1_1_soldier to something unique like w_1_1_solider1. Then open the w_1_1_solider and save it as a new copy to what whatever you renamed the token script to. Finally you got to find where the token images are stored and make sure you save the image of the token you want to use under the new name,

dusk crow
dusk crow
noble furnaceBOT