
Weapon Sprite data is loaded by the Client DLL.Īs you can see this file controls many things about the portalgun, the models the game uses for the viewmodel and for the worldmodel, its sounds, etc. "double_shot_npc" "Weapon_Portalgun.fire_red_npc" "single_shot_npc" "Weapon_Portalgun.fire_blue_npc" "double_shot" "Weapon_Portalgun.fire_red" "single_shot" "Weapon_Portalgun.fire_blue" There is a max of 16 sounds per category (i.e. "playermodel" "models/weapons/w_portalgun.mdl" "viewmodel" "models/weapons/v_portalgun.mdl" Weapon data is loaded by both the Game and Client DLLs. Take a look to it: Code: Select all // Portalgun There's a script file called weapon_portalgun.txt located into your "portal 2/portal/scripts" folder. Unless you make a mod, you'll only manage to get a working portalgun for your screen :p, thus you won't be able to pack it in your BSP and make the rest to play with it in the workshop.ġ.
#T2 PORTAL TURRET MOD MOD#
This means that they can ship whatever custom portalgun model within the mod so that players can see it and use it. "Portal Stories: Mel" is a mod, and it even got greenlit so it's on Steam.
#T2 PORTAL TURRET MOD HOW TO#
I could try to help you out on how to implement your custom model in Portal2 though, but there are a couple of things you should be aware of before continuing: There are many good tutorials about this for almost any modelling program, search for UV mapping and creating model animations. Well, about texturing or animating your custom portalgun, I'm afraid you'll have to learn it within your modelling program. The problem is that I have no idea on how to texture it, animate it, and use it as a viewmodel in the Portal 2 engine.

It would be really great if you could guide me a little ^^ I know there are many tutorials on the internet, but I just don't know where to start. I know how to model (I already made the model i want to use).

I would like to learn how to create a custom viewmodel for the portal gun. I have seen a lot of custom portal gun models recently, like the one in the awesome "Portal Stories : Mel", or the one made by lamar11 for his mod "Portal 2 : Repercussions". Quote from FireFusorf on July 15, 2015, 4:11 pm
