Site Navigation
QuakeOne News
» Latest News
» News Archives
» QuakeOne Movies

QuakeOne Help
» File Downloads
» Quake Help
» Quake Servers

QuakeOne Community
» Forums
» Chat *new*
» Poll Booth
» Memberlist
» Member Map

Site Info
» Community Rules
» Moderator List

» Buy Quake

Visit QuakeOne.com On Facebook!Visit QuakeOne
on Facebook

Log in
User Name:

Password:

Not a member yet?
Register Now!
Online Users: 347
3 members and 344 guests
davebeats83, talisa
Most users ever online was 2,542, 06-04-2016 at 12:58 AM.
Go Back Home > Forum Search Forums

Thread: Regeneration
View Single Post
Unread 02-27-2017, 11:25 AM   #1 (permalink)
dancar
Axe Man
USER INFO »
Posts: 13
+/-  Reputation: dancar is on a distinguished road
Join Date: Mar 2012
Currently: Offline
Regeneration

I would like to change the invulnerability powerup into a regenaration powerup.

This's the original code:

void () item_artifact_invulnerability =
{
self.touch = powerup_touch;
precache_model ("progs/invulner.mdl");
precache_sound ("items/protect.wav");
precache_sound ("items/protect2.wav");
precache_sound ("items/protect3.wav");
self.noise = "items/protect.wav";
setmodel (self, "progs/invulner.mdl");
self.netname = "Pentagram of Protection";
self.items = IT_INVULNERABILITY;
setsize (self, VEC_HULL_MIN, VEC_HULL_MAX);
StartItem ();
};

What should I write to make the change, please?
Reply With Quote
 

All times are GMT -6. The time now is 09:19 PM.


eXTReMe Tracker