Jump to content

Ceasefire mod


svott
 Share

Recommended Posts

Hey guys,

I try to find my way around the code. There are some nice wiki pages like ../wiki/Finding_Your_Way_Around. Nevertheless, is there a document that compromised all components of the engine and shows their dependencies?

After spending too much time with studying the code for adding big modifications, I decided to do just very simple stuff :)

Therefore, I modified the ceasefire manager. I know, there is no associated ticket, however, it was simple.

Modifications description:

The idea is to help the user by keeping track of ceasefire so that nobody is frightened when seeing the "You can attack in 10 s"-message.

- raised 10s to 15s of "You can attack in" msg

- show a notification message "You can attack in X min" when 60, 45, 30, 20, 10, 5, 2 and 1 minute(s) left

I hope you like the stuff. I tried to keep your code conventions. What do you think about code style and modifications?

ceasefireManagerMod.zip

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...