Activate / Deactivate PT-Entrys? [message #328795] |
Fri, 02 May 2008 16:02 |
|
rrutk
Messages: 617 Registered: June 2007
Karma: 0
|
Colonel |
|
|
Activate / Deactivated PT-Entrys?
Is it somehow possible, to activate / deactivate some PT-Entrys with a command or script???
I want to have an entry on one map, but not on the other map in 1 mod-package.
Should be, like activating/deact air units.
[Updated on: Sat, 03 May 2008 06:32] Report message to a moderator
|
|
|
JFW_PT_Hide (changed topic/question) [message #328834 is a reply to message #328795] |
Sat, 03 May 2008 06:31 |
|
rrutk
Messages: 617 Registered: June 2007
Karma: 0
|
Colonel |
|
|
Found "JFW_PT_Disable", but cant get it to work???
If I use it on a map with standard buy-logic, nothing happens.
If I use it on my map with Expanded Vehicle Factory set of scripts by Matt Bailey "Whitedragon, the game crashes. It gives critical script error with wrong paramter position, but it is correct.
JFW_PT_Disable (script to disable a PT object on startup)
Player_Type (the player type to trigger on, 0 = Nod, 1 = GDI)
Type (type to disable)
Pos (position to disable)
JFW_PT_Disable_Death (script to disable a PT object when the thing this is attached to dies)
Player_Type (the player type to trigger on, 0 = Nod, 1 = GDI)
Type (type to disable)
Pos (position to disable)
The values for type are:
0 = characters
1 = vehicles
2 = equipment
3 = secret characters
4 = secret vehicles
5 = enlisted characters
6 = beacon
For types 0,1,2,3,4, pos corresponds to the position in the Purchase Settings in leveledit, e.g. 0 for pos means "entry 1" as labeled in leveledit.
For type 5, pos corresponds to the position in the Team Purcase Settings in leveledit, e.g. 0 for pos means "Enlisted 1" as labeled in leveledit.
For type 6, pos has no effect.
The hud ini script, the wireframe mode script and the PT scripts all require bhs.dll on the client to work
[Updated on: Tue, 06 May 2008 06:37] Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: Activate / Deactivate PT-Entrys? [message #329320 is a reply to message #329253] |
Tue, 06 May 2008 14:35 |
|
rrutk
Messages: 617 Registered: June 2007
Karma: 0
|
Colonel |
|
|
And what for is JFW_Hide_PT?
It's for disabling PT-Icons, isnt it?
And the expanded Vehicle Factory set of scripts is also able to remove them...so it should be possible...
JFW_PT_Hide (script to hide an object on the sidebar on startup)
Player_Type (which player type to hide this for, 0 = nod, 1 = gdi
Preset (the name of the preset to hide)
JFW_PT_Hide_Death (script to hide an object on the sidebar when the thing its attached to dies)
Player_Type (which player type to hide this for, 0 = nod, 1 = gdi
Preset (the name of the preset to hide)
JFW_PT_Hide_Custom (script to hide an object on the sidebar when the thing its attached to gets a custom)
Player_Type (which player type to hide this for, 0 = nod, 1 = gdi
Preset (the name of the preset to hide)
Message (the message to look out for)
But damn, it does not work
New PT-Sidebar (yes, the arrows are from APB):
-
Attachment: Sidebar.jpg
(Size: 145.29KB, Downloaded 152 times)
[Updated on: Wed, 07 May 2008 08:31] Report message to a moderator
|
|
|
|