logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,643
Total Threads: 8,744
Posts: 95,520

Administrators:
DeeZire, Redemption

There are currently 23 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 03-02-2005, 05:30 PM   #11 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 1,087
Default

I think W is obsolete in w3d, so "U"&"V" simply correlate to the old "X"&"Y" of a cartesian graph.

I have never used Linear Offsett vertex mapping for getting treads to work, just straight up UVW.Its jsut a matter of having the tread meshes correctly named, and referenced in the INI with the right code.

As for draw modules, you can use as many as you want, just break up and export the model in its individual pieces for each draw module.
key0p is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-02-2005, 05:40 PM   #12 (permalink)
Member
 
Join Date: Feb 2003
Location: Melbourne, Australia
Posts: 66
Send a message via MSN to liger
Default

Where abouts are the treads refrenced in the ini files? I mean theres gottta be a place where its told to use TREADSL01 TREADSL02 etc right?

Was just taking another look at the original generals w3d files. It seems all the treads are 1 piece in them. Is that a critical factor? Cos for this mech, the outside tread is one piece but the inside one is not a fully completed ring. I don't think this would matter cos I can get anything to export correctly. For example, I extracted the overloard.w3d file, check if the animation worked in w3d viewer and it did. Imported it into gmax and then simply exported it again to a different file and the treads wern't moving in the w3d viewer. Then tried the same process with my tread texture. nada.
liger is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-02-2005, 05:59 PM   #13 (permalink)
Senior Member
 
Join Date: Jan 2004
Location: Elgin, Scotland, UK
Posts: 168
Send a message via ICQ to Alphathon Send a message via AIM to Alphathon Send a message via MSN to Alphathon Send a message via Yahoo to Alphathon
Default

Hang on. How are you exporting. I remember when I first started modding, I used the "Export with Std Mtls" to create my models. When I found out how to make treads tho, I discovered that this method will not export the tread anims, and you have to use the file>export button. Also, if you just import a model, then export, it won't work, coz u have 2 re-apply the texture, as the tread settings are not imported. BTW, use UPerSec=0.1, coz a-VPerSec goes in the wrong direction, and b-UPerSec=1 is usually too fast, although this can be edited in the ini entry.

Being in 2 parts 4 the inner treads shouln't make a difference, and as long as the stage 0 mapping of the texture is set to "linear offset", and it says UPerSec=0.1(or whatever), and it is exported correctly
Alphathon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-02-2005, 06:02 PM   #14 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 1,087
Default

If you send it to me, Ill get it working for you(been a long time since Ive done any treads so I cant recall exactly off the top of my head).

All I ask in return is that you answer my PM at derelict - Im after some info on 3d animation in Australia

My email is key0p at h0tmail - just be sure to make the topic stand out, I delete anything that isnt familar without opening.
key0p is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-02-2005, 06:10 PM   #15 (permalink)
Member
 
Join Date: Feb 2003
Location: Melbourne, Australia
Posts: 66
Send a message via MSN to liger
Default

Sweet stuff!! Thats what the problem was. Used the file export and it works!!! Well it works in the w3d viewer now anyways. Still not ingame. But geting closer. Now I'm guessing its just the code that not working right. Almost there.

EDIT:

OK Got it ingame and working. kinda. This is the weirdest problem I'm seen yet. The left tracks animate fine. But the Right side don't. The texture is the same as the left side and the naming convention for all 4 tracks are the same as the left, just replaced the L with R. eg

TREADSR01
TREADSR02
TREADSR03
TREADSR04

The texture has the uPerSec=1 and thats seem fine, well for the left tracks anyways. Am I missing a step? They both animate in the w3d viewer fine, just not ingame. Has to be something with the code?
liger is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-02-2005, 11:17 PM   #16 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 1,087
Default

Dont use so many separate meshes for your treads, generals doesnt like it.

I downlaoded your model and rebuilt the treads and did some tests.With 4 a side, it was reading right tread 1&3, and left treads 3&4.2 treads a side works fine(combine the inner and outer meshes of each tread), as does one tread a side(combine all tread meshes on each side).I didnt try 3 so I dont know if it works, but you only need one anyway.

I was wrong before, I did use linear offset when doing treads, its just been so long.

UPerSec or VPerSec doesnt matter, and niether does its value.The in-game rate is controlled by the code lines:
TreadAnimationRate
TreadDriveSpeedFraction
TreadPivotSpeedFraction

If you comment these out, then the texture scrolling will go according to the material settings(this is also what you will see in W3dviewer).

The battlemaster does not have these code lines, because it does not have animated treads! Have a closer look next time, the treads are covered by armour plating, you cant even see them unless its upside down, hence no animation which would only waste game resources It just has the treadfx to leave a trail behind it.
key0p is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-02-2005, 11:39 PM   #17 (permalink)
Member
 
Join Date: Feb 2003
Location: Melbourne, Australia
Posts: 66
Send a message via MSN to liger
Default

Yeah thanks keyOp. SpyvSpy told me to try waht u suppested and combine the top and bottom meshes of the treads. Guess generals engine can only animate 4 treads per unit and no more. Guess 8 was asking it a bit much. Its finally wokring ingame now. Just gotta fogure out 1 more thing. But theres another thread on that.

Thanks everyone for your quick help.

KeyOp check ya PM here
liger is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-02-2005, 11:46 PM   #18 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 1,087
Default

I just did but theres nothing new.Did you use a zero in my name when you sent it?
key0p is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-03-2005, 12:26 AM   #19 (permalink)
Senior Member
 
Join Date: Feb 2004
Location: Glued to the chair in front of my laptop
Posts: 1,158
Default

Ummm nice model, hope to see more great work out of you guys.
GametagAeonFlux is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-03-2005, 02:48 AM   #20 (permalink)
Senior Member
 
Join Date: Dec 2003
Posts: 217
Default

OK, this is solved now.
sc4freak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
AI script problem, need help!(Solved) homura Generals & Zero Hour Editing 0 06-04-2005 09:31 PM
Problem with code[solved] Silent_Killa Generals & Zero Hour Editing 10 11-02-2004 01:25 AM
Airfeild Problem[SOLVED] RedLeader Generals & Zero Hour Editing 5 08-21-2004 01:10 AM
Auto-choosing weapons problem (SOLVED) CodeCat Generals & Zero Hour Editing 10 09-16-2003 09:54 AM
Tread Animation Problem erahndor Generals & Zero Hour Editing 2 04-20-2003 02:56 AM


All times are GMT -4. The time now is 02:50 PM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.