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

Forum Info
Forum Members: 18,581
Total Threads: 8,667
Posts: 94,503

Administrators:
DeeZire, Redemption

There are currently 44 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 04-27-2005, 08:04 PM   #1 (permalink)
Member
 
Join Date: Feb 2003
Location: USA
Posts: 55
Default Negative Cash flow from a building

I stole this code off the oil things and was wondering why it doesn't work like i intend. Is there somthing else i have to change or will generals just be like "I don't like negative numbers"?
Code:
Behavior              = AutoDepositUpdate ModuleTag_04
    DepositTiming       = 6000  ; in milliseconds
    DepositAmount       = -20    ; cash amount to deposit every Deposit Timings
    InitialCaptureBonus = 0   ;capture bonus only happens once
  End
Aut665 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-27-2005, 10:49 PM   #2 (permalink)
Junior Member
 
Join Date: Mar 2005
Location: Somewhere between Canada and Mexico
Posts: 5
Send a message via AIM to Agent_Smith
Default

Just curious. Why would you want a building to produce negative cash flow?
Agent_Smith is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-27-2005, 11:27 PM   #3 (permalink)
Member
 
Join Date: Feb 2003
Location: USA
Posts: 55
Default

Well, cost of fuels for the power plant to operate, it's not free!
Aut665 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-27-2005, 11:27 PM   #4 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: USA
Posts: 241
Send a message via AIM to ziggy78 Send a message via MSN to ziggy78 Send a message via Yahoo to ziggy78
Default

Yeah why would u want a negative cash flow then whats the point of capturing the derrick in the first place?
ziggy78 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-27-2005, 11:32 PM   #5 (permalink)
Member
 
Join Date: Feb 2003
Location: USA
Posts: 55
Default

Quote:
Originally Posted by Aut665";p=&quot View Post
Well, cost of fuels for the power plant to operate, it's not free!
well it for the POWER PLANT TO OPERATE!

i stole the code from the oil derricks and modded it.
Aut665 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-27-2005, 11:38 PM   #6 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: Nod base
Posts: 172
Default

AutoDepositUpdate just cannot use negative numbers.if you really want do that,you can make your power plant spawn a Crate with MoneyProvided = -1.

but it has other problems.even if your money is equal to or below zero it still decrease,and you can still built things.
ravage is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-28-2005, 12:13 AM   #7 (permalink)
Member
 
Join Date: Feb 2003
Location: USA
Posts: 55
Default

ahh, ok.
Aut665 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-28-2005, 12:59 AM   #8 (permalink)
Senior Member
 
Join Date: Oct 2003
Location: Nevada, USA
Posts: 933
Default

So basically the answer to your question if Generals doesn't like negative numbers: Yes, it doesn't like them.
Mishkin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-28-2005, 06:20 AM   #9 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: Derby, UK / Den Haag, NL
Posts: 590
Default

Yes, unfortunately, it's not really doable as Generals doesn't like negative cash flows - it doesn't stop at zero when you have them either. You can have negative money in Generals 0_o
Ambershee 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
Need good small favor offer small cash reward Pieter Generals & Zero Hour Editing 0 08-05-2006 08:44 AM
How to change to colour of cash boundty font? Roh_Z Generals & Zero Hour Editing 0 01-04-2004 09:11 AM
Negative Buildings thearab Generals & Zero Hour Editing 7 11-04-2003 10:45 AM
cash hack data/info Prism128 Generals & Zero Hour Editing 2 09-14-2003 10:55 AM
How to determine direction rivers flow? Nezill Generals & Zero Hour Editing 0 06-11-2003 09:34 PM


All times are GMT -4. The time now is 07:27 AM.


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