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?
Forcing MP Skins
Moderator: Moderators
-
[60th]Capt.Legolas
- Lance Corporal
- Posts: 19
- Joined: Sat Mar 08, 2003 7:24 pm
- Location: SC, USA
- Contact:
Forcing MP Skins
"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
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:
not the server, just the map:
I was planning on having the allies wear that, and the Axis wearing the winter 1 skin
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
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:
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
any ideas on what i could put in to make it switch to the skins to start off with?
any help would be appreciated
Code: Select all
exec global/DMprecache.scr
cache models/player/allied_101st_snow_capt.tik
cache models/player/german_winter_1.tikany 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
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:
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
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
//i really hope i've understood what u wanted 2 do, otherwise hopefully this'll help some1 out there
what you wanna do is this
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
//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 :-/
