help again

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
knuko
Lance Corporal
Posts: 19
Joined: Tue Feb 15, 2005 10:20 am

help again

Post by knuko »

Hey here am i againnnnnnnn :oops:

I have a dedicated server.. and i want no health in the level when a player died, does anyone know how

Sorry all, i'm a beginner and that were you too :P :!:
Hey, i gonna learn scripting :)
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Replace models/items/dm_50_healthbox.tik with models/fx/dummy.tik.

BTW I'm putting together a mod which will allow you to disable healthpacks, set custom health amounts, etc.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

yea,i want to disable health packs,not sure how hard it is,but it will go well wit my medic mod.
Image
User avatar
knuko
Lance Corporal
Posts: 19
Joined: Tue Feb 15, 2005 10:20 am

Post by knuko »

thannk you, you guys are great :P 8-)
Hey, i gonna learn scripting :)
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

to disable those heath packs you ought to have a loop going about once every few seconds with a removeclass on it. not a clean way, but since health packs are programmed in, well it's hard to undermine that.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

because clients will still see healthpacks flying from dying comrades. replacing the server side healthpack just fixes it for the server, the clients still see the packs.

EDIT: the forum did it again, my post was after Rookie One's :D
Last edited by lizardkid on Wed Feb 16, 2005 10:37 pm, edited 1 time in total.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Why bother yourself like that? I'm running a mod on my little LAN server which replaces the dm_50_healthbox.tik with a modified dummy.tik, which in turn removes itself after spawning. :P
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Grassy
First Lieutenant
Posts: 221
Joined: Sun Aug 22, 2004 11:36 am

Post by Grassy »

What the ???
You guys have script vision (similar to tunnel vision) :D
Just set the server cvar for no health, forget what it's exact name is now, but thats all there is to it, you can do it from the console or make an entry in your vote cfg if you want players to have access to enable / diable health.

ahhh here it is... this is how you add it to your vote cfg.

"Health Drop" "set" list
{
"On" "g_healthdrop 1"
"Off" "g_healthdrop 0"
}


or in your specific map scr use;

setcvar "g_healthdrop" "0" // no packs now
User avatar
knuko
Lance Corporal
Posts: 19
Joined: Tue Feb 15, 2005 10:20 am

Post by knuko »

[/quote]ahhh here it is... this is how you add it to your vote cfg.

"Health Drop" "set" list
{
"On" "g_healthdrop 1"
"Off" "g_healthdrop 0"
}

or in your specific map scr use;

setcvar "g_healthdrop" "0" // no packs now

thanks m8, but where can i find VOTE CFG?
Hey, i gonna learn scripting :)
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

dont worry about that, just type g_healthdrop 0 in console when you start the server.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
User avatar
knuko
Lance Corporal
Posts: 19
Joined: Tue Feb 15, 2005 10:20 am

Post by knuko »

haha dont worry :lol: :lol:
Hey, i gonna learn scripting :)
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Hmm... isn't this SH-only? :?
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

yes.. AA dont got vote cvars you bum :wink:
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Grassy
First Lieutenant
Posts: 221
Joined: Sun Aug 22, 2004 11:36 am

Post by Grassy »

Hmm... isn't this SH-only?
Who knows, no one ever states what they are refering to.. ie; AA SH BT in this area...
An ambiguous question will get a similar answer... hey I like that, might add that for my tag line.. :D
Post Reply