Snowman Script

Made a map or mod? Announce it in this forum!

Moderator: Moderators

Post Reply
$oldier Of Ra
Lieutenant Colonel
Posts: 404
Joined: Sun Oct 16, 2005 7:16 pm
Location: Belgium
Contact:

Snowman Script

Post by $oldier Of Ra »

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/showthr ... ght=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:

Code: Select all

// 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 (from MRU)
http://www.mods-r-us.net/datas/users/49 ... nowman.zip
Our official website: http://www.mohaairborne.co.cc
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)

For all your bot needs!!!!

$oldier Of Ra.
Aprop
Major
Posts: 291
Joined: Mon Nov 17, 2008 3:40 pm

Post by Aprop »

Nice.. but he should drop weapons too. Ammo etc... any server running it?
$oldier Of Ra
Lieutenant Colonel
Posts: 404
Joined: Sun Oct 16, 2005 7:16 pm
Location: Belgium
Contact:

Post by $oldier Of Ra »

Edit my mod to your likings and make him drop ammo :)
I'm going to place him on my server when I'm done scripting it's major update.
Our official website: http://www.mohaairborne.co.cc
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)

For all your bot needs!!!!

$oldier Of Ra.
Post Reply