Author Topic: Replica Wars 2 Arena-Thanks Trov! :D  (Read 14280 times)

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Replica Wars 2 Arena-Thanks Trov! :D
« on: October 08, 2010, 07:19:18 PM »
Here is the finished RW2 arena:


Link to RW2 Arena
« Last Edit: October 12, 2010, 04:41:56 PM by Badnik96 »

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: How to Delete saws in RA2T2 arena?
« Reply #1 on: October 08, 2010, 08:56:34 PM »
Huh, I never noticed that the saws didn't spin in the RA2T2 Arena... Not a big deal but that is probably why people get stuck on them so much.

Anyways, all you have to do is:
1. Make the appropriate backups for the GMF (and probably python). 
2. Open up the decompiled GMF and scroll to the bottom (that way the line numbers don't change)
3. Highlight and delete lines 21191 thru 21215 (inclusive). This is the RBCOLLECTION for the "saw" object.
4. Change the 2s in lines 21162 and 21165 to 1s. We deleted one of the objects in the RBCOLLECTION so we need to reduce the count by one.
5. Highlight and delete lines 10771 thru 11392 (inclusive). This is the GEOMOBJECT for the "saws" object.
6. Highlight and delete lines 8718 thru 10236 (inclusive). This is the GEOMOBJECT for the "sawmotors" object. This wasn't in the RBCOLLECTION because the "arena_display" object is specified as the "NODE_PARENT."
7. Change the 16 in line 206 to 14. We deleted two of the GEOMOBJECTs that this counter counts (objects with the same number of spaces as this line preceding them).
8. Go into the python and comment out "self.SetSubMaterialSound("saws", "metal", 8.0, "Sounds\\sawblade_ra2.wav")" by adding the # symbol at the beginning.

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Re: How to Delete saws in RA2T2 arena?
« Reply #2 on: October 08, 2010, 10:12:19 PM »
OK, I did all that, now the compiler's giving me 'run-time error 62: input past end of file'. What do I do?

Offline JoeBlo

Re: How to Delete saws in RA2T2 arena?
« Reply #3 on: October 08, 2010, 10:16:22 PM »
did you reduce all the appropriate counts ? thats what usually causes that error (I got one to other day because I forgot to reduce one of the counts)

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Re: How to Delete saws in RA2T2 arena?
« Reply #4 on: October 08, 2010, 10:18:17 PM »
Yeah... I think...

edit: went over Trov's instructions again, did everything EXACTLY as he said, still giving me the error.

Offline JoeBlo

Re: How to Delete saws in RA2T2 arena?
« Reply #5 on: October 08, 2010, 10:26:12 PM »
hmm.. I havent even ventured in that GMF so I cant really visualize it from Trovs instructions

best wait for him  :gawe:

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: How to Delete saws in RA2T2 arena?
« Reply #6 on: October 09, 2010, 07:50:10 PM »
Its a problem with the compatibility between Serge's decompiler and compiler. Line 18997 reads:
Code: [Select]
*USE FAR ATTENUATION 292530944
and needs to be replaced with:
Code: [Select]
*USE FAR ATTENUATION = 292530944

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Re: How to Delete saws in RA2T2 arena?
« Reply #7 on: October 09, 2010, 08:23:48 PM »
Grr, still gives me the error.

Offline Jonzu95

  • Giga Heavyweight
  • Posts: 12636
  • Rep: -27
    • View Profile
    • Awards
Re: How to Delete saws in RA2T2 arena?
« Reply #8 on: October 10, 2010, 01:15:36 AM »
Hey Badnik, if you get the saws out of the arena, could you send a copy for me? I would use it in Robot Smash. :approve:

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Re: How to Delete saws in RA2T2 arena?
« Reply #9 on: October 10, 2010, 09:38:10 AM »
If I ever get it working...

Offline Madiaba

Re: How to Delete saws in RA2T2 arena?
« Reply #10 on: October 10, 2010, 09:15:50 PM »
Trov, you still on top of this?  Maybe he became busy...

Bad, I didn't see Trov mention that when deleting sections, you need to keep ALL of the original formatting spaces and indentation at the beginning of each skin, geomobject, and RBcollection (NP, but important).
Input is appreciated. :)
-Arrogance is a quantity devoid of quality...
-As a client once told me "This is my story, and it's sticking to me!"
-Relationships these days are like the 'Arrival' section of the airport: a lot of baggage is being revealed in one place, and not a lot of it is being correlated to its real owners...

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Re: How to Delete saws in RA2T2 arena?
« Reply #11 on: October 11, 2010, 07:39:11 AM »
I fixed what I thought to be an indentation problem and now it gives me 'run-time error 9-Subscript out of range.'

Offline JoeBlo

Re: How to Delete saws in RA2T2 arena?
« Reply #12 on: October 11, 2010, 07:50:28 AM »
I will have a look at it if your cant solve it.. problem is I wont have much free time until Thursday :/

but will go through it then with you then if need be

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Re: How to Delete saws in RA2T2 arena?
« Reply #13 on: October 11, 2010, 07:58:00 AM »
OK, I'll PM the GMF to you.

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: How to Delete saws in RA2T2 arena?
« Reply #14 on: October 11, 2010, 04:11:54 PM »
I followed all my instructions and got it to compile so I'm not sure what problem your experiencing. What error were you getting before the run-time error?

If you would like, I can upload my compiled and/or decompiler version of the GMF.

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Re: How to Delete saws in RA2T2 arena?
« Reply #15 on: October 11, 2010, 06:31:38 PM »
Before error 9 or 62? I got 62, 'fixed' something and now I get error 9. (Tried this with both Dummy's and Serge's compilers, both gave me errors.)

Go ahead and upload your copy of the GMF (decompiled and compiled) so that I can see if I was doing something wrong or there's something wrong with my compiler.

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Re: How to Delete saws in RA2T2 arena?
« Reply #16 on: October 12, 2010, 04:29:13 PM »
DP

Must have been doing something wrong, your version works. Thanks Trov.

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Re: Replica Wars 2 Arena-Thanks Trov! :D
« Reply #17 on: October 12, 2010, 04:42:23 PM »
TP

The arena is in the first post, thanks to Trov.

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Replica Wars 2 Arena-Thanks Trov! :D
« Reply #18 on: October 14, 2010, 10:11:06 AM »
Aewsome!  Can I have a copy?

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Re: Replica Wars 2 Arena-Thanks Trov! :D
« Reply #19 on: October 14, 2010, 02:25:37 PM »
Link is in first post.