Jump to content
  • We need you!

    You must register to discover all the features of our community!

  • 0

Free mode


sessebi

Question

Posted (edited)

Version of Files 40k

Hi ,

 

I need to make possible duels between different empires (I have advanced duel system)

And the possibility to block "freemode" in certain maps.

 

Thanks, Sincerly,
Sessebi

 

Edited by sessebi (see edit history)
Link to post

6 answers to this question

Recommended Posts

  • 0

 

3 hours ago, sessebi said:

And the possibility to block "freemode" in certain maps.

 

 

30 minutes ago, Catalin2o14 said:

http://prntscr.com/sqbkmj -block change pkmode on 114 map index

Ok solved this part, thank you

 

Someone knows how to for the second part?

3 hours ago, sessebi said:

I need to make possible duels between different empires (I have advanced duel system)

 

Link to post
  • 0

uitarget.py

 

 

search:

 

			if not player.IsSameEmpire(self.vid):
				self.__HideButton(localeInfo.TARGET_BUTTON_INVITE_PARTY)
				self.__HideButton(localeInfo.TARGET_BUTTON_FRIEND)
				self.__HideButton(localeInfo.TARGET_BUTTON_FIGHT)

 

 

comment this line:

 

			##self.__HideButton(localeInfo.TARGET_BUTTON_FIGHT)

 

 

 

 

  • Love 1
Link to post
  • 0
5 hours ago, jeddawee said:

uitarget.py

 

 

search:

 

if not player.IsSameEmpire(self.vid): self.__HideButton(localeInfo.TARGET_BUTTON_INVITE_PARTY) self.__HideButton(localeInfo.TARGET_BUTTON_FRIEND) self.__HideButton(localeInfo.TARGET_BUTTON_FIGHT)

			if not player.IsSameEmpire(self.vid):
				self.__HideButton(localeInfo.TARGET_BUTTON_INVITE_PARTY)
				self.__HideButton(localeInfo.TARGET_BUTTON_FRIEND)
				self.__HideButton(localeInfo.TARGET_BUTTON_FIGHT)

 

 

comment this line:

 

##self.__HideButton(localeInfo.TARGET_BUTTON_FIGHT)

			##self.__HideButton(localeInfo.TARGET_BUTTON_FIGHT)

Solved, thank's a lot.

 

 

 

 

Link to post

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


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.