Etpub Coding


(etcspartan) #1

Sorry to ask such basic questions, but Im a server operator who is depserate to bring some balance to the game!
I know nothing about coding, and i apologise if i offend anyoen with my stupid questions but please help! I have searched everywhere for these answers and so far have had no luck.
I am running a ETpub 2.60b server

  1. How do I lower the MAX HP of the medics and raise the HP of the soldiers?
    Basically, we are all sick of rambo medics, using the cvars for etpub i have manged to weaken them but i still cant get my head round the fats they have 50 more HP then every other class.
    I want to return the rambomedics to the soldiers, which is what that class should be used for and get the medics healing again.

  2. Does anyone have a basic extra set of weapons that will work with etpub?
    Basically I want assault rifles for the soldiers (BAR/STG44) without moving to NQ or JAymod, great mods in their own right but not what im after.

again, any offence caused, the i am sorry, im just depserate for some help and i thought i could get it here.

all thoughts and suggestions welcome


(Cambodunum) #2

better you will post at www.etpub.org


(cottonseed) #3

As stated above the etpub website will be the best bet to answer those questions. I have a jaymod server to to get rid of the rambo med’s I have a delay before they can self heal themselves after they took damage.


(nUllSkillZ) #4

2.) will be impossible I guess.
The usage of animations is hardcoded.
And therefore NQ specific.
And the models can’t be replaced class specific.


(-SSF-Sage) #5

[QUOTE=nUllSkillZ;179819]2.) will be impossible I guess.
The usage of animations is hardcoded.
And therefore NQ specific.
And the models can’t be replaced class specific.[/QUOTE]

Ehm… You can take the models and animations (if you get the permission ofc) or make your own. Then code all the relevant stuff.


(etcspartan) #6

Ok so if i went and begged SStorm for permission or the jaymod guys to let me use their models, would someone be willing to code it for me?

please please please??


(IndyJones) #7

i doubt it. these guns are barely used on servers cause they suck.


(nUllSkillZ) #8

Source of NQ is available.


(molotov) #9

offtopic sry:

nUllSkillZ check your PM pls


(etcspartan) #10

Hmmm so if the code is available can i use it to create my weapons pack? its based off etpub so should work, and i dont want anyhting fancy, just their extra weapons.


(stealth6) #11

good luck!


(etcspartan) #12

LOL thanks mate.

:smiley:


(nUllSkillZ) #13

You have to take the code parts of NQ dealing with these weapons and add it to ET-Pub source.
Than compile (at least for Windows).
Not that easy for someone who hasn’t coded yet.


(etcspartan) #14

ok so if someone knows how to do this, would they be in a very good mood and offer to do this for me?

please please please please

and we run a linux server, hosted at gameservers.com


(IndyJones) #15

seriously, why would you want these guns?


(etcspartan) #16

To give the soldier class a much neede boost. Basically, alot of us our history buffs and want the soldier class to have an assault rifle, the STG was an amazing weapon when it first entered service and we want that on our server. IMO the soldier class should dominate, not the medics, so using the various Cvars the medics have been weakened alot on the server, and I want to give the soldier class the weapon they need cos SMG’s just aint good enough.


(IndyJones) #17

stg isn’t a good weapon. none of the new weapons are good if u ask me. take a look at other servers - noone is using these weapons for playing. if u want to balance classes disable self healing and hp regeneration for medics and limit them per team.


(-SSF-Sage) #18

For my might be coming mod, I had in my mind to leave the medics as it is, except to limit the med packs to some number, I have 6 medpacks (without charge time…) per spawn atm, without being able to pick up more of them before you respawn. And maybe reduce the health generation to half.

What I’d do is to strenghten the other classes. Basicly just give them bigger starting and max health. I think I’ll put as much as for the medic. Maybe some new abilities, doubt it tho. That one I might do, tho I can only compile windows atm. :o

As linux is free, I might put it on one of my useless laptops to be able to compile linux. Btw I heard you can build mac on linux too… did I heard right?

I’d rather limit the soldier guns rather than give more, cos I personally don’t like soldier lamezor guns (in fact I was thinking of disabling soldier, but I don’t think I’ll do it now…) Basicly almost whatever you do the soldier would still be the least played class I think, as it doesn’t have any special abilities.

As for the other stuff, I maybe could do it for you, tho I will not want to take my time to add the weapons I don’t like.

Ps. pm me for more…

Edit. Stealth… :wink::tongue:


(nUllSkillZ) #19

To compile the mod for Mac you have to compile the source on a Mac.
You can cross-compile under Linux for Windows.


(kamikazee) #20

[QUOTE=nUllSkillZ;179894]To compile the mod for Mac you have to compile the source on a Mac.
You can cross-compile under Linux for Windows.[/QUOTE]
Cross-compiling for windows works thanks to MinGW, which includes loads of Windows header files and dll stubs. AFAIK, Bani used this to compile the ETPro win32 files.

The reason you can’t compile Mac-binaries on Linux is because the compiler/linker doesn’t have access to the header files and libraries corresponding to Mac OS X libraries. If anyone would make something like MinGW for the Mac environment there could be a chance it were possible, but I don’t know about any project as such. For this reason (though probably more), the ETPro team bought a Mac Mini to compile their mod.

Nowadays, you could run a wintel version of Mac OS X and compile it there. However, the folks at Apple don’t like this, so it remains illegal to run the OS on anything other than Mac hardware. Use at your own risk.