Author Topic: Scripting bots  (Read 2438 times)

0 Members and 1 Guest are viewing this topic.

Offline Rolsen

  • Major(1)
  • Posts: 8
Scripting bots
« on: July 15, 2007, 08:11:17 am »
Is it possible to script the bots in for example LUA or something?
Would be fun to try LUA scripting on the bots if it was possible...
Wich files are related to the bots?

Offline truup

  • Soldier
  • **
  • Posts: 243
Re: Scripting bots
« Reply #1 on: July 15, 2007, 10:12:29 am »
You mean the bots in the Soldat? No, it's not possible, though you can make your own and change the ones you have atm. Check this

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Scripting bots
« Reply #2 on: July 15, 2007, 12:57:55 pm »
By the way, the scripting that Soldat uses is Pascal, not LUA.

Offline Coolio

  • Camper
  • ***
  • Posts: 320
  • Well cya all.
Re: Scripting bots
« Reply #3 on: July 15, 2007, 08:47:07 pm »
By the way, the scripting that Soldat uses is Pascal, not LUA.
Is it hard to learn pascal?
BANNED

Offline Henito Kisou

  • Flagrunner
  • ****
  • Posts: 867
  • Cursed Mind
    • Me on deviantART
Re: Scripting bots
« Reply #4 on: July 15, 2007, 09:34:49 pm »
Easier than C++, simple but not allow you to make omg best things, mastah apps, it's one of old, basic, classic languages, but working good as always, so good choice for soldatserver, because any newbie can learn this faster than any other.
If you started programming, Pascal is best choice, but if you want be pro, learn later more advanced language like C++.
« Last Edit: July 15, 2007, 09:37:37 pm by Henito Kisou »

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Scripting bots
« Reply #5 on: July 15, 2007, 10:36:25 pm »
Well Soldat is made in Delphi(Pascal), so is Teamspeak, so Nurrrr

Offline truup

  • Soldier
  • **
  • Posts: 243
Re: Scripting bots
« Reply #6 on: July 16, 2007, 10:26:05 am »
I myself started programming with Basic, and then I moved to PHP and C++, and IMO Pascal was just bullshit compared to them, it was like a mix-up (Now I'm kinda OK with it). I don't know what is the effect if you start coding with Pascal, but I'd recommend starting with Basics, rather Visual Basic since it gives you error when you change line, so it's easier for beginners to write code without syntax errors.

In the other hand, I heard that C++ gives you headache if you start coding with Basic, and then move to C++.

Offline ~Niko~

  • Rainbow Warrior
  • *****
  • Posts: 2410
Re: Scripting bots
« Reply #7 on: July 16, 2007, 10:50:03 am »
Wich files are related to the bots?

Soldat\Bots
You can edit them: Open the bots files with any text processor and modify the settings.

Offline zyxstand

  • Veteran
  • *****
  • Posts: 1106
  • Mother of all Bombs
Re: Scripting bots
« Reply #8 on: July 17, 2007, 11:28:40 am »
Yeah, it'd be nice if MM could let bots be much more moddable - but bots are totally unimportant to me since I don't (ever) play with them.

As to pascal, I thought it was extremely easy to learn because of its obvious syntax - again, if you want programming in pascal made easier, download Notepad ++  - it's really useful for that*
Can't think of anything original to put here...

Offline Clawbug

  • Veteran
  • *****
  • Posts: 1393
  • 1184!
Re: Scripting bots
« Reply #9 on: July 18, 2007, 07:50:01 am »
In the other hand, I heard that C++ gives you headache if you start coding with Basic, and then move to C++.
I am a living proof of that.

I believe I can never learn C++ in efficent way. I started doing QBasic stuff at the age of 10, used it few years, then started using VB. Then FreeBASIC and now I can understand basics of C++ and C#, more advanced stuff about PHP and even more about Basics, especially FreeBASIC.

Need-to-say: FB sounds like some "learn to do games in 31 days!"-like language, but it really isn't. It is greatly influenced by old QBasic, and is more or less created and maintained by old Qbasic community. Old Qbasic code is around 90% compatible with FB. FB is just old QB brought to today's world. ;)

There was/is some software made for Soldat with FB, Aquarius or something like that, created that SVG to PMS converter with FreeBASIC.

Damn offtopic, but I had to say this!
Fight! Win! Prevail!