Please or Register to create posts and topics.

turret reactivation?

PreviousPage 2 of 3Next
reepblue wrote:
In the portal's GCF, theres a .txt file in the script folder called "npc_sounds_turret-portal"

select everything there, copy and open a new .txt file and paste it and rename it: "npc_sounds_turret.txt" Then save the file under the script file.

Im not to sure that will work...

PortalFan77 wrote:
Im not to sure that will work...

Its a hint. . ;)

:A Little Higher: :Tornate: :Blue Portals: :Vectronic: :Youtube: :Twitter: : ModDB: :Old Sig:

The more you give, the less appreciated it will be received.

ok, what works, and what doesn't? :|
giving me misinformation isn't very helpful.

Well what exactly do you want to know?

PortalFan77 wrote:
Well what exactly do you want to know?

how to make a portal turret reactivate when stood up.
we've got to the point where we know the HL2 model does that and we need to replace that with the turret, but how? that's beyond my knowledge :|

I replaced my HL2 turret in Synergy, HL2, EP1, and EP2 with the Portal turret.

its a matter of copy and paste. You take the .mdl file and rename it to the HL2 turret file, then put the other files in the original directory and the same directory as the MDL.

The issue with the HL2 turret though, you cant put a portal underneath it.

PortalFan77 wrote:
I replaced my HL2 turret in Synergy, HL2, EP1, and EP2 with the Portal turret.

its a matter of copy and paste. You take the .mdl file and rename it to the HL2 turret file, then put the other files in the original directory and the same directory as the MDL.

The issue with the HL2 turret though, you cant put a portal underneath it.

Ah, I nearly forgot about that. . And that they can't see you through portals.

:A Little Higher: :Tornate: :Blue Portals: :Vectronic: :Youtube: :Twitter: : ModDB: :Old Sig:

The more you give, the less appreciated it will be received.
reepblue wrote:
Ah, I nearly forgot about that. . And that they can't see you through portals.

They do however open up as if you walked in front. They stay active too until you move away from the Portal.

Now that i better understand the problem, i think that the best solution is to change the source code of the game DLLs. It should be relatively easy to adapt the code for the turret so that it re-activates when you pick it up, while retaining all of its Portal-specific properties that the Half-Life version doesn't have.

When distributing your mod, you can plug in custom game DLLs like you do other stuff, by putting them in the correct sub-directory.

You can find more information in the programming section of the Valve Developer wiki.

Sendificate series: Sendificate | A Beam Too Far | Airtime | 302
Other Portal 2 maps: Medusa Glare
Portal 1 maps: Try Anything Twice | Manic Mechanic
Quote:
i think that the best solution is to change the source code of the game DLLs. It should be relatively easy to adapt the code for the turret so that it re-activates when you pick it up, while retaining all of its Portal-specific properties that the Half-Life version doesn't have.

There is only one tiny little problem with that. . .

I don't think that getting Portal Source code is even possible now. Perhaps in a few years, maybe but for now no.

:A Little Higher: :Tornate: :Blue Portals: :Vectronic: :Youtube: :Twitter: : ModDB: :Old Sig:

The more you give, the less appreciated it will be received.
PreviousPage 2 of 3Next