Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Enemy Spawn With Loaded Weapon

Author
Message
Nicholas Primiano
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Turn Around
Posted: 6th Nov 2012 19:44
Is there a stock script that has an enemy spawn with a loaded weapon?

maho76
13
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 7th Nov 2012 15:05
??

simply place character in the editor, rightclick and edit/enter weapon in the has-weapon-field. weapons are always loaded with a full mag when spawned. then simply choose main- and shoot-script (look at stock-characters), done.

Nicholas Primiano
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Turn Around
Posted: 7th Nov 2012 20:40
That's not what I'm experiencing:
When the enemy recognizes the player it reloads and then begins to fire. I have the scripts set up the way you said.
When I use dark AI the enemies work fine but I get frequent crashes in both test and built games.

Nicholas Primiano
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Turn Around
Posted: 7th Nov 2012 20:45
Maybe a better question would be what combination of enemy scripts should I use for Dark AI to work properly.

The Nerevar
14
Years of Service
User Offline
Joined: 19th May 2010
Location: Vvardenfell
Posted: 7th Nov 2012 22:57
There is something that fixes that in one of of the "ocfpscguide" documents in the Docs folder.

Fulfilling the Nerevarine Prophecy, one trial at a time, because I... Am... The Nerevar!
Nicholas Primiano
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Turn Around
Posted: 7th Nov 2012 23:15
Do you fixes the dark AI script or the reload issue?

The Nerevar
14
Years of Service
User Offline
Joined: 19th May 2010
Location: Vvardenfell
Posted: 8th Nov 2012 02:04
It fixes the reload issue.

Fulfilling the Nerevarine Prophecy, one trial at a time, because I... Am... The Nerevar!
Nicholas Primiano
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Turn Around
Posted: 9th Nov 2012 09:12
Thanks. I'll have to look into that. But has anyone else had issues using the dark AI scripts. Like them causing frequent crashes.

The Zombie Killer
13
Years of Service
User Offline
Joined: 27th Mar 2011
Location: Gold Coast, Australia
Posted: 9th Nov 2012 10:27
Just add the "reloadweapon" command to the appear script.

-TZK

Nicholas Primiano
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Turn Around
Posted: 10th Nov 2012 09:00
What would the syntax for that look like? I'm not familiar with fpi.

Login to post a reply

Server time is: 2024-11-23 20:05:59
Your offset time is: 2024-11-23 20:05:59