AI in UMS?
Dec 10 2009, 6:48 pm
By: melnikov  

Dec 10 2009, 6:48 pm melnikov Post #1



hi, again me :lol: . i have an array of questions about AI in UMS?
1. could i write my own AI script?
2. could i include and use my own AI Scripts in my maps?
3. is it enought to fire a trigger one time which run Ai Script or this trigger must be fired each time during looping of all triggers?



None.

Dec 10 2009, 6:51 pm Symmetry Post #2

Dungeon Master

1. Yes
2. Not without a mod .exe
3. Don't preserve, only run the action once.



:voy: :jaff: :voy: :jaff:

Dec 10 2009, 8:21 pm Super Duper Post #3



@Sym
For #3, you would need to have the script preserve every 120 seconds. Sometimes the A.I gets buggy and doesnt work correctly (I know this for a fact).

Trigger #1:
Condition:
Switch 1 is set

Action:
Add 1 death for Cave-in
Preserve trig

Trigger #2:
Condition:
Player suffers 60 deaths for cave-in
Run A.I script.
Set deaths of cave-in to 0
Preserve trig

Id do this just to be on the same time. However, this all depends how big a role the A.I plays in your map.

Post has been edited 1 time(s), last time on Dec 10 2009, 9:51 pm by Ciara.



None.

Dec 10 2009, 9:44 pm Symmetry Post #4

Dungeon Master

Quote from name:Ciara
@Sym
For #3, you would need to have the script preserve every 120 seconds. Sometimes the A.I gets buggy and doesnt work correctly (I know this for a fact).

Trigger #1:
Condition:
Switch 1 is set

Action:
Add 1 death for Cave-in
Preserve trig

Trigger #2:
Condition:
Player suffers 60 deaths for cave-in
Run A.I script.

Id do this just to be on the same time. However, this all depends how big a role the A.I plays in your map.

Absolutely 100% completely false. I don't know how you came to this conclusion. The triggers you posted would only run the action once anyway...



:voy: :jaff: :voy: :jaff:

Dec 12 2009, 3:06 am DavidJCobb Post #5



The AI does get buggy and stop working properly on occasion, but re-running the script won't fix anything. Me, if I have a problem with an AI script, I use a different one...

(This coming from the guy who uses Order>Patrol to create attack waves, and only ever uses AI scripts for random things like building nukes at a silo...)



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:02 pm]
NudeRaider -- PSA: ASUS apparently decided their RMA department needs to "become profitable" and for a while now outright tries to scam customers. They were called out on it a year ago, promised to change, but didn't. https://www.youtube.com/watch?v=7pMrssIrKcY so my recommendation: Stop buying ASUS, and if you already have and need something RMA'd, make sure to not let them bully you into paying.
[03:08 pm]
Oh_Man -- example of wat u mean?
[05:59 am]
NudeRaider -- *is
[05:17 am]
NudeRaider -- despite all its flaws the sound design its fantastic
[2024-5-14. : 10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[2024-5-14. : 10:05 am]
Moose -- ya
[2024-5-14. : 5:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
Please log in to shout.


Members Online: Roy