Search found 15 matches

by Ambassador
Tue Aug 21, 2007 5:55 pm
Forum: Mapping
Topic: Object target names?
Replies: 26
Views: 1811

Re: spawn script_object

THANKS SO MUCH! Got it to work like this:

thread addstuff
end

addstuff:

local.can7 = spawn $can6.classname model $can6.brushmodel targetname "can7"
$can7.origin = ( -326.4 636 4 )
$can7.scale = 1.2

local.canb7 = spawn $canb6.classname model $canb6.brushmodel targetname "canb7"
$canb7 ...
by Ambassador
Mon Aug 20, 2007 8:19 pm
Forum: Mapping
Topic: Object target names?
Replies: 26
Views: 1811

thanks man, it just wont give me the script_object/solid brush. even if it did, these are detailed brushes not just boxes. is all that info relayed in the set size section? if so how can I find out the brushes' size info...some have many faces.

this is why I was wondering about cloning one to a ...
by Ambassador
Mon Aug 20, 2007 6:29 pm
Forum: Mapping
Topic: Object target names?
Replies: 26
Views: 1811

Got another question :roll:

See I have moved as many as possible, but I need to add some extra obstacles (same kind) so I am wondering if there is a way to spawn these using a script even though they are not script_models? Or even better yet, clone a model and its brush and then place in new ...
by Ambassador
Sat Aug 18, 2007 5:51 am
Forum: Mapping
Topic: Object target names?
Replies: 26
Views: 1811

I got it! I have to move the origins for the brushes just like you said.

yea for some reason when I set/bound the models to one brush the clips are way off...even with an origin brush with it, but if I give each model its own assigned brush its ok and then I just script in the brushes also ...
by Ambassador
Fri Aug 17, 2007 6:48 am
Forum: Mapping
Topic: Object target names?
Replies: 26
Views: 1811

OK...How do I make a brush an origin brush? Are you talking about script_origin and then grouping it with the script_object? Or is this another real easy step that I just don't know yet (like selecting a brush :) )

I am hoping that if I can set an origin brush that it will fix my clip issue ...
by Ambassador
Thu Aug 16, 2007 3:45 pm
Forum: Mapping
Topic: Object target names?
Replies: 26
Views: 1811

Got it, my problem was that I couldn't figure out how to select the dang brushes! :lol:

Now I am trying to figure out why the brushes are slightly off after the move. I think it has to do with the angles you mentioned. Do I move everything to (0 0 0) before the CNTL K? Not sure I understand that ...
by Ambassador
Thu Aug 16, 2007 5:13 am
Forum: Mapping
Topic: Object target names?
Replies: 26
Views: 1811

TIKI
setup
{
scale 1.000000 // Set default scale to 16/30.5 since world is in 16 units per foot and model is in cm's
path models/milkshape/npplcan
skelmodel npplcan.skd
surface redside shader npplcan_redside
surface bluetop shader npplcan_bluetop
}

animations
{
idle npplcan.skc
}

/*QUAKED ...
by Ambassador
Thu Aug 16, 2007 3:58 am
Forum: Mapping
Topic: Object target names?
Replies: 26
Views: 1811

there are brushes at the top and then it shows the entities at the bottom. are there supposed to be brushes just below each entity like in your post?
by Ambassador
Wed Aug 15, 2007 3:36 pm
Forum: Mapping
Topic: Object target names?
Replies: 26
Views: 1811

it shows they have no brushes. how are these being clipped then?

// entity 64
{
"origin" "659.00 -872.00 -12.00"
"model" "milkshape_npplcan"
"scale" "1.2"
"classname" "script_object"
}
// entity 65


that was after I turned them into script objects, but this is how I got it from Nigel & PKM ...
by Ambassador
Wed Aug 15, 2007 5:23 am
Forum: Mapping
Topic: Object target names?
Replies: 26
Views: 1811

I really appreciate the help man.

I just can't seem to get it. I was told to take the models out of MOH to see the brushes better, but everytime I change one, it changes the other. I must not be selecting the brushes?

With models in MOH I get a box that outlines the model. I know this is the model ...
by Ambassador
Wed Aug 15, 2007 12:50 am
Forum: Mapping
Topic: Object target names?
Replies: 26
Views: 1811

I tried double clicking Script_Model and Script_Object and it says:

Entity NOT created, brushes not all from world

Actually, I thought I should say that this is how I got it to move in the first place:


thread movestuff

movestuff:

$targetname.origin = ( 0 0 0 )
$targetname solid

end


But in ...
by Ambassador
Tue Aug 14, 2007 10:17 pm
Forum: Mapping
Topic: Object target names?
Replies: 26
Views: 1811

ok one more problem. i can move the model but the brushes don't move with them. if I make the obstacle solid with a script then the clips are off and the paintballs explode when you try to shoot around them.

is there any way to move the brushes with the model by a targetname?
by Ambassador
Tue Aug 14, 2007 4:54 pm
Forum: Mapping
Topic: Object target names?
Replies: 26
Views: 1811

Thanks! :D
by Ambassador
Tue Aug 14, 2007 3:38 pm
Forum: Mapping
Topic: Object target names?
Replies: 26
Views: 1811

Object target names?

Hey guys, I have a question.

I have been working with PKM on the paintball arena to go along with my new paintball mod and I want the "obstacles" to have targetnames so that I can script different field layouts with different obstacle positions into the server. This way there's only one map with ...
by Ambassador
Tue Aug 14, 2007 3:31 pm
Forum: Public Releases
Topic: PKM & DDA nppl paintball arena
Replies: 1
Views: 1118

Thanks so much PKM!

Yea guys Im just finishing up this mod. Unfortunately making it work with AA will require a ton of changes, but as of now it works for SH and BT. If there is a lot of interest for it in AA I can try to fix it for that too, but I will most likely be making one for Airborne ...