|
Post by otaking on Oct 7, 2019 23:48:10 GMT
Hi, this is my first thread here.
I'm making a custom set for a RPG, to make powers more accesible. Since this is my first time making a template, i used "magic-m15-future.mse-style" as my base template and started tweaking it to match my needs.
Playing with the design i found that the "Future node" field of the "Future Sight" template (The circle logo in the upper left corner representing the card type) served me very well for my cards, and proceeded to expand it with my custom values... It's important to note that there is no longer a correlation between the "future node" and the card type.
My problem is that it's very tedious that the card list cannot be sorted by that field, since it's one of the most important ones... I thought of 2 solutions: 1) Find some way to make the editor see that field. The problem with that could be that it isn't possible without modifying the core program. There are a lot of fields to filter, and there is even one called "Type Symbol", that always shows "multitype". Just found that this is returned by a function named "typesymbol_for(type)", that returns the value for the card type. The problem is that i don't know how to refer to the "future node" field. If that were possible, my problem would be solved. 2) Script that field value to another field, visible by the card list This could be simpler than the previous option, but i'm not that used to this type of scripting...
Sorry for the long post, but i've been fighting with these for a few days and already getting frustrated...
Thanks in advance!
|
|
|
Post by cajun on Oct 8, 2019 15:43:13 GMT
you can't do this with extra card fields. you'd have to add it to the default card fields for the entire game by adding them to the card_fields file in your .mse-game folder.
|
|
|
Post by otaking on Oct 9, 2019 1:53:31 GMT
Yes! That was it! Thank you!
|
|
|
Post by arthurxiv on Oct 9, 2019 8:37:43 GMT
otaking: If you manage to do this please explain in a few lines how did you do it, i'm curious about it.
|
|
|
Post by otaking on Oct 17, 2019 0:53:53 GMT
I made it a while ago and kinda messy, but i'll write what i remember. The Future Node was moved from an extra card field to a main card field, replacing the type symbol, but because it wasn't useful for me. I assume that they could coexist. Then in the "card_fields" file in the magic.mse-game added this: card field: type: choice name: future node card list visible: true show statistics: false Followed by the possible "choice: [value]".
And that's it, as far as i remember...
Try it and tell me.
Bye!
|
|