Laserwar mod

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Laserwar mod

Postby tZork » Wed Jun 21, 2006 8:19 am

I spent a few hrs playing ctf with laser only with a few other playres that where it on it. And tho i have been thinking of a laserwar type mod before this made me decide to acctualy do it.

So, here it its. Its activated by typing "set g_laserwar 1" at the console (before the game starts).

The mod includes :

* All pickup weapons removed, except nexgun. In their place small health packs spawn.
* All ammo removed. Small armour spawns where thise where.
* All health is small health, one exeption mega health thats now a normal health pack.
* Only strength powerupp remains.
* Players spawn with laser only
* Laser is slightly more powerfull (both dmg and force) and does less self-damage.
* The nexgun is.. diffrent now ;) just try it and you will see.

To run the mod download:
http://www.games43.se/nexuiz/mods/laserwar.pk3
and put it in your nexuiz/data/ dir

The source of the mod is here:
http://www.games43.se/nexuiz/mods/laserwar_src.rar
[/list]
Last edited by tZork on Mon Jun 26, 2006 6:00 am, edited 1 time in total.
HOF:
<Diablo> the nex is a "game modification"
<Diablo> quake1 never had a weapon like that.
<Vordreller> there was no need for anything over 4GB untill Vista came along
<Samua>]Idea: Fix it? :D
<Samua>Lies, that only applies to other people.
tZork
tZite Admin
 
Posts: 1337
Joined: Tue Feb 28, 2006 6:16 pm
Location: Halfway to somwhere else

Postby tChr » Wed Jun 21, 2006 9:23 am

Its good to see that you're back in full vigor, tZork... I havent had time to test yet.. I will :)

Good job btw (i'm sure :))
the spice extend life!
the spice expand conciousness!
the spice is vital to space travel!
sooooo.. tell me what you want, waht you really-really want
I will proceed directly to the intravenous injection of hard drugs, please.
tChr
Forum addon
 
Posts: 1501
Joined: Tue Feb 28, 2006 9:11 pm
Location: Trondheim, Norway

Postby PHREAK » Wed Jun 21, 2006 9:43 am

Just played against some bots.
Fun times ;)
Love the nex, it's like laser with nex power.
This should be fun.
Tchr, wanna play this on a spacemap? :twisted:
PHREAK
Alien
 
Posts: 153
Joined: Mon Mar 06, 2006 6:54 pm
Location: USA

Postby tChr » Wed Jun 21, 2006 9:46 am

PHREAK wrote:Just played against some bots.
Fun times ;)
Love the nex, it's like laser with nex power.
This should be fun.
Tchr, wanna play this on a spacemap? :twisted:

1on1 laser war does not bother me a bit. thn I can just void it.. :P
the spice extend life!
the spice expand conciousness!
the spice is vital to space travel!
sooooo.. tell me what you want, waht you really-really want
I will proceed directly to the intravenous injection of hard drugs, please.
tChr
Forum addon
 
Posts: 1501
Joined: Tue Feb 28, 2006 9:11 pm
Location: Trondheim, Norway

Postby dfkgmasdfnasodrg » Wed Jun 21, 2006 11:01 am

sounds good i'm going to try this as soon as i get home from work
dfkgmasdfnasodrg
Alien
 
Posts: 153
Joined: Sat Mar 04, 2006 4:21 pm

Postby tZork » Wed Jun 21, 2006 8:03 pm

Tnx for the feedback all =)

some kool stuff to try:
1on1 laserwar ctf. very fun and very challanging. the facing worlds remix for nexuiz is very very good for this.

Enable fullbright players and items. Speeds up the game even more

Future
* better cvar control over the stuff changed / affected by laserwar. [done]
* Midair messages, and possibly some bonus for hittin someone in mid-air with the laser [done]
* Proper modinfo support.
* You idea here

Testserver now running
at zdev.dvrdns.org / 85.30.181.104 (public)
Last edited by tZork on Thu Jun 22, 2006 2:49 am, edited 1 time in total.
HOF:
<Diablo> the nex is a "game modification"
<Diablo> quake1 never had a weapon like that.
<Vordreller> there was no need for anything over 4GB untill Vista came along
<Samua>]Idea: Fix it? :D
<Samua>Lies, that only applies to other people.
tZork
tZite Admin
 
Posts: 1337
Joined: Tue Feb 28, 2006 6:16 pm
Location: Halfway to somwhere else

Postby tZork » Thu Jun 22, 2006 2:48 am

Mod update

Update adds cvarcontrol and new damage handeling.

Direct hits are now handeld diffrently depending on if your target and/or you are in the air, or if you are both on the ground.

All the control cvars are modefiers to the ordinary laser cvars. It works like this:
Code: Select all
lets say that:
    g_balance_laser_force = 50
    g_laserwar_laser_forcemod = 1.2
then
    final_force = 50 * 1.2


Thise are the control cvars:
Code: Select all
// Enable laserwar
set g_laserwar 1

// Hit world or indirect hit
set g_laserwar_laser_forcemod 1.2
set g_laserwar_laser_dmgmod 0.8
set g_laserwar_laser_radmod 1.5

// Direct hit, both players on ground
set g_laserwar_laser_gtg_forcemod 1.2
set g_laserwar_laser_gtg_dmgmod 1.2

// Direct hit, hit player in air
set g_laserwar_laser_gta_forcemod  1.4
set g_laserwar_laser_gta_dmgmod 2

// Direct hit, both players in air
set g_laserwar_laser_ata_forcemod 2
set g_laserwar_laser_ata_dmgmod 3

// Laserwar selfdmg
set g_laserwar_selfdmgmod 0.20


For local games: Copy above to a file names "laserwar.cfg" and put it in your nexuiz/data folder. When you want to run laserwar open the console and enter "exec laserwar.cfg" then load a map and laser away =)

For servers: Copy above cvars into you servers config file and restart the server.

Mod download:
http://www.games43.se/nexuiz/mods/laserwar.pk3

Src download:
http://www.games43.se/nexuiz/mods/laserwar_src.rar
HOF:
<Diablo> the nex is a "game modification"
<Diablo> quake1 never had a weapon like that.
<Vordreller> there was no need for anything over 4GB untill Vista came along
<Samua>]Idea: Fix it? :D
<Samua>Lies, that only applies to other people.
tZork
tZite Admin
 
Posts: 1337
Joined: Tue Feb 28, 2006 6:16 pm
Location: Halfway to somwhere else

Postby tZork » Mon Jun 26, 2006 6:24 am

Update.. again.

There wont be any updates in a while unless some horrible bug is discoverd.

How it works (main points)
If you mahange to hit (direct or splash) many times in a row with the laser you will get a damage and refire time bonus (more dmg less refire time)

Direct hits do more damage. If your target is in the air even more. If you and your target is in the air you do best dmg. Chargeup bonus from not missing a shot aplies.

Every weapon except the laser and the "nex" is removed. The nex is renamed "Bloodletter" and is verry diffrent from the nexgun. On impact it makes a player start bleeding, hurting him over time. It also trown the player up into the air and back on impact.

All removed weps and ammo now turn into small health/armour packs. The only larger health pack is a "normal" one found where the mega healths used to be. The strength powerup remains.

midair hits have some nice bonus drops and fx if they are killshots.


The config
I droped the system with mods for the exsisting weps cvars, it dident work any more and was a preformace downer. This sample config below if now in laserwar.pk3 too (so if you want the standard settings you dont need to copy and paste enything, just "exec laserwar,cfg"
The config file should be preddy self-explainatory by now:
Code: Select all
// weapon balance settings follow
// Nexuiz 2.0 default laser:
// g_balance_laser_damage 35
// g_balance_laser_edgedamage 10
// g_balance_laser_force 400
// g_balance_laser_radius 70
// g_balance_laser_speed 9000
// g_balance_laser_refire 0.7
// g_balance_laser_animtime 0.3
// g_balance_laser_lifetime 9


// Enable laserwar
set g_laserwar 1

// General
set g_laserwar_laser_refire         0.6
set g_laserwar_selfdmgmod          0.35   // 0.2 = 20% selfdmg (80% less then normal)

// --nexgun stuff --
// Small inital impact dmg, moderate/large force (upwards)
set g_laserwar_nexgun_dmg         10
set g_laserwar_nexgun_force         950
set g_laserwar_nexgun_up         0.35
set g_laserwar_nexgun_refire         1
// Bleed.
// default is 80 dmg over 10 secs of one hit. (2/0.25*10)
// 2 hits = 160 dmg over 10 + 'diffrence from first to second shot' (minimun g_laserwar_nexgun_refire)
// wth does this all mean? it means one shot is painfull but it dont kill you
// two shots will very likely kill you, in time.
set g_laserwar_nexgun_bleed_time      10   // Bleed for this long
set g_laserwar_nexgun_bleed_dmg      2   // Every _ineterval does this dmg
set g_laserwar_nexgun_bleed_interval   0.25   // Hurt how often


// -- Laser stuff --
// Hit world or indirect hit
set g_laserwar_laser_damage         25
set g_laserwar_laser_edgedamage       5
set g_laserwar_laser_force         400
set g_laserwar_laser_radius         85

// Direct hit, both players on ground
set g_laserwar_laser_gtg_damage      30
set g_laserwar_laser_gtg_edgedamage    10
set g_laserwar_laser_gtg_force      450
set g_laserwar_laser_gtg_radius      85

// Direct hit, hit player in air
set g_laserwar_laser_gta_damage      55
set g_laserwar_laser_gta_edgedamage    20
set g_laserwar_laser_gta_force      500
set g_laserwar_laser_gta_radius      70

// Direct hit, both players in air
set g_laserwar_laser_ata_damage      75
set g_laserwar_laser_ata_edgedamage    25
set g_laserwar_laser_ata_force      600
set g_laserwar_laser_ata_radius      75
set g_laserwar_laser_ata_gibfx      1

// Consecutive hits buildbup control (laser only)
set g_laserwar_chit_damage_mod      0.15   // Damage (center and egde) scales by this for consectuive hits
set g_laserwar_chit_blastscale_mod      0.05   // explo radius sales by this for each hit.
set g_laserwar_chit_blastscale_max      2.5   // no more then this mutch extra radius (2.5 = 250%)
set g_laserwar_chit_boltscale_mod      0.15   // Laserbolt size scales by this each hit
set g_laserwar_chit_refire_mod      0.15   // refire
set g_laserwar_chit_refire_min      0.01   // fastest possible refire



HIGLY recommended non-laserwar config options to go with laserwar games:
g_fullbrightplayers 1
slowmo 0.6 to 0.9 (dependning on how good the players are)

Instal:
For local games: Copy above to a file named "laserwar.cfg" and put it in your nexuiz/data folder (and be omited if you want the standard settings). When you want to run laserwar open the console and enter "exec laserwar.cfg" then load a map and laser away =)

For servers: Copy above cvars into you servers config file and restart the server.

Mod download:
http://www.games43.se/nexuiz/mods/laserwar.pk3

Src download:
http://www.games43.se/nexuiz/mods/laserwar_src.rar

Testserver still running at
zdev.dvrdns.org / 85.30.181.104
Its on my home (dsl) conn, so dont expect miracles. If someone would like to host a real testserver, that would be zuper.
HOF:
<Diablo> the nex is a "game modification"
<Diablo> quake1 never had a weapon like that.
<Vordreller> there was no need for anything over 4GB untill Vista came along
<Samua>]Idea: Fix it? :D
<Samua>Lies, that only applies to other people.
tZork
tZite Admin
 
Posts: 1337
Joined: Tue Feb 28, 2006 6:16 pm
Location: Halfway to somwhere else


Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron