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

Forum Info
Forum Members: 18,642
Total Threads: 8,744
Posts: 95,513

Administrators:
DeeZire, Redemption

There are currently 20 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 12-27-2004, 07:23 AM   #1 (permalink)
Member
 
Join Date: Dec 2004
Location: Romania,Bucharest
Posts: 51
Default Adding a new enum?

How do you create new enum for Zero Hour?

SpecialPower SpecialPowerCosmicPlane
Enum = SPECIAL_COSMIC_SATELLITE
ReloadTime = 150000
AcademyClassify = ACT_SUPERPOWER
End

How do I create this SPECIAL_COSMIC_SATELLITE enum? Please tell me what ini files I have to edit.
Incult_1985 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-27-2004, 08:10 AM   #2 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Revora Forums
Posts: 496
Send a message via MSN to Boomerang_Python
Default

what the hell is a Enum? :S

You might wanna check the OCL's but I'm not sure.
Boomerang_Python is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-27-2004, 08:31 AM   #3 (permalink)
Member
 
Join Date: Dec 2004
Location: Romania,Bucharest
Posts: 51
Default

This are enums:

SPECIAL_CHINA_CARPET_BOMB
SPECIAL_DAISY_CUTTER
SPECIAL_PARADROP_AMERICA
SPECIAL_CARPET_BOMB
SPECIAL_PARTICLE_UPLINK_CANNON

And this are ussed in EVA.ini file, when the computer builds a particle cannon your eva plays a sound warning particle cannon detected for eva to play that sound you need a enum. Exemple:

;=========================================== SuperweaponDetected_Enemy_ParticleCannon
EvaEvent SuperweaponDetected_Enemy_ParticleCannon
Priority = 4
TimeBetweenChecksMS = 30000 ; 30 seconds
ExpirationTimeMS = 5000 ; 5 seconds

; American XO
SideSounds
Side = AmericaMarineGeneral
Sounds = EvaUSA_DetectedParticleCannon
End

SideSounds
Side = AmericaEuropeanGeneral
Sounds = EvaUSA_DetectedParticleCannon
End

The enum SPECIAL_PARTICLE_UPLINK_CANNON from the specialpower.ini file transforms and in the eva file becoms _ParticleCannon. I whant to add a new enum in the eva.ini file for the tomahawk storm (SPECIAL_TOMAHAWK_STORM) and when the computer builds a tomahawk storm I whant my eva to say warning tomahawk storm detected. I have the sound but I don't now how to insert a enum for it.
Incult_1985 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-27-2004, 10:15 AM   #4 (permalink)
Senior Member
 
Join Date: Nov 2003
Location: The Netherlands
Posts: 794
Send a message via MSN to The_Hunter
Default

afaik enums are hard coded :/
The_Hunter is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-28-2004, 07:18 PM   #5 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Texas
Posts: 709
Send a message via ICQ to Vanguard Send a message via AIM to Vanguard Send a message via MSN to Vanguard Send a message via Yahoo to Vanguard
Default

You can't make a new enum without reverse engineering, and that my friend still wont work right.
Vanguard is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-30-2004, 01:46 PM   #6 (permalink)
Senior Member
 
Join Date: Aug 2004
Location: Philippines
Posts: 435
Send a message via MSN to IraqiPeopleRocks Send a message via Yahoo to IraqiPeopleRocks
Default Re: Adding a new enum?

Quote:
Originally Posted by Incult_1985";p=&quot View Post
Please tell me what ini files I have to edit.
edit the game engine because enums = HARDCODED
IraqiPeopleRocks is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-30-2004, 05:59 PM   #7 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Texas
Posts: 709
Send a message via ICQ to Vanguard Send a message via AIM to Vanguard Send a message via MSN to Vanguard Send a message via Yahoo to Vanguard
Default

That can get you slapped into jail, and if you do edit the file that has all the info, you can't add anything, you can only replace the name of the section, and it has to be exactly the same length, else it will cause an error.
Vanguard is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-30-2004, 06:20 PM   #8 (permalink)
Senior Member
 
Join Date: Jul 2004
Posts: 605
Default

Quote:
Originally Posted by Vanguard";p=&quot View Post
That can get you slapped into jail
News to me

reverse engineering software isn't illegal unless its explicity ruled out in the EULA, and even then... that may not have any legal standing

Note how many software boxes and installers say "by checking the box you agree to..." or "by breaking this seal you agree to..." rather than "by running this program, you agree to..."

Unless you're referring to the DCMA, but that isn't applicable in this case, because we're not doing anything to do with encryption

Oh, and did you know that every copy of Windows since Windows95 OSR2 (aka Win95B) has an NSA Backdoor inside?

http://www.heise.de/tp/r4/artikel/5/5263/1.html

Food for thought

Run Linux today!
DarkSideDave is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-30-2004, 06:29 PM   #9 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 1,087
Default

gotta love "trusted" networks

WHen linux can actually do what I want I will consider running it
key0p is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-30-2004, 07:16 PM   #10 (permalink)
Senior Member
 
Join Date: Jul 2004
Posts: 605
Default

Never trust anything with "trusting" and "microsoft" in the same sentance.

"Trustworthy Computing Initiative"

--- Rewriting many programs, breaking features, including direct connections without NAT traversal. Turns out the programming changes never made any real impact to their security

Examples:

Internet Explorer SP1
MSN Messenger 6.2
Windows Messenger 4.6 and above

"Next Generation (Trustworthy) Secure Computing Base"

Tighter integration of DRM and IRM into Windows, more backholes to allow outsiders access to your computer, "NX" support, and a whole load of good things... yes, but the main bit is that if you try to disable NGSCB aka "Palladium", you're breaking the DMCA Act (if you're in the states).

Examples:
Windows 2006 (Longhorn)
Internet Explorer 7.0 (w/ Longhorn)
and Office 2003 Enterprise (with IRM manager)

"Privacy Policy"

"Microsoft may give limited details to other companies and 3rd parties"
(or something like that)
Examples:
Hotmail
Microsoft.com
MSN
MSNSpaces (yep... they can read, export, and censor your blogs.... y'see... this is why I've got my own server)

"Trust Computing Hardware" (UK)

"Designed for Microsoft XP" <-- wtf is that supposed to mean!?

Their mice break down after 2 weeks

....Not saying that I've never owned a Trust-brand mouse, I'm glad I haven't, I do pity my sister, however

And so on.....

Oh, and IRT Linux

Get WINEX and WINE, and you can run the majority of Windows apps on Linux, WINEX for apps that use DirectX (including Generals)

Doom3, Quake 3, and Half-Life are available for Linux... but we won't be seeing a port of HL2 for a while, as it employs DirectX

Aaaaand some other stuff

Myself? I haven't switched yet, nor am I planning too

Linux still has the UNIX chain-ball holding it back from the desktop and "client" market
DarkSideDave 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
Adding to AI in ZH mrchris Generals & Zero Hour Editing 1 04-21-2006 01:33 PM
ENUM? UNIQUE? goblinsleez Generals & Zero Hour Editing 15 03-21-2005 04:29 PM
ENUM issues and Upgrade.ini issues Azirahael Generals & Zero Hour Editing 1 01-22-2005 01:17 AM
Can someone explain how to use 'enum' ? Musou Generals & Zero Hour Editing 3 10-10-2004 09:33 AM
How can I modify "enum"? Musou Generals & Zero Hour Editing 1 09-17-2004 10:32 AM


All times are GMT -4. The time now is 05:11 AM.


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