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 »i need script and i need help with a weapon falling and disappearing.

Author Topic: i need script and i need help with a weapon falling and disappearing. (12 messages, Page 1 of 1)
Moderators: Dennis

Recon_Sniper_4
Joined: Jun 2, 2009

Take down what once was a great power.


Posted: Nov 16, 2009 07:03 PM    Msg. 1 of 12       
i need a script that will create vehicles that start with h,g, and i
but the weapon thing is completely pissing me off i forgot how to make it so that the weapons wont disappear,and wont spawn ever again.


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Nov 16, 2009 07:05 PM    Msg. 2 of 12       
Use netgame equipment instead of .weapons.


Recon_Sniper_4
Joined: Jun 2, 2009

Take down what once was a great power.


Posted: Nov 16, 2009 07:06 PM    Msg. 3 of 12       
k and the script i fail at scripting so i need help on that one.


lordofblake
Joined: Jan 6, 2008

Nice Tongue


Posted: Nov 16, 2009 09:27 PM    Msg. 4 of 12       
This should do it.

(script startup creator
(object_create_containing h)
(object_create_containing g)
(object_create_containing i)
)


This will create any objects (in your case vehicles) that have the given substring in its name. I.E. h,g, and i. Just paste this in notepad and save as .HSC file. Make a new folder in your map's data folder named scripts. save in there, Open sapien, go to file, and compile scripts. Then compile in tool. I explained everything because i wasnt sure if you knew how to compile scripts or know much about them.


Polamee
Joined: Feb 25, 2008

MP2SPMT's founder


Posted: Nov 17, 2009 01:21 AM    Msg. 5 of 12       
Be advised that Blake's script will not work in Multiplayer, instead, you have to use the Easy halo Scripter instead (or script it yourself).


lordofblake
Joined: Jan 6, 2008

Nice Tongue


Posted: Nov 17, 2009 12:55 PM    Msg. 6 of 12       
Quote: --- Original message by: Polamee
Be advised that Blake's script will not work in Multiplayer, instead, you have to use the Easy halo Scripter instead (or script it yourself).


He never said it was for either, but i guess it would be for MP because of the disappearing thing. Well...

(script startup creator
(object_create_anew_containing h)
(object_create_anew_containing g)
(object_create_anew_containing i)
)


Also, if you dont use this then you can use (object_create_anew ) to make all the vehicles spawn independently. I lol'd at that easy Halo scripter comment. I hate that thing.


Recon_Sniper_4
Joined: Jun 2, 2009

Take down what once was a great power.


Posted: Nov 17, 2009 03:24 PM    Msg. 7 of 12       
Quote: --- Original message by: lordofblake
Quote: --- Original message by: Polamee
Be advised that Blake's script will not work in Multiplayer, instead, you have to use the Easy halo Scripter instead (or script it yourself).


He never said it was for either, but i guess it would be for MP because of the disappearing thing. Well...

(script startup creator
(object_create_anew_containing h)
(object_create_anew_containing g)
(object_create_anew_containing i)
)


Also, if you dont use this then you can use (object_create_anew ) to make all the vehicles spawn independently. I lol'd at that easy Halo scripter comment. I hate that thing.



this is what i exactly needed thnx guys still working on the map i had some draw backs


lordofblake
Joined: Jan 6, 2008

Nice Tongue


Posted: Nov 17, 2009 05:09 PM    Msg. 8 of 12       
Glad i could help you :)


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Nov 17, 2009 06:33 PM    Msg. 9 of 12       
Quote: --- Original message by: Polamee
Be advised that Blake's script will not work in Multiplayer, instead, you have to use the Easy halo Scripter instead (or script it yourself).


It works for multiplayer. The vehicles will just spawn at the beginning of the level. And what's with the Call of Duty Command accent? :\


lordofblake
Joined: Jan 6, 2008

Nice Tongue


Posted: Nov 17, 2009 08:20 PM    Msg. 10 of 12       
Quote: --- Original message by: Gamma927
Quote: --- Original message by: Polamee
Be advised that Blake's script will not work in Multiplayer, instead, you have to use the Easy halo Scripter instead (or script it yourself).


It works for multiplayer. The vehicles will just spawn at the beginning of the level. And what's with the Call of Duty Command accent? :\


My intention :) Cod accent, wut?


Polamee
Joined: Feb 25, 2008

MP2SPMT's founder


Posted: Nov 18, 2009 12:44 AM    Msg. 11 of 12       
Quote: --- Original message by: Gamma927
Quote: --- Original message by: Polamee
Be advised that Blake's script will not work in Multiplayer, instead, you have to use the Easy halo Scripter instead (or script it yourself).


It works for multiplayer. The vehicles will just spawn at the beginning of the level. And what's with the Call of Duty Command accent? :\


Yes, but some things with vehicle respawn won't work correctly. How, may I ask you, is the vehicle going to respawn with this script?

Also, the scripter is good for things such as scripting vehicles into the map that aren't in the globals. It saves me the trouble of doing it myself.

Edited by Polamee on Nov 18, 2009 at 12:46 AM


lordofblake
Joined: Jan 6, 2008

Nice Tongue


Posted: Nov 18, 2009 01:30 PM    Msg. 12 of 12       
Quote: --- Original message by: Polamee

Quote: --- Original message by: Gamma927
Quote: --- Original message by: Polamee
Be advised that Blake's script will not work in Multiplayer, instead, you have to use the Easy halo Scripter instead (or script it yourself).


It works for multiplayer. The vehicles will just spawn at the beginning of the level. And what's with the Call of Duty Command accent? :\


Yes, but some things with vehicle respawn won't work correctly. How, may I ask you, is the vehicle going to respawn with this script?

Also, the scripter is good for things such as scripting vehicles into the map that aren't in the globals. It saves me the trouble of doing it myself.

Edited by Polamee on Nov 18, 2009 at 12:46 AM


Meh, i would just add a long sleep loop. I never set respawns.

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 10:47 PM 109 ms.
A Halo Maps Website