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 »Pelican Pickup Script. Instead Of Pele A 747 Frieght Plane

Author Topic: Pelican Pickup Script. Instead Of Pele A 747 Frieght Plane (7 messages, Page 1 of 1)
Moderators: Dennis

Sebby123
Joined: Aug 15, 2007

I Like Pie, Do You Like Pie? Xfire: sebthepleb


Posted: Sep 4, 2007 02:55 PM    Msg. 1 of 7       
I Almost Know This Is Possible.

Im Begging To Model Out A Boeing 747.
I Want It To Be Like The Pelican With The Extracting Wheels And The Sword With The Door.

I Want To Be Able To Press A Key For The Frieght Doors Opening And Closing, And Another For Locking A Warthog When Inside.

Im Almost Sure Its Possible Because Theres A Script So The Pelican Will Pickup A Hog.


If Someone Could Help Me I Would Be Very Gratefull.


This Is A Pelican Pickup Script

My Pelican Is Called Peli, My Warthog Is Called Hog, And My Trigger Volume Is Called enterslot1

Thanks To Killer Kiwi For The Script Maker.

EDIT: I Think I Can use That Scipt If I Change It To My Model Name And That. But Ye...
What About The Doors And Wheels.


Script code
(global short Peli_has_hog_number -1)

(script continuous set_hogs_Peli_enterslot1
(begin
(if
(and
(= (volume_test_object enterslot1 Peli) true)
(= (unit_get_current_flashlight_state Peli) true)
)
(begin
(begin
(if
(and
(= (volume_test_object enterslot1 Hog) true)
(= Peli_has_hog_number -1)
)
(begin
(unit_set_desired_flashlight_state Peli false)
(set Peli_has_hog_number 1)
)
)
)
)
)
)
)

(script continuous Attach_hogs_Peli
(begin
(sleep_until (> Peli_has_hog_number -1) 11)
(begin
(if (= Peli_has_hog_number 1)
(begin
(sleep 1)
(objects_attach Peli "cargo" Hog "")
(objects_detach Peli Hog )
)
)
)
)
)

(script continuous Detach_hogs_Peli
(begin
(sleep_until (= (unit_get_current_flashlight_state Peli) true) 33)
(set Peli_has_hog_number -1)
(unit_set_desired_flashlight_state Peli false)
)
)

Edited by Sebby123 on Sep 4, 2007 at 03:01 PM


SGWraith
Joined: Apr 15, 2006

[SG] Clan


Posted: Sep 4, 2007 03:09 PM    Msg. 2 of 7       
Quote: --- Original message by: Sebby123
Im Begging To Model Out A Boeing 747.


Are you asking someone to make this for you or do you have a model already...


Sebby123
Joined: Aug 15, 2007

I Like Pie, Do You Like Pie? Xfire: sebthepleb


Posted: Sep 4, 2007 03:25 PM    Msg. 3 of 7       
Im making the model myself, i just need the knowhow on the wheel animating like the pelicans wheel animating, and the doors like the longswords door.

Im making the model at the moment.

Would that pele script work if i made the trigger inside the plane, and named the plane b747 and change dthe name in the script to b747 would something like that work?


Caboose117
Joined: Jul 23, 2006

Seriously guys?


Posted: Sep 4, 2007 05:46 PM    Msg. 4 of 7       
Ok, if you want a working door, plus a hog attaching, plus landing gears, I believe you have 2 options. A: Script the door to a zoom test command, the hog attach to a flashlight test, and as for the landing gears, check the Coldsnap Jet tags to see how that works. B: Make the hog scripted to the flashlight, the gears to the zoom, and attach a invisible device control to the door (which would therefore be a device machine) and script the door to open when that device control is activated. That way, the door can be opened from outside the plane, the hog driven inside, and then the pilot runs upstairs to the cockpit to fly and attach the thing. Also there would need to be a trigger that tests for the hog and 747 so that the hog isn't attached to it from anywhere on the map. AKA, Blue base steals all the hogs from red team, and blue team, because you hit the flashlight. (Honestly, I doubt that thing with the hogs would happen, but I'm sure its possible...)

Sorry its so long...


Third option: Crouch animation for the door/gears, and the hog is flashlight, and the one not used for a crouch animation is for zoom.
Edited by Caboose117 on Sep 4, 2007 at 05:47 PM


Yoda117
Joined: Jun 5, 2007

Created this account when I was a 13 yo moron


Posted: Sep 4, 2007 06:45 PM    Msg. 5 of 7       
awsome idea. are you gonna make your own sounds, or you gonna get them from someone because if you use peli sounds it will sound stupid. a jet angine would be good :D


Sebby123
Joined: Aug 15, 2007

I Like Pie, Do You Like Pie? Xfire: sebthepleb


Posted: Sep 5, 2007 12:55 PM    Msg. 6 of 7       
:S I Know There Would Be Work But Not That Much.

And Yes I Plan On Getting Some Jet Noises.

And 1 Very Nooby Question, What Do I Use To Rip Tags
And Whats The Whole Zoom Thing, Im Still New, Remember That...


SGWraith
Joined: Apr 15, 2006

[SG] Clan


Posted: Sep 5, 2007 01:37 PM    Msg. 7 of 7       
http://hce.halomaps.org/index.cfm?Search=tag+ripping

The zoom thing is an animation trick apparently. You'll have to wait for someone else to explain that since I've never made vehicles before and had never heard of that trick.

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 6:20 AM 109 ms.
A Halo Maps Website