logo
Main

Forums

Downloads

Unreal-Netiquette

Donate for Oldunreal:
Donate

borderline

Links to our wiki:
Wiki

Walkthrough

Links

Tutorials

Unreal Reference

Usermaps

borderline

Contact us:
Submit News
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Importing Deus Ex Sec. Camera/Computer Terminal (Read 130 times)
LannFyre
Full Member
***
Offline



Posts: 129
Joined: Mar 13th, 2015
Gender: Male
Importing Deus Ex Sec. Camera/Computer Terminal
Jun 13th, 2017 at 5:06pm
Print Post  
I want to import the Deus Ex Security camera (the little white ball that pans around) and the community computer terminals (the tall, gray ones) into Unreal Gold.  So far I have textures for both ripped as well as their scripts (below).  I also have the _a.3d and _d.3d files for both.  How can I get these into my mod?

Code (Java)
Select All
class SecurityCamera extends Electronics;

#exec MESH IMPORT MESH=SecurityCamera ANIVFILE=MODELS\SecurityCamera_a.3d DATAFILE=MODELS\SecurityCamera_d.3d
#exec MESH LODPARAMS MESH=SecurityCamera HYSTERESIS=0.00 STRENGTH=1.00 MINVERTS=10.00 MORPH=0.30 ZDISP=0.00
#exec MESH ORIGIN MESH=SecurityCamera X=0.00 Y=0.00 Z=0.00 YAW=0.00 ROLL=64.00 PITCH=0.00

#exec MESH SEQUENCE MESH=SecurityCamera SEQ=All       STARTFRAME=0 NUMFRAMES=1
#exec MESH SEQUENCE MESH=SecurityCamera SEQ=Still     STARTFRAME=0 NUMFRAMES=1

#exec TEXTURE IMPORT NAME=SecurityCameraTex1 FILE=SecurityCameraTex1.PCX GROUP=Skins
#exec TEXTURE IMPORT NAME=SecurityCameraTex1 FILE=SecurityCameraTex1.PCX GROUP=Skins
#exec OBJ LOAD FILE=PinkMaskTex.utx PACKAGE=DeusExItems.Skins
#exec TEXTURE IMPORT NAME=SecurityCameraTex2 FILE=SecurityCameraTex2.PCX GROUP=Skins

#exec MESHMAP SETTEXTURE MESHMAP=SecurityCamera NUM=0 TEXTURE=SecurityCameraTex1
#exec MESHMAP SETTEXTURE MESHMAP=SecurityCamera NUM=1 TEXTURE=SecurityCameraTex1
#exec MESHMAP SETTEXTURE MESHMAP=SecurityCamera NUM=2 TEXTURE=DeusExItems.Skins.PinkMaskTex
#exec MESHMAP SETTEXTURE MESHMAP=SecurityCamera NUM=3 TEXTURE=SecurityCameraTex2

#exec MESHMAP SCALE MESHMAP=SecurityCamera X=0.00 Y=0.00 Z=0.00 



Code (Java)
Select All
//=============================================================================
// ComputerPublic.
//=============================================================================
class ComputerPublic extends TournamentPlayer;

#exec MESH IMPORT MESH=ComputerPublic ANIVFILE=MODELS\ComputerPublic_a.3d DATAFILE=MODELS\ComputerPublic_d.3d
#exec MESH LODPARAMS MESH=ComputerPublic HYSTERESIS=0.00 STRENGTH=1.00 MINVERTS=10.00 MORPH=0.30 ZDISP=0.00
#exec MESH ORIGIN MESH=ComputerPublic X=0.00 Y=0.00 Z=0.00 YAW=0.00 ROLL=64.00 PITCH=0.00

#exec MESH SEQUENCE MESH=ComputerPublic SEQ=All       STARTFRAME=0 NUMFRAMES=5
#exec MESH SEQUENCE MESH=ComputerPublic SEQ=Still     STARTFRAME=0 NUMFRAMES=1
#exec MESH SEQUENCE MESH=ComputerPublic SEQ=Activate  STARTFRAME=1 NUMFRAMES=2 RATE=3.00
#exec MESH SEQUENCE MESH=ComputerPublic SEQ=Deactivate STARTFRAME=3 NUMFRAMES=2 RATE=3.00

#exec TEXTURE IMPORT NAME=ComputerPublicTex1 FILE=ComputerPublicTex1.PCX GROUP=Skins

#exec MESHMAP SETTEXTURE MESHMAP=ComputerPublic NUM=0 TEXTURE=ComputerPublicTex1

#exec MESHMAP SCALE MESHMAP=ComputerPublic X=0.00 Y=0.00 Z=0.00
 

  

i tryin'a be a gud boi
Back to top
 
IP Logged
 
gopostal
Betatester
Offline


Hack coder

Posts: 942
Joined: Jul 31st, 2008
Gender: Male
Re: Importing Deus Ex Sec. Camera/Computer Terminal
Reply #1 - Jun 13th, 2017 at 7:34pm
Print Post  
Change the parent class to decoration for now to get them imported. Put everything into your mod and compile. You'll have to debug the error messages if there are any. You'll also need to set up some default properties or your models will be invisible. After that everything else is scripting.
  

I don't want to give the end away
but we're all going to die one day
Back to top
 
IP Logged
 
han
Global Moderator
Unreal Rendering Guru
Developer Team
*****
Offline


Oldunreal member

Posts: 594
Location: Germany
Joined: Dec 10th, 2014
Gender: Male
Re: Importing Deus Ex Sec. Camera/Computer Terminal
Reply #2 - Jun 14th, 2017 at 5:17am
Print Post  
Keep in mind that Deus Ex uses a slightly altered James Mesh format with a higher vertex coordinate precission.

But there was some converter for this I think.
  

HX on Mod DB. Revision on Steam. Löffels on Patreon.
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint
Bookmarks: del.icio.us Digg Facebook Google Google+ Linked in reddit StumbleUpon Twitter Yahoo