
lolzar
Joined: Sep 10, 2009
sliceslicesliceslice :DDD
|
Posted: Sep 12, 2009 07:41 PM
Msg. 1 of 22
if you can provide the answers plz tell me 1.which one is the best single player tutorial 2.who makes the best halo2-3 tags 3.which one is the best scripting tutorial 4.is there any video tutorials for single player maping
give me some help plz
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 12, 2009 07:44 PM
Msg. 2 of 22
1) Search for polamee's. 2) Hayabusa and HDoan both make very good Halo 2 and 3 weapon animations 3) Search for a basic scripting tutorial, then use the scripting bible to learn new commands 4) I have one, but I'm too lazy to upload it
|
|
|

lolzar
Joined: Sep 10, 2009
sliceslicesliceslice :DDD
|
Posted: Sep 14, 2009 09:06 PM
Msg. 3 of 22
i got all the stuff u recommended and i tried and now i sorta no how to script i tried to complie the scripts and i got this
[script line 1] i expected "script" or "global" .: startup sidewinder_script recompiling scripts after scenario were merged. this left parenthesis is unmatched .: (startup sidewinder_script
and here is the script i made
(startup sidewinder_script (begin (sv_say"Welcome to the map") ) )
(script startup sidewinder_script_02 (begin (sleep_until (volume_test_objects trigger_test (players)) 15) (object_create warthog (sound_impulse_start sound\music\cstring\cstring1 none1) ) )
can u tell me whats wrong plz :D
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 14, 2009 09:13 PM
Msg. 4 of 22
You don't have a script specified for the first script. You put: (startup sidewinder_script. You need to put: (script startup sidewinder_script
|
|
|

lolzar
Joined: Sep 10, 2009
sliceslicesliceslice :DDD
|
Posted: Sep 16, 2009 06:39 PM
Msg. 5 of 22
i did what u told me and fixed the script now sapien gives me this when i tried to complie them again
[script line 3] this is not a valid function or script name .: sv_say"Welcome to the map") recompiling scripts after scenarios were merged [script line 2] this left parenthesis is unmatched .: (begin
and here is the script
(script startup sidewinder_script (begin (sv_say"Welcome to the map") ) )
(script startup sidewinder_script_02 (begin (sleep_until (volume_test_objects trigger_test (players)) 15) (object_create warthog (sound_impulse_start sound\music\cstring\cstring1 none1) ) ) plz help me
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 16, 2009 06:58 PM
Msg. 6 of 22
You put: (sv_say"Welcome to the map")
Put: (sv_say "Welcome to the map")
You need a space between sv_say and "Welcome to the map"
|
|
|

lolzar
Joined: Sep 10, 2009
sliceslicesliceslice :DDD
|
Posted: Sep 16, 2009 10:18 PM
Msg. 7 of 22
lol thank you when i did that i noticed alot more crap that messed up to save us the trouble can u look over my script carefully and tell me all the errors and how to fix them. lol this is my first time scripting sry
(script startup sidewinde_script (begin (sv_say "Welcome to the map") ) )
(script startup sidewinder_script_02 (begin (sleep_until (volume_test_objects trigger_test (players)) 15) (object_create warthog (sound_impulse_start sound\music\cstring\cstring1 none1) ) )
plz help me
|
|
|

lolzar
Joined: Sep 10, 2009
sliceslicesliceslice :DDD
|
Posted: Nov 4, 2009 09:53 AM
Msg. 8 of 22
hey does anyone no y this script is messed up?
(script startup sp1 (begin (ai_allegiance "player" "human") ) )
(script startup sp2 (sleep 120) (if (= real false) (begin (ai_place wave_1) (unit_dosnt_drop_items (ai_actors wave_1)) (ai_magically_see_players wave_1) (sleep_until (= (ai_living_Count wave_1) 0) 15) (wake wave2) ) ) )
(script startup sp3 (sleep 120) (if (= real false) (begin (ai_place wave_2) (unit_dosnt_drop_items (ai_actors wave_2)) (ai_magically_see_players wave_2) (sleep_until (= (ai_living_Count wave_2) 0) 15) (wake wave3) ) ) )
i tried to comply it in sapien but crap just came plz halp
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Nov 4, 2009 10:31 AM
Msg. 9 of 22
Looks like you tried to copy my script, and make it work. This is your script, formatted: First of all, sp3 needs to be a dormant script. Also, the (wake) command references a script name. You don't have the script named wave2. You have sp3. And in the case of dormant scripts, the dormant script must be above the reference. My "= real false" is to check whether I set the map for testing, which you don't need. So use this: (script startup sp1 (ai_allegiance "player" "human") )
(script dormant sp3 (ai_place wave_2) (unit_dosnt_drop_items (ai_actors wave_2)) (ai_magically_see_players wave_2) (sleep_until (= (ai_living_Count wave_2) 0) 15) )
(script startup sp2 (ai_place wave_1) (unit_dosnt_drop_items (ai_actors wave_1)) (ai_magically_see_players wave_1) (sleep_until (= (ai_living_Count wave_1) 0) 15) (wake sp2) )
I'd like you to actually read it and understand it, but the odds are, you're just going to copy and paste it.
|
|
|

lolzar
Joined: Sep 10, 2009
sliceslicesliceslice :DDD
|
Posted: Nov 4, 2009 06:11 PM
Msg. 10 of 22
it still epically phailed on complying even though i understanded my scripts the problem is in the script...
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Nov 4, 2009 06:17 PM
Msg. 11 of 22
If you were to understand it, you'd know your problem. Paste your script.
|
|
|

lolzar
Joined: Sep 10, 2009
sliceslicesliceslice :DDD
|
Posted: Nov 4, 2009 09:11 PM
Msg. 12 of 22
well i dont rly understand it i jsut said it to make the other guy feel good :D
heres the script
(script startup sp1 (begin (ai_allegiance "player" "human") ) )
(script startup sp2 (sleep 120) (if (= real false) (begin (ai_place wave_1) (unit_dosnt_drop_items (ai_actors wave_1)) (ai_magically_see_players wave_1) (sleep_until (= (ai_living_Count wave_1) 0) 15) (wake wave2) ) ) )
(script startup sp3 (sleep 120) (if (= real false) (begin (ai_place wave_2) (unit_dosnt_drop_items (ai_actors wave_2)) (ai_magically_see_players wave_2) (sleep_until (= (ai_living_Count wave_2) 0) 15) (wake wave3) ) ) )
full script im not rly working on it cuz the scripts are messed up so thats all i have so far
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Nov 5, 2009 12:55 AM
Msg. 13 of 22
It's the same as what you posted earlier. I already fixed it. Look above for the fixed script. I would go back and explain exactly what is wrong, but it's almost 10 PM, and tomorrow's going to be a very awkward day, so I'll explain later if I have time.
|
|
|

lolzar
Joined: Sep 10, 2009
sliceslicesliceslice :DDD
|
Posted: Nov 5, 2009 11:13 PM
Msg. 14 of 22
i treied ur new script gamma and still no cigar..... heres what i typed
(script startup sp1 (begin (ai_allegiance "player" "human") ) )
) (script dormand sp2 (ai_place wave_2) (unit_dosnt_drop_items (ai_actors wave_2)) (ai_magically_see_player wave_2) (sleep_until (= (ai_living_count wave_2) 0) 15)
)
(script dormand sp3 (ai_place wave_1) (unit_dosnt_drop_items (ai_actors wave1)) (ai_magically_see_player wave_1) (sleep_until (= (ai_living_count wave1) 0) 15)
)
|
|
|

lolzar
Joined: Sep 10, 2009
sliceslicesliceslice :DDD
|
Posted: Nov 6, 2009 07:21 PM
Msg. 15 of 22
i did copy and paste it :D
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Nov 6, 2009 07:25 PM
Msg. 16 of 22
Quote: --- Original message by: Gamma927 (script startup sp1 (ai_allegiance "player" "human") )
(script dormant sp3 (ai_place wave_2) (unit_dosnt_drop_items (ai_actors wave_2)) (ai_magically_see_players wave_2) (sleep_until (= (ai_living_Count wave_2) 0) 15) )
(script startup sp2 (ai_place wave_1) (unit_dosnt_drop_items (ai_actors wave_1)) (ai_magically_see_players wave_1) (sleep_until (= (ai_living_Count wave_1) 0) 15) (wake sp2) )
See the difference? Compare THIS to yours.
|
|
|

lolzar
Joined: Sep 10, 2009
sliceslicesliceslice :DDD
|
Posted: Nov 6, 2009 10:32 PM
Msg. 17 of 22
lol whops :DDD
wait in sapien i put on for wave1 the respawn enabled do i still have to put in the ai place? lol ill jsut try it better safe than sorry Edited by lolzar on Nov 6, 2009 at 10:38 PM
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Nov 6, 2009 10:35 PM
Msg. 18 of 22
If it still gives errors, it's because I spelled doesnt as dosnt. So it should be unit_doesnt_drop_items
|
|
|

lolzar
Joined: Sep 10, 2009
sliceslicesliceslice :DDD
|
Posted: Nov 6, 2009 10:42 PM
Msg. 19 of 22
ok ill try to comply it later on ill tell u if i have any errors and if u have time can u explain to me what a dormant script is lolz k thx xD
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Nov 6, 2009 10:45 PM
Msg. 20 of 22
It's a script that doesn't initially play, until the (wake) command is called. Dormant scripts must be defined above the wake command.
|
|
|

Sinow
Joined: Apr 22, 2009
Everybody Lies
|
Posted: Nov 7, 2009 12:00 AM
Msg. 21 of 22
Or you can use a static script instead, so you don't even have to type a command. All you have to do is put ( <static script name> ) and it executes it. Edited by Sinow on Nov 7, 2009 at 12:01 AM
|
|
|

lolzar
Joined: Sep 10, 2009
sliceslicesliceslice :DDD
|
Posted: Nov 7, 2009 09:49 AM
Msg. 22 of 22
ok some new problems i am facing at the moment: 1.hud messages for firefight 2.how do u make it where the ai spawn pauses so u can get cover 3.whats the proper script to make the following waves after 2 this is the one im using currently (epic phail ^_^)
(script startup sp1 (begin (ai_allegiance "player" "human") ) ) (script dormant sp3 (ai_place wave2) (ai_magically_see_players wave2) (sleep_until (= (ai_living_Count wave2) 0) 15) ) (script startup sp2 (ai_place wave1) (ai_magically_see_players wave1) (sleep_until (= (ai_living_Count wave1) 0) 15) (wake sp3) ) (script dormant sp4 (ai_place wave3) (ai_magically_see_players wave3) (sleep_until (= (ai_living_Count wave3) 0) 15) ) (script startup sp5 (sleep_until (= (ai_living_count wave2) 1) 15) (ai_place wave3) ) (script startup sp6 (begin (sleep_until (= (ai_living_count wave3) 1) 15) (object_create shotgun) ) ) (script dormant sp7 (ai_place wave4) (ai_magically_see_players wave4) (sleep_until (= (ai_living_count wave4) 0) 15) ) (script startup sp8 (sleep_until (= (ai_living_count wave3) 1) 15) (ai_place wave4) ) (script startup sp9 (sleep_until (= (ai_living_count wave4) 1) 15) (object_Create Edited by lolzar on Nov 7, 2009 at 11:02 PM
well there is one MAJOR problem that i have recently....i let my freinds test out my map and they told me to add hud messages but i dun no how PLZ HALP ME Edited by lolzar on Nov 14, 2009 at 04:24 PM
|
|
|