English Open Source

103 replies
Goto Page
To the start Previous 1 2 3 4 5 6 Next To the start
16.08.09 07:57:49 pm
Up
JamesKeenan
User
Offline Off
dart193 has written:
Hmmm, i think it is C or C++. Or Java.


It's actually none of those. Blitz3d is BASIC. You can find it remarkably easy online by just Google searching "Blitz3d" or "blitz3d basic" or "blitz3d is based on..."
16.08.09 08:31:48 pm
Up
dart193
User
Offline Off
But i played colobot where was C, and this is copy of it. I check it with search... and found it similar to C. Basic is another. I don't understand that at all.
16.08.09 08:40:17 pm
Up
DC
Admin
Offline Off
Blitz (Basic) 3D is a language comparable with Basic. It has pretty much the same syntax etc.

The parsing of inf-files and scripts has been written with Blitz Basic as well.

Colbot? copy of what? Colbot is not related with Stranded II. Colbot is not even related with Blitz Basic as far as I know. So why are you talking about Colbot? That doesn't make much sense to me.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
16.08.09 09:25:14 pm
Up
dart193
User
Offline Off
Sorry abuot colObot. That game where you can program bots. That where i learned that language. But that was C so i am wondering why it is basic.
About "copy" word - i meaned languages are same.
16.08.09 10:08:12 pm
Up
Builder2-0
User
Offline Off
Colobot allows you to use a language (and it is NOT C, it is closer to Java) to program bots.

BASIC is an entirely different language.

As DC said, the language used in coding Stranded II is Blitz(3d? Basic? I can never remember the full name of it, lol), but is comparable to BASIC.

As for you second question:
dart193 has written:
And what prog lang used in inf-files?

It's not a language. The actual "script" sections use S2Script (which as far as I can tell was made by DC, and it's incredibly easy to use). The other sections aren't scripting\coding\programming, they are merely collections of data for the S2.exe to use.
16.08.09 10:27:59 pm
Up
dart193
User
Offline Off
Builder, do you played colobot?
Ontopic:
Well i meaned script part. I rechecked intermet and found basic differ than here. C looks more like BB. That is completely strange - unbelieveliable.
16.08.09 10:48:41 pm
Up
Builder2-0
User
Offline Off
dart193 has written:
Well i meaned script part. I rechecked intermet and found basic differ than here. C looks more like BB. That is completely strange - unbelieveliable.

It's completely strange and unbelievable because you have no idea what you are talking about.

C
Code:
1
2
3
4
5
6
7
8
#include <windows.h>

int PASCAL WinMain(HINSTANCE hInstance,
       HINSTANCE hPrevInstance, LPSTR CmdLine, int Show)
{
       MessageBox(GetActiveWindow(), "Hello World!", "Hello Windows World", MB_OK);
       return 0;
}


BASIC:
Code:
1
2
10 REM Hello World in BASIC
20 PRINT "Hello World!"


BlitzMax (not Blitz3d, but close enough)
Code:
1
2
3
4
5
6
Graphics 640,480,16
While Not KeyHit(KEY_ESCAPE)
         Cls
         DrawText "Hello World",0,0
         Flip
EndWhile
17.08.09 07:47:32 pm
Up
eonsystem
User
Offline Off
that al very good and well but why use .b3d extensions for models???
17.08.09 10:29:28 pm
Up
Ominus
User
Offline Off
eonsystem has written:
that al very good and well but why use .b3d extensions for models???


Beacuse .b3d is Blitz Basic model format?
You could use .3ds but its only good for static models
IMG:http://internetometer.com/image/4452.png
17.08.09 11:22:13 pm
Up
DC
Admin
Offline Off
I think you got something wrong, dart193. All the code/scripts you see in the inf-files or s2s files is NO Blitz Basic code! It's Stranded 2 Script. You can't even see the real Blitz Basic 3D code unless you download the open source package and have a look into the bb files.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
17.08.09 11:41:16 pm
Up
eonsystem
User
Offline Off
so you'd use
Code:
1
Animate entity[,mode][,speed#][,sequence][,transition#]
to animate .b3d.
what I don't get is the sequence.

Question: How to cause break in movement?
I tried something like this
Code:
1
2
3
If EntityX(vehicle)<>Entityx(placer)
     then MoveEntity vehicle,EntityX(placer)
     endif

Using this will move my entity(vehicle) but will not stop once EntityX(vehicle) has reached EntityX(placer). Any ideas? Basically I need Entity(vehicle) to move in the direction/position of Entity(placer) and then stop at Entity(placer).

again.... any ideas???

erm... something else.
is there anyway to break out of input command???
18.08.09 01:02:21 pm
Up
dart193
User
Offline Off
OKay, which language using S2 scripts?
25.08.09 11:24:49 pm
Up
eonsystem
User
Offline Off
STRANDED III <----???
26.08.09 05:56:35 am
Up
ohaz
User
Offline Off
Stranded III is currently not in development.
https://ohaz.engineer - Software Engineering
08.12.09 05:18:27 pm
Up
Crazyx
User
Offline Off
I was thinking about changing some texts in SII...
With Blitz3D and source code, I can do that, right?
Do I need any other extra software?
08.12.09 05:31:29 pm
Up
The Oracle File
User
Offline Off
You need to own BlitzBasic
Bauen. Campen. Schätze finden. Gemeinsam Stranded II MP. www.oraclefile.com !
08.12.09 09:29:10 pm
Up
Bloodshot
User
Offline Off
Like what? Fatigue to Tiredness? That can be done in Sys/strings
It is better to fail and then succeed than to succeed in the first place IMG:http://i420.photobucket.com/albums/pp281/L31ch3/Userbars/Strandedgamerub.png
14.12.09 03:44:52 am
Up
killprogram
COMMUNITY BANNED
Offline Off
i Opened Up Blitz3d Then I Open Up StrandedII.bb Were It Was When I Extracted The Source, I Clicked 'run' And It Says "Function Opendclipboard Not Found", Am I Doing Something Wrong?
22.12.09 01:21:59 pm
Up
Crazyx
User
Offline Off
Bloodshot has written:
Like what? Fatigue to Tiredness? That can be done in Sys/strings

That's a good example.
Am I right that it allows to change the German messages and misspellings too?
29.12.09 03:07:06 pm
Up
prozhen
User
Offline Off
Hi everybody. I see that Killprogram is banned, but anyhow. He asked what was wrong when he got "Function Opendclipboard Not Found" during compilation.
I was sitting on a nighttrain and had nothing to do, and I wanted to play Stranded 2 but didn't manage to get the original exe to work, it made me sit up many hours the night before my train left. Yeah, I waited with packing my stuff untill the last few hours before the train went, during the morning, thanks to Stranded 2 not working on Windows 7.

I sat down with my Blitz3D-copy and tried to compile it. Had some issues, but learned quite a bit from it.

When the errors about functions not found pops up, it has to do with not copying the declarations-file (user32.decls) into Blitz3d/userlib/-directory.

I have made a new blog about working with the sourcecode, you can find it at http://www.prozhen.no/

I also managed to get StrandedII.exe past the Memory Access Violation-problem in Windows 7. By removing all code related to the multiplayer-function, it suddenly worked.

I think this has to do with the way Blitz3D is working with the windows-libraries. In windows 7 everything is different. Both in a good and a bad way.

You can grab the modified exe (beta!) from the post, or directly from http://www.prozhen.no/files/StrandedII_win7.exe

I don't promise that it will work, but it is worth a shot!
Tell me how it goes!

Edit 2: After some thinking, it turns out that terrain_color_sawmp is actually terrain_color_swamp.
This will be the swamp-terrain-colors.
I suggest DC to update the original StrandedII-setup, by editing the game.inf-file so it reads "swamp" instead of "sawmp", and try to rebuild with the sourcecode released, just to be sure that the sourcecode will compile and run without changes to the original gamefile.

The Windows 7-friendly version above is now remade, and you should now not need to edit game.inf in order for it to work.
edited 2×, last 30.12.09 01:30:19 pm
To the start Previous 1 2 3 4 5 6 Next To the start