RelicNews Forums

Go Back   RelicNews Forums > RDN - Relic Game Mods > Company of Heroes - The Armoury
User Name
Password
Register FAQ Members List Arcade Mark Forums Read



Reply
 
Thread Tools
Old 8th Oct 06, 3:09 PM Forum Rules   # 1
Corsix
The 19th Hyperspace Core
 
Corsix's Avatar
 
Join Date: Sep 2004
Location: Oxford

RGM -> Max

Overview
This is a set of MaxScripts to open RGM files. Currently only gets the vertex X,Y,Z and the faces, but future versions will hopefully do more. Only tested with max 8; other versions may not work.

Installation
Download: http://www.corsix.org/misc/Corsix_RGM_01.zip
Extract into 3ds Max\Scripts\Startup

Usage Guide
Extract the file you want to view using my mod studio.

Go Tools -> MaxScript


Now choose RGM Import from the dropdown and press Import RGM


Select a file and press OK (warning; this will erase your current scene). The file will now load:


This looks a bit small though, lets zoom in:


That doesn't look quit like a sherman though. Lets pull up the select by name dialog:


Ahh, there are several parts to the model. Select the wreck part and either hide it or delete it:
__________________
irc.hwcommunity.com #dowmods (for CoH too!)
www.corsix.org | mod studio | theme hospital
Corsix is online now Send a message via MSN to Corsix  
Old 8th Oct 06, 3:10 PM   # 2
Provac
Guest
 

very nice
 
Old 8th Oct 06, 3:18 PM   # 3
2ltben
Guest
 

Dear God you're a monster! I hope a 2d art tool isn't too far away, then I may actually be able to do something besides fiddle with the RGDs.
 
Old 8th Oct 06, 3:24 PM Forum Rules   # 4
Corsix
The 19th Hyperspace Core
 
Corsix's Avatar
 
Join Date: Sep 2004
Location: Oxford

A 2d art tool is needed to get some textures on these naked models, so yes, it is in the pipeline.
Corsix is online now Send a message via MSN to Corsix  
Old 8th Oct 06, 6:18 PM   # 5
Mr. Bildo
Guest
 

:hugs:


..uhh.. no homo..

--Mr. Bildo
 
Old 8th Oct 06, 8:14 PM   # 6
AppleHead
Member
 
Join Date: Jun 2006

Yay

YES!!! finally. haha. now to get to some serious modding.

Corsix, you're a life saver man!! THANKS
__________________
I Eat CoH for Breakfast :p
AppleHead is offline  
Old 8th Oct 06, 8:14 PM   # 7
CrazyAce
Guest
 

Oh you are the man Expect a donation from me in the next couple of days. I do hope you continue this project further.
 
Old 8th Oct 06, 9:48 PM   # 8
communist_bob
Member
 
Join Date: Oct 2006
Location: Australia!

Excellent, is there an export (Max>RGM) button yet?

In the meantime, I must improve my 'opelvierling'


Last edited by communist_bob : 9th Oct 06 at 2:48 AM.
communist_bob is offline  
Old 8th Oct 06, 10:07 PM   # 9
AppleHead
Member
 
Join Date: Jun 2006

Where?

corsix, where did u import the .rgm files from. i cant seem to find them.
AppleHead is offline  
Old 8th Oct 06, 10:24 PM   # 10
2ltben
Guest
 

You need to extract them first with his modding tools.
 
Old 8th Oct 06, 10:27 PM Forum Rules   # 11
fneep
Moonbeam Funk
 
fneep's Avatar
 
Join Date: Nov 2005
Location: Australia

Wow, you write maxscript? Well, I suppose its very similar to C so...Good work Corsix. It will save everyone a lot of work. Brother Santos has competion.
fneep is offline  
Old 9th Oct 06, 5:48 AM Forum Rules   # 12
Corsix
The 19th Hyperspace Core
 
Corsix's Avatar
 
Join Date: Sep 2004
Location: Oxford

Quote:
Originally Posted by fneep
Wow, you write maxscript? Well, I suppose its very similar to C
I wish it was
Corsix is online now Send a message via MSN to Corsix  
Old 9th Oct 06, 9:12 AM   # 13
butterflyz
Member
 
butterflyz's Avatar
 
Join Date: Sep 2006

adding an export option to the script will be great we will be able to see a buggy not textured Tanks walking arround maybe :P
butterflyz is offline  
Old 9th Oct 06, 11:19 AM Forum Rules   # 14
Corsix
The 19th Hyperspace Core
 
Corsix's Avatar
 
Join Date: Sep 2004
Location: Oxford

If only it were that easy butterflyz.
Corsix is online now Send a message via MSN to Corsix  
Old 9th Oct 06, 8:09 PM Forum Rules   # 15
fneep
Moonbeam Funk
 
fneep's Avatar
 
Join Date: Nov 2005
Location: Australia

Hmmm, I might have a poke around...I don't have CoH but I'm sure the demo will have the models to play with...
fneep is offline  
Old 9th Oct 06, 8:46 PM   # 16
camo1018
Member
 
Join Date: Sep 2006

I can't imagine how hard it was for you to even start this script for us, Corsix.

Now might be a good time to go back to modelling.

Many thanks, Corsix.
camo1018 is offline  
Old 9th Oct 06, 11:42 PM   # 17
Cold Fussion
Guest
 

I extracted the files, but where do they get extracted to?
 
Old 21st Oct 06, 8:44 AM   # 18
Skyward
Member
 
Join Date: Aug 2006
Location: Finland, Europe

Here is a pretty neat render with relic axis arsenal. Great script Corsix! Only importing infantry is quite a crap.

__________________
Models: King Tiger, Maus - show me
Skyward is offline Send a message via MSN to Skyward  
Old 21st Oct 06, 4:09 PM   # 19
communist_bob
Member
 
Join Date: Oct 2006
Location: Australia!

Yeah, infantry come with all these blobby chunks on them which aren't meant to be there, takes ages to clean it up...
communist_bob is offline  
Old 31st Dec 06, 7:43 PM   # 20
56z
Guest
 

Well your max script works B) in max9
 
Old 1st Jan 07, 12:19 AM   # 21
IDF-Godzilla
Member
 
IDF-Godzilla's Avatar
 
Join Date: Oct 2006
Location: Israel

Wait wait, let me get this straight, i can now import COH models into my 3dsmax and actually start working on "Total Coverstion" mods?
IDF-Godzilla is offline Send a message via ICQ to IDF-Godzilla Send a message via MSN to IDF-Godzilla  
Old 1st Jan 07, 1:20 AM   # 22
Kyranzor
 
Kyranzor's Avatar
 
Join Date: Oct 2006
Location: Australia, the land down-under, where beer and babes galore!

yes i think this was doable like 2 months ago dude

you cant actually put models into COH, but you can definately take them out of COH.
__________________
KMOD forum For COH

KMOD.ORG
PROPAGANDA CAMPAIGN:YOU LIKE KMOD.KMOD IS YOUR FRIEND.


Kyranzor is offline Send a message via MSN to Kyranzor  
Old 2nd Jan 07, 9:50 AM   # 23
modeler
Guest
 

If we can get a file layout of the rgm file we might be able to make an importer and exporter plugin for a 3d software called AC3D
 
Old 28th Jan 07, 3:40 AM   # 24
lastOne
Guest
 

i`ll llove to get my hands on that file format
 
Old 29th Jan 07, 12:03 AM Forum Rules   # 25
fneep
Moonbeam Funk
 
fneep's Avatar
 
Join Date: Nov 2005
Location: Australia

If you know anything about file cracking, please, join the effort. This and this should both be interesting to you.
fneep is offline  
Old 29th Jan 07, 2:16 AM   # 26
FiffA
Member
 
Join Date: Nov 2006
Location: Norway, Trondheim

Woohoo ! THX Corsix ! this is great !

but one thing, can we import models to COH with this ??

Or is jst to open the COH models??
__________________
FiffA is offline Send a message via MSN to FiffA  
Old 29th Jan 07, 3:34 AM Forum Rules   # 27
Corsix
The 19th Hyperspace Core
 
Corsix's Avatar
 
Join Date: Sep 2004
Location: Oxford

This script opens RGM files; it does not make them. There may be an improved version of this script arriving sometime (not made by me though). There may also be official tools to make RGM files arriving sometime.
Corsix is online now Send a message via MSN to Corsix  
Old 14th Sep 09, 9:02 AM Forum Rules   # 28
loran korn
Member
 
loran korn's Avatar
 
Join Date: Aug 2009

error code, pls help

When I try to open an rgm file this is what I get

MAXScript Rollout Handler Exception
--Runtime error: Vertex index in face out of range: [25957,1,883]




I have no idea whats wrong this is not plain language to me. Could you pls help me out. Thanx.
loran korn is offline  
Old 14th Sep 09, 9:20 AM   # 29
Uccido
Member
 
Uccido's Avatar
 
Join Date: Aug 2009
Location: The Armoury

loran the importer has been updated. use the new one by fneep.

http://fneep.fiffa.net/Downloads/RGMImport.zip
__________________
The Weapon Emporium
Pax in Bello - Peace in War. The best possible family motto.
Uccido is offline  
Old 14th Sep 09, 9:32 AM Forum Rules   # 30
loran korn
Member
 
loran korn's Avatar
 
Join Date: Aug 2009

That is what I am using. Maybe I didnt set it up right, dunno.
There are two folders in RGMImport.zip
1, RGM_Import
2, Startup

I copied all the files from both folders into Script/Startup in my 3dsMax8 directory and now I get this error:

"--Type error: Call needs function or class, got: undefined"

I choose these tabs once opened max
tools (the hammer symbol),
MAXScript
RGM Import
Import RGM

then I get the above error message

Sorry to give you all this trouble, probably I do something totally wrong.
loran korn is offline  
Old 14th Sep 09, 11:31 AM   # 31
Darkbladecr
Member
 
Darkbladecr's Avatar
 
Join Date: Nov 2005
Location: CoH:Modern Combat

I always get errors.. It's quite buggy on some units :/
Darkbladecr is offline  
Old 14th Sep 09, 7:57 PM   # 32
Uccido
Member
 
Uccido's Avatar
 
Join Date: Aug 2009
Location: The Armoury

click run script, and run all 3 scripts in the RGM Import folder. if that doesnt fix it then i dont know what will
Uccido is offline  
Old 15th Sep 09, 12:15 AM Forum Rules   # 33
loran korn
Member
 
loran korn's Avatar
 
Join Date: Aug 2009

Pls bear with me I know for those who can help this might be an annoying noob thing:

right now I have the following files in the Script folder of Max8 directory

Corsix_Chunky.ms
Corsix_RGM_Import.ini
Corsix_RGM_IMport.ms
libRGMImport.ms
RGM_Import_Tool_Loader.ms

I ran all the ms scripts and then tried to open .rgm files but every time I got the following error message:

"--Unable to convert:undefined to type: String"

I've got this with every .rgm I tried ro open so I gather this is not a bug but more like I set up the damn thing wrong. If this is the case, pls let me know what I do wrong. Thanx fellas.
loran korn is offline  
Old 15th Sep 09, 12:32 AM   # 34
Uccido
Member
 
Uccido's Avatar
 
Join Date: Aug 2009
Location: The Armoury

the loader needs to be in "script/startup/startup/"

and everything else needs to be in "script/startup/RGM_import/"

make the folders if necessary
Uccido is offline  
Old 15th Sep 09, 2:59 AM Forum Rules   # 35
loran korn
Member
 
loran korn's Avatar
 
Join Date: Aug 2009

I am really truly deeply very grateful man and did everything you just told me, put the art folder in WW2 folder even (I figured I might as well try it), run the scripts, even consulted with my crystal globe but I still get the same error message.

"--Unable to convert: undefined to type: String"

This is the moment when most of you probably give up on me but believe me, I am doing exactly what you are telling me to do. Look at it as a challenge and pls dont wish me to hell.
loran korn is offline  
Old 15th Sep 09, 3:22 AM   # 36
Uccido
Member
 
Uccido's Avatar
 
Join Date: Aug 2009
Location: The Armoury

go to options for the importer. and set to load from ww2 data instead of mod data
Uccido is offline  
Old 15th Sep 09, 3:50 AM Forum Rules   # 37
loran korn
Member
 
loran korn's Avatar
 
Join Date: Aug 2009

I did. Now, I cant save it and the settings override themselves and the options jump back where they were before. I hit "Save all settings" but still...
Do I need something like BurnerTool set up somewhere perhaps (?), cuz I dont have that. Just an idea since I see now among the options a folder DataScr/Directory...

What is the matter with this thing?

Anyway, I still have the very same error message.
loran korn is offline  
Old 15th Sep 09, 4:00 AM   # 38
Uccido
Member
 
Uccido's Avatar
 
Join Date: Aug 2009
Location: The Armoury

hmmm yea i set it up on my new comp and i have the same error on this but laptop works for some reason. reckon i might have a look see and try to find any differences in setup
Uccido is offline  
Old 15th Sep 09, 4:04 AM Forum Rules   # 39
loran korn
Member
 
loran korn's Avatar
 
Join Date: Aug 2009

pls remember me when you figured what causes it
loran korn is offline  
Old 22nd Nov 09, 3:40 PM   # 40
AFanCorp
Guest
 

Sorry to bump this, but I'm assuming from the lack of replies that there is no fix?
 
Reply



Go Back   RelicNews Forums > RDN - Relic Game Mods > Company of Heroes - The Armoury
User Name
Password
Register FAQ Members List Arcade Mark Forums Read



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




All times are GMT -7. The time now is 10:28 AM.

Page generated in 0.68509603 seconds (88.35% PHP - 11.65% MySQL) with 9 queries

Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.