News:

Come Chat with us live! Learn how HERE!

Main Menu

Balance Mod for SVN 846 (with integrated patches)

Started by Risujin, November 17, 2006, 03:54:57 AM

Risujin

Sorry for the release spam (two releases in two days), but this one might solve a lot of problems. I ported Balance Mod to SVN 846 tonight and applied a number of patches I found on bugzilla.

Tremulous Balance Mod

SVN 846 rev. 3

Features Added

- Aliens can devolve into lower classes and regain half of spent evos!
- Credit/evo donation command 'donate #'. Alms for the poor!
- Select weapon command 'itemgun', to use: \bind g itemgun
- Blaster now has a splash knockback. Knock around dretches!
- New Tranquilizer Saw grabs enemies. Grab squirrely tyrants!
- New Bile Dretch explodes shortly after death. No more turret squatters!

Tweaks

- Evolving will display new class and evos spent.
- Double Basilisk poison cloud range.
- Barricade health and regen doubled.

Bugs Fixed

- Construction kit cools down when blaster is being used.
- EV_PAIN no longer overflows byte size. Tyrants will not cry at 256 hp.

Integrated Patches

- vcxznet's backport compatibility patch to make this mod work with stock
 clients.
- Alric's inventory belt colors patch. Out-of-ammo weapons are now red and
 non-usable items cannot be selected and appear gray.
   https://bugzilla.icculus.org/show_bug.cgi?id=2773
- Kristall's patch to check a map exists before allowing a votemap.
   https://bugzilla.icculus.org/show_bug.cgi?id=2869
- rasz's patch to add cg_disableWarningDialogs which disables server spam
 produced by equipment scripts.
   https://bugzilla.icculus.org/show_bug.cgi?id=2911
- tjw's svn 823
   http://tjw.org/tremulous/
- Martin Doucha's redundency cleanup 2.
   https://bugzilla.icculus.org/show_bug.cgi?id=2825
- Tony J. White's energy weapon ammo-purchase patch.
   https://bugzilla.icculus.org/show_bug.cgi?id=2853

Files
The pk3 file:
http://www.missirina.com/risujin/tremulous/balance/balance-846-3.pk3
The patch (for building from source only):
http://www.missirina.com/risujin/tremulous/balance/balance-846-3.patch

Client Installation
You can simply connect to a server running the mod. If you want a faster download you can download the pk3 file and place it in the Tremulous/balance folder (which you may have to create).

Server Installation
Find your Tremulous folder (for Linux users you can also use .tremulous in your home folder). Make a new balance folder in there next to base, base2, etc. Place the balance pk3 file in there. You will probably want a copy of your server.cfg (which you can find in the base folder) in there as well. Modify that to setup the server.

Windows servers are started like this (from the command line, or create a new shortcut):
tremulous.exe +set dedicated 2 +set fs_game balance +exec server.cfg

The Linux command is:
tremded.x86 +set dedicated 2 +set fs_game balance +exec server.cfg

This version of the mod should run on all versions of Tremulous compatible with the 1.1.0 client (755 and all backports).

kevlarman

Quote from: Risujin- tjw's svn 823
   http://tjw.org/tremulous/
- Tony J. White's energy weapon ammo-purchase patch.
   https://bugzilla.icculus.org/show_bug.cgi?id=2853
how exactly did you apply the same patch twice?
Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Evlesoa

Hmm my guess no server's use this...  but I dunno...

rasz_pl

Quote from: Risujin- Alric's inventory belt colors patch. Out-of-ammo weapons are now red and
 non-usable items cannot be selected and appear gray.
   https://bugzilla.icculus.org/show_bug.cgi?id=2773

danger danger Will Robinson, this one works half way, you cant scroll past the grayed out items = you cant scroll to medikit/jetpack/nade. I will repair this in a few days (i got medi/nade/jetpack on binds so it doesnt bother me right now).

Quote from: Risujin- rasz's patch to add cg_disableWarningDialogs which disables server spam
 produced by equipment scripts.
   https://bugzilla.icculus.org/show_bug.cgi?id=2911

I just uploaded working version, sorry for the inconvinience, I was really pissed that day, died >20 times because of 9 lines of useless text on my screen in the middle of the fight. In the end I patched wrong spam, as it was server spam that pissed me off, not this :P. Anyway its great for ppl that dont like to read warningdialogs at all, just set :
cg_disableWarningDialogs 0 = default value, all warnings
cg_disableWarningDialogs 1 = no warnings in modal boxes aka SPAM THE F out of console
cg_disableWarningDialogs 2 = no warnings FOR REAL aka SHUT THE F UP
NO warning dialogs what so ever, nada nill nothing :)


Quote from: kevlarman
Quote from: Risujin- tjw's svn 823
   http://tjw.org/tremulous/
- Tony J. White's energy weapon ammo-purchase patch.
   https://bugzilla.icculus.org/show_bug.cgi?id=2853
how exactly did you apply the same patch twice?

its called MAGIC, wanna some ? :P

kevlarman

Quote from: rasz_plits called MAGIC, wanna some ? :P
yeah, applying tjw's patch to svn is a pain without it.
Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Evlesoa

So to play with a server that has this, I must have it too? Or what?

Risujin

Quote from: rasz_pl
Quote from: Risujin- Alric's inventory belt colors patch. Out-of-ammo weapons are now red and
 non-usable items cannot be selected and appear gray.
   https://bugzilla.icculus.org/show_bug.cgi?id=2773

danger danger Will Robinson, this one works half way, you cant scroll past the grayed out items = you cant scroll to medikit/jetpack/nade. I will repair this in a few days (i got medi/nade/jetpack on binds so it doesnt bother me right now).
Hold your horses, it works fine. Unless you got a specific test case where it doesnt? I can scroll past medi/jetpack/nade no problems.

Quote from: rasz_pl
Quote from: Risujin- rasz's patch to add cg_disableWarningDialogs which disables server spam
 produced by equipment scripts.
   https://bugzilla.icculus.org/show_bug.cgi?id=2911

I just uploaded working version, sorry for the inconvinience, I was really pissed that day, died >20 times because of 9 lines of useless text on my screen in the middle of the fight. In the end I patched wrong spam, as it was server spam that pissed me off, not this :P. Anyway its great for ppl that dont like to read warningdialogs at all, just set :
cg_disableWarningDialogs 0 = default value, all warnings
cg_disableWarningDialogs 1 = no warnings in modal boxes aka SPAM THE F out of console
cg_disableWarningDialogs 2 = no warnings FOR REAL aka SHUT THE F UP
NO warning dialogs what so ever, nada nill nothing :)
I modified the old version to work but I just noticed that 0/1/2 were not in implemented correctly (0 = no messages in the old patch). Thanks for the fix.

Quote from: kevlarman
Quote from: Risujin- tjw's svn 823
   http://tjw.org/tremulous/
- Tony J. White's energy weapon ammo-purchase patch.
   https://bugzilla.icculus.org/show_bug.cgi?id=2853
how exactly did you apply the same patch twice?
I just had an ephiphany. Tony J. White IS tjw!! (actually I knew that but totally forgot ... sorry tjw :)) It's not the same patch. I don't know if one is a subset of the other but... they both installed fine.

The biggest problem with this release is the damn bile dretches will crash the server if you explode one INSIDE of a building.

Risujin

Quote from: EvlesoaSo to play with a server that has this, I must have it too? Or what?
All you gotta do is connect and it will download it automatically. Mine is the only server thats running this. Look for "Balance Mod TESTING SERVER".

The big problem I'm seeing with that is "unpure client" messages. I think people have their cl_allowDownloads set to 0. That has to be set to 1 for you to connect.

kevlarman

Quote from: Risujin- Select weapon command 'itemgun', to use: \bind g itemgun
what exactly is the point of this?
Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----


Predalienator

So do i delete the older version and replace it with this one?

rasz_pl

Quote from: Risujin
Quote from: rasz_pl
Quote from: Risujin- Alric's inventory belt colors patch. Out-of-ammo weapons are now red and
 non-usable items cannot be selected and appear gray.
   https://bugzilla.icculus.org/show_bug.cgi?id=2773

danger danger Will Robinson, this one works half way, you cant scroll past the grayed out items = you cant scroll to medikit/jetpack/nade. I will repair this in a few days (i got medi/nade/jetpack on binds so it doesnt bother me right now).
Hold your horses, it works fine. Unless you got a specific test case where it doesnt? I can scroll past medi/jetpack/nade no problems.

hmm, checked it once more. grayed out has nothing to do with it, it just refuses to highlight medi/nade/jetpack
lets say i got blaster rifle and jet, it wil scroll to rifle, then flash jetpack for one frame and bam its blaster
can you svn diff your version and post it/pm me?

Quote from: Risujin
Quote from: rasz_pl
Quote from: Risujin- rasz's patch to add cg_disableWarningDialogs which disables server spam
 produced by equipment scripts.
   https://bugzilla.icculus.org/show_bug.cgi?id=2911

I just uploaded working version, sorry for the inconvinience, I was really pissed that day, died >20 times because of 9 lines of useless text on my screen in the middle of the fight. In the end I patched wrong spam, as it was server spam that pissed me off, not this :P. Anyway its great for ppl that dont like to read warningdialogs at all, just set :
cg_disableWarningDialogs 0 = default value, all warnings
cg_disableWarningDialogs 1 = no warnings in modal boxes aka SPAM THE F out of console
cg_disableWarningDialogs 2 = no warnings FOR REAL aka SHUT THE F UP
NO warning dialogs what so ever, nada nill nothing :)
I modified the old version to work but I just noticed that 0/1/2 were not in implemented correctly (0 = no messages in the old patch). Thanks for the fix.

yes, as i said i got pissed, then I wrote the patch, send it, compiled it/fixed the next day, since cgame patches for some magic reason dont go to svn I didnt bother to send fixed version + nextghost patched the same code earlier to make it slimer/nicer/something, and I didnt feel like writing it again for the new version :)

btw I'v got alien radar with friendly units and growing/shrinking dots according to the distance almost working.

vcxzet

Quote from: rasz_pl
btw I'v got alien radar with friendly units and growing/shrinking dots according to the distance almost working.
and an aimbot!

next_ghost

Quote from: rasz_plyes, as i said i got pissed, then I wrote the patch, send it, compiled it/fixed the next day, since cgame patches for some magic reason dont go to svn I didnt bother to send fixed version + nextghost patched the same code earlier to make it slimer/nicer/something, and I didnt feel like writing it again for the new version :)

The magic reason is that everybody would have to download a brand new client executable to run the testing cgame.qvm. Just like you have to update tremded to run SVN game.qvm. => very few testers => no testing => no commit.
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

Undeference

Quote- Kristall's patch to check a map exists before allowing a votemap.
https://bugzilla.icculus.org/show_bug.cgi?id=2869
(That's M. Kristall, with an "M" :P )
If you like that patch, you might like these other quality patches from yours truly:
g_suddenDeath
sudden death votes
warmup times
better follow

</shameless-self-promotion>
Need help? Ask intelligently. Please share solutions you find.

Quote from: tuple on February 15, 2008, 11:54:10 PMThats what we need, helpful players, not more powerful admins.

Risujin

Quote from: rasz_plhmm, checked it once more. grayed out has nothing to do with it, it just refuses to highlight medi/nade/jetpack
lets say i got blaster rifle and jet, it wil scroll to rifle, then flash jetpack for one frame and bam its blaster
can you svn diff your version and post it/pm me?
I applied the patch from bugzilla without modification. In all likelihood there is some other patch involved. If you're feeling brave you can dig through the full balance patch. :)

Quote from: rasz_plbtw I'v got alien radar with friendly units and growing/shrinking dots according to the distance almost working.
Beat you to it. This kind of mod requires a modified cgame.qvm so I can add it to Balance. My version uses two different icons for buildings and players and fades them out with distance.

***M.*** Kristall: I will have a look at your patches. :)

rasz_pl

Quote from: vcxzetand an aimbot!

yes, I call it the Omicron Bot, it can even rocket jump!


Quote from: Risujin
Quote from: rasz_plhmm, checked it once more. grayed out has nothing to do with it, it just refuses to highlight medi/nade/jetpack
lets say i got blaster rifle and jet, it wil scroll to rifle, then flash jetpack for one frame and bam its blaster
can you svn diff your version and post it/pm me?
I applied the patch from bugzilla without modification. In all likelihood there is some other patch involved. If you're feeling brave you can dig through the full balance patch. :)

@@ -1175,7 +1177,7 @@
    // first make sure that whatever it selected is actually selectable
    if( cg.weaponSelect <32> 32 && !CG_UpgradeSelectable( cg.weaponSelect - 32 ) )
+    else if( cg.weaponSelect > 32 && !CG_UpgradeSelectable( cg.weaponSelect ) )
      CG_NextWeapon_f( );
  }

d0h, works now, -32 was missing in 755 code

whitebear