#How can we modify the script of a traditional card?
32 messages · Page 1 of 1 (latest)
How can we modify the script of a traditional card?
Does it not create a 1/1 white soldier?
It does but ... (I'm kinda maniac in my way of thinking) it's should create this one
Not this one
(I know it's the same card with the same effect etc)
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.
Yeah but ... I don't want to replace every card 😅
This is why i try to see if I can "mod" the original card to just create this specific one 1/1 white soldier.
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.
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
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.
Where it is ? Appdata folder ?
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.
I see I see... i guess haha
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.
And they might tell you I have no idea what I’m talking about. 😉
Thanks a lot !
Yep
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,
So sorry I've took ages to see your message. So I think I got what you mean. But maybe I also need to change the cardsfolder too right ?
It's could work but now I have another problem. For exemple the card [[Martial Coup]] exist in other edition if I change the cardsfolder to create a w_1_1_solider1 problem if this card come from another edition I have to create one for each type of edition right ?