For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com

UCC Mesh compile errors... Help?

The section related to UnrealScript and modding. This board is for coders to discuss and exchange experiences or ask questions.
User avatar
¤§kàárjHüntèr¤
OldUnreal Member
Posts: 16
Joined: Fri Nov 14, 2008 2:25 pm

UCC Mesh compile errors... Help?

Post by ¤§kàárjHüntèr¤ »

I am trying to "steal" the rifle mesh from UT99 to use with a rifle I have made, while trying to compile everything in UCC, I get these errors.  I started off having tons of errors, causing the rifle not even to compile. Ihave brought them down to 23 warnings, but I have absolutely no idea how to fix them.  Please help?

My EXECs:
[img]http://i70.photobucket.com/albums/i117/SkaarjHunter/UC.jpg[/img]





Errors:
[img]http://i70.photobucket.com/albums/i117/SkaarjHunter/UCC.jpg[/img]
Last edited by ¤§kàárjHüntèr¤ on Sun Nov 16, 2008 9:14 pm, edited 1 time in total.
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: UCC Mesh compile errors... Help?

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

Do you actually HAVE that files? Go to your rifle's folder and check everything in Models folder.

Did you use an exporter? If not, you've phailed with doing imports.

You said you're trying to STEAL it (aka borrow or w/e, oh well...). In that case, you don't need to export/import, thus you don't need #exec lines. You just need to set the right mesh in your rifle's default properties (copy that lines from original Rifle and paste into your weapon or make your weapon a subclass of original Rifle).

I think you need:
• PlayerViewMesh (or FirstPersonMesh or something like that)
• ThirdPersonMesh
• PickupViewMesh (I'm not sure for any of those, but open it in a text editor and search for "mesh")
And appropriate [...]Scale, where [...] is "PlayerView", "PickupView" and so on.

BTW, I'm not sure about those properties' names and I'm too lame to check it out.

...

Whatever...
User avatar
¤§kàárjHüntèr¤
OldUnreal Member
Posts: 16
Joined: Fri Nov 14, 2008 2:25 pm

Re: UCC Mesh compile errors... Help?

Post by ¤§kàárjHüntèr¤ »

I'm stealing the mesh, and I'm using an importer/exporter. I fixed one error.

I have these files

Models:
muzzsr3_a
muzzsr3_d
Rifle2m_a
Rifle2m_d
Rifle2mL_a
Rifle2mL_d
RifleHand_a
RifleHand_d
RiflePick_a
RiflePick_d

Textures:
MuzzleFlash2
Muzzy3
Rifle1
Rifle2
Rifle3
Rifle4
RifleR1
Rifle2m
Rifle2a
Rifle2b
Rifle2c
Rifle2d

Classes:
StalkerSniper.uc

Using this info, can you tell me what's wrong?

My code + errors:

[img]http://i70.photobucket.com/albums/i117/SkaarjHunter/UCC-1.jpg[/img]

[img]http://i70.photobucket.com/albums/i117/SkaarjHunter/UC-1.jpg[/img]
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: UCC Mesh compile errors... Help?

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

I didn't go through all the code, but I noticed this bad instantly:

For example, you have Rifle2_a.3D in line 4 but you don't have that file.
Try setting it to Rifle2m_a.3D or something else.
Then, the other "warnings" (read: errors, cuz they'll make your rifle not to work correctly or even at all) should be fixed automatically. :)

In case you fuck mess up something real bad, pack all files and send it to me on MSN or upload it somewhere. I have experience with meshes, but I'm not 100% sure what's the problem in your rifle.

But I think that's the problem.
You have Rifle2_a.3D in line 4 but you don't have that file.
Good luck! ;)
Last edited by [§Ŕ] ŤhěxĐâŕkśîđěŕ on Sun Nov 16, 2008 10:12 pm, edited 1 time in total.
User avatar
¤§kàárjHüntèr¤
OldUnreal Member
Posts: 16
Joined: Fri Nov 14, 2008 2:25 pm

Re: UCC Mesh compile errors... Help?

Post by ¤§kàárjHüntèr¤ »

Well, I've fixed most of the errors... Here is what I have left, and I have no idea how to fix them. Somebody save me? =)

[img]http://i70.photobucket.com/albums/i117/SkaarjHunter/UCCx.jpg[/img]

[img]http://i70.photobucket.com/albums/i117/SkaarjHunter/UCx.jpg[/img]
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: UCC Mesh compile errors... Help?

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

It's just one or two wrong written lines if you ask me...
But how to fix them or even how to decide what are wrong, you should leave to a pro (that means not me ;)).
But feel free to ask me if you need new meshes for your weapons. :)
User avatar
Smikey
OldUnreal Member
Posts: 52
Joined: Tue May 27, 2008 3:42 pm

Re: UCC Mesh compile errors... Help?

Post by Smikey »

hey ..
as far i just read very vast trough it..

Does it says also missing texture?

COmpile ..
ehm..

Textures :images
Models   : 3dfiles
Classes  : script


i never tryed to inport a other existing weapon from ut .. like this ... but if i made a new one .. todays i work with skeletal.. PSA.PSK..

and if  i used more then 1 texture it only showed one so i made 1 big texture like 1024x1024 with all needed textures in it .. and redo the model with this new texture.  
its my only fix to the missing other textures even if the are showed at  unreal ed textures ..  coz it wil inport but wont show on weaponmodel..

Anyway..  i think u are missing a lot of filles.. and i know i dont help u with this explanation but i know if u have a existen 3d file like max or whatever editor it is posible to inport this one and let it replace the existen weapon or item model..

anyway something with inporting is wrong .. a meta.. and i think it cant find the place to put the needed filles coz its missing filles lol.. dont knw why if u have them then its something in the script ..


Edit: BTW :

Sequences .. if i spelled right.. = Animation of the weapon model..

if you fix the missing textures then it wil inport but ehmm it always inport but it wil crash ued or whatever.. anyway if u get it inported the animations could beein bad or no working at all..

and i dont know if its missing them or the code is wrong..

i know the faulth coz i have inported 1000's of models rofl but only in Skeletal ... rofl .. psa/psk .. (mesh with anims and mesh without = Firstperson and such)
Last edited by Smikey on Wed Nov 19, 2008 3:12 am, edited 1 time in total.
http://www.stargateunreal.com                
The  Official STargate Unreal website .

Image[url=steam://friends/add/765611980
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: UCC Mesh compile errors... Help?

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

If you think something is missing, copy a similar file and name it like that.

Return to “UScript Board”