Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, howardR), 472 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 5 of 19 1 2 3 4 5 6 7 18 19
Re: export complete levels from blender [Re: ventilator] #219886
08/05/08 12:29
08/05/08 12:29
Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
Nowherebrain Offline
Serious User
Nowherebrain  Offline
Serious User

Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
I've been too busy to discover all the features lately...I will try to take a crack at it later though...I just never use the game logic(BGE) and that it why I never stumbled upon it.


Everybody Poops.
here are some tutorials I made.
http://www.acknexturk.com/blender/
Re: export complete levels from blender [Re: ventilator] #222355
08/18/08 23:17
08/18/08 23:17
Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
Nowherebrain Offline
Serious User
Nowherebrain  Offline
Serious User

Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
ok, I'm asking('cause I am mentally challenged lol). I'm guessing by adding a string property with the name...e.g. player_action(if it were "action player_action()")? I really don't know. Exporting and running is NP, it the action and flags assignment?


Everybody Poops.
here are some tutorials I made.
http://www.acknexturk.com/blender/
Re: export complete levels from blender [Re: Nowherebrain] #222405
08/19/08 07:41
08/19/08 07:41
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
you have to add a string property named "action" with its string set to the name of your action.

Re: export complete levels from blender [Re: ventilator] #222492
08/19/08 17:08
08/19/08 17:08
Joined: Sep 2007
Posts: 3
R
Rednax Offline
Guest
Rednax  Offline
Guest
R

Joined: Sep 2007
Posts: 3
Hi to you all

thanx to you ventilator for this good contribution to the community^^

but i have a problem to export the whole map^^

i just startet with a little plane and textur but when i try to export the map i ever get an error...

here is a picture of the error^^

i have edit the export_gs_mdl7_static.py file with:

scale = 32
mapcompiler = "C:\Program Files\GStudio7\wwmp2wmb.exe"
engine = "C:\Program Files\GStudio7\acknex.exe"
sunazimuth = 0

do i must add something more???

thx to you all...

and pls help wink



Re: export complete levels from blender [Re: Rednax] #222494
08/19/08 17:13
08/19/08 17:13
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
is the texture embedded in the .blend file and not on the harddisk somewhere? i guess my copy function doesn't handle this case. i would have to add some check.

i don't know what else could be the reason. i would have to examine it...

Re: export complete levels from blender [Re: ventilator] #222497
08/19/08 17:23
08/19/08 17:23
Joined: Sep 2007
Posts: 3
R
Rednax Offline
Guest
Rednax  Offline
Guest
R

Joined: Sep 2007
Posts: 3
hmm the textur is in the same direction... not in the blend file just loaded as jpg...


but i dont know... maybe i done something wrong...

i downloaded the 2 files and placed it in the scripts folder
then i added the line what i written before (maybe add more to the script?)

and then tryed to export...

Last edited by Rednax; 08/19/08 17:24.
Re: export complete levels from blender [Re: Rednax] #222507
08/19/08 17:59
08/19/08 17:59
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
is the path of the image correct if you check it in the image editor? is it relative or absolute? could you provide your files so i can have a look?

<edit> oh! jpg is no good since gamestudio doesn't support it for model textures i think but it shouldn't be the reason for the error.

as a quick workaround you could add a # in front of the line which calls copyfile() in the write() method of the c_exporter() class in export_gs_mdl7_static.py. smile you have to to manually copy the textures to the target folder then. </edit>

Re: export complete levels from blender [Re: ventilator] #222525
08/19/08 19:46
08/19/08 19:46
Joined: Sep 2007
Posts: 3
R
Rednax Offline
Guest
Rednax  Offline
Guest
R

Joined: Sep 2007
Posts: 3
i think i found the mistake i made^^ first i used a jpg and not included it in the .blend file...

so but the problem not ends laugh

sorry for annoy you with this problem...

the map compiles with gamestudio but in the end there is another problem! not the whole map compiles only the model i selected^^

here is the error... just another picture...



Re: export complete levels from blender [Re: Rednax] #222529
08/19/08 19:59
08/19/08 19:59
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
only selected objects will get exported. if you want to export the whole scene, you just have to select all objects by pressing [a] before exporting.

a texture size of 2000x2000 is not ideal for gamestudio. better use 2048x2048.

blender_level_exporter.zip
make sure you use this latest version. it can handle map compiler and engine paths with spaces in them. it sounds like this has caused your new error message.

Re: export complete levels from blender [Re: ventilator] #222604
08/20/08 04:49
08/20/08 04:49
Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
Nowherebrain Offline
Serious User
Nowherebrain  Offline
Serious User

Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
and as far as the flags go?


Everybody Poops.
here are some tutorials I made.
http://www.acknexturk.com/blender/
Page 5 of 19 1 2 3 4 5 6 7 18 19

Moderated by  aztec, Blink, HeelX 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1