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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...