Author Topic: Immobile Countdown Off?  (Read 1478 times)

Offline Erik The Born

  • Antweight
  • Posts: 39
  • Rep: -2
    • View Profile
    • Awards
Immobile Countdown Off?
« on: February 22, 2013, 11:44:06 AM »
Hey, i was wondering if theres any way to remove the immobile countdown timer? Id really appreciate if youd let me know how.
PS: I have solved this. But you might want to keep the topic here, so people can see my solution to it.
« Last Edit: February 24, 2013, 10:48:50 AM by Erik The Born »

Offline HurricaneAndrew

  • Ultra Heavyweight
  • Posts: 4235
  • Rep: -13
  • Admon is not pleased with your shenanigans.
    • HurricaneAndrew92
    • HurricaneAndrewGTM
    • View Profile
    • Awards
  • Skype: hurricaneandrew92
Re: Immobile Countdown Off?
« Reply #1 on: February 22, 2013, 01:19:57 PM »
Do you mean to make it so bots don't get counted out at all, or just get rid of the timer that shows up on the screen?

#BlackNamesMatter  |  #HurricaneAndrewDidNothingWrong  |  #DemodNaryar  |  #OldfagAlliance

Offline Kossokei

  • Ultra Heavyweight
  • Posts: 1758
  • Rep: 0
  • 「ろくでなし」
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Immobile Countdown Off?
« Reply #2 on: February 22, 2013, 01:55:46 PM »
Do you mean to make it so bots don't get counted out at all, or just get rid of the timer that shows up on the screen?
Both, I'm sure.

Offline cephalopod

Re: Immobile Countdown Off?
« Reply #3 on: February 22, 2013, 02:14:15 PM »
Might be possible to get rid of the timer on screen but that itself is useless.. and I'm pretty sure getting rid of the countdown would also be a source code thing. Besides, robots that just sit in one place are either boring or dead anyway ;p
bristol bot builders / two headed death flamingo / snappy robots
//
kindest and friendliest '13, '15, '16, '17 / favourite staff member '14, '15

Offline Kossokei

  • Ultra Heavyweight
  • Posts: 1758
  • Rep: 0
  • 「ろくでなし」
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Immobile Countdown Off?
« Reply #4 on: February 22, 2013, 02:17:21 PM »
You seem to like asking about source code mods.

We're severely limited (yes that's what I call all our TC and modding lol) by not having the source coding for RA2 and we can only change so much with what we have.

Offline cephalopod

Re: Immobile Countdown Off?
« Reply #5 on: February 22, 2013, 02:21:50 PM »
I think, basically, it's fair to say the only stuff we can fully mod right now are the folders you see in the RA2 directory.
bristol bot builders / two headed death flamingo / snappy robots
//
kindest and friendliest '13, '15, '16, '17 / favourite staff member '14, '15

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: Immobile Countdown Off?
« Reply #6 on: February 22, 2013, 02:55:28 PM »
The countdown clock and immobilization time may be turned off by using the following command.
Code: [Select]
plus.practice(True)

Unfortunately, we are unable to turn off one and not the other. You can try to use the sergepatcher for this but it isn't very easy to use.

Offline Erik The Born

  • Antweight
  • Posts: 39
  • Rep: -2
    • View Profile
    • Awards
Re: Immobile Countdown Off?
« Reply #7 on: February 23, 2013, 03:04:16 AM »
Me and my source code modding questions... So were do i add that in the py script? u are right practice arena doesnt have immobile. add it and it might work.
Or is it in the console u paste it?
Oh well i found it out the link http://www.q3k.org/UnlimitedMass.zip But its down could you please reupload it?

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: Immobile Countdown Off?
« Reply #8 on: February 23, 2013, 12:37:20 PM »
You can put plus.practice in the Activate method of Arenas/__init__.py if you want it to apply to all arenas or in the Activate method of the Arena.py that you want it to be turned off in. If you want an example of its use, it may be found in the Online Arena's PY but as a comment (remove the "#" to enable it).

I added the UnlimitedMass.zip file to the downloads section (here).

Offline Erik The Born

  • Antweight
  • Posts: 39
  • Rep: -2
    • View Profile
    • Awards
Re: Immobile Countdown Off?
« Reply #9 on: February 24, 2013, 03:27:58 AM »
I did as you said but it crashes when i try to start it. is this right? Nevermind i got it working. I think i had to import the right files and i had to change the Position to be right after the intro thing. like this. self.Intro = plus.practice(True) replacing the None with the practice thing lol. i added these on the import list. though i dont know if you really have to add these import things. remember some of these i added already exists in the file but thats ok, u can actually import stuffs more then once without crashes.
import plus
import Arenas
import random
import Hazards
import math
PS: This also has a side effect. Time counter for matches is also off. so you always have infinity time to play matches.
« Last Edit: February 25, 2013, 04:56:55 AM by Erik The Born »

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: Immobile Countdown Off?
« Reply #10 on: February 24, 2013, 11:46:39 AM »
Yeah, that is fine.

The only dependency that plus.practice has is the plus module (that's why you have import plus).