A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »Bear with me on this but if I can do this it would be cool ingame

Author Topic: Bear with me on this but if I can do this it would be cool ingame (3 messages, Page 1 of 1)
Moderators: Dennis

eliteslasher
Joined: Jun 30, 2008

Crysis 3!!!!!!! All I have to say. :D


Posted: May 22, 2011 04:00 AM    Msg. 1 of 3       
Okay guys, this is what I am trying to see if is possible. I want to make a weapon that (IDK if it is possible) shoots trickles of health. Basically I want to make it as a 3rd or fourth weapon like the bubble shield and power drainer are.
IF it is possible to shoot trickles of health, then I want to make a weapon that shoots health back at the user but when depleted, is discarded and destroyed.
Again, I have no clue if any of this is possible in MP through scripting or whatnot but if anyone has any idea if this may be possible, please contact me because I would love to implement something like this in a modern map I am making.


SlappyThePirate
Joined: Aug 24, 2009

You are irritating, I'll release nothing


Posted: May 22, 2011 12:02 PM    Msg. 2 of 3       
Health can only be restored in full though healthpacks. Also why regenerators cannot be done.


kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: May 22, 2011 01:07 PM    Msg. 3 of 3       
(global short number 0)

(script static "unit" player
(unit (list_get (players) NUMBER))
)

(script continuous heal
(if (and (objects_can_see_object [biped1] (player) 45) (objects_can_see_object [biped2] (player) 45))
(unit_set_current_vitality (player) (+ (* (unit_get_health (player)) 75)) 3) (* (unit_get_shield (player)) 75))
)
(if (>= number (- (list_count (players)) 1)) (set number 0) (set number (+ number 1)))
)

(script continuous bipedprep
(ai_look_at_object [biped1] [biped2])
(ai_look_at_object [biped2] [biped1])
(ai_attach [biped1] [encounter])
(ai_attach [biped2] [encounter])
(objects_attach [object] "[marker/node]" [biped1] "head")
(objects_attach [object] "[marker/node]" [biped2] "head")
(ai_set_deaf [encounter] 1)
(ai_set_blind [encounter] 1)
(sleep 5)
)

basic movable regeneration script. you still need to pick what you'll attach it to and stuff, but your probably gonna make conditions like if they are holding a certain weapon, then attach it to so and so.. Anyways, study that and make use of it. the health and shield numbers are set, so that a standard cybory (75 health, 75 shield) regenerates 3 health a run through of the script.. which will repeat faster the less players are in the server lol (because my number script only goes through players in the server, not all 16 unless there is 16.. so it will run through less players the less living people there are in the server)


Inside the biped prep, you can toss what ever braindamaging effects on the encounter you like. the worse ive ever had them do is look at me when ever ive shot them with a flamethrower, so I tossed those few things in to try to prevent that; if you want more, toss em in, it doesn't matter, they arent there to think, they are only there to aim at each other. Monitors work well since they are just heads.

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 9:09 AM 141 ms.
A Halo Maps Website