Adding a custom logic_chorographed_scene into portal

Avatar
Telao
3 Posts
Posted Jun 26, 2008
Does anyone know if this is even possible. For a few maps that I am making I plan to add NPCs, however, the only scenes I can add are ones from portal_content

Does anyone know how and indeed if I can add custom scenes into Portal?

Advertisement
Registered users don't see ads! Register now!
Avatar
reepblue
894 Posts
Posted Jun 26, 2008
Replied 1 hour later
From my works, NPCs do not really work in portal as in HL2. I did not however try friendly NPCs but enemies don't respond at all. If you make a combine solider in portal and give him a shotgun, he will not have anything and he will not shoot, just hurt you if you come too close when in game. Do the same in HL2 and add Ground Nodes and he will suffle, shoot and take cover. Portal took a lot out what HL2 hammer can do. So, I don't think it will work.
Avatar
pestchamber
614 Posts
Posted Jun 27, 2008
Replied 14 hours later

Telao wrote:
Does anyone know if this is even possible. For a few maps that I am making I plan to add NPCs, however, the only scenes I can add are ones from portal_content

Does anyone know how and indeed if I can add custom scenes into Portal?

well if you want npcs to talk you just do like i did, you place a light_spot in the face of them pointing at them so you only can see a white face andnot the mouth very good then place an ambient_generic and check "play everywhere" select your sound wich should be "raw" and not "game sounds". then play the ambient_generic and it looks fine.. make up an excuse for why theres a light there lulzor

Avatar
Remmiz
631 Posts
Posted Jun 27, 2008
Replied 2 hours later

pestchamber wrote:
well if you want npcs to talk you just do like i did, you place a light_spot in the face of them pointing at them so you only can see a white face andnot the mouth very good then place an ambient_generic and check "play everywhere" select your sound wich should be "raw" and not "game sounds". then play the ambient_generic and it looks fine.. make up an excuse for why theres a light there lulzor

That is probably the worst fix for this problem ever lol

Avatar
Telao
3 Posts
Posted Jun 28, 2008
Replied 20 hours later

pestchamber wrote:
well if you want npcs to talk you just do like i did, you place a light_spot in the face of them pointing at them so you only can see a white face andnot the mouth very good then place an ambient_generic and check "play everywhere" select your sound wich should be "raw" and not "game sounds". then play the ambient_generic and it looks fine.. make up an excuse for why theres a light there lulzor

.. interesting idea

Anywho, thanks I got it working by creating a directory called scenes in username/portal/portal, adding them in there and assigning the logic_choreographed (which I can now spell correctly thanks to this)_scene to that.

It probably would have been simpler to have modded for Half Life first and get a feel for it all, but that would have been far too painless

Avatar
Doomsday192
371 Posts
Posted Jun 28, 2008
Replied 1 hour later

Remmiz wrote:
That is probably the worst fix for this problem ever lol

Indeed

lulzor

Avatar
Hurricaaane
189 Posts
Posted Jun 28, 2008
Replied 1 hour later
I got NPCs working in my map.

What you need is:
skill.cfg to reset in Portal. (Enables damage.)
NPC Sounds file manifests to re-include. (Enables sounds.)

Avatar
Telao
3 Posts
Posted Jun 28, 2008
Replied 3 hours later

Hurricaaane wrote:
I got NPCs working in my map.

What you need is:
skill.cfg to reset in Portal. (Enables damage.)
NPC Sounds file manifests to re-include. (Enables sounds.)

How do you do that?

Avatar
Hurricaaane
189 Posts
Posted Jun 29, 2008
Replied 15 hours later

Telao wrote:
How do you do that?

I made a Portal mod.
But it's technically possible to make it a Portal map.

You need to include skill.cfg inside the map
Take skill.cfg from Half Life 2 GCF or Episodes.
For some reason I have to drastically increase the damage dealt from NPCs to player. One of the NPCs deal 80 skill damage which is in reality ingame 25 or 34 damage, don't remember (the logic is to kill the player after 3 or 4 hits).

Also include a custom soundscript file that will be auto-asociated with the map. http://developer.valvesoftware.com/wiki ... undscripts
Get the desirec NPC sound contents from Half Lide 2's and/or Episodes.

Advertisement
Registered users don't see ads! Register now!
Avatar
venator92
21 Posts
Posted Jul 03, 2008
Replied 3 days later
It is possible to import VCDs into Portal. Just extract them to the right folders from the GCF and rebuild the image file in FacePoser. However, you might want to extract all the VCDs from Portal's GCF too, as rebuilding the image file without them will mean Portal won't be able to find any of it's own VCDs.