Now thaqt I have working poke... [message #107582] |
Fri, 13 August 2004 04:47 |
|
For those that dont know what Poke is, its what RenAlert used for the navalyard and helipad PCTs (like how you can walk up to them, press "e" and buy stuff)
I am going to write some poke scripts.
So far, I have either got already or plan to add:
JFW_Poke_Send_Custom (sends a custom when poked)
JFW_Pokeable_Item (enables the green poke arrows for an object)
M10_Pokeable_Item_OnePoke (dont know if this does anything usefull but its there)
Poke_And_Play_Cinematic (plays a cinematic on poke)
JFW_PCT (put this on an object to make it act like a PCT, the bonus over a regular PCT is that you can make it a PCT that works for both teams (i.e. GDI pokes it, they get GDI pct, nod pokes it, they get nod pct)
these which are poke versions of the regular scripts
JFW_Preset_Buy_Poke
JFW_Weapon_Buy_Poke
JFW_Character_Buy_Poke
JFW_Refill_Buy_Poke
JFW_Powerup_Buy_Poke
JFW_Vehicle_Buy_Poke
JFW_Group_Purchase_Poke (like JFW_Group_Purchase_Zone but for poke)
JFW_Poke_Gate (like JFW_Gate_Zone but triggered by poking something)
JFW_Poke_Send_Custom_2 (sends a custom when poked, will have a team option)
JFW_Poke_Send_Custom_Preset (sends a custom when poked, will have a team option, only triggers if poked by a certain preset)
JFW_Poke_Send_Custom_Keycard (sends a custom when poked, will have a team option, only triggers if poked by something with a certain keycard)
JFW_Poke_Send_Custom_Cost (sends a custom when poked, will have a team option, also, it deducts money from the poker and wont work if the poker doesnt have enough)
for those that want a poke->play animation script, use JFW_Poke_Send_Custom_2 and JFW_Set_Animation_On_Custom
You can also combine JFW_Poke_Send_Custom_xxx with various scripts like JFW_Custom_Send_Ordered_Customs.
For example, if you wanted a door that would open when send one custom and closed when sent another one, put JFW_Poke_Send_Custom_2 on the door buttons, then JFW_Custom_Send_Customs somewhere followed by JFW_Set_Animation_On_Custom to open/closed the door as appropriate.
Also, there is a poke version of the renalert RA_Naval_PT script somwhere I think.
Any other poke scripts I should consider making?
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
|
Now thaqt I have working poke... [message #107598] |
Fri, 13 August 2004 06:04 |
|
nope, you cant Poke a human controled soldier.
You also cant poke any vehicle that you can get into (dont know if poke works on a vehicle you cant get into)
I think you can however Poke non-human-controlled soldiers.
Works great for things llisted under Simple (for example) though.
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
|
Now thaqt I have working poke... [message #107601] |
Fri, 13 August 2004 06:16 |
Deactivated
Messages: 1503 Registered: February 2003
Karma: 0
|
General (1 Star) |
|
|
*pokes Jonwil*
*brainstorm approaching*
Building capture with enemy engineer poking the Master control terminal?
Use poke to collect powerups?
Doors that require poke to open (also keycard doors where you have to "insert" the keycard with poke)?
|
|
|
|
|
|
hmm [message #107725] |
Fri, 13 August 2004 12:55 |
FynexFox
Messages: 138 Registered: May 2003
Karma: 0
|
Recruit |
|
|
What about this, you go and poke a Bot, and it says a programmed phrase, for like single player, if you need hints you canpoke soldiers walkign around and stuff and theyll say like, We need to stay on guard or like, Use your sniper rifle on mendoza or some crap like that.
|
|
|
Now thaqt I have working poke... [message #107769] |
Fri, 13 August 2004 15:42 |
|
ok
JFW_Poke_Play_2D_Sound
JFW_Poke_Play_3D_Sound
will be made
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
|
|
|
Now thaqt I have working poke... [message #107837] |
Sat, 14 August 2004 01:45 |
|
yes, poke requires client side code.
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|