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.
[05:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[05:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[02:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
[2024-5-23. : 3:50 pm]
Ultraviolet -- :wob:
[2024-5-23. : 6:26 am]
UndeadStar -- :wob:
[2024-5-22. : 6:10 am]
Riney -- Somethings never change.
[2024-5-22. : 6:10 am]
Riney -- I come back after 4 months. Post wob. Make a crappy post in Null. Hit a 0 in magic boxes.
Please log in to shout.


Members Online: Ultraviolet, IlyaSnopchenko, jun3hong