NPC characters helping you in maps
Quote from spongylover123 on August 12, 2011, 2:12 pmI'm a beginner and I want to know if it is possible for a NPC character help you through a map. If it is possible, how?
For example, chell in SP has Atlas or P-body help her throughout the map.
I'm a beginner and I want to know if it is possible for a NPC character help you through a map. If it is possible, how?
For example, chell in SP has Atlas or P-body help her throughout the map.
Quote from The Irate Pirate on August 12, 2011, 3:27 pmI think it would be possible (albeit it very complicated) using triggers and targets for the NPC to shoot portals at, but it would be very clunky unless the NPC was just pressing buttons to activate bridges and the like. A proper intelligent NPC bot doesn't exist for Portal 2 I don't think.
I think it would be possible (albeit it very complicated) using triggers and targets for the NPC to shoot portals at, but it would be very clunky unless the NPC was just pressing buttons to activate bridges and the like. A proper intelligent NPC bot doesn't exist for Portal 2 I don't think.
Quote from spongylover123 on August 12, 2011, 3:46 pmI was thinking it can help with shooting portals, help kill turrets, and every thing that you pretty much have to do when you are solving a puzzle.
Since Portal 2 runs the source engine like half life, and half life has npcs helping you.
I was thinking of having Atlas helping chell through the testing
I was thinking it can help with shooting portals, help kill turrets, and every thing that you pretty much have to do when you are solving a puzzle.
Since Portal 2 runs the source engine like half life, and half life has npcs helping you.
I was thinking of having Atlas helping chell through the testing
Quote from The Irate Pirate on August 12, 2011, 3:52 pmThere's a big difference between simply coding an enemy to shoot directly at you with a weapon and having an AI think like a person. The AI's portals would have to be pre-determined. Ask someone more experienced about it.
There's a big difference between simply coding an enemy to shoot directly at you with a weapon and having an AI think like a person. The AI's portals would have to be pre-determined. Ask someone more experienced about it.
Quote from morrock on August 12, 2011, 4:21 pmspongylover123 wrote:I was thinking it can help with shooting portals, help kill turrets, and every thing that you pretty much have to do when you are solving a puzzle.Since Portal 2 runs the source engine like half life, and half life has npcs helping you.
I was thinking of having Atlas helping chell through the testing
The AI in Half-Life 2 for allies isn't really that advanced. They simply trail behind you, and enter combat mode whenever enemies spot you. At certain areas of the game, they entered scripted sequences. They don't actually have any logic or thought. It would be very difficult, as I don't believe there's currently anyway to make an AI shoot a portalgun, or at a specific position, and the Portal 2 authoring tools don't extend into modding yet.
Since Portal 2 runs the source engine like half life, and half life has npcs helping you.
I was thinking of having Atlas helping chell through the testing
The AI in Half-Life 2 for allies isn't really that advanced. They simply trail behind you, and enter combat mode whenever enemies spot you. At certain areas of the game, they entered scripted sequences. They don't actually have any logic or thought. It would be very difficult, as I don't believe there's currently anyway to make an AI shoot a portalgun, or at a specific position, and the Portal 2 authoring tools don't extend into modding yet.
Quote from Rubrica on August 12, 2011, 4:24 pmActually, if there's an attachment point on the robot's arm, which there almost certainly is, you can parent a weapon_portal gun to it and send it inputs of FirePortal1 and FirePortal2 - and there's probably a way of doing it with scripting, therefore.
Actually, if there's an attachment point on the robot's arm, which there almost certainly is, you can parent a weapon_portal gun to it and send it inputs of FirePortal1 and FirePortal2 - and there's probably a way of doing it with scripting, therefore.
Quote from WinstonSmith on August 12, 2011, 5:31 pm**cough**
The fact still remains that since we have no access to the Portal 2 code there's no way to add NPCs. I suppose you could use a prop_dynamic and a LOT of scripting/logic work but it would be touchy at absolute best.
**cough**
The fact still remains that since we have no access to the Portal 2 code there's no way to add NPCs. I suppose you could use a prop_dynamic and a LOT of scripting/logic work but it would be touchy at absolute best.
Quote from Rubrica on August 12, 2011, 5:36 pmI know, I was just helping with the portal gun thing; I agree, and unless you're one-hundred percent certain that you can pull this off, I wouldn't waste effort on it; wait for better tools to be released, may haps.
I know, I was just helping with the portal gun thing; I agree, and unless you're one-hundred percent certain that you can pull this off, I wouldn't waste effort on it; wait for better tools to be released, may haps.
Quote from MasterLagger on August 12, 2011, 10:27 pmYou can't make NPCs, but you can make a workable substitute. For example, I making a boss battle that involves a "Security Defense System." Now there aren't any security-ish props that I can place so I have to make do with what I already have. As obscure as this sounds but I made a boss made out of a Turret, 2 Wheatley's Shields, and a few rotating lasers beams.
As for Altas and P-Body, they have prop_dynamic animations that could be used to see them moving, but you would need to create a "path" using brushes to actually move them. I'm sure there is a tutorial somewhere that involves prop_dynamic's following a path.
BTW P-Body was seen in SP at one of Wheatley's Chambers running away so it's not impossible.
You can't make NPCs, but you can make a workable substitute. For example, I making a boss battle that involves a "Security Defense System." Now there aren't any security-ish props that I can place so I have to make do with what I already have. As obscure as this sounds but I made a boss made out of a Turret, 2 Wheatley's Shields, and a few rotating lasers beams.
As for Altas and P-Body, they have prop_dynamic animations that could be used to see them moving, but you would need to create a "path" using brushes to actually move them. I'm sure there is a tutorial somewhere that involves prop_dynamic's following a path.
BTW P-Body was seen in SP at one of Wheatley's Chambers running away so it's not impossible.
My Work
[spoiler]Maps:
Revenge of the Angry Turrets
Capture the Cube [Co-op]
Capture the Cube 2 [Co-op]
TPWEGTH Sample Map
Aperture Aquatic Testing Center
Aperture Aquatic Testing Center 2
Aperture Time Testing Center
ML's Halloween Trick - 1000 downloads!
ML's Halloween Treat
ML's Combination - 1000 downloads!
ML's Jailbreak Labyrinth
ML's Tricky Teamwork [Co-op]
WIP:
"Capture the Cube 3"
Workshop Maps Link: http://steamcommunity.com/profiles/76561198008890579/myworkshopfiles/[/spoiler]

Quote from ChickenMobile on August 12, 2011, 11:22 pmMasterLagger wrote:BTW P-Body was seen in SP at one of Wheatley's Chambers running away so it's not impossible.That is actually an animation that is played when the player looks in p-body's general direction. It does not follow any path set by different entities, and the dynamic prop is disabled when the animation is finished.
That is actually an animation that is played when the player looks in p-body's general direction. It does not follow any path set by different entities, and the dynamic prop is disabled when the animation is finished.