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.
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
[2024-5-05. : 9:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
[2024-5-05. : 9:35 pm]
Vrael -- that is insane
[2024-5-05. : 9:35 pm]
Vrael -- damn is that all EUD effects?
[2024-5-04. : 10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[2024-5-04. : 1:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
Please log in to shout.


Members Online: C(a)HeK, Roy