You should try googling this stuff there’s loads of tutorials and threads about this :D
OK,
following the above message;
Entery Points - Place the entry points near the flag you would like the team to spawn.
Entry point 64 = Team 1 flag
Entry point 65 = Team 2 flag
Scene Prop - Flag scene props for either team to cap.
headquarters_flag_red" - Team 1 Flag
headquarters_flag_blue" - Team 2 Flag
headquarters_flag_gray" - Neutral Flag
For custom names, follow these steps-
- Inside the scene editor, you must tell the game that your flags should show a different name. This is done by calling a value from the list of names which will be explained further down this post.
Start by placing an item/ prop called spr_headquaters_base_flag_names.
This prop is invisible, but once placed inside the map permits changes to its variables.In the above example, I have used Var1 of 1 and Var2 of 2, meaning team 1 headquaters flag is called the first item from the list, and team 2 flag is called the second item from the list.example(https://i.imgur.com/kHwcMQ5.png)[close]
Next, we need to make sure any additional flags we place call from the same list.In the example, it calls the fifth flag from the list due to a Var1 of 5.example(https://i.imgur.com/5F68SSI.png)[close]
Once you have made sure every flag has a unique variable, proceed to the next step.- Inside the module code, navigate to strings.py and open it up in an edditor (I use notepad++)
From here, search for the term "custom_flag" and rename the second section of the name to anything you want, making sure to keep within the quotation marks and not using fancy characters.From here, simply save, build the module and transfer the ,sco map file and scene code as normal, but also the strings.txt generated when you build the module to the server files.example(https://i.imgur.com/zG2r9yd.png)[close]
Let me know if I can clarify anything here! :)
*edit* been meaning to make a tutorial on this, plus all the other new additions to the game, but just not had the time :(
Thanks, I'll give it a look when I'm back from work. Everything you said I feel I've done, but I'll do it step by step. And quick questions, if I'm renaming the "Custom flags", how do I differenciate between different maps. From what I remember, those are just 1-20 or something, and not separate by map?One thing I think I forgot to say is you won't be able to see the custom flag names inside the game on a local server, you will need to upload both the scene and strings to a dedicated server in order for the list to be visible to players.
Thanks, I'll give it a look when I'm back from work. Everything you said I feel I've done, but I'll do it step by step. And quick questions, if I'm renaming the "Custom flags", how do I differenciate between different maps. From what I remember, those are just 1-20 or something, and not separate by map?One thing I think I forgot to say is you won't be able to see the custom flag names inside the game on a local server, you will need to upload both the scene and strings to a dedicated server in order for the list to be visible to players.
The ability to add custom flags was only added in V1.2 so a fairly recent change. Consequently the list only has I believe it's 50 custom flag names- and yes this list is global, so names can only be pulled from this list. My advise is keep names generic so they can be reused.