Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Poke and Follow Script
Poke and Follow Script [message #141996] Sat, 05 March 2005 11:06 Go to next message
Burn is currently offline  Burn
Messages: 160
Registered: November 2004
Karma: 0
Recruit
Is anyone aware of any Poke and Follow scripts for AI?

I've been trying to get AI soldiers to follow me when I poke them, but I haven't had any luck so far.

The closest I got to what I want was JonWill's JFW_Attach_Script on a soldier. I made a poke and then attached the player follow script, but still no luck. That script doesn't work in multiplayer.
Poke and Follow Script [message #142002] Sat, 05 March 2005 11:17 Go to previous messageGo to next message
vloktboky is currently offline  vloktboky
Messages: 290
Registered: February 2003
Location: Kentucky, USA
Karma: 0
Recruit

Not sure about the player follow script (or if it even works), but you are on the right track. You can have an AI event attached to a script to have it follow the player that poked it, but this has to be created in your scripts.dll source code. I am unaware of any script already created that does this for you.

Try submitting a request for its creation to someone, or if you know how, you can try making it yourself. Just look for the AI calls in the scriptsfactory.
Poke and Follow Script [message #142014] Sat, 05 March 2005 11:49 Go to previous messageGo to next message
Burn is currently offline  Burn
Messages: 160
Registered: November 2004
Karma: 0
Recruit
Thanks boky. Smile

I may just request it. I never heard of anyone being able to do this.
Poke and Follow Script [message #142019] Sat, 05 March 2005 12:09 Go to previous messageGo to next message
vloktboky is currently offline  vloktboky
Messages: 290
Registered: February 2003
Location: Kentucky, USA
Karma: 0
Recruit

Ah yes, I knew I did something like this before. In my Capture the Mobius mod, which I never really finished, I did this. However, at the time I was making it, poke was unavailable in MP. I worked through powerups that were placed on Mobius' feet. Crude, but affective. Smile

Anyway, the mobius did follow you when you picked up its powerup. If anyone cares to see how it works, look in its source code. http://www.renevo.com/index.php?showtopic=1830

It's down ATM because of our (RenEvo) server move. They will be fixed tonight.
Poke and Follow Script [message #142022] Sat, 05 March 2005 12:15 Go to previous messageGo to next message
Burn is currently offline  Burn
Messages: 160
Registered: November 2004
Karma: 0
Recruit
Thanks a lot for the help. If I ever get this working I'll let you know.

There's got to be a way. In the 2nd single player mission, you get a "Church Escort Team" through a chinook and they follow you to the Hand of Nod. Then, at some point, whatever's left of them, they get stopped once they enter a zone. They say, "Sorry sir- orders. I can't go beyond this point."

Then I get all pissed off at him, and go back and poke him, then he's all loyal and brave again and he says, "Right behind ya' sir." And he follows me. Then he stops again at the zone.

I WANT THAT!! Laughing
Poke and Follow Script [message #142027] Sat, 05 March 2005 12:24 Go to previous messageGo to next message
WNxCABAL is currently offline  WNxCABAL
Messages: 1391
Registered: July 2004
Karma: 0
General (1 Star)
I'm sure I saw this feature / gamemode in Sole Survivor...
Wasn't it called Capture the Mobius or something?


Warrior Nation Number One Gaming Clan In The World Razz

http://www.tibnas.com/Outbound_Images/wnxcabal_cabalcc3kw_sig_ani.gif
Poke and Follow Script [message #142034] Sat, 05 March 2005 12:35 Go to previous messageGo to next message
Burn is currently offline  Burn
Messages: 160
Registered: November 2004
Karma: 0
Recruit
vloktboky

In my Capture the Mobius mod
Razz
Poke and Follow Script [message #142119] Sat, 05 March 2005 22:27 Go to previous messageGo to next message
bigwig992 is currently offline  bigwig992
Messages: 555
Registered: February 2003
Location: Nashua, NH
Karma: 0
Colonel
Quote:

Capture Dr. Mobius

Dr. Mobius stands around pondering idly somewhere on the map until somebody nudges him. After he is nudged, he will follow. Your objective is to bring Dr. Mobius to your team's transport helicopter. The team that brings Dr. Mobius to their chopper 5 times first, wins.


-The ONLY Renegade fan to pee off a school.
http://www.n00bstories.com/image.fetch.php?id=1055662786
http://www.n00bstories.com/stats/renegade_stats.php?player=bigwig992&team=gdi
Poke and Follow Script [message #142148] Sun, 06 March 2005 06:59 Go to previous messageGo to next message
WNxCABAL is currently offline  WNxCABAL
Messages: 1391
Registered: July 2004
Karma: 0
General (1 Star)
Burn

vloktboky

In my Capture the Mobius mod
Razz


Okay Okay, so I can't read Razz


Warrior Nation Number One Gaming Clan In The World Razz

http://www.tibnas.com/Outbound_Images/wnxcabal_cabalcc3kw_sig_ani.gif
Poke and Follow Script [message #142765] Tue, 08 March 2005 22:06 Go to previous messageGo to next message
vloktboky is currently offline  vloktboky
Messages: 290
Registered: February 2003
Location: Kentucky, USA
Karma: 0
Recruit

vloktboky

It's down ATM because of our (RenEvo) server move. They will be fixed tonight.


FYI: The links are active again.
Poke and Follow Script [message #142823] Wed, 09 March 2005 12:44 Go to previous message
Burn is currently offline  Burn
Messages: 160
Registered: November 2004
Karma: 0
Recruit
I'm still looking for some ways to do this with the regular scripts.dll, but obviously nothing will work.

I was thinking along the lines of making the follow part a cinematic. There is a poke and play cinematic with the regular scripts.dll. I got close, I was thinking I could add an "attach_script" line and just add the "follow player" script. Though, I remembered that that's a subline and has to be under "create real object." So... basically... still no luck.

I'd like to be able to do this so everyone else doesn't have to have the JFW scripts in their renegade data folder in order to play my map. It would be really nice if somehow I could just put it in my maps "scripts" folder and it would be integrated with the mix. That way, they don't have to mess with their data folder and more people would be able to play it.

I'm pretty sure it has to be in their data folder because otherwise their computer would read one of my tanks "JFW" scripts and it would say, "WTF IS JFW?!?!"
Previous Topic: Quick Question
Next Topic: Bathroom Tile+Floor Texture
Goto Forum:
  


Current Time: Thu May 23 04:52:26 MST 2024

Total time taken to generate the page: 2.99700 seconds