Page 1 of 2
God Damn.... PLease some one help me!!!!!
Posted: Fri Sep 26, 2003 2:01 pm
by New Guy
Ok i posted earlier and noone not a sole has posted. All i want is to know how to get rid of the MG 42 and how to script a ob team 3. If its not possible then write that. PLease jsut show me a link..all tuts are on DM maps. I need obj tuts.
please help me out
Re: God Damn.... PLease some one help me!!!!!
Posted: Fri Sep 26, 2003 3:24 pm
by The Jackal
New Guy wrote:... how to get rid of the MG 42
To which MG42 are you reffering, the portable or stationary ones?
In the SH stock maps, I removed the stat MG42s by using its targetnames.
That will do it.
Just a passing note: The tone of your subject line and the body of post seemed a tad ill-mannered and discourteous and un-helpful. We are all here helping each other and we have other obligations, thus sometimes a post may go unanswered and not as quick as one might want it. But just be patient.
There is always a plus in an ounce of courtesy and a glass of patience.
Welcome to .MAP
Posted: Sat Sep 27, 2003 12:46 am
by Random
Good Point Jackal and well said. Sorry i seemed to have missed this post earlier other wise i would have said the same thing. Good manors are always rewarded here.
As for you question it is a bit vague to me and most likely the others as well. You want to script a obj team 3? Are you refering to a 3rd team or you want to rework the script of Omaha beach> either could be implied.
So from now on it would be wise to be patient and curtious to others. Also i would like to welcome you to .Map. And just for kicks have you tried to use the search function to see if these questions have been brought up before.
Thanks
Random
Posted: Sat Sep 27, 2003 11:03 am
by Bjarne BZR
I don't think the MG42 in omaha has any targetnames... so they can be hard to remove the easy way that The Jackal showed you... I'll get back to you on this New Guy... and welcome to .MAP

Posted: Sat Sep 27, 2003 3:48 pm
by New Guy
Thaks for all of your help....I know the subject was was not the best. But i am so frustrated. All i do is use the "search option". I have spent days on this site and many others.
ok to clarify.I want to script the Obj_team3 map of MOHAA. Tis is waht i would like to do
!: get ride of all MG 42's on the map.
2: lace some boxes and bared wire in the map.
3: place some fire and smoke in the map.
There are many tuts on DM maps but none on Obj maps. All i need is some help with how to do it. If you all can help me please do. It seems you all are very good at this. Thank you again for repling and i hope you can help me. i am sorry for the tone, i was just very frustrated and noone was helping me, i hope you understand
new guy
Posted: Sat Sep 27, 2003 6:09 pm
by The Jackal
Well Bjarne BZR was right. The MG42s do not have target names. I am not an AA guy.
Another method: Edit the MG42_gun.tik file and add these lines:
This does not remove it, but it does not shoot anymore.
To add objects:
Code: Select all
local.static = spawn script_model
local.static model "static/bshelf-tall-thin-damaged.tik" // specify the path and object tiki here
local.static.origin = ( 2103 -1449 -751 ) // the location of object
local.static.angles = ( 0 90 0 ) // direction
local.static solid
or
Code: Select all
local.hbox = spawn models/items/dm_50_healthbox.tik // specify the path and object tiki here
local.hbox.origin = ( -87 231 -999 )
local.hbox.angles = ( 0 0 0 )
local.hbox solid
You can add the fire/ smoke using this method. You can find them in Pak0.pk3> Models > Emitters. However be sure to speficy them as notsolid - instead of solid.
Posted: Sat Sep 27, 2003 9:07 pm
by jv_map
Some funny method is to add 'delete' to the server init section of the mg42 TIK. It'll magically remove
any mg42 in the game

Posted: Sat Sep 27, 2003 9:53 pm
by The Jackal
WOW! That's so cool. I tried it on the loadout weapon TIKIs but it does not work there!

Posted: Sat Sep 27, 2003 10:10 pm
by New Guy
jv_map wrote:Some funny method is to add 'delete' to the server init section of the mg42 TIK. It'll magically remove
any mg42 in the game

where is that file located...waht pak.
Thanks for all of your help i will try it tonight
if you have more suggestions please let me know
thanks
NG
Posted: Sat Sep 27, 2003 10:28 pm
by The Jackal
MG42_gun.tik is located in:
ALLIED ASSAULT: Main> PAK0.pk3> Models> Statweapons
SPEARHEAD: Mainta> PAK1.pk3> Models> Statweapons
Posted: Sun Sep 28, 2003 12:12 am
by New Guy
great job on helping me locate the mg 42 file thaks
Posted: Sun Sep 28, 2003 12:23 am
by New Guy
[quote="To add objects:
Code: Select all
local.static = spawn script_model
local.static model "static/bshelf-tall-thin-damaged.tik" // specify the path and object tiki here
local.static.origin = ( 2103 -1449 -751 ) // the location of object
local.static.angles = ( 0 90 0 ) // direction
local.static solid
or
Code: Select all
local.hbox = spawn models/items/dm_50_healthbox.tik // specify the path and object tiki here
local.hbox.origin = ( -87 231 -999 )
local.hbox.angles = ( 0 0 0 )
local.hbox solid
You can add the fire/ smoke using this method. You can find them in Pak0.pk3> Models > Emitters. However be sure to speficy them as notsolid - instead of solid.[/quote]
So where does this code go....what file do i need to open to put the code in.... That is for adding object like boxes and wire.
OK i found the fire and smoke tik. but whre do i put this file so it opens the smoke and fire in OBJ_team 3
thaks for your great help
Posted: Sun Sep 28, 2003 12:41 am
by New Guy
Ok i found the mg file..i tried cahnging the usen ammo to ) but that did nto work so i will try the "delete"...where do i put it i found the server ini line but where in the commnad...see below i pasted it to the reply
TIKI
setup
{
//scale 0.52 // Set default scale to 16/30.5 since world
// is in 16 units per foot and model is in cm's
scale 0.52
path models/statweapons/mg42
skelmodel mg42.skd
surface mg421 shader mg42
surface mg422 shader mg42
}
init
{
server
{
classname TurretGun
weapontype mg
name "MG42"
// turret settings
idleCheckOffset "-56 0 0"
// viewOffset "-32 0 8"
viewOffset "-42 0 10"
viewjitter 0.75
Posted: Sun Sep 28, 2003 1:04 am
by The Jackal
New Guy wrote:...where do i put it...
Just put it under the "name" command . So it looks like this:
Code: Select all
init
{
server
{
classname TurretGun
weapontype mg
name "MG42"
delete
To learn how to spawn objects into maps, just use this as a guide:
http://dynamic4.gamespy.com/~map/mohaa/ ... php?t=5283
Posted: Sun Sep 28, 2003 3:00 am
by New Guy
WEll, i put the delete under the name and still mgs are there. Man i hope you have anotehr idea. I really appreciate all of your help you have been very patient with me...let me know what you think
NG