etpub (new mod)


(tjw) #1

http://et.tjw.org/etpub/

A server-side only mod for public servers.

It is intended as a replacement for shrubet although not all shrub features have been completed yet, just the ones I use on my server. I’ve added some features not found in shrub like g_hitsounds, g_spinCorpse, g_teamChangeKills, and g_activeTeamBalance… These features are explained in the documentation section of the above site.

A patch against original et source code is provided.


(Chruker) #2

Nice mod. However I’m kind of interrested in hearing which of the many bugs, it fixes.

Edit:

I’m trying to apply the patch to a copy of the original source, however being a newb around diff and patch doesn’t help. Can you provide some commandline options which works?


(tjw) #3

I’ll try to mention every bug it fixes in the General Changes section of the documentation. I still know of several et bugs that need to be fixed.

To patch on Win32:

  1. Extract the original ET source to some directory (e.g. c:\WET_Source)
  2. Download the patch to you computer (e.g. c:\etpub-0.0.2.patch)
  3. Start a command prompt and change the working directory to the root of the ET source.
cd c:\WET_Source
  1. Run GNU patch
patch -p1 -i c:\etpub-0.0.2.patch

You can find patch here: http://gnuwin32.sourceforge.net/packages/patch.htm


(bacon) #4

you can no longer steal a uniform from a corpse that has sunk into the world.

Great, now you have to start stealing the uni as soon as the player’s gibbed…

BTW you might wanna search these forums for other bugfixes.


(tjw) #5

Actually, you only need to start stealing the uniform before the body sinks (at least that’s my intent). You’ll notice in vanilla et that you can steal uniforms long after the bodies have disappeared.


(Floris) #6

W00t man, great mod. I still have a few questions tho…

  1. Is it possible to change the hitsounds / headshotsounds?
  2. Can you add a max mines cvar?

i think that are the only things I miss before I’ll run it at my clanserver :slight_smile: (Unpatched :beer: )


(bacon) #7

You can always replace sounds my making a new pk3 you know…


(tjw) #8
  1. The hitsounds it uses are currently hardcoded. Since it’s a server-side mod, I wanted to use sounds that are included in the game so no pk3 download would be necessary. I could make the paths of the sounds cvars so that you could change them without recompiling. I know a lot of people really like the science-fiction style hit noises of etpro for some reason.

  2. Good idea.


(Floris) #9
  1. The hitsounds it uses are currently hardcoded. Since it’s a server-side mod, I wanted to use sounds that are included in the game so no pk3 download would be necessary. I could make the paths of the sounds cvars so that you could change them without recompiling. I know a lot of people really like the science-fiction style hit noises of etpro for some reason.

  2. Good idea.[/quote]
    Thanks,

Could it also be possible to add shrub Never xp reset xp save?
And you need some discussion forums so people can talk about your great mod :moo:


(Floris) #10

You can always replace sounds my making a new pk3 you know…[/quote]`
Yeah but wouldnt that mean you could only play @ unpure servers with it?


(bacon) #11

Not if the server has that pk3 loaded.


(tjw) #12

I released a new version 0.1.1 that has configurable hitsounds and a g_maxTeamLandmines cvar.

If you want to use hitsounds that aren’t in stock et, you will have to create a pk3 that contains them like bacon said. For example if you wanted etpro style sounds, I think you’de just create a pk3 that had two files: hit.wav and teamhit.wav and set things like this:


g_hitsound_default "hit.wav"
g_hitsound_helmet "hit"wav"
g_hitsound_head "hit.wav"
g_hitsound_team_warn_axis "teamhit.wav"
g_hitsound_team_warn_allies "teamhit.wav"
g_hitsound_team_helmet "teamhit.wav"
g_hitsound_team_head "teamhit.wav"
g_hitsound_team_default "teamhit.wav"


(Floris) #13

Very cool, I’m gonna put it on my server now.

I also thought about a list of things that would come in handy.

  1. Banner messages
  2. Weapon rescrictions
  3. Map specific configs
  4. Med packs dropped wen a medic is killed

I think most of them are already posted at these forums… So its just copying + pasting. :slight_smile:


(Floris) #14

I’ve found a tiny bug / problem. The ammaunt of levels seems to be limited to 5, because it deletes any higher lvl when running it?


(Floris) #15

Ànther suggestion, show the name of the level when !admintest is done (Shrub style) :slight_smile:


(tjw) #16

Yes, it’s limited to 6 (1 through 5 plus 0). I guess I thought that’s all you could use in shrub too :slight_smile:

Do you know what the limit was in shrub (if there is one)?


(Floris) #17

My guess is that shrub was unlimited. (I’ve had a shrubbot of 20 people once)
Oh and btw, savexp doesnt seem to be working for me (no reset xp save)


(tjw) #18

Yeah, I know you could have quite a lot of admins (http://et.tjw.org/admin/adminlist/), but I thought the number of levels was capped at 0-5 from reading shrub docs. I’m increasing the number of allowed levels to 32 that should be enough eh?

I noticed that the no-reset-xp-on-map-restart thing always resets if you do a map restart on the first map of the campaign. Could that be the problem you are noticing?


(Floris) #19

It could be a punkbuster problem so I check if its enabled. 32 admins is fine btw :slight_smile:
Have you looked to the list of features I posted?


(tjw) #20

Yes, these are all on my mental todo list. There not things that I use, so I havn’t got to them yet.

As for Weapon changes:

  1. I will NOT be adding the shrub g_weaponLimits cvar because it’s not neccessary anymore. There’s nothing in that cvar that is neccesary if you check the weapon restrictions before allowing another player to pick up a weapon off the ground
    (which etpub does).

  2. I already added the team_maxPanzer, team_maxMortars, team_maxMG42s, team_maxFlamers, and team_maxGrenLaunchers cvars that shrubet has, but forgot to document them.

  3. I already created the g_weapons cvar, but I"ve only implemented the 2 flag so far.