Ravenfield

Ravenfield

124 个评价
Custom Flags Framework
4
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
1.529 MB
2024 年 12 月 15 日 下午 4:06
9 月 8 日 下午 10:00
34 项改动说明 ( 查看 )

订阅以下载
Custom Flags Framework

在 MianReplicate 的 2 个合集中
Custom Flags
55 件物品
Mian's Addons
6 件物品
描述
Introduction
Hello! if you popped here, chances are, you want to create your own custom flags or another flag mutator you are using depends on this! If not, then wtf are you doing here, otherwise, carry on!

This is a heavily modified version of the custom flag framework by Red for creating custom flags in Ravenfield. Heavy thanks to them for making the original :)

Customization
  • If you want to mix & match flag materials from other mutators that use this framework, you can do that!
  • Customize the color of a flag texture.
  • Automatically change a team's name to the name of its specified flag material.
  • Automatically change the color of the team depending on the selected flag.
  • Use commands to customize flags, accessories and teams! Wanna override the team name or color for a flag? Wanna randomize which flags get placed into each team? You can do that :)
  • You can assign multiple flags to a team, which in turn assigns bots their own flag. When a bot starts capturing a point, the texture on the flag will be changed to represent the bot's assigned flag. This allows for historical scenarios if you wanted to recreate allies within WW2 for example.
  • You can let bots feel prideful of the flag they were assigned by installing and using accessory packs! Here's one I created. If you are interested, feel free to create your own accessory packs within the tutorial in the FAQ. This is super helpful if you wanna know what flag a bot has been assigned.
  • Custom vehicles with materials named "FLAG" get textured automatically with the flag assigned to the bot that is driving!

Modifications from the Original
  • This by itself does not come with any flags. Only the options to change flag colors for both vanilla & other flag mutators. You need to install this + a flag mutator which utilizes this framework. One flag mutator is Political Flags .
  • When making your custom flag mutators using this framework, they will have to depend on this framework. This makes it easier to mass fix bugs across all flag mutators and allows for seamless compatibility
  • Much more performance friendly than the original and other flag mutators (100-200 FPS average compared to usual 200-250 FPS average on my computer)
  • Custom flags now show during capture

How to add flags/accessories to teams

- Find more information here on the SYNTAX INFO [github.com]

FAQ
Can I replace textures on my vehicles with flags?
- Yes! If you rename any materials on your custom vehicle to "CFF_FLAG", any bot with a flag assigned to them that drives that vehicle will automatically replace the vehicle's FLAG material textures to the flag texture!

How do bots get assigned flags?
- When bots spawned, they are usually assigned the flag that the capture point represents. Sometimes however, this is not the case and they are assigned a different flag belonging to the team. If this happens, that bot then encourages bots after it to spawn as that bot's flag. This encourages bots to spawn in groups of assigned flags rather than every single bot having a different flag. Though it does still have a chance of randomizing again which allows for more diversity!

I found a bug/I wanna suggest a new idea!

- First, make sure you are running on the Beta branch. If not, please try that first and see if the bug still happens. If it does, report it here [github.com]!

How to create my own flag/accessory packs?

- There are two methods you can use to create your own flag packs (Only one for accessory packs).
- Simple, slightly less memory efficient, and not publishable to workshop: Local Flags [github.com]
- Advanced, more memory efficient, ability to publish to workshop, and allows for accessory packs as well: TEMPLATE INFO [github.com]

Source?

Check it out here! [github.com] Feel free to make PRs if you want to help contribute :)

Credits

Special thanks to Wingnut for letting me use their WIP vehicles for testing out the new Pride Update involving extending flag textures to vehicles.
141 条留言
Pauligon 6 小时以前 
@MianReplicate

Trying to color the flags doesn't work when I run a match (the console doesn't even say anything about the command). Putting the flag names without commands still works.
MianReplicate  [作者] 6 小时以前 
@Pauligon
Just to be clear, what is *not* working? Is it trying to color them but they aren't being colored? Or are the flags not being added into the game?
Pauligon 6 小时以前 
@MianReplicate

The main thing I'm trying to do is recoloring the default flags. I tried inputting "{FLAGCOLOR:0,0,0}" on "Eagle Flag(s)", but that did not work when I ran a test match. So, I decided to test something and put "{FLAGCOLOR:AUSTRIA:0,0,0}" (I'm using Galahad's remade WW1 flags mutator ) in the same area instead, but that did not work either.
Hot Wet Nobel Laureates 9 小时以前 
Ah, ok
MianReplicate  [作者] 10 小时以前 
@Hot Wet Nobel Laureates

If the vehicles use flags, they should automatically get replaced if you have the option turned on.

If they aren't getting replaced, they aren't supported.
Hot Wet Nobel Laureates 12 小时以前 
I think I'm missing something. How do you get the custom flags to appear on vehicles?
MianReplicate  [作者] 16 小时以前 
@Pauligon
Please send me the exact command you are trying to use. Commands work fine for me, and there’s no reason they should stop working suddenly in the newest build.
Pauligon 20 小时以前 
Flag commands don't work in the most recent version of the game (EA32 Security Patch). Yes, I've read the instructions on GitHub and typed the outputs correctly.
Bubbiboor 9 月 28 日 上午 3:07 
i love that notification that you get when you try loading flag viewer without the framework :mortis:
Immense Pain and Anguish 9 月 25 日 上午 4:43 
dev idia: relailistc battels
realty: gays vs veit cong