PDA

View Full Version : script problem


tonka
2002-09-02, 21:59
this is driving me nuts.....

I took the beach script and changed a few things.
Nothing major.
I'm trying the script out on my test map before I put it in the real one.

Can someone tell me whats wrong with it??????????

Everytime I try it out.. the game loads and it starts for 2 seconds but then goes back to the wolf screeen while my hard drive searches for something??

//
//
//
//
//

game_manager
{
spawn
{
// Set scenario information

wm_mapdescription "After kicking Nazi ass all over Europe, the elite forces of ATAC, have taken some R n' R while escorting some Nazi P.O.W.'s back to Ally headquarters for interrogation.The Nazi have escaped though, and threatened to take ATAC's Big Black Book of Secret Spy Ho's. This book contains the addresses and phone #'s of all of ATAC's super sexy spies. If that information is transmitted to the enemy, the Secret Spy Ho's cannot service our troops, :) , and our country !! "

// Set the respawn times

wm_allied_respawntime 30
wm_axis_respawntime 40

wm_set_round_timelimit 8

// Set the number of objectives for the map

wm_number_of_objectives 3

// Axis control all objectives at the start (0 == AXIS, 1 == ALLIED)
wm_set_objective_status 1 1
wm_set_objective_status 2 1
wm_set_objective_status 3 1
wm_objective_allied_desc 1 "Primary Objective:**After a nite of heavy drinking, someone from the Elite ATAC forces has left ATAC's Big Black Book of Secret Spy Ho's in the Lounge. We must defend it at all cost !! The women will thank us later ! SAVE our WOMEN !! ."
wm_objective_allied_desc 2 "Primary Objective:**The Party loot we have plundered across Europe is our reward for service. It is being threatened !! SAVE our BEER !! and other goodies. ;) We deserve to PARTY !!!."
wm_objective_allied_desc 3 "Primary Objective:**Our Pride and Joy. ATAC's Big Guns. Much more than a phallic symbol to us. It's who we are. Big, strong, long and powerful. If they get blown up, it will be like losing our dicks !!."
wm_objective_axis_desc 1 "Primary Objective:**Find any means to get ATAC's Big Black Book of Secret Spy Ho's and transmit the information from the ships bridge. Our Nazi troops need to get laid !!."
wm_objective_axis_desc 2 "Secondary Objective:**The ATAC Elite Forces have an ample abundance of party stock. Destroy their Party Supplies !! Make them drink sea water !!."
wm_objective_axis_desc 3 "Secondary Objective:**Destroy their pride and joy. Atac's Big Guns. We will laugh at their little guns after !! HAHAHA. Look, its so small!! HAHAHA"

wm_objective_image 1 "atac/atac_sc1.tga"
wm_objective_image 2 "atac/atac_sc2.tga"
wm_objective_image 3 "atac/atac_sc3.tga"

// SHORT DESCRIPTIONS

wm_objective_short_axis_desc 1 "Transmit ATAC'S Big Black Book of Secret Spy Ho's"
wm_objective_short_axis_desc 2 "Destroy the Party Supplies"
wm_objective_short_axis_desc 3 "Destroy the Big Guns"

wm_objective_short_allied_desc 1 "Defend ATAC's Big Black Book of Secret Spy Ho's"
wm_objective_short_allied_desc 2 "Defend our Party Supplies"
wm_objective_short_allied_desc 3 "Defend our Big Guns"

// Set Defending Team for SW Mode

wm_set_defending_team 1

// If the round timer expires, the Axis have won, so set the current winning team
// Set the round winner: 0 == AXIS, 1 == ALLIED
wm_setwinner 1

Accum 1 set 1
Accum 2 set 1
Accum 3 set 1
}

trigger objective1
{
// Change the objective state internally, so UI can update, etc.
// Allied takes control of objective #1
wm_set_objective_status 1 0

// Change the variable within the script so that we can check if someone wins the round
accum 1 set 0

// UI pop-up to alert players
wm_announce "The Nazi's have our women screwed !!!"

// Call function to check if the round has been won
trigger game_manager checkgame
}

trigger axis_object_stolen
{
// Change the objective state internally, so UI can update, etc.
// Allied have stolen the documents (0 == AXIS, 1 == ALLIED)
wm_set_objective_status 1 0
}

trigger axis_object_returned
{
// Change the objective state internally, so UI can update, etc.
// Axis have returned the documents (0 == AXIS, 1 == ALLIED)
wm_set_objective_status 1 1
}

trigger objective2
{
// Change the objective state internally, so UI can update, etc.
// Allied takes control of objective #1
wm_set_objective_status 2 0

// UI pop-up to alert players
wm_announce "Shit it works"

}

trigger objective3
{
// Change the objective state internally, so UI can update, etc.
// Allied takes control of objective #1
wm_set_objective_status 3 0

// UI pop-up to alert players
wm_announce "Shit it works too"

}

trigger checkgame
{
accum 1 abort_if_not_equal 0

// Set the round winner: 0 == AXIS, 1 == ALLIED
wm_setwinner 0

// End the round
wm_endround
}

}


atac_obj1 //Transmition.
{
spawn
{
}

death
{
trigger game_manager objective1
}
}

atac_obj2 //The party supplies.
{
spawn
{
}

death
{
trigger game_manager objective2
}
}

atac_obj3 //The big guns.
{
spawn
{
}

death
{
trigger game_manager objective3
}
}


thanks

tonka
2002-09-03, 03:46
Hey i figured it out !!!

My descriptions were too long. I'm always taking too much !!!

But the descriptions have to stay a certain size or wolf will crash !!

No storytelling I guess !!

Remember this, cause I just spent the whole damn day trying to figure it out and it was just my sentences were too long !!
sheees

But I'm a happy man now.. I got 6 objectives and all the dynamite a guy could want !!
yahooo!!!!

eyeronik
2002-09-05, 02:13
watch you dont blow yourself up :)