cheat script - Cheat Happens Hearts of Iron 3 Message Board (Page 1)
Cheat Happens Game Cheats and Wallpapers
Cheat Happens Game Cheats and Wallpapers
 
Cheat Happens Game Cheats and Wallpapers
 
     TRAINERS       REQUESTS       GAME REVIEWS       GAME WALLPAPERS       BOARDS
-OR-
 
     
  MESSAGE BOARD LINKS:   SIGNUP    |    BOARDS HOME    |   MY FAVORITE BOARDS    |   NEWEST POSTS    |   MY THREADS  
 
HEARTS OF IRON 3 MESSAGE BOARD
PC GAMES  
 
   
SEARCH BOARDS:  
SEARCH THIS BOARD ONLY  
SEARCH HEADERS ONLY  
 
           
   Page 1 of 4     First Page     Previous Page     Next Page     Last Page  New Topic New Topic    New Poll New Poll    Post Reply Post Reply    Help Help   
 
 MESSAGE BOARDS >> TITLE SPECIFIC BOARDS > HEARTS OF IRON 3
 cheat script  
 
 
Current rank: 1 Star. Next Rank at 100 Posts.

Send a PM to overweightninja
ELITE
overweightninja
  send PM
  view profile
  add to friends

United Kingdom 
User #: 189070
Posts: 14 
Joined: Dec 07, 2006   
Last visit: Feb 06, 2010
Posted: Aug 11, 2009 3:48:03 PM - Report post  (0)  (0)       Post Reply  post reply  

Quick copy & paste from something I ran up earlier:
Note I just edited the first entry I could find so the in-game dialogue is still for the "Nationalises Private Sector" event, change this if it bothers you obviously.


Add this text to "\events\PoliticalEvents.txt" to create the event itself.




EDIT


Unless you really feel the need, DO NOT backup the file first, as this results in both files being read by the game, duplicate entries for events etc and therefore CTDs. If you really want to backup first make sure the backups are kept in seperate folders, preferably outside of your HoI3 directory.







##########################################
# Government nationalizes private sector #
##########################################
country_event = {

id = 5050

trigger = {
not = { government = market_liberalism }
not = { government = social_democracy }
not = { government = social_liberalism }
not = { government = social_conservatism }
dissent = 5000
}

mean_time_to_happen = {
months = 24

modifier = {
factor = 2.0
war = yes
}
}

title = "EVTNAME5005"
desc = "EVTDESC5005"
picture = "private_sector"

option = {
name = "EVTOPTA5005" # OK
add_country_modifier = {
name = "nationalization_of_private_sector_ic"
duration = 4380
}
}
}


Then add the following text to \common\event_modifiers.txt to create the actual effects for the event, again edit these if you wish.

nationalization_of_private_sector_ic = {
dissent = -10.00
global_ic = 8.00
global_manpower_modifier = 10.00
global_leadership_modifier = 10.00
global_research_speed = 10.00
research_efficiency = 100.00
global_money = 10.00
global_metal = 10.00
global_supplies = 10.00
global_metal = 10.00
global_energy = 10.00
global_oil = 10.00
global_rare_materials = 10.00
unit_recruitment_time = -1.0
war_consumer_goods_demand = -1.00
peace_consumer_goods_demand = -1.00
espionage_bonus = 10.00
ruling_party_support = 10.00
}


Then you just need to fire the event (bring up console with tilde, then type "event 5050" and strike enter) to enable the cheats!
Hopefully shouldn't fire at random due to the dissent = 500 requirement.
Hope that helps someone!




Edit: Try to stick to the formatting already in the file if possible, doesn't show up properly on here , don't think it should matter too much though.

[Edited by overweightninja, 8/11/2009 3:49:41 PM]

[Edited by overweightninja, 8/12/2009 4:52:59 AM]

[Edited by overweightninja, 12/4/2009 1:45:36 PM]

Current rank: 1 Star. Next Rank at 100 Posts.

Send a PM to reiks
ELITE
reiks
  send PM
  view profile
  add to friends

Philippines 
User #: 547886
Posts:
Joined: Oct 25, 2008   
Last visit: Nov 14, 2009
Posted: Aug 11, 2009 5:49:38 PM - Report post  (0)  (0)       Post Reply  post reply  

just a quick question, will event scripting also affect the AI? I'm guessing no, but something tells me it's missing a line like ai_chance = { factor = 0 }

or something like that.

Just a guest, can you confirm?

Current rank: 1 Star. Next Rank at 100 Posts.

Send a PM to overweightninja
ELITE
overweightninja
  send PM
  view profile
  add to friends

United Kingdom 
User #: 189070
Posts: 14 
Joined: Dec 07, 2006   
Last visit: Feb 06, 2010
Posted: Aug 12, 2009 3:13:07 AM - Report post  (0)  (0)       Post Reply  post reply  

No, these are random events that are fired by the conditions listed at the start. Although these do apply to the AI as well, I'm hoping the dissent = 5000 line will prevent this (as any nation should suffer a coup or something to bring the dissent back in line before it gets anywhere close to that level), of course if you want to add extra triggers to make doubly sure you can.
As the trigger should never be activated under normal game conditions (including for human players), it will only fire when manually triggered with console.
Oh and btw when fired the effects do only apply to the player's nation, no one else.
Cheers

[Edited by overweightninja, 8/12/2009 3:14:20 AM]

Current rank: 1 Star. Next Rank at 100 Posts.

Send a PM to overweightninja
ELITE
overweightninja
  send PM
  view profile
  add to friends

United Kingdom 
User #: 189070
Posts: 14 
Joined: Dec 07, 2006   
Last visit: Feb 06, 2010
Posted: Aug 12, 2009 4:52:18 AM - Report post  (0)  (0)       Post Reply  post reply  

Oop **** just noticed something, forgot to change the identifier in the second file to match that in the first :|
First post updated!

[Edited by overweightninja, 8/14/2009 2:42:29 PM]

Current rank: 1 Star. Next Rank at 100 Posts.

Send a PM to reiks
ELITE
reiks
  send PM
  view profile
  add to friends

Philippines 
User #: 547886
Posts:
Joined: Oct 25, 2008   
Last visit: Nov 14, 2009
Posted: Aug 12, 2009 10:22:11 AM - Report post  (0)  (0)       Post Reply  post reply  

 quote:
 originally posted by overweightninja:

No, these are random events that are fired by the conditions listed at the start. Although these do apply to the AI as well, I'm hoping the dissent = 5000 line will prevent this (as any nation should suffer a coup or something to bring the dissent back in line before it gets anywhere close to that level), of course if you want to add extra triggers to make doubly sure you can.
As the trigger should never be activated under normal game conditions (including for human players), it will only fire when manually triggered with console.
Oh and btw when fired the effects do only apply to the player's nation, no one else.
Cheers

[Edited by overweightninja, 8/12/2009 3:14:20 AM]

Hmmm that makes a lot of sense actually

Thanks a lot!

edit: formatting as you say, doesn't matter. As long as you're editing a .txt file and all tags are present it should work. Formatting is essential for LUA files though

[Edited by reiks, 8/12/2009 10:28:30 AM]

Current rank: 1 Star. Next Rank at 100 Posts.

Send a PM to WellEndoweded
ELITE
WellEndoweded
  send PM
  view profile
  add to friends

Canada 
User #: 697067
Posts: 13 
Joined: Apr 24, 2009   
Last visit: Apr 09, 2010
Posted: Aug 14, 2009 10:10:01 AM - Report post  (0)  (0)       Post Reply  post reply  

When I execute the event it crashes my game. I execute the thing, and about two seconds later it just ctd.
Current rank: 1 Star. Next Rank at 100 Posts.

Send a PM to overweightninja
ELITE
overweightninja
  send PM
  view profile
  add to friends

United Kingdom 
User #: 189070
Posts: 14 
Joined: Dec 07, 2006   
Last visit: Feb 06, 2010
Posted: Aug 14, 2009 2:37:55 PM - Report post  (0)  (0)       Post Reply  post reply  

Okay, what did you actually do when making the modifications?
Sounds like a possible typo/formatting error tbh, did you just copy paste from here or?
Edit: When did you try to make the modifications btw? I made a mistake when I first posted the thread which I've since corrected.

[Edited by overweightninja, 8/14/2009 2:40:23 PM]

Current rank: 1 Star. Next Rank at 100 Posts.

Send a PM to Lakattack0221
ELITE
Lakattack0221
  send PM
  view profile
  add to friends

United States 
User #: 289958
Posts:
Joined: Sep 07, 2007   
Last visit: Aug 04, 2011
Posted: Aug 15, 2009 5:59:00 PM - Report post  (0)  (0)       Post Reply  post reply  

sorry, could you explain this post???!?! I used to do something similar, but I'm confused as to who benefits specifically from thsi trigger? is it the one who sets it off? what sets it off? thank you in advance, this is great.
Page 1 of 4     First Page     Previous Page     Next Page     Last Page
Go to page: 2  3  4 
All times are (GMT -08:00) Pacific Time (US & Canada). Current time is 6:45:44 PM
Return to Hearts of Iron 3 Message Board 2957 users online.   2812 guests / 145 members.
 
     
 
 
Trainer Troubleshooting Guide        Cheat Terms and Tutorials        Anti-Virus Notifications        Site Help / FAQ        Submit Cheats        Our Friends and Affiliates        About Us
      Copyright © 2001 - 2014  webworks, LLC  All Rights Reserved    -   DISCLAIMER    -   PRIVACY POLICY    -   TERMS OF SERVICE