MOH Central

Medal of Honor Series Forum => MOHAA Series: General => Topic started by: Soldier Of Ra on December 12, 2008, 08:13:17 PM

Title: Snowman script
Post by: Soldier Of Ra on December 12, 2008, 08:13:17 PM
I made a little script 'cause I was bored :)

   If you want a cool ornament in your maps for Christmas mood, you could put in an interactive snowman!! :D

   

   Unfortunately to be serverside you'll have to take a german winter model but if you want to use it in a custom map, you could use this script and klugscheisser's Frosty skins, which have inspired me to make this script:

   

   http://www.modtheater.com/forum/showthread.php?t=30813&highlight=frosty

   

   

   INFO


   So what does the snowman Frosty do exactly? Well for starters you can set these 3 options on or off:

   

   level.frosty_talk = makes Frosty say something from time to time when he's left alone, make him play pain and death sounds and makes him say things when he has killed/attacked an enemy successfully.

   level.frosty_smoke = makes Frosty smoke a cigaretter from time to time (I found it hilarious!)

   level.frosty_gift = Can frosty drop gifts (health packs) from time to time?

   

   Next to that is the standard "Frosty Mood". Frosty's very patient but if you anger him too much (shooting, bashing, nade him...) he will fight back with one weapon of his choice:

   - Heat Ray: Frosty will shoot a beam of fire to you!! Player's can survive this, but Frosty's range it far, get far enough away from him to stop getting toasted. You will still flame for a few seconds after he stopped baraging you.

   - Freeze Ray: Frosty's favourite weapon!! He will shoot a frostbeam at you, his rang isn't very far, if you get far enough away from him he will stop BUT you will be walking    v e r y    s l o w l y!

   - Death Ray: If Frosty is in a really bad mood, he will shoot this inescapable beam at you, you will not survive this! Your head will twist and spin from the electricity and nuclear power until you explode!

   

   So you have two choices:

   - Have a chat with him, receive a gift etc

   - Infuriate him and try to win the fight!

   

   USE

   Info at the top of my .scr file but here it is:

   
// thread global/snowman.scr::frostman <origin> <angles> <team> <life> <scale> <model>
   //
   // - Origin: ( X Y Z ) Location in the map
   // - Angles: ( X Y Z ) Direction he's facing
   // - Team: ( String ) Choose "axis" or "allies" this is ONLY for the speech
   // - life: ( Integer ) How many times can Frosty get shot before he dies?
   //         Use 9999 or something to make him invincible.
   // - Scale: ( Float ) Scale of the model?
   // - Model: The model of frosty; default: "player/german_Winter_1.tik"

   

   DOWNLOAD

   4951-frosty_the_snowman.zip
Title: Snowman script
Post by: Salombo on December 13, 2008, 01:01:44 PM
Good Job :p Tried yesterday lol