God Damn.... PLease some one help me!!!!!
Moderator: Moderators
God Damn.... PLease some one help me!!!!!
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
please help me out
- The Jackal
- Sergeant Major
- Posts: 101
- Joined: Wed May 07, 2003 10:09 am
- Contact:
Re: God Damn.... PLease some one help me!!!!!
To which MG42 are you reffering, the portable or stationary ones?New Guy wrote:... how to get rid of the MG 42
In the SH stock maps, I removed the stat MG42s by using its targetnames.
Code: Select all
$mg42 remove
$mg42_2 removeJust 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
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
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
Moderator


-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
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
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
- The Jackal
- Sergeant Major
- Posts: 101
- Joined: Wed May 07, 2003 10:09 am
- Contact:
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:
or
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.
Another method: Edit the MG42_gun.tik file and add these lines:
Code: Select all
ammorequired 1
usenoammo 0To 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 solidCode: 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- The Jackal
- Sergeant Major
- Posts: 101
- Joined: Wed May 07, 2003 10:09 am
- Contact:
- The Jackal
- Sergeant Major
- Posts: 101
- Joined: Wed May 07, 2003 10:09 am
- Contact:
[quote="To add objects:
or
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
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 solidCode: 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 solidSo 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
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
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
- The Jackal
- Sergeant Major
- Posts: 101
- Joined: Wed May 07, 2003 10:09 am
- Contact:
Just put it under the "name" command . So it looks like this:New Guy wrote:...where do i put it...
Code: Select all
init
{
server
{
classname TurretGun
weapontype mg
name "MG42"
delete
http://dynamic4.gamespy.com/~map/mohaa/ ... php?t=5283

