|
|
Re: level_load("");
[Re: adoado]
#246034
01/13/09 10:27
01/13/09 10:27
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
Not sure myself on using level_load(""), but loading a blank/empty level and filling it with ent_create's is true if you use level_load(NULL)
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
Re: level_load("");
[Re: dracula]
#246039
01/13/09 11:02
01/13/09 11:02
|
Joined: Jan 2008
Posts: 1,580
Blade280891
Serious User
|
Serious User
Joined: Jan 2008
Posts: 1,580
|
Should be able to, try it and find out
My Avatar Randomness V2"Someone get me to the doctor, and someone call the nurse And someone buy me roses, and someone burned the church"
|
|
|
Re: level_load("");
[Re: Blade280891]
#246040
01/13/09 11:04
01/13/09 11:04
|
Joined: Oct 2007
Posts: 5,209 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
|
c_move takes an entity as parameter, if you dont load a level or dont open empty level, you cant use entities thus you cant use c_move.
3333333333
|
|
|
Re: level_load("");
[Re: Quad]
#246059
01/13/09 12:34
01/13/09 12:34
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
Physics works OK with level_load(NULL). It just does strange things near the edges of the "inhabited" area. The "inhabited" area can be expanded by placing dummy invisible NULL entities outside this area and it automatically expands in that/those directions.
And I would moset likely use a sky-cubes or a sky-cylinder(?) to generate the "background" rather than a panel.
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
Re: level_load("");
[Re: dracula]
#246279
01/14/09 13:01
01/14/09 13:01
|
Joined: Apr 2008
Posts: 437
dracula
OP
Senior Member
|
OP
Senior Member
Joined: Apr 2008
Posts: 437
|
why does this NOT work !!
function main() { fps_max=60; vec_set(screen_color,vector(1,1,1));
wait(1);
level_load(""); wait(3); ent_create("jet.mdl", vector(0,0,0),NULL);
}
The screen remains blue and I don't see the model ???
Thanks
Drac
Last edited by dracula; 01/14/09 14:03.
|
|
|
Re: level_load("");
[Re: dracula]
#246282
01/14/09 13:12
01/14/09 13:12
|
Joined: Oct 2007
Posts: 5,209 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
|
this works, you load an empty level.
i guess you cant see the model because camera starts at 0,0,0 too.
3333333333
|
|
|
|