Static weapons

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Swordfish
Lance Corporal
Posts: 19
Joined: Wed Jun 29, 2005 7:14 pm

Static weapons

Post by Swordfish »

ello ppl. :wink:
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.
User avatar
Mj
Map Reviewer
Posts: 1394
Joined: Sun Apr 25, 2004 3:36 pm
Location: England

Post by Mj »

You mean through scripting? There is a tut on that somewhere i think... not sure where tho :oops:
ImageImage
User avatar
hogleg
General
Posts: 1577
Joined: Tue Sep 09, 2003 5:23 pm
Location: Down South Hillbilly Country

Post 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.
"all the governments in the world are corrupt and in the hands of the Illuminati"
Swordfish
Lance Corporal
Posts: 19
Joined: Wed Jun 29, 2005 7:14 pm

Post 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? (# # #). :oops:
User avatar
Mj
Map Reviewer
Posts: 1394
Joined: Sun Apr 25, 2004 3:36 pm
Location: England

Post 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)
ImageImage
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post 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 ;)
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
User avatar
Mj
Map Reviewer
Posts: 1394
Joined: Sun Apr 25, 2004 3:36 pm
Location: England

Post by Mj »

Whoops! I dont use it much, as you may be able to see... :wink:
ImageImage
Swordfish
Lance Corporal
Posts: 19
Joined: Wed Jun 29, 2005 7:14 pm

Post 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
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post 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 :(
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post 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
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

statweapons/flak88turret.tik
statweapons/flak88base.tik
statweapons/mg42_gun.tik
statweapons/mg42_bipod_nonstatic.tik

there we go..
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Swordfish
Lance Corporal
Posts: 19
Joined: Wed Jun 29, 2005 7:14 pm

Post 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?
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

just open up radiant and look for the models ;)
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Swordfish
Lance Corporal
Posts: 19
Joined: Wed Jun 29, 2005 7:14 pm

Post by Swordfish »

:oops: 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) :?:
Swordfish
Lance Corporal
Posts: 19
Joined: Wed Jun 29, 2005 7:14 pm

Post 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.
Post Reply