
Lone Warrior
Joined: Dec 14, 2008
-Himalayan Wizard and Mystical Guru of the Mts.-
|
Posted: Jan 11, 2009 09:36 AM
Msg. 1 of 5
Ok, I have two script problems at the moment. One is to do with Ai following a player, and the other, sound looping. Ok, so I consulted the hs_doc and took the scripts from there, or the base rather, and it gives me errors, I would just like to ask if you could fix this for me, and help would be appreciated.
Here are the scripts: script startup follow sleep_until (volume_test_objects follow (players))15) ai_follow_target_players enc99
and: script startup sound sleep_until (volume_test_objects sound1 (players)) 15) sound_looping_start sound\music\battle1\alt_loops.sound
NOTE: I know the brackets are missing.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jan 11, 2009 11:24 AM
Msg. 2 of 5
Quote: --- Original message by: Lone Warrior Ok, I have two script problems at the moment. One is to do with Ai following a player, and the other, sound looping. Ok, so I consulted the hs_doc and took the scripts from there, or the base rather, and it gives me errors, I would just like to ask if you could fix this for me, and help would be appreciated.
Here are the scripts: script startup follow sleep_until (volume_test_objects follow (players))15) ai_follow_target_players enc99
and: script startup sound sleep_until (volume_test_objects sound1 (players)) 15) sound_looping_start sound\music\battle1\alt_loops none 1
NOTE: I know the brackets are missing. ftfy Also, for getting AI to follow the player, you must set up a group of firing positions. Search AI following on Halomaps, and get the tutorial.
|
|
|

Lone Warrior
Joined: Dec 14, 2008
-Himalayan Wizard and Mystical Guru of the Mts.-
|
Posted: Jan 11, 2009 01:06 PM
Msg. 3 of 5
Ah, so there has to be firing positions, makes sense now. Thanks for that.
|
|
|

Vick Jr
Joined: Jun 26, 2008
Well enough alone...
|
Posted: Jan 11, 2009 08:12 PM
Msg. 4 of 5
For the sound looping, perhaps you need to load it? Predict_sound_looping In command prompt, type "help " to see what it does. he he he But I've heard that you don't need to load it. Maybe that was something else. Whatever.
|
|
|

Ermac
Joined: Nov 24, 2006
Pops up from time to time
|
Posted: Jan 11, 2009 11:44 PM
Msg. 5 of 5
sound_looping_predict, not predict_sound_looping.
Basically that loads the sound into the sound cache. Maybe it helps the game load it faster. I'm not sure.
|
|
|
| |
|
|
 |
|