1 (edited by Lartza 2009-12-28 21:24:36)

Topic: [UPCOMING MOD] RealisTee

Hello, this will be my first mod and first real deal with C++

I present you, RealisTee. Somebody can guess, but the name comes from Realistic-Tee(worlds). I suddenly just got this idea today and wondered, thy not give it a shot, I don't care if you wipe your "bottom" with it smile

So, idea of the mod is, weapons to be more realistic, later maybe little physic tweaks too, custom game modes and more?

Here are some of my ideas so far,
First, at start you have full health and armor (Of course SoldierTee's are equipped with body armor at the barracks smile) Server-sided mod. All gamemodes should work.

Weapons:
Hammer > Knife, kills with 2 slices(maybe one), VERY close range

Gun = Pistol, Bullet's don't curve and the maximum fire rate you can smash your mouse is reduced(maybe), ammo(like other weapons) and damage added.

Shotgun, Reduced fire rate, increased damage, haven't thought it a lot.

Grenade launcher > Rocket Launcher, Fly's straight forward, increased damage, blast range, VERY slow fire rate, minimal ammo.

Laser > Sniper, Kills with one shot(somehow I want to make it fire gun bullets), slow fire rate and minimal ammo.

I want somehow to add new weapon to the game, assault rifle, I hope it's possible(server-sided), but I will not do that right now.

Game modes:
Capture the Base, Some kind of base defense with either both offense and defense or only one team.

Elimination, You only have one life, don't blow it.

Game modes will be at this time only the regulars, rDM, rTDM, rCTF

So, I am happy to hear your comments, ideas. I might need some help since this really is my first experience, also I someday need Windows and Mac compilers, when I release the source.

Sincerely, Lartza

TO-DO:
Vanilla to r[MODE]. Done
Starting health and armor. Done
Weapons WORKING ON
Knife Pistol Shotgun Launcher Sniper

2

Re: [UPCOMING MOD] RealisTee

Hi,

I already thought of such a "realistic" mod (called it rDM too big_smile), some time ago, but this had quite others features than yours.
I don't understand what you want to modify the gun, and the laser render.
What I really wanted to do wasn't to modify weapons, but flags. I always felt strange that when you touch a flag from your team it automatically respawns. I wanted tees to get it back to its spawn point.
I also felt strange laser bounced as well with grund as with snow and metal blocks, so I wanted to create "mirror" tiles and "non-mirror" tiles.

These are some ideas, you are free to take whatever you want. I think this mod can be nice if you take care of weapons balancing, and do not try a crazy-like wink

Not Luck, Just Magic.

3

Re: [UPCOMING MOD] RealisTee

Hi,


To change weapon speed & curvature, there are some tuning variables :

grenade_curvature
grenade_speed
shotgun_curvature
shotgun_speed
gun_curvature
gun_speed

For lifetime, there are tuning variables too :

gun_lifetime
shotgun_lifetime
grenade_lifetime

Then, for damage, rendez-vous at character.cpp, line 328 :

PROJECTILE *proj = new PROJECTILE(WEAPON_GUN,
                player->client_id,
                projectile_startpos,
                direction,
                (int)(server_tickspeed()*tuning.gun_lifetime),
                1, 0, 0, -1, WEAPON_GUN);

what means

(int type,
int owner,
vec2 pos,
vec2 dir,
int span,
int damage, int flags, float force, int sound_impact, int weapon)

So here the 1 means the damage.

Rendez-vous line 363 for the shotgun, and line 386 for the grenade.


Good luck smile

4

Re: [UPCOMING MOD] RealisTee

Dune i really like your idea, if i understood if well: you want that the flag doesnt respawn if the teammate-player is in its range, you want that he picks it up and has to carrying it by himself to its point? or that he can take the flag away to carrying it to an more safe place? i would help with it, and my first command to it: you'll need a command to drop the flag and delete the auto-respawn-timer
about the laser: like in DDRace the laserblocks?

and now to you Lartza: i wish you the best for your ideas, but try to stay realistic, and dont get crazy wink
include also a remember-system for the attacker, that the attacker gets even his score if the enemy dies as result of deathtiles
maybe include that the enemy who was attacked with a knife bleeds? so he looses for some time over time health....

5

Re: [UPCOMING MOD] RealisTee

you want that the flag doesnt respawn if the teammate-player is in its range, you want that he picks it up and has to carrying it by himself to its point?

This is right. Well, I got this idea a lot of time ago, was unexperienced in teeworlds coding, and never tried again. If you want you can do it wink

or that he can take the flag away to carrying it to an more safe place

This remember school bad games when you threw the bag of some classmate through all the playground. No I don't think this is needed.

about the laser: like in DDRace the laserblocks?

Not at all. I was just saying that, by example, unhookable tiles should reflect laser and not grund. For that, you'll need to do a new tileset wink

About the flags, I think we should use with instagib1.1 (allow flag pass) sources, throwing the flag with the selfkill command.
This is a prototype, and has to be tested. Perhaps we need other features, perhaps it's simply crap wink

Not Luck, Just Magic.

6 (edited by Lartza 2009-12-28 14:51:11)

Re: [UPCOMING MOD] RealisTee

choupom wrote:

Hi,


To change weapon speed & curvature, there are some tuning variables :

grenade_curvature
grenade_speed
shotgun_curvature
shotgun_speed
gun_curvature
gun_speed

For lifetime, there are tuning variables too :

gun_lifetime
shotgun_lifetime
grenade_lifetime

Good luck smile

Yea, but where are the source lines for speed, curvature and lifetime?

Zeratul wrote:

and now to you Lartza: i wish you the best for your ideas, but try to stay realistic, and dont get crazy wink

I hate all crazy mods big_smile slow motion too smile

7

Re: [UPCOMING MOD] RealisTee

Lartza wrote:

Yea, but where are the source lines for speed, curvature and lifetime?

projectile.cpp|hpp

8 (edited by Lartza 2009-12-28 21:19:01)

Re: [UPCOMING MOD] RealisTee

Zeratul wrote:
Lartza wrote:

Yea, but where are the source lines for speed, curvature and lifetime?

projectile.cpp|hpp

Alright, all help was appreciated and helpful, now I can continue and make this mod, hope it becomes good.

EDIT: Couple of problems, if I edit curvature, speed and lifetime there(projectile.cpp) The graphics of the projectile fly like vanilla teeworlds, but the real projectile is invisible and flews like I modified it. If I change tuning.hpp, the net hash is regenerated and clients can't connect. Any ideas?

9

Re: [UPCOMING MOD] RealisTee

TO make it more real, say the pistol does not reload automatically. You have to pick up pistol from the ground big_smile

Or maybe you can have a chat command to reload (/reload) and bind it to the r key or soemthing.

10 (edited by Driehoek 2010-08-09 18:54:35)

Re: [UPCOMING MOD] RealisTee

Good idea. Maybe you can make some kind of real weapon gameskin, and a superweapon for each team which has a timer and will create some kind of "nuclear zone" when impacts.