Health

Have questions about CoD/UO mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Health

Post by Nightmare » August 25th, 2006, 11:17 pm

How do you make a trigger give health?
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

User avatar
Moriar
CJ Newbie
CJ Newbie
Posts: 88
Joined: March 12th, 2006, 8:15 pm
Location: The Netherlands

Post by Moriar » August 25th, 2006, 11:59 pm

I dont know how to make a trigger which gives health,
but maybe this works....just thought about it and thought it might work...
create a item/health and just delete the key:model, and value:xmodel/health_medium

would that work? or will you see a stupid untextured box?
Last edited by Moriar on August 28th, 2006, 4:18 pm, edited 1 time in total.

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » August 26th, 2006, 12:02 am

make a healthpack put it somewere in the map (where no one see it) give it target not targetname) like:

Code: Select all

key: target  value: trigger1
then make a trigger multiple give it targetname

Code: Select all

key: targetname  value: trigger1
(haven't try'd yet but might works) o and select the respawn (healthpack) and

Code: Select all

key: wait
value: 0.1
Cod 1 Mapper&Modder&Moddeler

Lisa
CJ Worshipper
CJ Worshipper
Posts: 442
Joined: December 24th, 2005, 1:22 am
Location: US of A

Re: Health

Post by Lisa » August 26th, 2006, 12:33 am

Nightmare wrote:How do you make a trigger give health?
If I told you, I'd have to kill you.
Image
~Materazzi~
Image

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Re: Health

Post by creator » August 26th, 2006, 12:39 am

Lisa wrote:
Nightmare wrote:How do you make a trigger give health?
If I told you, I'd have to kill you.
tell me!! in the game u may kill me in the game
Cod 1 Mapper&Modder&Moddeler

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Post by Nightmare » August 26th, 2006, 2:12 am

ks thats not helpful :?
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » August 26th, 2006, 2:14 am

lol funny :P nm test my way
Cod 1 Mapper&Modder&Moddeler

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Post by Nightmare » August 26th, 2006, 2:15 am

you try it first and tell me if it works
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

Guest

Post by Guest » August 26th, 2006, 2:22 am

got no time :P

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Post by Nightmare » August 26th, 2006, 2:30 am

still dont see anything
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » August 26th, 2006, 3:10 am

Code: Select all

trig waittill("trigger",user);
user.health+=<number>;
change <number> for amount to heal.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
Moriar
CJ Newbie
CJ Newbie
Posts: 88
Joined: March 12th, 2006, 8:15 pm
Location: The Netherlands

Post by Moriar » August 26th, 2006, 12:15 pm

OK.. Drofders way will work....but will my way work too? the healthpack without a model?

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » August 26th, 2006, 12:32 pm

what about mine :P
Cod 1 Mapper&Modder&Moddeler

User avatar
mrd
CJ Newbie
CJ Newbie
Posts: 94
Joined: April 13th, 2006, 6:32 pm

Post by mrd » August 26th, 2006, 1:02 pm

just download a model of a healthpack problem solved?
Image
Image
Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » August 26th, 2006, 1:22 pm

Moriar wrote:OK.. Drofders way will work....but will my way work too? the healthpack without a model?
Worth a try, but I doubt it.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 2 guests