Quick question about non-scripted fans

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

Moderator: Moderators

Mulkaccino
Lance Corporal
Posts: 23
Joined: Mon Mar 22, 2004 11:13 pm
Location: San Diego, CA

Quick question about non-scripted fans

Post by Mulkaccino »

Non-scripted fans. Seen it done many-a-times but for some reason I cannot get it to work and I'd much rather use non-scripted than scripted. Can someone check my work?

Center section of the fan (script_object)
Key: targetname
Value: fan1
Key: rotatex
Value: -650

Each blade (script_object)
Key: bind
Value: fan1

Nothing in script file.
Also, I get the error "Cannot find entity with name "fan1"" in console when I compile

I know I'm doing something silly. I wasted so much time trying and looking for the answer last night :cry: I know one of you can see my problem, point it out, and make me feel like this :arrow: :oops: :x :)
Signature...? I can't find my digital pen...
Mulkaccino
Lance Corporal
Posts: 23
Joined: Mon Mar 22, 2004 11:13 pm
Location: San Diego, CA

Post by Mulkaccino »

Oh yes, the center piece is spinning, but the blades are not binding to the center piece. The error "Cannot find entity with name "fan1"" appears 8 times in the console, once for each fan blade. I've check for typos man-a-times... no typos :?
Signature...? I can't find my digital pen...
Combat Kirby
Lance Corporal
Posts: 18
Joined: Wed Mar 03, 2004 7:50 pm

Post by Combat Kirby »

Try giving each blade a targetname, such as: blade1, blade2 and so for as many blades you have. I believe objects can't bind to each other without targetnames.

Hope That helps,
Kirby.
Mulkaccino
Lance Corporal
Posts: 23
Joined: Mon Mar 22, 2004 11:13 pm
Location: San Diego, CA

Post by Mulkaccino »

I've already giving them Key: targetname Value: blade01, 02 , 03 etc etc. Hasn't worked though. Should I just hit my computer really hard and hope for the best? :D Seems to work with my VCR...
Signature...? I can't find my digital pen...
Combat Kirby
Lance Corporal
Posts: 18
Joined: Wed Mar 03, 2004 7:50 pm

Post by Combat Kirby »

Ok, for each other blade, did you use the "space bar" to clone the other blades?? If you did, this could be why the blades are not working. It seems at times script_objects loose something when cloned. It happened to me when I was making rotating lights. Make each blade on its own then assign them the script_object and give them their targetnames again.

Let me know.
Kirby.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Best make your entire fan 1 script_object (an entity can have more than 1 brush). To do so, first select the blades, then selection -> ungroup brush. Then, select the center section and press N, see if it still is a script_object. If it is, follow the instructions below very accurately:
- unselect everything (esc)
- select the center section
- select the blades
- selection -> add to entity

done :)

The above steps need to be followed exactly, i.e. if you misselect something you cannot unselect it again (you can but then it won't work ;)), so you gotta start from the beginning (unselect stuff) when something goes terribly wrong.

To check if all went right, select the center section and press ctrl + e. The blades now should automatically be selected, too :)
Last edited by jv_map on Wed Mar 31, 2004 7:30 pm, edited 1 time in total.
Image
Mulkaccino
Lance Corporal
Posts: 23
Joined: Mon Mar 22, 2004 11:13 pm
Location: San Diego, CA

Post by Mulkaccino »

I did clone them using the space bar so when I get home I'll make the scripts by hand again... what a pain though... as I have 16 parallelograms (non-rectangular), some at a 45degree angle... :roll:

Still interesting that i would get the "No entity with name "fan1"" in my console, though, when one of my fan center piece is an original script_object(non-copied) and has the targetname fan1.

I'll let you know what happens. Much thanks Kirby
Signature...? I can't find my digital pen...
User avatar
hogleg
General
Posts: 1577
Joined: Tue Sep 09, 2003 5:23 pm
Location: Down South Hillbilly Country

Post by hogleg »

I don't understand why make a fan complicated.
Just highlight your origin and blades and make it a rotating door. Then set the angle and speed.
"all the governments in the world are corrupt and in the hands of the Illuminati"
Mulkaccino
Lance Corporal
Posts: 23
Joined: Mon Mar 22, 2004 11:13 pm
Location: San Diego, CA

Post by Mulkaccino »

I was unaware you could do that Hogleg. I'll try that as well. Thanks!
Signature...? I can't find my digital pen...
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

in case u have still problems, I've put one into the recycling bin (misc section)
User avatar
hogleg
General
Posts: 1577
Joined: Tue Sep 09, 2003 5:23 pm
Location: Down South Hillbilly Country

Post by hogleg »

Here's a link I used when I first made one:

http://www.modtheater.com/forum/showpos ... ostcount=1

:wink:
"all the governments in the world are corrupt and in the hands of the Illuminati"
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Wacko wrote:in case u have still problems, I've put one into the recycling bin (misc section)
I'd like to add to that, if you can't solve the problem, you can always throw your map into the recycling bin :P

j/k ;)
Image
Mulkaccino
Lance Corporal
Posts: 23
Joined: Mon Mar 22, 2004 11:13 pm
Location: San Diego, CA

Post by Mulkaccino »

Well the recycling bin won't see the map, I got it figured out because of everyones help. :D jv_map, I didn't even see your first post here! You must have snuck that sucker in...
Signature...? I can't find my digital pen...
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

jv_map wrote:I'd like to add to that, if you can't solve the problem, you can always throw your map into the recycling bin :P
j/k ;)
take care not to get bitten by the cookie monster :P
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

I shall fear no cookie monsters, but I'd better stop spamming now as I do fear Bjarne and his evil snowman :shock:
Image
Post Reply