
Spartan314
Joined: Aug 21, 2010
Former biped rigger & FP animator
|
Posted: Apr 23, 2011 05:38 PM
Msg. 1 of 12
I've got the scripting bible, read it over, got some some scripting tutorials, and I can do some basic scripting like vehicles (that's probably it...). I was just wondering how some of the other guys got to learn how to script, and the best way to learn.
|
|
|

Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Apr 23, 2011 06:11 PM
Msg. 2 of 12
well umm....
The first thing i'd do is get familiar with ai encounters and squads by making a few ai maps. Then move onto making a simple sp. Create all the encounters, scenerey, weapons etc. then do the script. Use the tutorials to find appropriate commands for appropriate situations such as:
(sleep_until (volume_test_objects corner (players)) 15)
(sound_looping_start levels\d40\music\d40_08 none 1)
(ai_place firefight2)
and
(sleep_until (= (ai_living_count firefight2) 0))
Ask any questions about stuff you dont understand or if you need a command. Then your on your way!
|
|
|

MatthewDratt
Joined: Sep 11, 2010
TAKEDOWN IS OUT MattDratt.com
|
Posted: Apr 23, 2011 07:06 PM
Msg. 3 of 12
Messing around with tests maps
|
|
|

Spartan314
Joined: Aug 21, 2010
Former biped rigger & FP animator
|
Posted: Apr 27, 2011 07:57 PM
Msg. 4 of 12
How do you make AI charge into battle? I'm thinking that's in scripts.
|
|
|

Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Apr 27, 2011 08:26 PM
Msg. 5 of 12
Put their firing positions where you went them to charge to
|
|
|

Spartan314
Joined: Aug 21, 2010
Former biped rigger & FP animator
|
Posted: Apr 27, 2011 09:02 PM
Msg. 6 of 12
I did that but they walk over, not run.
|
|
|

Xoronatus
Joined: Dec 6, 2010
Taking a break
|
Posted: Apr 27, 2011 09:44 PM
Msg. 7 of 12
Quote: --- Original message by: spartan314 I did that but they walk over, not run. ai_magically_see_players or something like that. That one makes them aware of the player, so they won't stand around like, "huh, where are they?"
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Apr 27, 2011 10:26 PM
Msg. 8 of 12
Quote: --- Original message by: spartan314 I did that but they walk over, not run. Sounds like you used move positions. Quote: --- Original message by: Gamma927For AI walking on a set path: -DON'T USE COMMAND LISTS -DON'T USE MOVE POSITIONS These are the generic crappy methods that people've used over the past few years. Here's what you DO use: Place firing positions in the general area you wish the AI to go to. Add some firing positions around the path to that area. In each AI squad, set the initial and return states to "guarding at guard position" Create a script, for which every AI encounter can magically see the enemy that it's trying to attack. For instance, if the two AI encounters you want to fight together are redteam and blueteam, you'd use this script: (script continuous visionscript (ai_magically_see_encounter redteam blueteam) (ai_magically_see_encounter blueteam redteam) )
If you don't know how to create a script, just copy what I typed into a new Notepad file. Replace redteam and blueteam with the names of the AI encounters you want to fight. Then, click File > Save As (in notepad), and set the dropdown box to "All files". Save the file as script.hsc. Then, move the script.hsc file into the reciprocal of the tags folder, in the data folder. For example, if your scenario is located inside tags\levels\test\death_island\warisland.scenario, then put your script.hsc file inside: data\levels\test\death_island\scripts\script.hsc. The scripts folder will not initially be there; you must create it yourself. Once in, in Sapien, go to File > Compile scripts (or something like that). Alternatively, you can use the keyboard shortcut ctrl + shift + c. Sapien should then display scripts compiled successfully. Save the scenario, and compile it in tool.
|
|
|

The Cereal Killer
Joined: Mar 18, 2011
Scripts, AI, cutscenes, ui_widgets, animation.
|
Posted: Apr 29, 2011 05:49 PM
Msg. 9 of 12
I taught myself to script starting back in April 2010 when I first heard about scripts and discovered the Halo Scripting Keyword list. I was decent after around 2 months of practice, and released some average small solo maps. After several more months of work, I finally peaked sometime around the beginning of this year. I am now the god of all script- owait my therapist told me I'm not supposed to say that out loud >.>
PS I was also learning widgets and AI during that time, so it may go a bit faster for you if you're just focusing on scripting.
|
|
|

Higuy
Joined: Mar 6, 2007
@lucasgovatos
|
Posted: Apr 29, 2011 06:25 PM
Msg. 10 of 12
Start small and work your way up. Scripting goes hand in hand with sapien and guerrilla, so you will want to know a good basic underlying understanding of most of the engine.
A majority of your scripting will be going toward level events and AI.
IE, lots of common and yet basic commands used alot by myself are like:
custom_animation
ai_place
sleep
and etc, things will get much more complicated after that. Use hs_doc.txt in the Halo Custom Edition directory whenever you get confused at times with what commands you should use and how they work.
|
|
|

Volteer55
Joined: Jul 11, 2010
|
Posted: Apr 30, 2011 04:42 AM
Msg. 11 of 12
it took me about 1 - 1/2 years to get to where i am now, no one has seen any of my (finished) work (cuz i have never releced anything, and the one thing i did end up finishing was full of old Ripped tags (witch are gone now (old cmt tags ect)) so i never releced it) Edited by Volteer55 on Apr 30, 2011 at 04:43 AM
|
|
|

Xoronatus
Joined: Dec 6, 2010
Taking a break
|
Posted: May 2, 2011 07:32 PM
Msg. 12 of 12
Yeah, I know all of the basic scripts. (ai_place) (sleep) (object_create) (object_destroy) (ai_kill_silent) (sv_say) etc. If you asked me to make a lives script, or a loadouts script, I would be completely helpless. To get the things I want, I usually try to think of some creative way that uses those basic scripts along with some thought put into my .scenario to make a cool new system. It's fun to be creative and to make something work with few supplies. That's probably why I like those nature-survival shows. "Oh no!!! Bear Grylls, I've got a knife, cantine, and a camera-crew, survival on low resources." (That's probably why I like Gmax, "survival with low resources." Oh no, I can't use Blitzkrieg, but bwahaha I'll have to try out these maxscripts instead. survival .     Not that all of you pros out there who use the real deal aren't cool or something, you guys are still cool  Heck, not just cool, you guys are AWESOME!!!! YEAH!!!! HALOMAPS FTW!!!! Edited by Xoronatus on May 2, 2011 at 07:35 PM
|
|
|
| |
|
|
 |
|