Wcppas

Iceman16

Vice Admiral
So I'm lookin for WCP Pascal but I cant find it. when I try to download it from Thomas Bruckner's website it gives me a 404 file not found page instead. does anyone have this program on their comp and can send it to me? thx for this
 
still doesnt work for me, I get this page saying ERROR The requested URL cannot be retreived. could someone put up a link to another site that has it?
 
I get the same error from Bruckner's site--never actually recieved an error like this before.

Here it is:
________________________________________
ERROR
The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: http://tbruckner.esmartweb.com/misb4/wcppas_r24d.zip

The following error was encountered:

Access Denied.
Possible reasons may include:

Hotlinking to non-html content is not permitted for free accounts on eSmartStart.com. Hotlinking is when non-html files, such as images, programs, and archived data, are linked to directly from other websites, forums, web boards, or services like eBay, etc. Hotlinking is permitted for paid accounts.

The website you tried to visit is not hosted on our servers

The website you tried to visit may have exceeded is daily bandwidth quota

The page or file may have been removed for violating our terms of service.
______________________________________________________
Oh well, at least it is on wcnews.
 
Hotlinking to non-html content is not permitted for free accounts on eSmartStart.com. Hotlinking is when non-html files, such as images, programs, and archived data, are linked to directly from other websites, forums, web boards, or services like eBay, etc. Hotlinking is permitted for paid accounts.

Some sites don't like itwhen you reroute through another internet site. They won't let you download files by clicking on a link from another site. My guess is that it's a security thing. So to download from his site means first going to his site: http://tbruckner.esmartweb.com/misb4/ then clicking on where it says "Download the update here".

However, its the same file KrisV linked to on the CIC's server: http://download.wcnews.com/files/wcp/wcppas_r24d.zip YOu shouldn't have a problem with that one.
 
ok got it off of wcnews, works fine except for one thing, everytime I try to compile a mission it always highlights the #include wcp, consts, pilots; line and I dunno why. here is what Ive got so far for a simple mission Im making (Im following the tutorial on the UE page)

//test mission 1
mission s1;
#SetOutputPath("games\SOExperiment\mission");
#include wcp, consts, pilots;

object Alpha1(Ship)
obj: pantherbl;
x: 0;
y: 100;
z: 0;
main: M_Alpha;
death: D_Alpha;
pilot: PILOT_Amazon;
end;


object Nav1(Navpoint)
x: 0
y: 0
z: 0
main: M_Nav1 ;
navdata: 1, 5000;
end;

function M_Alpha;
begin

while(1) do
AI_WaitSeconds(5)
end;

function M_Alpha;
begin
SF_SetObjectFlag(OF_alignment, ALIGN_Confed);
SF_ActivateSelf(0);

while(1) do
AI_WaitSeconds(5);
end;

function MAIN;
begin
MS_RunSpaceflight(0);
end;

function M_Player;
begin
SF_SetObjectFlag (OF_alignment,ALIGN_Confed);//sets the player to confed alignment
SF_ActivateSelf(0);
SF_PlayerSwitchToCam(CamID_cockpit,Player);//switch to player cockpit
while(1) do begin
AI_WaitSeconds(1);
end;
end;



any help or advice is welcome.
 
It most likely means that for some reason, WCPPas is having trouble finding the contents of the \lib folder that should be included in the WCPPas folder.
 
ok so where is this \lib folder? what I did was download wcppas from the link KrisV gave, unzipped it and started readin the tutorials on it. another question I have is how can I add asteroids to one of the nav points in my mission?
 
Well, it looks like you have SO in the wrong folder. Last I knew, SO only works in the directory C:/program files/Origin Systems/Secret Ops (or something like this). You also need to d/l those tutorial packs on the UE site.

Where's the player object?
 
Iceblade said:
Well, it looks like you have SO in the wrong folder. Last I knew, SO only works in the directory C:/program files/Origin Systems/Secret Ops (or something like this).

You can definitely choose to install and run Secret Ops from any directory you want, though it may be possible this wcppas program is looking in the default place.
 
ok I'll try runnin SO from the default location.

crap, ok I'll put in the player object too.

anyone know how to put in asteroids in WCPPas yet?
 
Iceblade said:
Well, it looks like you have SO in the wrong folder. Last I knew, SO only works in the directory C:/program files/Origin Systems/Secret Ops (or something like this). You also need to d/l those tutorial packs on the UE site.
I've never ever installed SO to that folder. You can install SO anywhere you like.
 
so I downloaded the ue source code to find out how to make asteroid fields (I remember flying through them) and I think I found the code for it, is this it?

object Belt1(ABStart)
x: 0;
y: 0;
z: 4000;
absdata: 1, 350, 1000; //id, objects, diameter
end;

one question is how can I confine it to one nav point and tell how dense it should be?

also created the player ship and several enemies and nav points for my mission, I'll post the code in a bit.

I haven't tried goin to the default install location for SO, but will try it soon to see if thats the problem.
 
ok wow, never realised how powerful wcpedit really is, been usin it to find out which ships will work from Standoff and UE and most of them will work, cept the Drakhri, Sartha, Gratha, Grikath, Hhriss, Jalthi (regular and the fighter one too) , Raptor, cant even see the sabr_bt one (its just black, nothin else, no frame, no nothin), and the Wraith.

got an error mesage this time for the #include wcp, consts, pilots line, here it is:

[,1]HINT: c:\program files\origin systems\secret ops\lib\ doesn't exist
[s1,4] ERROR: could not include file wcp.pas - was not found!
[s1,4] raised in , line 0(call stack: < < < )


here is the code I've written so far


//test mission 1
mission s1;
#SetOutputPath("$wcso$\mission");
#include wcp, consts, pilots;

object Alpha1(Ship)
obj: pantherbl;
x: 0;
y: 100;
z: 0;
main: M_Alpha;
death: D_Alpha;
pilot: PILOT_Amazon;
end;

object Player(Player)
obj: pantherbl;
x: 300;
y: 200;
z: -500;
main: M_Player;
direction: 180, 0, 0;
pilot: PILOT_Casey1;
end;


object Nav1
x: 0
y: 0
z: 0
main: M_Nav1;
navdata: 1, 5000;
end;

object Nav2
x: 10000
y: 10000
z: 10000
main: M_Nav2;
navdata: 2, 5000;
end;

object Belt1(ABStart)
x: 10000;
y: 10000;
z: 10000;
absdata: 2, 500, 10000; //id, objects, diameter
end;

function M_Alpha;
begin

while(1) do
AI_WaitSeconds(5)
end;

function M_Alpha;
begin
SF_SetObjectFlag(OF_alignment, ALIGN_Confed);
SF_ActivateSelf(0);

while(1) do
AI_WaitSeconds(5);
end;

function MAIN;
begin
MS_RunSpaceflight(0);
end;

function M_Player;
begin
SF_SetObjectFlag (OF_alignment,ALIGN_Confed);//sets the player to confed alignment
SF_ActivateSelf(0);
SF_PlayerSwitchToCam(CamID_cockpit,Playe r);//switch to player cockpit
while(1) do begin
AI_WaitSeconds(1);
end;
end;



maybe someone could make a copy of their \lib and send it to me as a zip or something? any help is much appreciated.
 
Ok, now I see why you haven't got the \lib folder. You've only downloaded r24d, which isn't actually a proper release - it's just the execs. You have to get a full WCPPas package (don't remember, but it'll be either r24, or r24c). And do not use r24d for anything - it contains a bug which prevents any mission from working properly in the game.
 
great...

ok I found r24 and downloaded it, it created the lib folder which is good but I have another question: can I still work on my current mission or do I have to start from scratch?

also is the code that I posted for the asteroids correct to put it only in nav 2 and have it encommpass the whole of nav 2?
 
Yes, you can.

As for the asteroids, they should be fine, but you won't see them too well. You've got 500 of them covering an area 100,000 metres in diameter... which is not a lot of asteroids, in a lot of empty space.
 
ok, would this work better for the asteroids?

object Belt1(ABStart)
x: 10000;
y: 10000;
z: 10000;
absdata: 2, 50000, 5000; //id, objects, diameter
end;


also, what else do I need for this mission? I want 3 nav points with asteroids at nav 2, one wingman and 3 enemies at nav 1 and to end when you land on the midway, so how do I do that?

heres the code so far:

//test mission 1
mission s1;
#SetOutputPath("$wcso$\mission");
#include wcp, consts, pilots;

object Alpha1(Ship)
obj: pantherbl;
x: 0;
y: 100;
z: 0;
main: M_Alpha;
pilot: PILOT_Amazon;
end;

object Player(Player)
obj: pantherbl;
x: 300;
y: 200;
z: -500;
main: M_Player;
direction: 180, 0, 0;
pilot: PILOT_Casey1;
end;


object Nav1(navpoint)
x: 0
;y: 100
;z: 0
;navdata: 1, 5000;
end;

object Nav2(navpoint)
x: 10000
;y: 10000
;z: 10000
;navdata: 2, 5000;
end;

object Belt1(ABStart)
x: 10000;
y: 10000;
z: 10000;
absdata: 2, 50000, 5000; //id, objects, diameter
end;

function M_Alpha;
begin
SF_SetObjectFlag(OF_alignment, ALIGN_Confed);
SF_ActivateSelf(0);

while(1) do
AI_WaitSeconds(5);
end;

function MAIN;
begin
MS_RunSpaceflight(0);
end;

function M_Player;
begin
SF_SetObjectFlag (OF_alignment,ALIGN_Confed);//sets the player to confed alignment
SF_ActivateSelf(0);
SF_PlayerSwitchToCam(CamID_cockpit,Player);//switch to player cockpit
while(1) do begin
AI_WaitSeconds(1);
end;
end;
 
Back
Top