OpenArena Message Boards

OpenArena Contributions => Development => Topic started by: D_E_N_I_S_K_A on March 13, 2007, 11:09:24 AM



Title: How to make Vampire-style game
Post by: D_E_N_I_S_K_A on March 13, 2007, 11:09:24 AM
Just add this line around a line 1128 in g_combat.c
Code:
} else {
VectorCopy ( targ->r.currentOrigin, client->damage_from );
client->damage_fromWorld = qtrue;
}
// This is MODded
attacker->health=attacker->health+take*0.5;
if ( attacker->health>300 ) attacker->health=300;
}

Compile. Enjoy.


Title: Re: How to make Vampire-style game
Post by: pio on March 13, 2007, 04:12:00 PM
Huh whats it do,
Do you have the knowledge to code somthing like the basis of hidden source without changing much?


Title: Re: How to make Vampire-style game
Post by: Blaenk on March 13, 2007, 04:42:05 PM
Haha, I don't think that made sense, pio.


Title: Re: How to make Vampire-style game
Post by: dmn_clown on March 13, 2007, 05:07:47 PM
I think vampire death match is over rated.


Title: Re: How to make Vampire-style game
Post by: fromhell on March 13, 2007, 05:10:10 PM
/me was hoping it would be this :( (http://ja.wikipedia.org/wiki/%E3%83%B4%E3%82%A1%E3%83%B3%E3%83%91%E3%82%A4%E3%82%A2_%28%E3%82%B2%E3%83%BC%E3%83%A0%29)


Title: Re: How to make Vampire-style game
Post by: dmn_clown on March 13, 2007, 05:15:14 PM
Vampire Hunter D would be better.


Title: Re: How to make Vampire-style game
Post by: baronofhell on March 14, 2007, 08:53:15 AM
what is a Vampire Deathmatch? do you go biting others rather than shooting?


Title: Re: How to make Vampire-style game
Post by: pio on March 14, 2007, 12:41:47 PM
okay it dosent make scense and it was off topic i guess hidden source is a game to hard to mod, anyway does anyone know how to make a gaunlet only sever that would be good 


Title: Re: How to make Vampire-style game
Post by: kit89 on March 14, 2007, 01:16:29 PM
@ fromhell, you wouldn't happen to be able to translate that link? or direct me to a good japanese translator? 


Title: Re: How to make Vampire-style game
Post by: dmn_clown on March 14, 2007, 08:01:31 PM
what is a Vampire Deathmatch? do you go biting others rather than shooting?

Every time you injure someone, your health increases.  It's one of Nexuiz's game types.  Check their game out if you want to see what vampire death match is firsthand.


Title: Re: How to make Vampire-style game
Post by: baronofhell on March 15, 2007, 08:51:31 AM
Interesting :)


Title: Re: How to make Vampire-style game
Post by: iLeft.bye on May 20, 2007, 08:16:01 PM
bullets dont have teeth lol