scripting [message #250894] |
Wed, 21 March 2007 05:15 |
Stallion
Messages: 222 Registered: April 2006
Karma: 0
|
Recruit |
|
|
I'm new to scripting but have done a quick study of the script form and came up with a small script I want to make for my map as well as wish to make further scripts in the future.
I can make the proper form for the script by reviewing the source code but unfortunetely I'm basically clueless from there. I downloaded visual c++ express edition for easier editing and to be able to compile it once I'm done with it but I'm not even sure what exactly to compile it with or into. :S I was wondering if anyone could please give me a basic overview of what to do once I've made my script and how I would be able to share it with everyone and/or have others be able to use it when they play my map.
Also, does anyone know what to use to view the .so and .sh files?
Level edit is my play ground
|
|
|
Re: scripting [message #250910 is a reply to message #250894] |
Wed, 21 March 2007 06:58 |
|
The .so and .sh files are only relavent if you care about the linux FDS. The .so files are the compiled scripts.dll for linux and the .sh files are used to compile scripts-RH8.so or scripts-RH73.so as appropriate.
As for compiling, first you need Visual C++ 2005 Express Edition (which you seem to have). Second you need the Microsoft Platform SDK and the Microsoft DirectX SDK (google for them). Then, open scripts.sln and select "build" then "build solution". If it gives any errors, post them here. Otherwise scripts.dll has compiled fine and you can then make whatever changes to it you like. When you are distributing it for other people to use, you need to distribute the scripts.dll file that is created in the folder with all the source code.
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
Re: scripting [message #250912 is a reply to message #250894] |
Wed, 21 March 2007 07:12 |
Stallion
Messages: 222 Registered: April 2006
Karma: 0
|
Recruit |
|
|
How could I add my scripts to the most uptodate script set so they could use mine without losing the other new scripts?
Level edit is my play ground
|
|
|
Re: scripting [message #251199 is a reply to message #250894] |
Fri, 23 March 2007 01:00 |
Stallion
Messages: 222 Registered: April 2006
Karma: 0
|
Recruit |
|
|
so far i got these errors:
.\engine.cpp(18) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
dllmain.cpp
.\dllmain.cpp(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
dan.cpp
I downloaded the PSDK-x86.exe for the platform sdk; which was 1 of 3 possible downloads (of which the other 2 choices wouldn't allow me to complete the download saying it's not a valid win32 app.). Is it possible that this might be why it's messing up and if not why?
Level edit is my play ground
[Updated on: Fri, 23 March 2007 01:08] Report message to a moderator
|
|
|
Re: scripting [message #251220 is a reply to message #250894] |
Fri, 23 March 2007 05:06 |
|
You downloaded the right SDK. Assuming you ran it and installed it, it should be fine. Why its not working I don't know.
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
|
|