Cities: Skylines

Cities: Skylines

Flag Params
31 Comments
SakuraKagamizawa 15 Aug, 2022 @ 6:10am 
法国国旗好评
绿东福 14 Feb, 2020 @ 6:19am 
法国国旗好评
RaVeN ︻芫 9 Jan, 2020 @ 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://steamhost.cn/steamcommunity_com/workshop/filedetails/?id=425986410

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=595017353
BadPeanut  [developer] 6 May, 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 4 Jan, 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  [developer] 3 Jan, 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] 3 Jan, 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  [developer] 3 Jan, 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  [developer] 3 Jan, 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] 3 Jan, 2019 @ 6:06am 
@BadPeanut You didn't follow the instructions.
BadPeanut  [developer] 3 Jan, 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
Ronyx69  [author] 3 Jan, 2019 @ 5:44am 
@BadPeanut CSLM article is on the todo list but what's not explained rn?
BadPeanut  [developer] 3 Jan, 2019 @ 4:52am 
can we expect a guide or how to or something other than the brief comments in the script? they're not that straight forward - would be good to see instructions detailing multiple flag and single flag types.
Ronyx69  [author] 1 Jan, 2019 @ 8:33am 
@PALiX I will see if that works, already had that idea on the list.
PALiX 1 Jan, 2019 @ 8:26am 
I challenge you to make this for tent trucks.
Gooseberry 31 Dec, 2018 @ 11:04pm 
Holy hell Ronyx
vlvtelvis 29 Dec, 2018 @ 3:39pm 
I assume there's no way to make this work with snowfall ....
Gabrielium 28 Dec, 2018 @ 6:27pm 
Well, it's certainly possible to access wind speed at any given point (WeatherManager.SampleWindSpeed at 2 parameters, position, and ignoreWeather) so I wonder if it's possible to make a mod that adjusts speed as a function of that velocity? That would be an interesting prospect but if the flag params are part of the prefab itself, I'm not 100% sure how it would work exactly...
Distanced 28 Dec, 2018 @ 3:53pm 
we :tobdog: need :floweyevil: soviet :toriel: flag :sans::sans:
Ronyx69  [author] 28 Dec, 2018 @ 2:53am 
@Elektrix I sat around and looked at it for a while, I think it's only affected by the wind direction, but speed stays constant.
Gabrielium 27 Dec, 2018 @ 6:11pm 
Are objects marked with the flag shader affected by in-game wind speeds or do they just follow a general sinusoidal animation?

Either way, very cool.
ale_donkey 27 Dec, 2018 @ 4:07pm 
Wow! You rock!
AmiPolizeiFunk 27 Dec, 2018 @ 5:45am 
thanks! :medkit: gonna give it a try
Neguchi 27 Dec, 2018 @ 3:21am 
@ThatEvan ahahahah so funny, after a another epic mod by God Ronyx
Hafiz 26 Dec, 2018 @ 5:40pm 
epic
220hertz 26 Dec, 2018 @ 5:21pm 
Man, thanks for all you do.
REV0 26 Dec, 2018 @ 4:15pm 
@DieselPoweredGerbil OOOOOOOOOOOOOOOOOOH
emmy swiff 26 Dec, 2018 @ 3:09pm 
It's the American flag circa 1975
djhsilver 26 Dec, 2018 @ 2:52pm 
France hasn't used an all white flag since the Bourbon Restoration in the early 1800s. The current French flag is the Tricolor.
ThatEvan 26 Dec, 2018 @ 1:46pm 
why is the PreviewImage the French flag?
Armesto 26 Dec, 2018 @ 1:33pm 
:lewd: