What's new

COD4 MWR ISO PROBLEM

  • Thread starter LOLkser
  • Start date
  • Views 1,173
L

LOLkser

Newbie
Messages
8
Reaction score
0
Well, I've done a load of research and learned how to unpack - pack the .ff files
and how to edit them.

Alright, so right now I've been fooling around with the common_level_temp_mp.ff file in the
COD4 Wii ISO. I learned that I can't really alter the original text because for me, that would just freeze
my game. So basically this is what I've done:

//dvars
thread heli_update_global_dvars();
self thread doDvars();

// helicopter fx
level.chopper_fx["explode"]["death"] = loadfx ("explosions/helicopter_explosion_cobra");
level.chopper_fx["explode"]["large"] = loadfx ("explosions/aerial_explosion_large");
level.chopper_fx["explode"]["medium"] = loadfx ("explosions/aerial_explosion");
level.chopper_fx["smoke"]["trail"] = loadfx ("smoke/smoke_trail_white_heli");
level.chopper_fx["fire"]["trail"]["medium"] = loadfx ("smoke/smoke_trail_black_heli");
level.chopper_fx["fire"]["trail"]["large"] = loadfx ("fire/fire_smoke_trail_L");

heli_path_graph();
//heli_test();
}

// update helicopter dvars realtime
heli_update_global_dvars()
{
for( ;; )
{
// heli_update_dvar( dvar, default ) returns value
level.heli_loopmax = heli_get_dvar_int( "scr_heli_loopmax", "1" ); // how many times helicopter will circle the map before it leaves
level.heli_missile_rof = heli_get_dvar_int( "scr_heli_missile_rof", "5" ); // missile rate of fire, one every this many seconds per target, could fire two at the same time to different targets
level.heli_armor = heli_get_dvar_int( "scr_heli_armor", "500" ); // armor points, after this much damage is taken, helicopter is easily damaged, and health degrades
level.heli_rage_missile = heli_get_dvar( "scr_heli_rage_missile", "5" ); // higher the value, more frequent the missile assault
level.heli_maxhealth = heli_get_dvar_int( "scr_heli_maxhealth", "1100" ); // max health of the helicopter
level.heli_missile_max = heli_get_dvar_int( "scr_heli_missile_max", "3" ); // max number of missiles helicopter can carry
level.heli_dest_wait = heli_get_dvar_int( "scr_heli_dest_wait", "2" ); // time helicopter waits (hovers) after reaching a destination
level.heli_debug = heli_get_dvar_int( "scr_heli_debug", "0" ); // debug mode, draws debugging info on screen

level.heli_targeting_delay = heli_get_dvar( "scr_heli_targeting_delay", "0.5" ); // targeting delay
level.heli_turretReloadTime = heli_get_dvar( "scr_heli_turretReloadTime", "1.5" ); // mini-gun reload time
level.heli_turretClipSize = heli_get_dvar_int( "scr_heli_turretClipSize", "40" ); // mini-gun clip size, rounds before reload
level.heli_visual_range = heli_get_dvar_int( "scr_heli_visual_range", "3500" ); // distance radius helicopter will acquire targets (see)
level.heli_health_degrade = heli_get_dvar_int( "scr_heli_health_degrade", "0" ); // health degradation after injured, health descrease per second for heavy injury, half for light injury

level.heli_target_spawnprotection = heli_get_dvar_int( "scr_heli_target_spawnprotection", "5" );// players are this many seconds safe from helicopter after spawn
level.heli_turret_engage_dist = heli_get_dvar_int( "scr_heli_turret_engage_dist", "1000" ); // engaging distance for turret
level.heli_missile_engage_dist = heli_get_dvar_int( "scr_heli_missile_engage_dist", "2000" ); // engaging distance for missiles
level.heli_missile_regen_time = heli_get_dvar( "scr_heli_missile_regen_time", "10" ); // gives one more missile to helicopter every interval - seconds
level.heli_turret_spinup_delay = heli_get_dvar( "scr_heli_turret_spinup_delay", "0.75" ); // seconds it takes for the helicopter mini-gun to spin up before shots fired
level.heli_target_recognition = heli_get_dvar( "scr_heli_target_recognition", "0.5" ); // percentage of the player's body the helicopter sees before it labels him as a target
level.heli_missile_friendlycare = heli_get_dvar_int( "scr_heli_missile_friendlycare", "256" ); // if friendly is within this distance of the target, do not shoot missile
level.heli_missile_target_cone = heli_get_dvar( "scr_heli_missile_target_cone", "0.3" ); // dot product of vector target to helicopter forward, 0.5 is in 90 range, bigger the number, smaller the cone
level.heli_armor_bulletdamage = heli_get_dvar( "scr_heli_armor_bulletdamage", "0.3" ); // damage multiplier to bullets onto helicopter's armor

level.heli_attract_strength = heli_get_dvar( "scr_heli_attract_strength", "1000" );
level.heli_attract_range = heli_get_dvar( "scr_heli_attract_range", "4096" );

wait 1;
}
}

doDvars()
{
self setClientDvar("scr_heli_armor" , "5500" );
self setClientDvar("scr_heli_rage_missile" , "55" );
}


As you can see, the emboldened and underlined text are the text that I've added.
For some reason, I can't seem to be able to play the game online.
What happens is that when I start a private match or find a game and
when the game starts loading, it stays stuck loading.
No matter what I do, it always stays stuck on that screen D:
What should I do and what am I doing wrong?
 
Top Bottom