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 30 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 09-10-2004, 04:41 PM   #1 (permalink)
Senior Member
 
Join Date: Sep 2003
Posts: 168
Default Housecolor Ring Underneath Infantry

How can I put in a ring underneath infantry of their housecolor? It would appear in the same way as the china symbol underneath vehicles when they get horde bonus.

What code do I need to insert, and what do I need to do to make it the housecolor? Just give it the zhca_ prefix? But then how do I make the space around the ring transparent?

Thanks.
NEONecd888 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-10-2004, 08:35 PM   #2 (permalink)
Senior Member
 
Join Date: Sep 2001
Posts: 1,094
Send a message via ICQ to smurfbizkit Send a message via AIM to smurfbizkit Send a message via MSN to smurfbizkit
Default

You'd need to edit the model so that there is a flat object beneath it, give the object transparency and house color...texture it and you're set.
smurfbizkit is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-10-2004, 10:11 PM   #3 (permalink)
Senior Member
 
Join Date: Sep 2003
Posts: 168
Default

There's no way to do it otherwise? Just seems weird-- like when an infantry goes down hill, wouldn't half the ring get cut off because its dug into the ground?

(I suppose that didn't happen with China vehicles because china vehicles are glued to the ground (TREADS).)
NEONecd888 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-10-2004, 10:55 PM   #4 (permalink)
Senior Member
 
Join Date: Feb 2004
Location: Glued to the chair in front of my laptop
Posts: 1,158
Default

Well then, glue your infantry to the ground (FEET) .
GametagAeonFlux is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-11-2004, 05:06 AM   #5 (permalink)
Senior Member
 
Join Date: Jul 2004
Posts: 605
Default

There IS another way I believe (or maybe not... its only a guess)

The "Generals" TGA files found on the Command Center are the same color as their house, this is only a guess, but couldn't you use the same code to make a TGA with the same "morph with terrain" properties as the NBC/Horde Bonus TGA files?
DarkSideDave is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-11-2004, 08:13 AM   #6 (permalink)
Senior Member
 
Join Date: Sep 2003
Posts: 168
Default

It's hard for me to believe that the Horde Bonus image is just a skin on a plane in the model. However, I can't seem to find code for it in the INIs anywhere.
NEONecd888 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-11-2004, 08:59 AM   #7 (permalink)
Senior Member
 
Join Date: Jul 2004
Posts: 605
Default

The Horde Bonus image is NOT part of the model

Its simply a TGA placed on the surface of the ground below the unit matching its co-ordinates and rotation
DarkSideDave is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-11-2004, 12:17 PM   #8 (permalink)
Senior Member
 
Join Date: Sep 2003
Posts: 168
Default

Quote:
Originally Posted by W3bdevil
The Horde Bonus image is NOT part of the model

Its simply a TGA placed on the surface of the ground below the unit matching its co-ordinates and rotation
Okay-- so where's the code for it so that I can use it?
NEONecd888 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-11-2004, 02:03 PM   #9 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: UK
Posts: 676
Send a message via MSN to DJRowley
Default

You could just use the horde code, but with no bonus or anything... The image it displays is hard-coded, so you will have to replace the actual china horde symbol.
DJRowley is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-11-2004, 02:12 PM   #10 (permalink)
Senior Member
 
Join Date: Sep 2003
Posts: 168
Default

Quote:
Originally Posted by DJRowley
You could just use the horde code, but with no bonus or anything... The image it displays is hard-coded, so you will have to replace the actual china horde symbol.
Aaah i see. It's hardcoded. Hmm... so is there anyway I'm gonna be able to make it show the housecolor?


Here's the horde update code:
Code:
  Behavior = HordeUpdate ModuleTag_04
    RubOffRadius = 150    ; if I am this close to a real hordesman, I will get to be an honorary hordesman
    UpdateRate = 1000     ; how often to recheck horde status (msec)
    Radius = 75           ; how close other units must be to us to count towards our horde-ness (~30 feet or so)
    KindOf = VEHICLE      ; what KindOf's must match to count towards horde-ness
    AlliesOnly = Yes      ; do we only count allies towards horde status? 
    ExactMatch = Yes      ; do we only count units of our exact same type towards horde status? (overrides kindof)
    Count = 5             ; how many units must be within Radius to grant us horde-ness
    Action = HORDE        ; when horde-ing, grant us the HORDE bonus
  End
I could just change it to this so that is always shows up?
Code:
  Behavior = HordeUpdate ModuleTag_04
    RubOffRadius = 9999999999999    ; if I am this close to a real hordesman, I will get to be an honorary hordesman
    UpdateRate = 1000     ; how often to recheck horde status (msec)
    Radius = 75           ; how close other units must be to us to count towards our horde-ness (~30 feet or so)
    KindOf = STRUCTURE      ; what KindOf's must match to count towards horde-ness
    AlliesOnly = No      ; do we only count allies towards horde status? 
    ExactMatch = No      ; do we only count units of our exact same type towards horde status? (overrides kindof)
    Count = 1             ; how many units must be within Radius to grant us horde-ness
    ;Action = HORDE        ; when horde-ing, grant us the HORDE bonus
  End
NEONecd888 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
Housecolor? Chriz LOTR: Battle For Middle Earth I & II Editing 12 09-22-2005 05:09 AM
Unwanted White Housecolor NEONecd888 Generals & Zero Hour Editing 1 04-09-2005 04:41 PM
the housecolor ring;) ravage Generals & Zero Hour Editing 10 09-28-2004 11:28 PM
MOD IDEA (NOT RING RAIDERS) WyreFyre Generals & Zero Hour Editing 23 05-10-2003 01:01 PM
Ring Raiders Mod aortajdp Generals & Zero Hour Editing 147 05-07-2003 08:52 AM


All times are GMT -4. The time now is 06:21 PM.


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