Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by jcl. 04/24/26 17:48
ZorroGPT
by TipmyPip. 04/23/26 14:23
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (1 invisible), 3,659 guests, and 14 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Object and Entity - fundamental differences? #67222
03/18/06 21:31
03/18/06 21:31
Joined: Mar 2006
Posts: 6
D
dschomburg Offline OP
Newbie
dschomburg  Offline OP
Newbie
D

Joined: Mar 2006
Posts: 6
Is an Entity an Object?
Is an Object an Entity?

Why does an entity not contain geometry?

How can I create an object in WAD and then assign behaviors to it if it is an object rather than an entity?

I know this sounds like a simple question. Please forgive my ignorance however, I'm having difficulties understanding the differences of object and entity.

Thanks in advance,
dschomburg

Re: Object and Entity - fundamental differences? [Re: dschomburg] #67223
03/18/06 21:35
03/18/06 21:35
Joined: Nov 2002
Posts: 2,148
Germany
Dima Offline
Expert
Dima  Offline
Expert

Joined: Nov 2002
Posts: 2,148
Germany
Just search for "map entities" ... should help!


I'm not afraid of competition cos I'm know that I'm best
Re: Object and Entity - fundamental differences? [Re: Dima] #67224
03/18/06 21:47
03/18/06 21:47
Joined: Mar 2006
Posts: 6
D
dschomburg Offline OP
Newbie
dschomburg  Offline OP
Newbie
D

Joined: Mar 2006
Posts: 6
Thank you for your reply. However, that is what created my question(s).
I was doing a tutorial for a door. I was instructed to create the object and then build/save it as a map entity. Then I was instructed to import the newly created map entity of the "door". When I built the level and ran it there where 3 instances of the door.
So I deleted the original object of the door and rebuilt/reran but in so doing received an error of "no geometry".
This in turn melted my brain.
How can something be an entity and not consist of geometry. And why where there 3 instances of the door?

Re: Object and Entity - fundamental differences? [Re: dschomburg] #67225
03/18/06 22:07
03/18/06 22:07
Joined: Dec 2005
Posts: 414
Munich, Germany
R
Robotronic Offline
Senior Member
Robotronic  Offline
Senior Member
R

Joined: Dec 2005
Posts: 414
Munich, Germany
Hi!
I think, there are no fundamental differences:
Both, entitys and objects (the manual talks of panels or texts for example as objects)work similar to predefined structs in C.
You can define instances of them and access their predefined attributes in a similar way.
However there is a difference between level-entitys (map-entitys, models, sprites, terrain) and the script-defined 2D-elements, like panels, or entity definitions (view entitys).
So, idf I would talk of an object, I would probably think of a 2D-Element, and if I hear "entity", I would think of a 3d-element, that can be moved in the Level.
The level geometry (blocks) work very different. You can´t attach actions/functions to blocks. But you can build blocks as map-entities and then work with them in a similar way, as with models.
I wouldn´t call them objects, just in order to prevent confusion with panels and these things.

Edit: Okay, I see your question has gone into a more practical direction (typed my answer before your last post).
If you want to create a map-entity (in this case a door), you have to save the block as a prefab and then import in an empty level. Here (after texturing) you can compile / build this level, but not as a level, but as a map entity.
It becomes a .wmb file. This .wmb file can be placed in the folder of the original level, where you can use it in many ways like a model, you can give it actions, move it around and so on.

Last edited by Robotronic; 03/18/06 22:17.
Re: Object and Entity - fundamental differences? [Re: Robotronic] #67226
03/18/06 22:16
03/18/06 22:16
Joined: Mar 2006
Posts: 6
D
dschomburg Offline OP
Newbie
dschomburg  Offline OP
Newbie
D

Joined: Mar 2006
Posts: 6
Cool! I understood that.
why would an entity, being a 3d element not contain "geomety". And what was happening behind the scenes when I imported the map entity of the door that would cause multiple instances of the element?

Re: Object and Entity - fundamental differences? [Re: dschomburg] #67227
03/18/06 22:20
03/18/06 22:20
Joined: Dec 2005
Posts: 414
Munich, Germany
R
Robotronic Offline
Senior Member
Robotronic  Offline
Senior Member
R

Joined: Dec 2005
Posts: 414
Munich, Germany
There is a very useful way to make copies of entitys, such as your door.
If you move it, while holding the shift-key it´s copied, so maybe this just happened accidentally?
Edit: But normally, if you place a model or map-entity with "add model" there should only be one copy.
The word "geometry" or "blocks" are normally used for these blocks, that are created with WED. A map entity is created in a similar way, but can be used different. There are certain rules and restrictions for levelgeometry, most important, that they must not be concave, must not be smaller than two quants and so on. Models, that are created with a model-editor work very different and more comfortable in many ways.

Last edited by Robotronic; 03/18/06 22:29.
Re: Object and Entity - fundamental differences? [Re: Robotronic] #67228
03/18/06 22:39
03/18/06 22:39
Joined: Mar 2006
Posts: 6
D
dschomburg Offline OP
Newbie
dschomburg  Offline OP
Newbie
D

Joined: Mar 2006
Posts: 6
That certainly is possible. If I would have "shift copied" then wouldn't there be copies during design time and not just while running the build?

Thank you very much for your time and answers.

Re: Object and Entity - fundamental differences? [Re: dschomburg] #67229
03/18/06 22:50
03/18/06 22:50
Joined: Dec 2005
Posts: 414
Munich, Germany
R
Robotronic Offline
Senior Member
Robotronic  Offline
Senior Member
R

Joined: Dec 2005
Posts: 414
Munich, Germany
You´re welcome (and welcome on this forum btw. ), but I´m not sure if I understand the last question. If you make copies, they should be visible both in the 4 windows of WED and - after building (in this case just use "update entities)and hitting "run" - also with the engine. If you have too many doors, you can select and delete them from the level with the delete-key ...

Re: Object and Entity - fundamental differences? [Re: Robotronic] #67230
03/18/06 23:50
03/18/06 23:50
Joined: Mar 2006
Posts: 6
D
dschomburg Offline OP
Newbie
dschomburg  Offline OP
Newbie
D

Joined: Mar 2006
Posts: 6
Thanks for welcome!

Sorry about not being clear on that. I simply meant that there are no copies in the wed. They only appear when I build and run. However, as I just found out that if I close GS and re-open, then it works fine.
odd...I don't think this is an issue with 6.3v but rather an issue with "me.brain"

Re: Object and Entity - fundamental differences? [Re: dschomburg] #67231
03/19/06 00:50
03/19/06 00:50
Joined: Sep 2003
Posts: 4,959
US
G
Grimber Offline
Expert
Grimber  Offline
Expert
G

Joined: Sep 2003
Posts: 4,959
US
go into WED File->prefrences-> Advanced Tab and select the 'Auto' under the 'Reload of externaly modified files'

then you don;t need to shut down and re open wed and the level like you're doing

Page 1 of 2 1 2

Gamestudio download | 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