Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Now thaqt I have working poke...
Now thaqt I have working poke... [message #107582] Fri, 13 August 2004 04:47 Go to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

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 #107592] Fri, 13 August 2004 05:26 Go to previous messageGo to next message
Javaxcx
Messages: 1943
Registered: February 2003
Location: Canada, eh?
Karma: 0
General (1 Star)

Poke other players. Or slap, or taunt, etc.


http://n00bstories.com/image.fetch.php?id=1144717496


Sniper Extraordinaire
Read the FUD Rules before you come in and make an ass of yourself.

All your base are belong to us.
You have no chance to survive make your time.
Now thaqt I have working poke... [message #107598] Fri, 13 August 2004 06:04 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

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 #107600] Fri, 13 August 2004 06:09 Go to previous messageGo to next message
Javaxcx
Messages: 1943
Registered: February 2003
Location: Canada, eh?
Karma: 0
General (1 Star)

That's a shame. Why not?


http://n00bstories.com/image.fetch.php?id=1144717496


Sniper Extraordinaire
Read the FUD Rules before you come in and make an ass of yourself.

All your base are belong to us.
You have no chance to survive make your time.
Now thaqt I have working poke... [message #107601] Fri, 13 August 2004 06:16 Go to previous messageGo to next message
Deactivated is currently offline  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)?
Now thaqt I have working poke... [message #107619] Fri, 13 August 2004 07:12 Go to previous messageGo to next message
WNxPunk is currently offline  WNxPunk
Messages: 34
Registered: February 2004
Karma: 0
Recruit
Can you poke a harvy? Cool

Punk signing off.
http://securi.nemek.co.uk/wn/punk_sig.jpg
Now thaqt I have working poke... [message #107635] Fri, 13 August 2004 08:31 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

the problem with building capture is not how the capture happens, its actually changing the building and all associated bits to the other team.

Besides, building capture just doesnt fit into the way Renegade is designed Smile
No, you cant poke a harvester.

using poke for powerups, whats the point in that?

As for the door idea, that is already doable (keycard one included) via various conbinations of existing and to-be-written scripts.


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 #107636] Fri, 13 August 2004 08:34 Go to previous messageGo to next message
Deactivated is currently offline  Deactivated
Messages: 1503
Registered: February 2003
Karma: 0
General (1 Star)
jonwil

using poke for powerups, whats the point in that?



Instead of automatically collecting the powerup, you can use poke to: Eg. open a powerup crate.

jonwil


Besides, building capture just doesnt fit into the way Renegade is designed Smile.


But that will mean that engineers will be useless Sad
I designed them to capture buildings.
hmm [message #107725] Fri, 13 August 2004 12:55 Go to previous messageGo to next message
FynexFox is currently offline  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 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

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 #107829] Fri, 13 August 2004 23:47 Go to previous messageGo to next message
Doitle is currently offline  Doitle
Messages: 1723
Registered: February 2003
Location: Chicago, IL
Karma: 0
General (1 Star)
Moderator/Captain

Quote:

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.


I thought poke already worked for singleplayer? lol


http://www.n00bstories.com/image.fetch.php?id=1285726594
Now thaqt I have working poke... [message #107833] Sat, 14 August 2004 00:32 Go to previous messageGo to next message
Slash0x is currently offline  Slash0x
Messages: 455
Registered: January 2004
Location: California
Karma: 0
Commander
Just curious on how scripts work...do scripts' functions overright a general (default) set functions? Or does that only apply to some things... Confused

L3T'5 4LL THR0W 3GG5 4T D4 N00B! Smile
Now thaqt I have working poke... [message #107834] Sat, 14 August 2004 00:42 Go to previous messageGo to next message
vloktboky is currently offline  vloktboky
Messages: 290
Registered: February 2003
Location: Kentucky, USA
Karma: 0
Recruit

I'm assuming the client will need the DLL for this to work, right?
Now thaqt I have working poke... [message #107837] Sat, 14 August 2004 01:45 Go to previous message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

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
Previous Topic: Working SSM Launcher model
Next Topic: CNC Reborn : Titan
Goto Forum:
  


Current Time: Fri Nov 29 11:58:54 MST 2024

Total time taken to generate the page: 0.00818 seconds