Home
Forum
Rules
Search
Login
Register
January 28, 2025, 11:02:11 pm
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Soldat Capture The Flag League
is probably the most famous competitive community of all times. It ran over 60 seasons of different leagues and tournaments!
Official Soldat Forums
Server Talk
Scripting Discussions and Help
(Moderators:
chrisgbk
,
Bonecrusher
)
a little help
« previous
next »
Pages: [
1
]
Author
Topic: a little help (Read 815 times)
0 Members and 1 Guest are viewing this topic.
corl45
Major
Posts: 51
PWNED!
a little help
«
on:
December 01, 2007, 11:13:36 am »
ok, i was thinking of learning how to make scripts here.... so i opened one in notepad and started scanning though it. soon after i noticed that is was in pascal.... i learned an off type of pascal, dose anyone know where i can get a tutorial. dose this have any special functions for soldat? or do you have to make then all you self? and
is there a compiler our there
... it would be kinda hard to write a script in notepad. some of the functions im used to.. are
because, when i was scripting the lessened version, you would start a procedure and then that would do nothing until you called upon it in the "main loop" and i have no idea how these proceudres work..
writeln('text');
readln('text');
findcolortolerance(x,y,color,x1,y1,x2,y2,tolerance);
if there is another thread like this.. or i link i missed... im sorry for being a n00b
«
Last Edit: December 01, 2007, 12:48:59 pm by corl45
»
Logged
BE AWESOME!
DorkeyDear
Veteran
Posts: 1507
I also go by Curt or menturi
Re: a little help
«
Reply #1 on:
December 01, 2007, 06:15:04 pm »
To answer a few of your questions:
-Creating a script isn't like creating a program.. there are built in events (procedures or functions) that get called (if they exist) for each and every script
-For adding scripts to a server, you don't need to compile it and then add it, the server compiles it for you, so you need the actual code: under the scripts folder, there are sub folders (each script gets its own sub-folder), and inside the sub-folder, there is "Includes.txt"; inside this includes file is a list of all files to combine, and then compile
-Soldat-related functions, events, and variables can be found at
http://www.enesce.com/help
-To learn pascal, use google, experience in other languages, and looking at examples
I personally use notepad for making all my scripts, but you can use whatever text editor you wish to use
Logged
corl45
Major
Posts: 51
PWNED!
Re: a little help
«
Reply #2 on:
December 01, 2007, 08:31:15 pm »
ohh, srry i didn' t think i got my point out the right way.. ok, i know the procedures and functions are built in.. i just needed to know if there was a list of them and how to use them... and i already know pascal, i learned a little lessened version tho so i know how to program most of this. and when i said complier, i meant, is there a specail program that i can write the scripts in that has more or extra functions for convenience. srry
Logged
BE AWESOME!
DorkeyDear
Veteran
Posts: 1507
I also go by Curt or menturi
Re: a little help
«
Reply #3 on:
December 01, 2007, 09:36:32 pm »
http://www.enesce.com/help
has lists all the events, functions, and variables built in, and there are sometimes examples
and not that i know of, but I never really looked
Logged
corl45
Major
Posts: 51
PWNED!
Re: a little help
«
Reply #4 on:
December 02, 2007, 06:21:30 pm »
ok, thanx
Logged
BE AWESOME!
Pages: [
1
]
« previous
next »
Official Soldat Forums
Server Talk
Scripting Discussions and Help
(Moderators:
chrisgbk
,
Bonecrusher
)
a little help