Unreal versus CoD2

Have questions about CoD2 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

User avatar
<LT>YosemiteSam[NL]
Core Staff
Core Staff
Posts: 2155
Joined: December 7th, 2004, 2:07 am
Location: Netherlands
Contact:

Unreal versus CoD2

Post by <LT>YosemiteSam[NL] » May 12th, 2010, 3:47 pm

I want to make a redeemer out of the panzerschreck/bazooka for an unreal map I'm making.
I have an idea of how to do that but before I start I just want to know if it's even possible.

What I need to do is changing the splashdamage (and damage radius) of the bazooka so that it matches the redeemer...this can be done with a cvar incorperated in the gsc file of the map, I guess ?

I know that a controlable rocket can't be done or at least not in an easy way (or by me :( ).

Let me know what your thoughts are about this.

(p.s. There will be only one bazooka-redeemer in the map ... like in unreal tournament..so the cvar for bazooka will work only on that one)

User avatar
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

Re: Unreal versus CoD2

Post by Rezil » May 12th, 2010, 3:52 pm

You need to alter the weapon file or make a new weapon altogether. Keep in mind you'd have to model all of the aspects of the weapon + its animations(reloading, shooting, putting away etc.)

Altering the weapon file itself is easier, it's in iw_13.iwd/weapons/mp/panzerschreck_mp. Extract it, open with a simple text editor and change what you need(splash damage is explosionInnerDamage and explosionOuterDamage iirc). Repack it in a seperate .iwd and put it in your main folder.
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

User avatar
<LT>YosemiteSam[NL]
Core Staff
Core Staff
Posts: 2155
Joined: December 7th, 2004, 2:07 am
Location: Netherlands
Contact:

Re: Unreal versus CoD2

Post by <LT>YosemiteSam[NL] » May 12th, 2010, 4:19 pm

aha ok. That's also what I thought but I was wondering if the damage radius could be anything I want ... maybe it's to big ?

Oh well, I'll start twiddling around with it and see what I can make.

User avatar
<LT>YosemiteSam[NL]
Core Staff
Core Staff
Posts: 2155
Joined: December 7th, 2004, 2:07 am
Location: Netherlands
Contact:

Re: Unreal versus CoD2

Post by <LT>YosemiteSam[NL] » May 14th, 2010, 10:56 pm

I made a redeemer look alike by changing the projectilespeed and blastradius.
Thx

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

Re: Unreal versus CoD2

Post by waywaaaard » May 15th, 2010, 11:08 am

Add me on xfire I wanna test the map :)
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
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

Re: Unreal versus CoD2

Post by Rezil » May 16th, 2010, 5:27 pm

<LT>YosemiteSam[NL] wrote:I made a redeemer look alike by changing the projectilespeed and blastradius.
Thx
No prob happy to help. :P
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

User avatar
<LT>YosemiteSam[NL]
Core Staff
Core Staff
Posts: 2155
Joined: December 7th, 2004, 2:07 am
Location: Netherlands
Contact:

Re: Unreal versus CoD2

Post by <LT>YosemiteSam[NL] » May 16th, 2010, 8:23 pm

Lev!athan wrote:Add me on xfire I wanna test the map :)
Don't use xfire and I haven't started on the map yet. Only made a test map with a jumppad, a teleport, some water you will die in after too long in (like the green stuff in unreal). Been busy changing the panzer into the redeemer and finally got it.
I changed the damage radius and strenght, the firesound, the sound of the rocketflying and the explosionsound of the rocket.
Didn't change the looks of the panzerschreck but I figure that will take me too long :?

User avatar
ConnoR
CJ Worshipper
CJ Worshipper
Posts: 465
Joined: January 2nd, 2010, 7:52 pm
Gamertag: conz0rz
Location: Nottingham, England
Contact:

Re: Unreal versus CoD2

Post by ConnoR » May 17th, 2010, 5:11 pm

This gunna be for CoD2 only then? Btw 100th post. i know it isnt a lot but oh well
Image

User avatar
<LT>YosemiteSam[NL]
Core Staff
Core Staff
Posts: 2155
Joined: December 7th, 2004, 2:07 am
Location: Netherlands
Contact:

Re: Unreal versus CoD2

Post by <LT>YosemiteSam[NL] » May 18th, 2010, 8:41 am

Yep it's for CoD2

User avatar
<LT>YosemiteSam[NL]
Core Staff
Core Staff
Posts: 2155
Joined: December 7th, 2004, 2:07 am
Location: Netherlands
Contact:

Re: Unreal versus CoD2

Post by <LT>YosemiteSam[NL] » May 24th, 2010, 4:08 pm

Another question,

I want the players on my unreal map to start with only a pistol and nothing more (like in unreal).
Downloaded a pistols only mod but I don't want to incooperate this into my map. The mod gives you 2 pistols and I don't want that.

And I want people to be able to carry more then 2 weapons (again...like in unreal), auto pickup and carry every weapon they pick up.

Can this be done or is this too much work for me as a partial newbie to programming ?

Thx in advance.

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Unreal versus CoD2

Post by Drofder2004 » May 24th, 2010, 5:06 pm

Look into the current game code and locate the portion about loadouts, possible in individual gametypes for CoD2...
Now you should see "takeallweapons" and "giveweapon" and finally "switchtoweapon".
Modify accordingly.

Post back if you are struggling.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
<LT>YosemiteSam[NL]
Core Staff
Core Staff
Posts: 2155
Joined: December 7th, 2004, 2:07 am
Location: Netherlands
Contact:

Re: Unreal versus CoD2

Post by <LT>YosemiteSam[NL] » May 24th, 2010, 5:43 pm

Thx m8 i'll try that.

User avatar
<LT>YosemiteSam[NL]
Core Staff
Core Staff
Posts: 2155
Joined: December 7th, 2004, 2:07 am
Location: Netherlands
Contact:

Re: Unreal versus CoD2

Post by <LT>YosemiteSam[NL] » May 27th, 2010, 10:47 pm

I want a script to check if the time is 5 minutes and then play a sound (again like in unreal :) ).

I've made this little script but it doesn't work (mainly cause I don't realy know what i'm doing :? )

Code: Select all

thread time();

}
time()
{
while(1)
{
time = getTime();
if("time" = 300);
playsound ("5minutes");
}
can someone guide me in the right direction please.

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Unreal versus CoD2

Post by Drofder2004 » May 27th, 2010, 11:28 pm

I think getTime counts up, not down, but look in the gametype functions for "checkTimeLimit" function, and that will show "timepassed".
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
<LT>YosemiteSam[NL]
Core Staff
Core Staff
Posts: 2155
Joined: December 7th, 2004, 2:07 am
Location: Netherlands
Contact:

Re: Unreal versus CoD2

Post by <LT>YosemiteSam[NL] » May 28th, 2010, 8:46 am

The bad syntax error which I get when running the script is referring to the number 300....it sees it as a bad syntax.
I've looked in the dm_cfg file for checktimelimit and I see what it's doing and how it works. But I think the main problem is that number 300.
I'll also try to write it like in the dm_cfg (timepassed - gettime and so on).

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests