
deadlyfighter1000
Joined: Jan 11, 2009
Constantly a threat.
|
Posted: Jan 26, 2010 04:22 PM
Msg. 1 of 5
These are acouple questions from my previous thread that never got answered.
I was wondering about a couple things.
1. Would it be possible to make it so that if you are on blue team your biped is an elite, and if you are on red team your biped is a spartan?
2. I am creating scripts, and what I do is make a lot of script_continuous scripts, it causes lag. Would I be able to combine them into one script? And if yes, how? This is my script:
script_continuous spawnw1 create_anew w1 ai_place warthog1 sleep_until ai in warthog are dead sleep 30 object_destroy w1
script_continuous spawnw2 create_anew w2 ai_place warthog2 sleep_until ai in warthog are dead sleep 30 object_destroy w2
script_continuous spawncovie ai_place covie1 sleep_until covenant ai are dead sleep 30
etc...
(That is the basic Idea of it)
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jan 26, 2010 06:25 PM
Msg. 2 of 5
1) Yes, via permutations. However, it only works in theory, and would be impractical to try for an actual map. 2) You could use respawning AI instead of manually recreating them.
|
|
|

deadlyfighter1000
Joined: Jan 11, 2009
Constantly a threat.
|
Posted: Jan 26, 2010 06:51 PM
Msg. 3 of 5
2) Normally I would do that but I want them to respawn in groups.
Thanks for the info about 1.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jan 26, 2010 06:58 PM
Msg. 4 of 5
Are you sure it's the continuous scripts that are lagging the game? If large numbers of unoptimized scripts were lagging the compiler, that could be right, but I doubt that such large numbers of scripts would lag the game. If that were true, then A10 would lag crazily for most people.
|
|
|

deadlyfighter1000
Joined: Jan 11, 2009
Constantly a threat.
|
Posted: Jan 26, 2010 09:11 PM
Msg. 5 of 5
I wasn't sure, but for some reason, it doesn't lag anymore. So I don't know why it lagged.
|
|
|