Cities: Skylines

Cities: Skylines

146 ratings
Flag Params
Rate  
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
0.006 MB
Dec 26, 2018 @ 1:06pm
Jan 21, 2019 @ 4:23am
2 Change Notes ( view )

Subscribe to download
Flag Params

Description
While previously created flag props (and vehicle sub meshes) still require the Flag Params mod, a new method for saving shader parameters by boformer has removed the requirement for a mod.

See the Flag Shader article: https://cslmodding.info/shader/flag/
< >
30 Comments
绿东福 Feb 14 @ 6:19am 
法国国旗好评
RaVeN ︻芫═── Jan 9 @ 9:17pm 
Any way to make an American Flag on a pole with this animation work, wonder if this flag or this mod would work: ?

https://steamcommunity.com/workshop/filedetails/?id=425986410

https://steamcommunity.com/sharedfiles/filedetails/?id=595017353
BadPeanut May 6, 2019 @ 9:53pm 
@ronyx you could probably mark this as redundant now that boformer fixed the script so it works without the mod required
AmiPolizeiFunk Jan 4, 2019 @ 5:55am 
an example of the vanilla flagpole mesh (w painted vertices) and a script to get the vanilla animation would be very helpful... or any common upright standing flag
BadPeanut Jan 3, 2019 @ 6:48pm 
Thanks anyway! I'll look forward to whenever you get round to fleshing out the instructions so i can better understand the process
Ronyx69  [author] Jan 3, 2019 @ 4:16pm 
@BadPeanut Actually no idea how the texture (uv mapping) could move in any way if the flag grid parameters are at defaults, wouldn't even matter what the vertex paint is at that point.
BadPeanut Jan 3, 2019 @ 6:42am 
(2) under "Flag Movement" i can understand the strength parameters but everything else is pretty unclear and not explained. You give a description of what some of it is but not what you would change to get a specific reaction - for instance what value would i change if i were to edit the axis or the pivot? They look like x,y and z coordinates but that doesn't allude to what values are accepted, how strong it needs to be, is it just between 0.0 and 1.0 etc...

Beyond axis and pivot the rest of the script has nothing to dictate what it is or how to manipulate it. So absolutely no clue what's going on there as it's literally void of any helpful pointers - unless these aren't the instructions you're talking about? Perhaps i'm missing a link to some really reasonable and straight forward, clear instructions answering all of my concerns? Let me know if i have :)
BadPeanut Jan 3, 2019 @ 6:42am 
(1)
I figured but that doesn't clearly define which part i'm not following correctly - if i know that then i wouldn't be asking should i? ;)
I don't understand what you mean by "Flag Grid" - i'm sure it makes plenty of sense to you the person who worked this mod out but not to me someone who's trying to understand your less than rich instructions.
So I want a single flag but i don't know how to stop the game from thinking it's multiple. I've used grey vertex colours in the hope that this defines it (as your 'instrictions' say if you want multiple flag textures you must use all black)

Going back to Flag Grid - is this referring to the grid of the mesh itself? The uv map coordinates? Seeing as i intend on having a single flag ive left it as default as stated in your limited instructions.
Ronyx69  [author] Jan 3, 2019 @ 6:06am 
@BadPeanut You didn't follow the instructions.
BadPeanut Jan 3, 2019 @ 5:54am 
I made my custom flag with the obj. Exported from the vanila mesh. Kept uv mapping, changed diffuse so all 6 flags show the same flag. The rest of the maps are pretty much the same except specular is 0, alpha is 100% opaque.
Edited mesh to make flag larger.
Vertext colors are gradient of grey except white at the pole.
Import works fine, looks correct (flag is looking 100% as it should) - apply the script as is and it does what i expected and i can tweak the variables enough but the problem is when i save and reload it the flag is correctly animated but the textures are weirdly screwed up. There's not enough information for me to figure out what i need to do to correct it, if ive made a wrong turn along the way - how to set up a non multiflag correctly etc
So the article would be great - good to know it's planned