Page 1 of 2
Static weapons
Posted: Wed Jun 29, 2005 7:23 pm
by Swordfish
ello ppl.
I'm a newbie here so can u help me plz.
I need to know how to set up a static weapons.
==============================================
1. How to know the coord in map(where to put that weapons to)
2. How to set the gun/cannon (not just a model)
3. How to set other objects like sand bags. And how to make them "solid objects" not just an object.
==============================================
And can you give me some examples on all kinds of weapons (example how to set it)
Thank you.
Posted: Wed Jun 29, 2005 8:04 pm
by Mj
You mean through scripting? There is a tut on that somewhere i think... not sure where tho

Posted: Wed Jun 29, 2005 8:38 pm
by hogleg
EA has made the AA MP maps available for DL, so it might be easier to make the changes that way instead of being limited by scripting.
Posted: Thu Jun 30, 2005 5:38 am
by Swordfish
ok , so u can't help me with static weapons but can you tell me how to know coordinates on map in some place? (# # #).

Posted: Thu Jun 30, 2005 8:02 am
by Mj
run around the map, and in the place you want, type coord in the console
this should bring up 6 digits - the angles and the origin position.
Numbers are read as - (pitch) (roll) (yaw) - (x) (y) (z)
Posted: Thu Jun 30, 2005 2:01 pm
by Master-Of-Fungus-Foo-D
you have it backwards mj... when ou type coord in console it comes up as
origin: # # # (xyz)
angles: # # # (pitch yaw roll)
unless youre scripting something like a plane into your map you should probably only use the yaw value because you dont want a flak 88 cannon leaning over of facing down

Posted: Thu Jun 30, 2005 4:47 pm
by Mj
Whoops! I dont use it much, as you may be able to see...

Posted: Thu Jun 30, 2005 5:10 pm
by Swordfish
Ok. Tx with coord.
But can you give me some examples of other weapons.
E.G
MG42
local.mg422 = spawn models/statweapons/mg42_gun.tik
local.mg422.origin = ( -694 -1038 616)
local.mg422.angle = -90
local.mg422 yawCenter -90
local.mg422 maxyawoffset 40
local.mg42B = spawn script_model
local.mg42B model "statweapons/mg42_bipod.tik"
local.mg42B.origin = ( -694 -1038 616)
local.mg42B.angles = (0 -90 0)
local.mg42B solid
with this code i can put a mg42 with bipod on map but how can i put there FLAK88 ? or other static weapon.
Thanx
Posted: Thu Jun 30, 2005 5:36 pm
by Master-Of-Fungus-Foo-D
ah a flak 88?
uhm... mg42 and flak88 are really the only "statweapons" or turrtweapions that work... its a shame the howitzer doesnt work

Posted: Thu Jun 30, 2005 6:29 pm
by lizardkid
he wants to know hte modelname. i dont have Rad installed, so i cant tell you for sure.
try
models/statweapons/flak88.tik
Posted: Thu Jun 30, 2005 6:44 pm
by Master-Of-Fungus-Foo-D
statweapons/flak88turret.tik
statweapons/flak88base.tik
statweapons/mg42_gun.tik
statweapons/mg42_bipod_nonstatic.tik
there we go..
Posted: Sat Jul 02, 2005 3:03 pm
by Swordfish
Ok tx. But how can i incert the sand bags for e.g???
I have seen that there were some mortart incerted in ramagen.
The mod was mccm modification...or smt like that.
How to do that?
Posted: Sat Jul 02, 2005 6:04 pm
by Master-Of-Fungus-Foo-D
just open up radiant and look for the models

Posted: Sun Jul 03, 2005 12:27 pm
by Swordfish

i dunno what that radiant is...
Pk3 file or what?
I'm a n00b in modeling objects. So can you tell me that sand bag object(i think it wound be very difficult for you)

Posted: Sun Jul 03, 2005 2:42 pm
by Swordfish
hello.
I have tryed to set up a flak88 gun on the map and all i can do is to set up just an object...inactive object(even bullets can shoot threw it)
local.flak88 = spawn models/statweapons/flak88turret.tik
local.flak88.origin = ( 6.47 -2191.20 -28.75)
local.flak88.angle = -90
local.flak88 yawCenter -90
local.flak88 maxyawoffset 40
local.flak88 = spawn script_model
where is my mistake?
Can smb help me?
Tx.