Forcing MP Skins

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
[60th]Capt.Legolas
Lance Corporal
Posts: 19
Joined: Sat Mar 08, 2003 7:24 pm
Location: SC, USA
Contact:

Forcing MP Skins

Post by [60th]Capt.Legolas »

I had this in the mapping forum but i realized its more of a scripting question than anything else

I have taken the Captain that is covered in snow that comes with Spearhead and converted it for use with MoHAA, I am making a Bastogne map right now, is it possible that I can put something in the script or something that will force model to that?
"He stands not alone," said Legolas, bending his bow and fitting an arrow with his
hands that moved quicker than sight. "You would die before the stroke fell."

Skinner
Modder
Tactical Player
and last but not least.....

the semi-n00b mapper
Yarik
General
Posts: 1031
Joined: Thu Jan 09, 2003 7:12 pm
Contact:

Post by Yarik »

you can and you cant.... i dont know what im talking about. As I see it you can do almost anything but in order to do that you will need somekind of huge script with that map. Besides I wouldnt want to play on a server which makes me wear a ceratin skin.
Skype: Yarik_usa
www.skype.com <---free pc2pc phone
Image
[60th]Capt.Legolas
Lance Corporal
Posts: 19
Joined: Sat Mar 08, 2003 7:24 pm
Location: SC, USA
Contact:

Post by [60th]Capt.Legolas »

not the server, just the map:

I was planning on having the allies wear that, and the Axis wearing the winter 1 skin
"He stands not alone," said Legolas, bending his bow and fitting an arrow with his
hands that moved quicker than sight. "You would die before the stroke fell."

Skinner
Modder
Tactical Player
and last but not least.....

the semi-n00b mapper
[60th]Capt.Legolas
Lance Corporal
Posts: 19
Joined: Sat Mar 08, 2003 7:24 pm
Location: SC, USA
Contact:

Post by [60th]Capt.Legolas »

well I tried this by making a <mapname>_precache.scr file, which doesnt do anything but load them before the map starts, which the game already does

Code: Select all

exec global/DMprecache.scr

cache models/player/allied_101st_snow_capt.tik
cache models/player/german_winter_1.tik
any ideas on what i could put in to make it switch to the skins to start off with?

any help would be appreciated
"He stands not alone," said Legolas, bending his bow and fitting an arrow with his
hands that moved quicker than sight. "You would die before the stroke fell."

Skinner
Modder
Tactical Player
and last but not least.....

the semi-n00b mapper
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

you can change the model of anything you like and it'll still keep the original voice actions etc...,

what you wanna do is this :D

main:
level waittill prespawn
level.script = "maps/test_sky.scr"
level waittill spawn

level.manon model "human/allied_pilot.tik"
level.manon = $manon
end

//you will of noticed that manon will now become a pilot, you will need 2 find the model names you want 2 change and replace them accordingly

//also make sure you give all the troops that info and they all have appropriate targetnames, creating an array would b the best but doing it indiviually would b just as easy.

//also you don't need 2 put in all the level.manon = $manon, you can just put $manon model "xxx" etc... i just use this for easier identification of my identites :D

//i really hope i've understood what u wanted 2 do, otherwise hopefully this'll help some1 out there
hope this helps, prob not cos it's all foreign 2 me :-/
Post Reply