
FtDSpartn
Joined: May 1, 2009
Verified AI.
|
Posted: Jul 14, 2009 02:45 AM
Msg. 1 of 13
Is it possible to edit,like say,deathisland,and use scripts on it? And if so can you tell me how to do it? Thanx!
|
|
|

Polamee
Joined: Feb 25, 2008
MP2SPMT's founder
|
Posted: Jul 14, 2009 03:47 AM
Msg. 2 of 13
Of course. Many SinglePlayer maps have been created based on classic SP maps, like deathisland. Download the Halo Editing Kit Plus, and extract the .scenario from deathisland.map.
Next, go to Halo Custom Edition\Data\levels\test\deathisland\scripts (if the folders are not there, create them) and place the script as a .hsc file there. Open up the scenario in Sapien and compile.
|
|
|

FtDSpartn
Joined: May 1, 2009
Verified AI.
|
Posted: Jul 14, 2009 03:53 AM
Msg. 3 of 13
I Already have them extracted,i just wanted to know,and how to do it.Thanks very much. E: Also,how would i make a .hsc file?E2:nvm. Edited by FtDSpartn on Jul 14, 2009 at 03:56 AM Edited by FtDSpartn on Jul 14, 2009 at 03:56 AMAlso,how would i have a marine start in a pelican that has a warthog,and drop off troops and the warthog,then fly away and disapear?I know is has something to do with vehicle_load_magic,object_attach,and vehicle_unload.And i know i need animations for it,i used W-Driver. Edited by FtDSpartn on Jul 14, 2009 at 04:04 AM
|
|
|

goyanks135
Joined: Nov 13, 2005
|
Posted: Jul 14, 2009 10:37 AM
Msg. 4 of 13
Quote: --- Original message by: FtDSpartn Also,how would i have a marine start in a pelican that has a warthog,and drop off troops and the warthog,then fly away and disapear?I know is has something to do with vehicle_load_magic,object_attach,and vehicle_unload.And i know i need animations for it,i used W-Driver. Edited by FtDSpartn on Jul 14, 2009 at 04:04 AM This can also be done with command lists. I am not sure which is better/easier to use.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jul 14, 2009 10:40 AM
Msg. 5 of 13
Scripts are far more effective, as command lists don't always work.
|
|
|

FtDSpartn
Joined: May 1, 2009
Verified AI.
|
Posted: Jul 14, 2009 09:27 PM
Msg. 6 of 13
So,anyone willing to give me a script that does that? :P
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jul 14, 2009 09:30 PM
Msg. 7 of 13
Too many things to plug in. Also, the pelicans in the original campaign didn't have any AI drivers. Instead, they used recorded animations. But if you are using an AI driver, you'll have to do something like this:
-vehicle_load_magic (loads pelican) -ai_command_list (flies pelican to area) -vehicle_unload (unloads pelican) -ai_command_list (flies pelican away)
|
|
|

FtDSpartn
Joined: May 1, 2009
Verified AI.
|
Posted: Jul 14, 2009 09:48 PM
Msg. 8 of 13
Ok,im downloading scripting,i followed taters tut,so would this script work? (script startup Welcome (begin (sv_say "Welcome to My Map!") ) )
|
|
|

goyanks135
Joined: Nov 13, 2005
|
Posted: Jul 14, 2009 10:39 PM
Msg. 9 of 13
I would assume so. Wow I havn't worked with scripts in a while. You can compile your scripts in sapien and it will tell you if there are any errors. However, just like a regular program, even if it compiles correctly it may not run as originally intended.
|
|
|

FtDSpartn
Joined: May 1, 2009
Verified AI.
|
Posted: Jul 14, 2009 10:45 PM
Msg. 10 of 13
Thanks,i put it with another script and they both worked.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jul 15, 2009 09:56 AM
Msg. 11 of 13
No need for the begin. If you use that all the time, you're going to encounter serious trouble.
|
|
|

FtDSpartn
Joined: May 1, 2009
Verified AI.
|
Posted: Jul 15, 2009 01:48 PM
Msg. 12 of 13
Quote: --- Original message by: Gamma927 No need for the begin. If you use that all the time, you're going to encounter serious trouble. Like how? Well anyways,if i don't need it,i won't put it.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jul 15, 2009 04:11 PM
Msg. 13 of 13
I used to use begins for every script. However, when I tried to setup a cutscene, it would just flash by the first camera, and not do anything else. The only time I use begins now are for if clauses, which you probably won't be doing anytime soon.
|
|
|