Weapon Error

The best and quickest support by a group of top-notch editing specialists, guaranteed!

Moderator: Forum Guards

Weapon Error

Postby atrey65789 » Mon Apr 16, 12 12:54 am

Right now, I'm tryn to do a little somethin somethin....

Trying to Code to where instead of one enforcer a player has two.

Look in the posts below for the link to the package.

What is malfunctioning here? lol
Last edited by atrey65789 on Tue Apr 17, 12 9:51 am, edited 1 time in total.
-A
atrey65789
Regular
 
Posts: 400
Joined: Thu Dec 22, 11 3:02 pm

Postby Kalman11 » Mon Apr 16, 12 4:50 am

What is the name of the class? WeaponEnforcer?
Kalman11
Wannabe
 
Posts: 122
Joined: Tue Aug 03, 10 2:38 pm
Location: 9th circle of hell

Postby atrey65789 » Mon Apr 16, 12 11:02 am

yes
-A
atrey65789
Regular
 
Posts: 400
Joined: Thu Dec 22, 11 3:02 pm

Postby Alex » Mon Apr 16, 12 11:07 am

Please post the entire class as attachment.
Alex
Alpha
 
Posts: 8067
Joined: Wed Nov 12, 03 4:51 pm

Postby RedDynasty » Mon Apr 16, 12 8:18 pm

hmm i think it know what it wrong.
If this is the enforcer from ut, deus ex might not know the function of double enforcers, thus not knowing the "bBringingUp" var which controls the script of having 2 or just 1 enforcer.
I dont know if it is possible to code 2 enforcers, but there is mod that adds akimbo weapons to dx.
If u want i can send u the code ;)
Image
Your not a gamer until you played this.
User avatar
RedDynasty
Wannabe
 
Posts: 130
Joined: Sun Apr 01, 12 8:12 pm
Location: Portugal

Postby atrey65789 » Tue Apr 17, 12 12:55 am

@Red


I can send ya the class.


@Alex


Won't let me attach anything.... I can't find the Attachment box.
-A
atrey65789
Regular
 
Posts: 400
Joined: Thu Dec 22, 11 3:02 pm

Postby Kaiden » Tue Apr 17, 12 1:44 am

Yeah, probs send it in PM instead.
------
Kaiden
Alpha
 
Posts: 7003
Joined: Wed Jan 18, 06 11:21 pm
Location: England

Postby atrey65789 » Tue Apr 17, 12 1:57 am

-A
atrey65789
Regular
 
Posts: 400
Joined: Thu Dec 22, 11 3:02 pm

Postby Alex » Tue Apr 17, 12 5:39 am

I was under the impression that you were trying to compile the class for DoubleEnforcer, but you're trying to extend it? As this is already a compiled .u package. Or did this one originate from UT?
Alex
Alpha
 
Posts: 8067
Joined: Wed Nov 12, 03 4:51 pm

Postby atrey65789 » Tue Apr 17, 12 9:47 am

It IS a compiled U file... But i extended it from UnrealEd and then saved it. when you do that, you can save packages that have errors in it.
-A
atrey65789
Regular
 
Posts: 400
Joined: Thu Dec 22, 11 3:02 pm

Postby Alex » Tue Apr 17, 12 9:53 am

So what you're saying is, is that it gave errors while compiling but you saved it nevertheless?

Then once again, please post the entire class (thus the .uc file).
Alex
Alpha
 
Posts: 8067
Joined: Wed Nov 12, 03 4:51 pm

Postby atrey65789 » Tue Apr 17, 12 9:55 am

Are you thinking I compiled with UCC?
-A
atrey65789
Regular
 
Posts: 400
Joined: Thu Dec 22, 11 3:02 pm

Postby Alex » Tue Apr 17, 12 10:16 am

You tell me. How did you get that .u file?
Alex
Alpha
 
Posts: 8067
Joined: Wed Nov 12, 03 4:51 pm

Postby atrey65789 » Tue Apr 17, 12 10:25 am

First, I extended WeaponEnorcer (tnag) .

next I pasted the code for two enforcers from the original enforcer script on UT.


Then I started to compile (F7) and started fixing mistakes.

Then one comes up.. something like this "bBringingUp" cant be found in class "WeaponEnforcer."

I didn't want to lose my work.. so I went up to the class i had just created and right clicked and clicked "Save classes"
-A
atrey65789
Regular
 
Posts: 400
Joined: Thu Dec 22, 11 3:02 pm

Postby Alex » Tue Apr 17, 12 10:41 am

That's the information I needed.

Code: Select all
var WeaponEnforcer SlaveEnforcer;

should be
Code: Select all
var DoubleEnforcer SlaveEnforcer;


But I can already guarantee you that you will run into a lot more errors. I'm afraid you can't just copy code from UnrealTournament to Deus Ex. You'll have to rewrite a lot of it.
I'm not sure if you're experienced with UnrealScript, but I suggest you start with the basis, such as decoration / simple items with function as Frob etc.
Last edited by Alex on Tue Apr 17, 12 10:45 am, edited 3 times in total.
Alex
Alpha
 
Posts: 8067
Joined: Wed Nov 12, 03 4:51 pm

Postby atrey65789 » Tue Apr 17, 12 12:02 pm

Oh yeah... without a doubt i have to rewrite a lot of it. And I'm experienced a little with it... its just I'm more of a code tweaker then an ACTUAL coder lol.
-A
atrey65789
Regular
 
Posts: 400
Joined: Thu Dec 22, 11 3:02 pm


Return to Editing issues

Who is online

Users browsing this forum: No registered users and 14 guests