Page 1 of 1

Forcing MP Skins

Posted: Wed Mar 12, 2003 1:26 am
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?

Posted: Wed Mar 12, 2003 4:58 pm
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.

Posted: Wed Mar 12, 2003 11:02 pm
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

Posted: Fri Mar 14, 2003 12:23 am
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

Posted: Sun Mar 16, 2003 4:36 pm
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