Author Topic: need help  (Read 5235 times)

Offline MrMound

  • Bot Destroyer
  • ***
  • Posts: 156
    • View Profile
need help
« on: October 04, 2005, 09:50:00 PM »
I dont know if anybody has tried this before but I need help on a virus I am trying to design.  I want this virus to make a bot where it cant move,shoot,or use ties.  I am just getting back into db and I am not very familiar with the code so if there is a way to do this I am open to all your suggestions.  :help:

ps I am designing this virus to be put in a robot that will freeze his enemys and then he can go around and eat them without having to chase them
cooperation is working together to achive a common goal
mrmound

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
need help
« Reply #1 on: October 04, 2005, 10:21:09 PM »
Hmmm... something like this maybe:

Code: [Select]
start
*.thisgene .mkvirus store
500 .vshoot store '<-- I think this is the proper code, it's been a while

1 *.myid .fixpos mult store
0 *.myid .shoot mult store
0 *.myid .tie mult store
stop

Where your bots all have *.myid equal to 1, and other bots would have this not not equal to 1 (preferably 0).

That would be the basic form.

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
need help
« Reply #2 on: October 06, 2005, 05:27:49 PM »
You might want to flip the *.myid into zero(yours) or one(enemies).

*.myid sgn 1 sub abs

should do the trick.

Offline MrMound

  • Bot Destroyer
  • ***
  • Posts: 156
    • View Profile
need help
« Reply #3 on: October 07, 2005, 01:08:59 AM »
for some reason the virus isn't working.  the bot will shoot it but it won't do anything to any bots.  also I was wondering if it was possible to make  a bot shoot more than one virus at a time? I mean make a bot shoot a the same virus in 360 degrees simultanously.
cooperation is working together to achive a common goal
mrmound

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
need help
« Reply #4 on: October 07, 2005, 03:50:35 AM »
Which vers are you using. I don't think they're working yet in 2.4.

Nums is talking about changing the code so that a bot can do something similar to that.

Offline MrMound

  • Bot Destroyer
  • ***
  • Posts: 156
    • View Profile
need help
« Reply #5 on: October 07, 2005, 12:20:18 PM »
I was using vers 3.37.4. ok I didn't think I could shoot more than one at time.
cooperation is working together to achive a common goal
mrmound

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
need help
« Reply #6 on: October 07, 2005, 01:05:19 PM »
Viruses won't effect the genome of the victim if the victim has enough slime to stop it.

Offline MrMound

  • Bot Destroyer
  • ***
  • Posts: 156
    • View Profile
need help
« Reply #7 on: October 07, 2005, 03:42:44 PM »
I was using T-Preservans.  it doesn't have slime does it?
cooperation is working together to achive a common goal
mrmound

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
need help
« Reply #8 on: October 07, 2005, 03:45:08 PM »
Not that I know of...

T Preservns is way old school.

Offline MrMound

  • Bot Destroyer
  • ***
  • Posts: 156
    • View Profile
need help
« Reply #9 on: October 07, 2005, 03:47:43 PM »
ya I know but I needed something simple to test the virus on.  nothing with virus protection or anything like that.
cooperation is working together to achive a common goal
mrmound

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
need help
« Reply #10 on: October 07, 2005, 03:51:06 PM »
Try Animal Minimalis.  It's not only simple, it has a long tutorial on the wiki describing *exactly* how it works.

Offline MrMound

  • Bot Destroyer
  • ***
  • Posts: 156
    • View Profile
need help
« Reply #11 on: October 07, 2005, 03:55:28 PM »
alright ill use him and see if it works. thanks for the information
cooperation is working together to achive a common goal
mrmound