Coder Needed! Full recognition in Mod for job!


(JorganVonStrngle) #1

I need someone who will be able to code this model for a new “=WF= Supreme Sniper” mod. These are the specs:

Damage per shot:

Scoped:

Headshot w/ Helmet: 100
Headshot no Helmet: 125
Body shot: 55

Unscoped:

Headshot w/ Helmet: 50
Headshot no Helmet: 75
Body shot: 30

No muzzle flash

5 shot clip (Bolt action, so one shot at a time, about 1/2 second pause between each shot)

Gun for Allied Covert Ops

Max ammo held at once: 5/25 (30)

If anyone can do this job, please PM me at and I will provide model as well as weapon section of source code


(kamikazee) #2

You posted this here before.


(JorganVonStrngle) #3

I know, but I got no replies . Do you anything bout coding? Maybe you could help?


(Elite) #4

For the damage, just go into g_weapon.c I believe (can’t recall, on my mod I took it out and have it configurable via parsing config files) and look for G_GetWeaponDamage and G_GetWeaponSpread.

Then, for the muzzle flash, open weapons/<weaponname>.weap and inside that file comment out the flashes for first and third person near the bottom of the files.

In bg_misc.c I believe (can’t recall, on my mod I took it out and have it configurable via parsing config files) and look for ammotable_t structure where it is initialized. Then just change the clip sizes and start ammo and w/e else you need here.

I have some stuff at my forums that may assist you in adding weapon to the game. If what you need is not there, just post what you need and I will answer it for you.
http://etkinvasion.com

If you need more clarification let me know and I will show you exactly want you need to do, except I’m kinda tired right now (4:20am) and dont’ really want to open up my source. Sorry for my laziness, but I hope what I said above will atleast get you started.


#5

Try etpub, you can change damage per weapon in that mod.