Page 1 of 1

help with single player scripting?

Posted: Tue Jan 23, 2007 6:42 pm
by Enzo03
i want to set this up and i havent read the stuff in d3sdk for some time now.

to my understanding, i will need a c++ compiler, but i only remember microsoft visual c++ and another compiler mentioned. are these the only two that work or could one such as....

say dev c++ work?

Posted: Tue Jan 23, 2007 11:26 pm
by Hunter
http://gameedit.net/custom/GameEdit_OG/ ... rpt01.html

Just look around Google for the related files mentioned (that being, the compiler itself)...

Posted: Tue Jan 23, 2007 11:28 pm
by d3jake
It probably would, but it would take a bit of setting up to acomplish. The single player scripting is compiled by the sdk it has all the parts in it nessairy to compile D3 Level scripts. (Just read the readme) The only difference is that you put the path in your environment table (assuming you're running XP).

Posted: Fri Jan 26, 2007 3:00 am
by WillyP
D3J, you do need a compiler to compile your scripts.

The SDK and the compiler can ber downloaded from my site in one zip: Click Here to Download.

Read the tut referenced above to install... there is also a big thread on PD about installing.

Posted: Fri Jan 26, 2007 3:40 am
by d3jake
The SDK has a complier in it:

Code: Select all

The following is a description of the directory structure found after extracting the 
D3-SDK.

<base-dir> -------- The directory you extracted the SDK to.
|-- <bin>  -------- Contains some pre-compiled executables which may be useful.  
|                   This includes virtualms.exe (Microsoft Visual C/C++ Virtual 
|                   Compiler for D3Edit), virtualgcc.exe (EGCS 1.1.2 GNU GCC 
|                   [Mingw] Virtual Compiler for D3Edit), and build_script (a useful 
|                   script for building OSIRIS scripts in Linux via gcc)

Posted: Sat Jan 27, 2007 12:38 am
by WillyP
Yes, and the same readme answers Enzo's question, yes you can use visual, but something about playing around with the headers to fix compiler errors...


oops, :oops: that wasn't the question. Enzo is asking about using other compilers.

Posted: Sat Jan 27, 2007 3:07 am
by d3jake
True, because he didn't know that the SDK had one in it, (gots to read the readme!)...

Posted: Sat Jan 27, 2007 6:39 am
by Enzo03
ok...

so assuming i DO NOT have windows extra problems (:P) then how should i set up?

Posted: Sat Jan 27, 2007 5:02 pm
by WillyP
Click on the link in Hunter's reply to your original post. Follow the instructions there, then if you still have problems post a question.

Posted: Sun Feb 11, 2007 10:54 pm
by Enzo03
d3jake wrote:True, because he didn't know that the SDK had one in it, (gots to read the readme!)...
but apparently i need ANOTHER compiler, d3jake. i never said i did not know the sdk had one. the problem is that the readme simply confuses me.

now i tried to download the egcs one but the link didnt work. i searched around and downloaded something but when i looked at the tutorial for setting up DALLAS, i had decided that i have downloaded the wrong thing!

now i have a headache.

Posted: Sun Feb 11, 2007 11:10 pm
by d3jake
ah, if you would hop into IRC chat I could step you through it. www.descentforum.de/chat

Posted: Sun Feb 11, 2007 11:16 pm
by Enzo03
really? you would? thanks im logging on right now :)

Posted: Mon Feb 12, 2007 2:46 am
by Enzo03
:?
i need help again.

the compiler is supposed to make a dll file out of the cpp file, but i see no dll!

edit: i HATE how windows hides dll files. microsoft was obviously afraid of people deleting critical ones to free up space or something.

well i got a scripted level running now. :)

Posted: Sun Feb 18, 2007 4:34 am
by WillyP
Congrats! I am sure it is Killa!

Posted: Fri Feb 23, 2007 3:57 pm
by Enzo03
its papacat's tutorial i think.

theres a bot in front of you and if you ram him the guidebot exclaims that his ai was reactivated.

and then it starts shooting you. you have to kill him :(.
then when he blows up, the level ends.