Ambrosia Software Web Board: AI combat - Ambrosia Software Web Board

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

AI combat

#1 User is offline   Verran 

  • Member
  • Group: Members
  • Posts: 48
  • Joined: 13-August 01

Posted 21 August 2001 - 06:26 AM

I cant really seem to make any good AI scripts. Has anybody got a guide or a writen list of the spell numbers and has anybody made a good AI script?

------------------
Ok so I cant think of a good signature.

[This message has been edited by Verran (edited 08-21-2001).]

#2 User is offline   Rogan 

  • Lurker supreme
  • PipPipPipPip
  • Group: Members
  • Posts: 1,223
  • Joined: 16-June 00
  • Gender:Male
  • Location:Cademia, Mother City

Posted 23 August 2001 - 11:59 AM

Hmm... i've been trying to make my own scripts too, but can't get them to work properly. As I always do, I gave up and started the game all over again just for fun Posted Image

---

Now THIS is what I would call a very nice post count!!

------------------
(this space left intentionally blank)
Gentlemen, you can't fight in here. This is the War Room.

#3 User is offline   Verran 

  • Member
  • Group: Members
  • Posts: 48
  • Joined: 13-August 01

Posted 23 August 2001 - 12:10 PM

Darn! Well at least I was able to write a script that makes Timon blast enemys with mystic arrows all the time.

Still if anybody knows the spell numbers please post.

------------------
Ok so I cant think of a good signature.

#4 User is offline   ferazel_09 

  • lift your skinny fists like antennas in germany
  • PipPipPipPip
  • Group: Members
  • Posts: 1,096
  • Joined: 30-August 00
  • Location:Teraknorn

Posted 27 August 2001 - 01:39 PM

Well, I don't know any spell numbers, but i've made some useless AI scripts too. Hector now likes throwing knives. :P

------------------
Quote ViaVoice, "Hal Cohen help build Satam sand scratch a flat surface scratches that some scratch that scratches that scratch facts scratcher wraked this scratched tax costs tax this. " Is this ViaVoiceian?
And we're never gonna tour again.

#5 User is offline   Eldrad 

  • Member
  • Group: Members
  • Posts: 23
  • Joined: 17-August 01

Posted 28 August 2001 - 07:33 AM

I may seem a bit unkowing Posted Image but i was wondering.
how do you make AI skripts??? Posted Image

------------------
trust not what your eyes behold

#6 User is offline   gandreas 

  • Moderator
  • Group: Moderators
  • Posts: 89
  • Joined: 21-March 99

Posted 28 August 2001 - 12:54 PM

The full "official" list of spells:

0 Directed Nexus
1 Vision of the Night
2 Minor Embrightenment
3 Detect Concealment
4 Detect Traps
5 Remote Manipulation
6 Death Strike
7 Acertainment
8 Alleviation
9 Lesser Healing
10 Healing
11 Greater Healing
12 Embrightenment
13 Soporiferousness
14 Terrorisation
15 Derangement
16 Major Embrightenment
17 Nutrient
18 Mystic Arrow
19 Awaken
20 Detect Rune
21 Resist Blows
22 Rune of Warding
23 Rune of Flame
24 Dispel Rune
25 Rally
26 Rune of Blocking
27 Mage Lock
28 Awaken All
29 Lightning
30 Cure
31 Resist Fire
32 Open
33 Rune of Pain
34 Fireball
35 Paralyze
36 Shake Down
37 Daylight
38 Mass Terrorisation
39 Charm
40 Fetch
41 Mass Cure
42 Farsight
43 Replicate
44 Mass Confusion
45 Tremor
46 Restoration
47 Resurrection
48 Remove Mage Lock


------------------
Mad, Bad, and Dangerous to Know...

#7 Guest_sephe_*

  • Group: Guests

Posted 14 September 2001 - 03:47 PM

how do i learn how to write ai scripts. email me please at ncc_voyager4512@yahoo.com and if my email is messed the space is an _

#8 User is offline   Firebird 

  • Member
  • PipPipPipPip
  • Group: Members
  • Posts: 1,160
  • Joined: 21-March 99
  • Location:Locari, Levo

Posted 02 October 2001 - 05:15 PM

I've begun attempting to make my own scripts (character-based), with some success.

I made a fairly good Hector script that's based pretty much off of the current Attack Nearest script -- sometimes he'll attack his last attacker (since you don't want him picking on someone else when he's being hacked to pieces), and sometimes he'll target the nearest. That's basically what I've found one of the more effective combat methods. Also, I also did a check on health so that he would automatically flee when necessary (and back up just a little when hurt not as badly). I'll release this in a package once I finish my character-targeted script set.

My Meleager script, in which I tried to make him RunTowards main whenever he's too far, doesn't work quite right. He often ends up running away. For this reason, I've used the Hector script for him, and it works quite well, actually.

My Timon script (for which I was going to develop a spell list since I have most of the spells and noticed they were listed in order in the game) is fairly good. When you have him attack, he'll usually use the magic arrow, although he will occasionally use terrorization or paralyze. So if you want him to be a healer, you'll have to make him check his mana before attacking (I can't seem to figure out a way to make him use non-magical attacks when limited in mana). I have him retreat much earlier than Hector since he gets killed easily.

Whether you bothered to read that or not, my only advice would be to experiment with strategies. Don't try to get too complicated with movement and checking distances and stuff. There really isn't all that much you can do with an AI script.

If anyone can help me with my problems, it'd be appreciated.


------------------
Mike Lee (Firebird)
Mike Lee (Firebird)

Visit Cymltaneous Solutions: [url="http://"http://cs.paching.com/"]http://cs.paching.com/[/url]
(hosted by [url="http://"http://www.evula.org"]evula.org[/url])

#9 User is offline   sicadastra 

  • Junior Member
  • Group: Members
  • Posts: 8
  • Joined: 22-September 01

Posted 02 October 2001 - 09:02 PM

Quote

Originally posted by ferazel_09:
Hector now likes throwing knives. :P



This was asked on another thread, but can the your character throw knives/daggers? Must a special AI script be set to have another do so? I have Aethon equipped with daggers, and the missile script running, but I've never seen him do it. I guess I could test it some more... but I'm not playing right now am I?!?

------------------
"I am not a vegetarian because I love animals; I am a vegetarian because I hate plants."

#10 User is offline   Theo Nean Donly 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 439
  • Joined: 27-August 00
  • Location:Out of Darkness, Out of Mind

Posted 03 October 2001 - 02:17 PM

I've had it work, but I had never gotten the re-equip thing to work. I can't give any specifics because it's been so long, but I have a "level-up" scrip (usually givin to Timon, cause he sucks at killing things) that throws daggers at the weakest guy. It's pretty effective, I'd say.

------------------
I am no one, and I am everyone. But most importantly, I am
The One And Only:
~Theo Nean Donly~
"I don't need a plan, just a goal. The rest will follow on its own"
     - Magic: the Gathering, "Temper"

The One And Only
~Theo Nean Donly~

#11 User is offline   ferazel_09 

  • lift your skinny fists like antennas in germany
  • PipPipPipPip
  • Group: Members
  • Posts: 1,096
  • Joined: 30-August 00
  • Location:Teraknorn

Posted 03 October 2001 - 09:45 PM

Quote

Originally posted by Theo Nean Donly:
I've had it work, but I had never gotten the re-equip thing to work.  I can't give any specifics because it's been so long, but I have a "level-up" scrip (usually givin to Timon, cause he sucks at killing things) that throws daggers at the weakest guy.  It's pretty effective, I'd say.



Hey, could you e-mail that to me?
It's ferazel_09@hotmail.com

------------------
Quote ViaVoice, "Hal Cohen help build Satam sand scratch a flat surface scratches that some scratch that scratches that scratch facts scratcher wraked this scratched tax costs tax this. " Is this ViaVoiceian?
And we're never gonna tour again.

#12 User is offline   Magpie 

  • Member
  • Pip
  • Group: Members
  • Posts: 179
  • Joined: 06-August 01
  • Location:Australia

Posted 03 October 2001 - 10:10 PM

I really suck at writing AI scripts and wondered if any one had writtenn a "Cast sustanace" script for timon. I can't be bothered casting it all the time so most of the time every one goes hungry. If you do could you emial it to be at Studram1@hotmail.com

thanks

------------------
Time is a predator that hunts you down. You can cheat it for as long as you like with doctors and medicines, but in the end time will catch up with you. What if I was to tell you I had found a place where the predator had no teeth?
"Yesterday we obeyed kings and bent our necks before emperors. But today we kneel only to truth..."

#13 User is offline   Firebird 

  • Member
  • PipPipPipPip
  • Group: Members
  • Posts: 1,160
  • Joined: 21-March 99
  • Location:Locari, Levo

Posted 03 October 2001 - 11:53 PM

Quote

Originally posted by Magpie:
I really suck at writing AI scripts and wondered if any one had writtenn a "Cast sustanace" script for timon. I can't be bothered casting it all the time so most of the time every one goes hungry. If you do could you emial it to be at       Studram1@hotmail.com

thanks



I don't see why you would need to waste mana for sustenance - what's wrong with food? It tastes better anyway... Posted Image

In case you didn't know, if you want food, go to Emesa, the cook in Land King Hall, and ask for food. Just keep asking her for food, and you can have as much as you want.

As for a sustenance script, if there's a way to delay an action, I'd make Timon do sustenance (meaning I'd wait to make sure I don't have food first, since otherwise it'd be a waste of mana).

------------------
Mike Lee (Firebird)
Mike Lee (Firebird)

Visit Cymltaneous Solutions: [url="http://"http://cs.paching.com/"]http://cs.paching.com/[/url]
(hosted by [url="http://"http://www.evula.org"]evula.org[/url])

#14 User is offline   Firebird 

  • Member
  • PipPipPipPip
  • Group: Members
  • Posts: 1,160
  • Joined: 21-March 99
  • Location:Locari, Levo

Posted 03 October 2001 - 11:56 PM

Oops, I didn't seem to answer the question of the people who wanted to make scripts in the first place...

Yeah, just go into the AI Scripts folder in your Cythera folder and read the help file for that. It uses Cythera's own scripting language (it helps to have some general idea of programming).

------------------
Mike Lee (Firebird)
Mike Lee (Firebird)

Visit Cymltaneous Solutions: [url="http://"http://cs.paching.com/"]http://cs.paching.com/[/url]
(hosted by [url="http://"http://www.evula.org"]evula.org[/url])

#15 User is offline   Theo Nean Donly 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 439
  • Joined: 27-August 00
  • Location:Out of Darkness, Out of Mind

Posted 04 October 2001 - 10:40 AM

Quote

Originally posted by ferazel_09:
Hey, could you e-mail that to me?
It's ferazel_09@hotmail.com



Hmmm...I'll try tonight, but don't get to hopefull. It was on a computer who's hard drive crashed or something, and it probably got deleted. But I'll see what I can do. I think I might but Cythera on the new computer, and if so, I'll probably try and make it again.

If anyone got the re-equip to work, let me know, eh?

------------------
I am no one, and I am everyone. But most importantly, I am
The One And Only:
~Theo Nean Donly~
"I don't need a plan, just a goal. The rest will follow on its own"
     - Magic: the Gathering, "Temper"

The One And Only
~Theo Nean Donly~

#16 User is offline   Fletcher 

  • Junior Member
  • Group: Members
  • Posts: 18
  • Joined: 25-July 00

Posted 27 October 2001 - 09:07 PM

I seemed to have been able to write AI scripts fine. For people who are having trouble, complete instructions and tips on the syntax to use can be found in a text file in the "Combat AI" folder in the Cythera folder named "AI Scripting Document".

------------------
We often scoff at the beliefs of the ancients. But we can't scoff at them personally, to their faces, and this is what annoys me.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users