Array help
Moderator: Core Staff
Re: Array help
It’s exactly the same as yours, I just made a little test map to make sure it worked right.
Well I did change one thing, in the for there was an l instead of ;.
Well I did change one thing, in the for there was an l instead of ;.
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Array help
Code: Select all
// Start opening door etc
the code at the moment is just a shell that works in the background looping, you need to add the code that actually does something.
I suggest "iprintln("Testing");" to simply test the trigger.
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: Array help
Oh yeah i did have
self movez (100,3);
self movez (100,3);
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Array help
Any errors?
Have you correctly named your doors and correctly made your triggers?
Edit:
Have you correctly named your doors and correctly made your triggers?
Edit:
Code: Select all
trig = getent(self.target, "targetname");
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: Array help
Thats making my cod crash now.
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Array help
mp_doortest.gsc
prefab_door.map
---
Prefab =
Door + Origin brush = script_brushmodel (targetname = door).
Trigger = "door".
Map =
Prefab facing all four compass directions.
Gsc =
Code to rotate the door upon trigger press.
Tested and working fine.
You do not have the required permissions to view the files attached to this post.
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: Array help
When I try to open the .maps my cod radiant crashes with this:
ParseEntity: { not found
GetLastError() = 0 - 0
An unrecoverable error has occured. Would you like to edit Preferences before exiting Q3Radiant?
ParseEntity: { not found
GetLastError() = 0 - 0
An unrecoverable error has occured. Would you like to edit Preferences before exiting Q3Radiant?
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Array help
Open that zip, inside you will see and EXE.Major Tom wrote:When I try to open the .maps my cod radiant crashes with this:
ParseEntity: { not found
GetLastError() = 0 - 0
An unrecoverable error has occured. Would you like to edit Preferences before exiting Q3Radiant?
Double click that.
Then drag and drop the maps onto it and it should fix them.
You do not have the required permissions to view the files attached to this post.
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: Array help
It said did not modify.
Also i opened the map file up in a text editor and it had iwmap 4 at the top but i checked all mine none of them had that.
And also textures dont sound like any from cod 1.
Also i opened the map file up in a text editor and it had iwmap 4 at the top but i checked all mine none of them had that.
And also textures dont sound like any from cod 1.
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Array help
oops, I havent got CoD1 tools installed. So yes, all CoD4.
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: Array help
Ah well I dont think cod 1 has the merge thing, never seen it used in cod 1 just 2+.
Re: Array help
u can merge patches' verticles.
have u fixed ur map?
have u fixed ur map?
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Array help
When you say merge, do you mean the "link"?
I think CoD1 may have been CTRL+K, but this is totally off memory.
If not, open the trigger up and give it a targetname of "auto1" and then select the door and do "target = auto1" (as keys)
I think CoD1 may have been CTRL+K, but this is totally off memory.
If not, open the trigger up and give it a targetname of "auto1" and then select the door and do "target = auto1" (as keys)
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: Array help
Awesome that worked.
I did need to link the triggers to and use damage instead of use but im sure I can figure that out by myself.
Thank you very much for the help.
I did need to link the triggers to and use damage instead of use but im sure I can figure that out by myself.
Thank you very much for the help.
Who is online
Users browsing this forum: No registered users and 2 guests