Post your scripting questions / solutions here
Moderator: Moderators
-
7th Es Cyborg
- First Lieutenant
- Posts: 189
- Joined: Fri Dec 13, 2002 5:00 pm
- Location: PA
-
Contact:
Post
by 7th Es Cyborg »
Ok I was attemting to remove the trees from Snowy Park
$tree_winter_tallpine remove
but it didn't work ( there are 4 differnt tree models on the map, but no need to list them all )
it gives me an error of null listener - any ideas?????
-
nuggets
- General
- Posts: 1006
- Joined: Fri Feb 28, 2003 2:57 am
- Location: U-england-K (england in the UK) :P
-
Contact:
Post
by nuggets »
removing stuff through scripts will require targetnames
only if the tree is called tree_winter_tallpine as a targetname will that line work
hope this helps, prob not cos it's all foreign 2 me :-/
-
7th Es Cyborg
- First Lieutenant
- Posts: 189
- Joined: Fri Dec 13, 2002 5:00 pm
- Location: PA
-
Contact:
Post
by 7th Es Cyborg »
Any Ideas then how to get a static model off a map?
-
nuggets
- General
- Posts: 1006
- Joined: Fri Feb 28, 2003 2:57 am
- Location: U-england-K (england in the UK) :P
-
Contact:
Post
by nuggets »
without decompiling???
no

hope this helps, prob not cos it's all foreign 2 me :-/
-
jv_map
- Site Admin
- Posts: 6521
- Joined: Tue Sep 03, 2002 2:53 pm
- Location: The Netherlands
-
Contact:
Post
by jv_map »
Type r_drawstaticmodelpoly 0 in console

-
Parts
- Sergeant
- Posts: 72
- Joined: Thu Apr 10, 2003 12:35 pm
- Location: UK
-
Contact:
Post
by Parts »
I've never tried it but one of the commands of the scriptthread object is RemoveClass.
If the trees in the map are of a specific class type then this might do the trick.
[VS-UK]Capt.Parts[BnHQ]
-
jv_map
- Site Admin
- Posts: 6521
- Joined: Tue Sep 03, 2002 2:53 pm
- Location: The Netherlands
-
Contact:
Post
by jv_map »
Parts wrote:I've never tried it but one of the commands of the scriptthread object is RemoveClass.
If the trees in the map are of a specific class type then this might do the trick.
Na they're merged into the bsp...
-
7th Es Cyborg
- First Lieutenant
- Posts: 189
- Joined: Fri Dec 13, 2002 5:00 pm
- Location: PA
-
Contact:
Post
by 7th Es Cyborg »
thanks anyway guys, I'll just settle with fogplane changes and lighting changes. Not all that I wanted, but it will do.