|
Re: Started
[Re: Brodi717]
#201116
04/07/08 02:04
04/07/08 02:04
|
Joined: Apr 2008
Posts: 38
Brodi717
OP
Newbie
|
OP
Newbie
Joined: Apr 2008
Posts: 38
|
when i try to test a script I made i get error video mode read only. any ideas what the propblem is.
XBlade case, Gigabyte GA-945GCM-S2 motherboard, 2gB OCZ Memory, Pentuim D 925 3.0 Ghz overclocked to 3.67 Ghz, 250 gb Sata 3.0 Western Digital, SATA 3.0 DvD Burner, and a NVIDIA GeForce 8400 GS 512 Mb. The ultimate gaming system for a 12 year old woot.
|
|
|
Re: Started
[Re: Brodi717]
#201232
04/07/08 17:25
04/07/08 17:25
|
Malice
Unregistered
|
Malice
Unregistered
|
// Lite-C in function main video_mode =8; // create a program window of 800x600 pixels NOT* // c-script out of function main var video_mode=8
Last edited by Malice; 04/07/08 17:27.
|
|
|
Re: Started
[Re: ]
#201258
04/07/08 20:45
04/07/08 20:45
|
Joined: Apr 2008
Posts: 38
Brodi717
OP
Newbie
|
OP
Newbie
Joined: Apr 2008
Posts: 38
|
that is what I use and i get that error. i use
function main() { video_mode = 8; }
XBlade case, Gigabyte GA-945GCM-S2 motherboard, 2gB OCZ Memory, Pentuim D 925 3.0 Ghz overclocked to 3.67 Ghz, 250 gb Sata 3.0 Western Digital, SATA 3.0 DvD Burner, and a NVIDIA GeForce 8400 GS 512 Mb. The ultimate gaming system for a 12 year old woot.
|
|
|
Re: Started
[Re: Quad]
#201262
04/07/08 21:09
04/07/08 21:09
|
Joined: Apr 2008
Posts: 38
Brodi717
OP
Newbie
|
OP
Newbie
Joined: Apr 2008
Posts: 38
|
I changed it now it says cant compile test.c
XBlade case, Gigabyte GA-945GCM-S2 motherboard, 2gB OCZ Memory, Pentuim D 925 3.0 Ghz overclocked to 3.67 Ghz, 250 gb Sata 3.0 Western Digital, SATA 3.0 DvD Burner, and a NVIDIA GeForce 8400 GS 512 Mb. The ultimate gaming system for a 12 year old woot.
|
|
|
Re: Started
[Re: Brodi717]
#201452
04/09/08 02:15
04/09/08 02:15
|
Joined: Apr 2008
Posts: 38
Brodi717
OP
Newbie
|
OP
Newbie
Joined: Apr 2008
Posts: 38
|
okay the image will not show up and it has no errors. here is the script
#include <acknex.h> #include <default.c>
BMAP l = "LEADERBOARD.PCX";
PANEL first_pan = { bmap = l; pos_x = 10; pos_y = 10; layer = 1; flags = VISIBLE; }
function main() { video_mode = 7; }
Last edited by Brodi717; 04/09/08 02:17.
XBlade case, Gigabyte GA-945GCM-S2 motherboard, 2gB OCZ Memory, Pentuim D 925 3.0 Ghz overclocked to 3.67 Ghz, 250 gb Sata 3.0 Western Digital, SATA 3.0 DvD Burner, and a NVIDIA GeForce 8400 GS 512 Mb. The ultimate gaming system for a 12 year old woot.
|
|
|
Re: Started
[Re: Brodi717]
#201453
04/09/08 02:21
04/09/08 02:21
|
Malice
Unregistered
|
Malice
Unregistered
|
video_screen =1; // set fullscreen mode
try adding this to function plus load a level....
function main() { video_screen =1; // set fullscreen mode video_mode =7; // create a program window of 800x600 pixels level_load("YOUR_LEVEL_NAME_HERE.wmb"); wait(-2); }
|
|
|
Re: Started
[Re: Brodi717]
#201456
04/09/08 02:31
04/09/08 02:31
|
Malice
Unregistered
|
Malice
Unregistered
|
change bmap to BMAP* PANEL to PANEL*
sorry I missed it the first time .
Last edited by Malice; 04/09/08 02:32.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|