Instance problem
Quote from CraigChrist on May 3, 2011, 1:48 pmDo you guys have problems with instaces?
I can't get them to work right. The thing is when I put instanced vmf somewhere in the map when it compiles it appears on a different position. I pretty sure it keeps the position from the instanced file.
for example if the a cube is in instanced file at 0 0 0 position, it will be at 0 0 0 when the map is compile no mater where I put it...
I used instances a lot in l4d2 SDK and I think i'm setting it right.
does anyone else have this problem or am I doing something wrong...?
Do you guys have problems with instaces?
I can't get them to work right. The thing is when I put instanced vmf somewhere in the map when it compiles it appears on a different position. I pretty sure it keeps the position from the instanced file.
for example if the a cube is in instanced file at 0 0 0 position, it will be at 0 0 0 when the map is compile no mater where I put it...
I used instances a lot in l4d2 SDK and I think i'm setting it right.
does anyone else have this problem or am I doing something wrong...?
Quote from suicidal_banana on May 3, 2011, 2:51 pmHmm, no your not, happens for me too on a quicky test map.
Theres actually a whole load of small bugs going on (engine update) may be best to not use instances for now?
Hmm, no your not, happens for me too on a quicky test map.
Theres actually a whole load of small bugs going on (engine update) may be best to not use instances for now?
Quote from CraigChrist on May 3, 2011, 5:54 pmMaybe it's the alien swarm SDK problem. I'll try it with alien swarm. If it is, I'll check some of their mapping community if they found a solution.
I'll post here if I find something.
Maybe it's the alien swarm SDK problem. I'll try it with alien swarm. If it is, I'll check some of their mapping community if they found a solution.
I'll post here if I find something.
Quote from CraigChrist on May 3, 2011, 6:11 pmHmmm it works well in alien swarm... I don't understand why it wouldn't work with portal. It doesn't have any relations with the game, it's processed during compiling, and it's the same for both games...
really strange..
Hmmm it works well in alien swarm... I don't understand why it wouldn't work with portal. It doesn't have any relations with the game, it's processed during compiling, and it's the same for both games...
really strange..
Quote from suicidal_banana on May 3, 2011, 6:16 pmportal2 is weird tbh.
Open the actual vmf's of the instances, copy, paste in map, succes.
portal2 is weird tbh.
Open the actual vmf's of the instances, copy, paste in map, succes.
Quote from CraigChrist on May 3, 2011, 6:21 pmheh, but instances provide much better organization... oh well, hope they fix it when they release the SDK
heh, but instances provide much better organization... oh well, hope they fix it when they release the SDK
Quote from Dewin on May 6, 2011, 7:56 pmCompiling with instances won't correctly translate entities it doesn't know about to the correct location. This is because the FGD is used to know what the key is for, e.g. an entity's origin.
To fix this:
- Ensure Hammer knows about the entities you're using (i.e. they are in the FGD
- Ensure that portal2.fgd and halflife.fgd are located in the same location as vbsp (...steamsteamappscommonalien swarmbin)
Compiling with instances won't correctly translate entities it doesn't know about to the correct location. This is because the FGD is used to know what the key is for, e.g. an entity's origin.
To fix this:
- Ensure Hammer knows about the entities you're using (i.e. they are in the FGD
- Ensure that portal2.fgd and halflife.fgd are located in the same location as vbsp (...steamsteamappscommonalien swarmbin)
Quote from CraigChrist on May 6, 2011, 9:05 pmHey thanks for answering.
I' will try that. Does it work for you?
I tried all sorts of things, even compiling with alien swarm fgd (which worked with alien swarm) but it didn't contain prop_weighted_cube and that was probably the problem.
I actually stopped mapping because of this issue. I wanted to wait for official SDK. But if this works I'm back to mapping, so this is really helpful.
I'll post if it works
thanks again
Hey thanks for answering.
I' will try that. Does it work for you?
I tried all sorts of things, even compiling with alien swarm fgd (which worked with alien swarm) but it didn't contain prop_weighted_cube and that was probably the problem.
I actually stopped mapping because of this issue. I wanted to wait for official SDK. But if this works I'm back to mapping, so this is really helpful.
I'll post if it works
thanks again
Quote from CraigChrist on May 6, 2011, 9:18 pmWorks perfectly!
Works perfectly!