Please or Register to create posts and topics.

Creating Weapons

Page 1 of 2Next

I'm trying to create a custom gun for a mod I'm making; one that doesn't use the portal gun base model. I have absolutely no idea how I would go about doing it, although I'm working on mapping out the skin for it. Is it possible to import a custom 3d model, apply a skin to it, and use it instead of the portal gun? thanks :D

It's completely possible to make something in the place of the portal gun - I've seen CamBen make a cat instead of a portal gun, and there's Lamarr's underground style gun from Repercussions. I'm not sure how to model myself, but that shows that it's quite possible. In terms of firing something other than portals, I'm not sure. You could "fake" a weapon by using entities, but once again, I don't know.

ImageImage
srs bsnss wrote:
It's completely possible to make something in the place of the portal gun - I've seen CamBen make a cat instead of a portal gun, and there's Lamarr's underground style gun from Repercussions. I'm not sure how to model myself, but that shows that it's quite possible. In terms of firing something other than portals, I'm not sure. You could "fake" a weapon by using entities, but once again, I don't know.

Okay, thank you for at least confirming my hopes that it's possible :D I just need to find out if you can import 3d models cuz then I could Blender it or something...

This topic should help with that... Search function people... start using it;
http://forums.thinking.withportals.com/mapping-help/solved-importing-new-models-t9178.html?hilit=importing%203d%20models

I did actually find this a little while ago; thank you for the link though :P

I have no clue how to make a .qc file or whatever the crap it's called that the game uses to call the texture

If you use the compiler in the portal2 bin file then you can have it make the .qc file fore you. I seem to have troubles with that compiler so what i do is take that .qc file and use it in the "crowbar" compiler that i downloaded.

If anyone knows how to set a model to a weapon i would really like to know.

boctroy wrote:
If you use the compiler in the portal2 bin file then you can have it make the .qc file fore you. I seem to have troubles with that compiler so what i do is take that .qc file and use it in the "crowbar" compiler that i downloaded.

If anyone knows how to set a model to a weapon i would really like to know.

You have to modify the weapon_portalgun.txt file in the portal 2/portal2/scripts/ folder

My YouTube Channel: https://www.youtube.com/user/Camben24
Aperture Science: We do our science asbestos we can!

Thanks i will look into that when i get home.

Ok thatnks, that worked. now however my costum weapon is on the ground. I am guessing this has somthing to do with "$attachment" does someone know the format for adding these to the .qc file, i'm not sure how this works, how do i give the smd an attachment point.

Also, is there a way to dynamiclly change that file. so i can change weapons mid game?

Page 1 of 2Next