Page 1 of 1

Power-up weapons?

Posted: Tue Jan 01, 2008 3:39 pm
by ogrish
I want to make a Special Melea weapon, When you get the weapon it speeds you up while you have it, like oddball abilities on a sword.

Maybe even slowly does the owner damage, like shield reduction, for the price of speed boost.

Posted: Tue Jan 01, 2008 3:43 pm
by DarkShallFall
you can set the weapon for game type in multiplayer globals, that stuff is all xbe controlled not meta.

Re: Power-up weapons?

Posted: Tue Jan 01, 2008 4:34 pm
by plushiefire
ogrish wrote:I want to make a Special Melea weapon, When you get the weapon it speeds you up while you have it, like oddball abilities on a sword.

Maybe even slowly does the owner damage, like shield reduction, for the price of speed boost.
I know theres a way to do it with scripts. When I have time maybe I'll get one for you.

Posted: Tue Jan 01, 2008 9:21 pm
by ogrish
if it cant be done, Ill settle for sword with shield or invisable powerup effect. That should be easy enough.

Posted: Wed Jan 02, 2008 2:24 am
by Supermodder911
It Can be done there are scripts that take away the players health in Campaign.
If I remember righ there are some to regenerate too.

Posted: Wed Jan 02, 2008 8:45 am
by plushiefire
Supermodder911 wrote:It Can be done there are scripts that take away the players health in Campaign.
If I remember righ there are some to regenerate too.
Its posible to increase and decrease speed, and change gravity and more.

Posted: Wed Jan 02, 2008 9:40 am
by DarkShallFall
You can edit player speed in multilayer globals. For low gravity thats a script

Code: Select all

(script startup low_grav
 (begin
  (physics_set_gravity 0)
 )
)
0 is no gravity at all, I suggest 0.5 just edit to your liking.

Posted: Wed Jan 02, 2008 10:41 am
by ogrish
The goal is to apply special abilities to one weapon in game,(a melea weapon). And make it respawn back to its spawning location when dropped, or the wielder is killed.

So the sword could give speed to the one holding it but when its dropped your back to normal speed.

Origanaly all my weapons were going to get an ability.
I started with the shotgun, when out of ammo the shield would recharge,
but it didnt always work right.

Posted: Wed Jan 02, 2008 1:18 pm
by xzodia
the speed thing would be possible if you could find the 'movement penalty' value for the weap tag...(its named already but either its in the wrong place or its disabled in h2)