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

Forum Info
Forum Members: 18,678
Total Threads: 8,798
Posts: 95,851

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-21-2004, 10:20 PM   #1 (permalink)
Junior Member
 
Join Date: Feb 2004
Posts: 28
Default Unusual Code??

I have seen some pretty random code in my ZHini files,
so I was just wondering if anyone else had seen these or others in their code?

In the DemoGeneral.ini;
Behavior = FireWeaponWhenDeadBehavior ModuleTag_Bob
Behavior = FireWeaponWhenDeadBehavior ModuleTag_George


In Weapon.ini;
Weapon HelixNukeBombDetonationWeaponWithAnEvenLongerName
Weapon BunkerBusterAntiTunnelGarrisonWeaponWithABigName

I been modiing a while but only just noticed these today....
inbredorange is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2004, 03:25 PM   #2 (permalink)
Senior Member
 
Join Date: Jun 2003
Posts: 462
Send a message via AIM to Kelso Send a message via MSN to Kelso
Default

How is that random? You can name modules whatever you want. I guess someone named Bob and George wrote those two.

As for the weapon names, that's all they are, the names of the weapon, again anything can go there. Despite popular opinion, programmers do have a sense of humor.
Kelso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2004, 07:42 PM   #3 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: Indiglo Plateau (USA)
Posts: 526
Send a message via ICQ to LtZack Send a message via MSN to LtZack
Default

yep, you should see my INI code I soo have a fun time naming things and stuff. EX:

I have a unit in Energy Mod called the Perminant Toxin Bomb, for Dr.Thrax it is a unit that when it explodes it sprays a toxin field that NEVER goes away. In the INI it is called "TheEverlastingGobbstopper" so yea you may not think it is funny but when you are sitting infront of code for hours and hours it is always fun to name something stupid or such
LtZack is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2004, 10:56 PM   #4 (permalink)
Junior Member
 
Join Date: Feb 2004
Posts: 28
Default

I DID find it funny, just wondered if anyone els had encountered other funnies left in by the programmers...
inbredorange is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-23-2004, 12:00 AM   #5 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: Indiglo Plateau (USA)
Posts: 526
Send a message via ICQ to LtZack Send a message via MSN to LtZack
Default

there are references to Bin Laden in the Terrorit's unit code
LtZack is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-23-2004, 01:40 AM   #6 (permalink)
Senior Member
 
Join Date: Oct 2003
Location: Nevada, USA
Posts: 933
Default

and what would that be?

All I see in the terrorist's code is "I have just pulled my ripcord, and this ain't no parachute!"

You gotta admit, that is pretty funny.
Mishkin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-23-2004, 02:27 AM   #7 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: Indiglo Plateau (USA)
Posts: 526
Send a message via ICQ to LtZack Send a message via MSN to LtZack
Default

I know, open up normal GEN and look thru the Terrorists code (it may be in the command set or in the weapon code, I know I saw it )
LtZack is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-23-2004, 06:21 AM   #8 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

The comment for the Hijacker somewhere says

"This is my car now, infidel!"

Some setting on MobMemberSlavedUpdate (I think) is called "squirrelliness" or something. No idea what that means.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-23-2004, 07:00 AM   #9 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: Earth
Posts: 339
Send a message via MSN to FleetCommand Send a message via Yahoo to FleetCommand
Default

In a mod I saw something like this in a civilian plane code:

; Commented out by charlie
; Hey, ~~@venger~~ don't you know I live in a tall building?

; WeaponSet
; Conditions = CARBOMB
; Weapon = PRIMARY SuicideCarBomb
; End
FleetCommand 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
Where does this code go ? adamstrange Generals & Zero Hour Editing 3 06-27-2007 10:21 PM
Unusual error with -mod .big Kelso LOTR: Battle For Middle Earth I & II Editing 2 02-12-2005 05:33 PM
Help with code. Vanguard Generals & Zero Hour Editing 0 06-25-2004 02:07 AM
Help with code. Vanguard Generals & Zero Hour Editing 0 06-15-2004 12:52 PM
I have an unusual bug Grizzie871 Generals & Zero Hour Editing 3 06-30-2003 11:58 AM


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


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