Cod 1 Mod?

Have a question about modding, modelling or skinning? Have a tutorial to post? Post here!

Moderator: Core Staff

Post Reply
User avatar
CONKER
CJ Wannabe
CJ Wannabe
Posts: 13
Joined: June 30th, 2009, 2:25 am

Cod 1 Mod?

Post by CONKER » July 31st, 2009, 12:25 am

Is there a way to make a mod for cod 1 were it looks like you have a mask over your face? Like in cod 4 were you had a night vision mask. Something like that, but were it looks like your wearing a spacesuit. Were you can see the glare off your glass helmet. If you know what I mean and know if there is a way to do it, please tell me.

User avatar
waywaaaard
Core Staff
Core Staff
Posts: 2214
Joined: February 6th, 2006, 3:18 pm
Location: Germany/Bayern

Re: Cod 1 Mod?

Post by waywaaaard » July 31st, 2009, 12:37 am

Well kind of that is possible I think. Night vision isn't, but a mask should be possible.

Create mask in photoshop with alphalayer and then create a new hud element for the player and give it that shader you made in photoshop

here is a testcode for a blackout (cod2) but should work for cod too

Code: Select all

blackout(player)
{
	precacheShader("black");
	precacheShader("codjumper_website");
wait 10;
	// Make the screen black
	player.blackscreen = newHudElem();
	player.blackscreen.sort = -1;
	player.blackscreen.alignX = "left";
	player.blackscreen.alignY = "top";
	player.blackscreen.x = 0;
	player.blackscreen.y = 0;
	player.blackscreen.horzAlign = "fullscreen";
	player.blackscreen.vertAlign = "fullscreen";
	player.blackscreen.foreground = true;

	player.blackscreen.alpha = 1;
	player.blackscreen setShader("codjumper_website", 640, 480);
wait 0.5;
	player.blackscreen.alpha = 0;
wait 0.5;
	player.blackscreen.alpha = 1;
wait 0.5;
	player.blackscreen.alpha = 0;
wait 0.5;
	player.blackscreen.alpha = 1;
wait 0.5;
	player.blackscreen.alpha = 0;
wait 0.5;
player.blackscreen destroy();

}
THAT HANDS WERE NOT TRACED!
visit my blog: Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality :roll:

User avatar
CONKER
CJ Wannabe
CJ Wannabe
Posts: 13
Joined: June 30th, 2009, 2:25 am

Re: Cod 1 Mod?

Post by CONKER » July 31st, 2009, 1:10 am

Is it possible not using Photoshop, but instead using something like Gimp?

User avatar
Ykarus
CJ Fan
CJ Fan
Posts: 133
Joined: May 14th, 2008, 7:49 pm
Location: Germany
Contact:

Re: Cod 1 Mod?

Post by Ykarus » July 31st, 2009, 9:40 am

U can download a free test Version of Ps here http://www.chip.de/downloads/Adobe-Phot ... 33395.html .
Image

I think my Radiant hates me -.-


.|GeR|'> Ykarus: again i cant jump ypur map ...
'Pnin. Designsâ„¢: ship tappens ^^
.|GeR|'> Ykarus: ship tappens...


-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

User avatar
waywaaaard
Core Staff
Core Staff
Posts: 2214
Joined: February 6th, 2006, 3:18 pm
Location: Germany/Bayern

Re: Cod 1 Mod?

Post by waywaaaard » July 31st, 2009, 10:22 am

CONKER wrote:Is it possible not using Photoshop, but instead using something like Gimp?
you need a program that can handle dds files
THAT HANDS WERE NOT TRACED!
visit my blog: Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality :roll:

JDogg
Too cool for CoDJumper
Too cool for CoDJumper
Posts: 3617
Joined: August 28th, 2007, 11:46 am
Location: Melbourne, Australia

Re: Cod 1 Mod?

Post by JDogg » July 31st, 2009, 10:44 am

Ykarus wrote:U can download a free test Version of Ps here http://www.chip.de/downloads/Adobe-Phot ... 33395.html .
Chip.de?, why not just get the trial from Adobe?. By the way Lev, http://registry.gimp.org/node/70, dds plugin for gimp.
Image
Image

User avatar
Ykarus
CJ Fan
CJ Fan
Posts: 133
Joined: May 14th, 2008, 7:49 pm
Location: Germany
Contact:

Re: Cod 1 Mod?

Post by Ykarus » July 31st, 2009, 11:07 am

i just googled so chip.de was the first :oops:


If u dont wanna use the addon to gimp u could also use http://www.dsabstraction.com/dds_converter.htm works fine for me isnt hard to handel and small. I used it for my custom textures.
Image

I think my Radiant hates me -.-


.|GeR|'> Ykarus: again i cant jump ypur map ...
'Pnin. Designsâ„¢: ship tappens ^^
.|GeR|'> Ykarus: ship tappens...


-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

User avatar
CONKER
CJ Wannabe
CJ Wannabe
Posts: 13
Joined: June 30th, 2009, 2:25 am

Re: Cod 1 Mod?

Post by CONKER » July 31st, 2009, 3:51 pm

Lev, what is the code you posted supposed to do? because I put it into a .gsc file and played my map but it didn't do anything.

User avatar
waywaaaard
Core Staff
Core Staff
Posts: 2214
Joined: February 6th, 2006, 3:18 pm
Location: Germany/Bayern

Re: Cod 1 Mod?

Post by waywaaaard » July 31st, 2009, 4:51 pm

uhm u need to give it a player and then it should create a hud element
was just an example how u could make such a mod
THAT HANDS WERE NOT TRACED!
visit my blog: Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality :roll:

User avatar
CONKER
CJ Wannabe
CJ Wannabe
Posts: 13
Joined: June 30th, 2009, 2:25 am

Re: Cod 1 Mod?

Post by CONKER » August 1st, 2009, 1:49 am

I've made the texture, but I don't know how to make it appear on your screen.

JDogg
Too cool for CoDJumper
Too cool for CoDJumper
Posts: 3617
Joined: August 28th, 2007, 11:46 am
Location: Melbourne, Australia

Re: Cod 1 Mod?

Post by JDogg » August 1st, 2009, 11:19 am

Ykarus wrote:i just googled so chip.de was the first :oops:


If u dont wanna use the addon to gimp u could also use http://www.dsabstraction.com/dds_converter.htm works fine for me isnt hard to handel and small. I used it for my custom textures.
Ah, you gotta be careful, there are some shady websites out there.
Image
Image

User avatar
waywaaaard
Core Staff
Core Staff
Posts: 2214
Joined: February 6th, 2006, 3:18 pm
Location: Germany/Bayern

Re: Cod 1 Mod?

Post by waywaaaard » August 1st, 2009, 1:07 pm

CONKER wrote:I've made the texture, but I don't know how to make it appear on your screen.
that's why I posted the code

precacheShader("yourmaterialname");
then you can use it for and hud element
THAT HANDS WERE NOT TRACED!
visit my blog: Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality :roll:

User avatar
CONKER
CJ Wannabe
CJ Wannabe
Posts: 13
Joined: June 30th, 2009, 2:25 am

Re: Cod 1 Mod?

Post by CONKER » August 1st, 2009, 6:14 pm

um, I've never done anything like this before so I have no idea if the code is working or not. here's what the code looks like.

Code: Select all

blackout(player)
{
   precacheShader("SpaceHelmet.dds");
   precacheShader("SpaceHelmet.dds");
wait 10;
   // Make the screen black
   player.blackscreen = newHudElem();
   player.blackscreen.sort = -1;
   player.blackscreen.alignX = "left";
   player.blackscreen.alignY = "top";
   player.blackscreen.x = 0;
   player.blackscreen.y = 0;
   player.blackscreen.horzAlign = "fullscreen";
   player.blackscreen.vertAlign = "fullscreen";
   player.blackscreen.foreground = true;

   player.blackscreen.alpha = 1;
   player.blackscreen setShader("SpaceHelmet.dds", 640, 480);
wait 0.5;
   player.blackscreen.alpha = 0;
wait 0.5;
   player.blackscreen.alpha = 1;
wait 0.5;
   player.blackscreen.alpha = 0;
wait 0.5;
   player.blackscreen.alpha = 1;
wait 0.5;
   player.blackscreen.alpha = 0;
wait 0.5;
player.blackscreen destroy();

}
:/

User avatar
waywaaaard
Core Staff
Core Staff
Posts: 2214
Joined: February 6th, 2006, 3:18 pm
Location: Germany/Bayern

Re: Cod 1 Mod?

Post by waywaaaard » August 1st, 2009, 8:07 pm

Code: Select all

blackout(player)
{
   precacheShader("SpaceHelmet.dds");
	wait 0.5;
   player.blackscreen = newHudElem();
   player.blackscreen.sort = -1;
   player.blackscreen.alignX = "left";
   player.blackscreen.alignY = "top";
   player.blackscreen.x = 0;
   player.blackscreen.y = 0;
   player.blackscreen.horzAlign = "fullscreen";
   player.blackscreen.vertAlign = "fullscreen";
   player.blackscreen.foreground = true;

   player.blackscreen.alpha = 1;
   player.blackscreen setShader("SpaceHelmet.dds", 640, 480);

}
THAT HANDS WERE NOT TRACED!
visit my blog: Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality :roll:

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests