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 / I want to script !!! Have requests or suggestions ?

Author
Message
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 14th Aug 2010 22:07
@science boy:
I edited the post , I think that it was missing the "cantake" condition that's all .
Sorry for my 2nd time faliure on doing it , but I wasn't in my full mood for making scripts , and Thanks , I'm much better now .

Cheers


"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
CodeofWar
14
Years of Service
User Offline
Joined: 13th Aug 2010
Location: United States
Posted: 14th Aug 2010 22:14
I need a script where the HUD is changed.

Can you make it so the Health is displayed on the bottom left corner with a Red Cross on the left of it?

And the guns on the bottom right?

Oh and for some reason the ammo doesn't go down at the same rate as it sounds when you fire..can you fix that?

W/e you can do would help me out! =D
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 16th Aug 2010 16:35
@Codeofwar:
Well , I saw your thread before posting here , so I waited to know if they will answer you , And .. they did !
Here is the thread link for anyone who have the same question :
http://forum.thegamecreators.com/?m=forum_view&t=174131&b=23

Cheers

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
2020vs
15
Years of Service
User Offline
Joined: 26th Apr 2009
Location: MN
Posted: 17th Aug 2010 02:58
Hey Mr illusionest, (Please help) I have had hhuge set backs in FPSC for two years and this is the first time i've used the forums)

1. Can you make a HUD system similar to COD health, where your health regenerates slowly back to full health over time after being shot? And after that can you please tell me where to put the file because I don't know where :S

2. How would I include a cash system into my game? And the player able to spend it on weapons he likes? I know someone made a tutorial on it before but thats only limited to two different guns.

3. Advanced AI please! because the current AI upgrade and default AI are still pretty lame

4. Can you make a Trigger Zone Script that deactivates entities after the player has done his thing in the room? (This is to reduce lag)

These are really the four major things I need to complete my game!
Full credit will be given to you! And thanks in advance!

Ken
Qqite
14
Years of Service
User Offline
Joined: 28th Feb 2010
Location: Florida, U.S.
Posted: 17th Aug 2010 08:19 Edited at: 17th Aug 2010 08:26
Could you make a script for me? This one is fairly simple.

I need a script that makes it so that:
After a trigger is set off, a light that is already flashing (light2.fpi) turns into a light that turns off and then back on. when it turns back on (after a second or so), a humanoid entity spawns. Then the light turns off again (after a second) and then entity is destroyed. Then the lights go back to what they were (light2.fpi).

I am fairly familiar with scripting but maybe you know more about switches and activateifused.

Btw, quick question. If you do "activateifused" once, and then later in the script use "activateifused" again that it is set back to zero? Also, can you use "activate=x" to directly activate an entity without being in the "activateifused" slot?

IF you can make this for me, you would help me out SO much!

Ventures of the worlds around us are only limited by imagination.
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 17th Aug 2010 13:12 Edited at: 17th Aug 2010 13:14
@2020vs:
1- Well , You can use v1.18 beta 1 , It contains Ply's mod featuers which is the only way I know it to do such a script , which has been already done on this thread :
http://forum.thegamecreators.com/?m=forum_view&t=171642&b=23
As for where to put it , Into a trigger zone's main script field .

2- Editing the cash system is very easy , but before I place any tutorials on how to , I would prefer E-mailing Conjured Entertainment first , so Please be patient with me .

3- If you are not using the v1.17 yet , use it !!!
If you still don't like the AI system you can go back to v1.16 and try Fenix Mod , otherwise If you want a custom AI script , that would be hard kind of it because I never dealt with core AI scripting , so you will ( Im sorry ) have to wait for some time because making an advanced AI isn't that easy .

4- That's fair simple , you can look at my reply at Monkey Mja above , with a different thing that you must name everything in the room with 1 name.

As you can see I provided nothing , and I guees you are disappointed kind of , but your requests are either long-to-do or need permessions or has been done before , I promise you I will post about your Cash System and AI script soon.

@Qqite:
Here is your light script :


The humanoid : Change it propeties to Spawn At start=0 , and give it a single line script which is activated=0:destroy , that's all .

As for the trigger zone , give it plrinzoneactivateifused.fpi as It's main script and place your light name in the IfUsed field .

About activate=x action , I don't use it much , but If you look into your light script , you will see that I used it to set the activation value to 0 so that the script doesn't keep looping and works right .

Cheers

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
2020vs
15
Years of Service
User Offline
Joined: 26th Apr 2009
Location: MN
Posted: 17th Aug 2010 15:58
Mr illusionest,

thats fine at least you replied and gave me a clue where to start so I thank you for that. Sorry but I forgot to ask you two more things (dumb of me)

1. How can you keep your weapons from one level to the next?

2. Since most FPSC levels are indoors, can you make a trigger zone that will spawn enemies closer to the trigger zone. Because I heard of that if you have the trigger zone to close to the entity, they will just automatically spawn. And i'm trying to reduce lag.

Thanks in advance again!

Ken
2020vs
15
Years of Service
User Offline
Joined: 26th Apr 2009
Location: MN
Posted: 17th Aug 2010 16:06
OH WAIT CRAP I FORGOT ANOTHER QUESTION
this is an extension to my last post sorry

3. How can I get entities to move after a certain audio has played. Like for example: If the player is eavesdropping on bad guys during a conference and you listen in for a while then when they are done talking they all move away after standing still talking. What would I need to do that?

4. Can you make segments?

5. Are you still making the advanced AI? (I don't care how long it takes) and are you making a tutorial for the cash system on youtube after I email Conjured Entertainment to get the basic idea?

Ken
Moneymangames
14
Years of Service
User Offline
Joined: 28th Jun 2010
Location:
Posted: 20th Aug 2010 19:34
thats easy to make em apear u get a triigger zone get the entitie you want to spawn name the entity, for example badguy and then set him to not to spawn at start and spawn after delay. then go to triigger zone and set the if used to badguy or whatever you named the entity.

~MMG~
Moneymangames
14
Years of Service
User Offline
Joined: 28th Jun 2010
Location:
Posted: 20th Aug 2010 19:34
thats easy to make em apear u get a triigger zone get the entitie you want to spawn name the entity, for example badguy and then set him to not to spawn at start and spawn after delay. then go to triigger zone and set the if used to badguy or whatever you named the entity.

~MMG~
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 21st Aug 2010 04:05
@2020vs:
Another of my late posts And I'm sorry for that , hope you accept my apology .

1- On FPSC It happenes automaticlly on the standalone built games , It doesn't need any scripting or anything .

2- I don't clearly understand your request , If you want the entities to spawn near the trigger zone you can place the entities inside the Trigger zone and set thier SpawnAtSart to 0 , That way they will spawn when you enter the trigger zone , Otherwise Please be more specific .

3- That would be little hard to do , Give me sometime I will see what I can do .

4- No , I never made a segment before , But I think there is an easy way to which is FPSC segment maker , you can get it from FPSC official website in the downloads page .

5- I'm interested on this 2 things and I will make them very soon I hope , but lease be patient with me because I'm having alot of things to do In the meanwhile , but very soon I will start working on them .

@Monkeymangames:
You did 3 things that I don't understand actully :
1- You double-posted for some reason .
2- You answered a request that I already answered !!
3- You posted without my permission , Commico Inc asked me 1st and that was kind and polite .

Nothing else to say ...

Cheers All

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
Moneymangames
14
Years of Service
User Offline
Joined: 28th Jun 2010
Location:
Posted: 21st Aug 2010 04:48
@Mr illusionest

ten four and thanks

~MMG~
Moneymangames
14
Years of Service
User Offline
Joined: 28th Jun 2010
Location:
Posted: 21st Aug 2010 19:34
uhhh i double posted by accident mustve pressed it two times. And i was talking to this other guy. Sorry to waste your time. This first post was in like 2008 i think last time i checked.

~MMG~
Moneymangames
14
Years of Service
User Offline
Joined: 28th Jun 2010
Location:
Posted: 21st Aug 2010 19:37
btw my bro keeps logging into my acoount and saying stuff. And comicco asked you 2 years ago. You had to have posting on other peoples script requests.

~MMG~
Moneymangames
14
Years of Service
User Offline
Joined: 28th Jun 2010
Location:
Posted: 21st Aug 2010 19:41
its moneymangames not MONKEY even ppl on PSN call me that

~MMG~
Moneymangames
14
Years of Service
User Offline
Joined: 28th Jun 2010
Location:
Posted: 21st Aug 2010 19:43
ok this is serious now i need a camouflauge script. Im making a game with 2020vs belive it or not and i need SCFI hands and camoflage or stealth i dont like enemys having auto lock on at you when your eaves dropping too.

Best Regards

~MMG~
THEpackrat
14
Years of Service
User Offline
Joined: 1st Jan 2010
Location:
Posted: 27th Aug 2010 13:46
Thanks in advance;
I would like a text message to appear center screen @ the end of my game.
I would like it to appear when I get close to a character.
Also I would like an end/escape button, they can use (after they have read the message), to quit the game. Text will vary, so a "template" is needed so that I just change message(s) as needed.
Thanks again!
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 28th Aug 2010 22:48
@THEpackrat:
Here is you script :


Tell me of there is any problems .
Cheers

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
Tyguy80s
15
Years of Service
User Offline
Joined: 6th Apr 2009
Location:
Posted: 29th Aug 2010 01:09
http://forum.thegamecreators.com/?m=forum_view&t=174881&b=23

I would like a "Boss Bad Guy" kind of enemy. Visit the link for more info.
Help bugs!
15
Years of Service
User Offline
Joined: 1st Sep 2009
Location:
Posted: 30th Aug 2010 10:57 Edited at: 30th Aug 2010 11:16
Hello, I have a VERY important script for my forthcoming action/horror game. If you manage to do these 2 scripts for me you will be in the credits, and if i decide to sell the game. Will get a decent share of the profits.

So here goes:

EDIT: Found a health system. Weapon system is VERY important thought.

Melee, Primary and secondary weapon only pickup (halo and CoD like swap system)

For example: you have an AK47 and you want an M4. You have to swap the AK for the M4 by pressing 'e'. This system also has to allow the weapon 1 (melee) weapon to always be active and unswapable. What i'm aiming for is, you can swap primary's for primary's and secondary's (handguns) for secondary. If you get what i mean

Just a reminder, all of this has to work in unmodded v1.18 (unless I need a free mod that DOES work in 1.18)

A HUGE THANKS IN ADVANCE, I hope you can take the challenge



Help Bugs!
biohazardNL
15
Years of Service
User Offline
Joined: 26th Oct 2009
Location: netherlands
Posted: 12th Sep 2010 02:07 Edited at: 12th Sep 2010 02:07
for fps creator X10

a night vision script wirh hud change. is this possible?
btw I'm a fan

thanks in advance,
regards

[href]http://tbhproductions.com[/href]
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 13th Sep 2010 20:51
@biohazardNL:
I will have to say again I never used x10 and I don't know if it uses x9's scripting language , if it does , I think there was a night vision script in the Official Guide , see if it's what you want .
BTW which HUD to change ? ( I'm a little confused as I don't have FPSC on this laptob , I'm on vacation ).
Cheers

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
biohazardNL
15
Years of Service
User Offline
Joined: 26th Oct 2009
Location: netherlands
Posted: 13th Sep 2010 23:25
Quote: "BTW which HUD to change ?"

instead of the normal hud you have with the life etc. change in a cool hud for nigh vision goggles

and I think x9 and x10 are the same in scripting because it's the same language

[href]http://tbhproductions.com[/href]
Darth Potato
15
Years of Service
User Offline
Joined: 8th Aug 2009
Location: The Death Star
Posted: 14th Sep 2010 02:56
Can I get a script for the new 1.17 ragdoll system. So when you kill an enemy, I changed so it only plays the first few frames, then to ragdoll. Is it possible that the ragdoll flies away, instead of just falling, when you shoot it with an explosive weapon (i.e. bazooka, grenade)?

The Sith Empire will rule the galaxy.
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 14th Sep 2010 16:43
@Darth Potato:
About you 1st question ,, it's fair easy to do , just go the character's fpe file , change the animations 11-21 and 61-71 ( as I remember , FPSC is not on this lab device ) , for example , the animation is 219,239 , change it to 219,223 something like that , you got it ? keep the starting frame as it was but decrease the end one a little , that way only the first frames will be played .

As for your 2nd question , just set the character's death animations I mentioned earlier on this post to 0,0 and give it the ragdoll script in Destroy field , this way it will fly if hitted by any force-to-move weapon such as Bazooka or Grenades .

@biohazardNL:
You want to change the HUDs when the vision is on ?
I don't know but I guess it isn't available , changing the HUDs must happen through setuplevel.fpi , which is very hard to do , please anyone correct me if I'm wrong .
As for the script itself it exists in The FPSC scripts list , it's a sticky thread in the forum , just look for Night Vision thread on the 1st post .

Cheers

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
Darth Potato
15
Years of Service
User Offline
Joined: 8th Aug 2009
Location: The Death Star
Posted: 15th Sep 2010 02:34
@Mr illusionest
Okay, I tried the change to 0,0 thing for it. It didn't work, unless the ragdoll script is more than adding the ragdoll command to one of the lines in the leavecorspe.fpi. By the way, I tested it by shooting the ragdolled entity with the stock bazooka.

The Sith Empire will rule the galaxy.
Payam
15
Years of Service
User Offline
Joined: 28th Mar 2009
Location:
Posted: 15th Sep 2010 17:35 Edited at: 15th Sep 2010 21:24
I'll be wonder if you do these.

I want a script for a trigger to change the camera Fov from 75(normal)to 120(or else)then after 1 second(or else)became normal.

Or else means changeable.
And if you can this one I think all the users will use it:
Again like the script I said but not for a trigger but when our health change for -25 for example(and the Grenade damage should be 25 or more)
It will be look like COD when a grenade explodes near you.

If Fenix mod needed is better because now I'm using it.

Thanks a lot.

Have our guns was a mistake!!!

I am PaYaM
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 18th Sep 2010 23:19
I'm sorry for my late post but I was preparing for my school which comes back tommorow , And for that reason my posts will be only on weekends .

@Darth Potato:
Well , that's the only way I know to ragdoll a character , and It wan't me who said that it was Marc Steene I think , I just took his words and it actully worked for me , so ....
You maybe changed the wrong animation , does your character have a weapon ? If yes you should change animations 61-71 to 0,0 , if not change 11-21 to 0,0 , If it didn't work , I don't know what else is wrong actully .

@Have our guns:
I made 2 scripts for your 1st request .

On the 1st one , The FOV is slowly restored , Here it is :


On the 2nd one , The FOV is suddenly restored , here it is :


These 2 scripts work for any FPSC-Game version that contains AirMod .

For your 2nd request , There is no condition to determine if the player harmed or not , and what was the value of hurting , Which blows the script's main idea , Maybe in a future upgrade or a mod , But now I don't think it's available , Great Idead though !

Cheers

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
Payam
15
Years of Service
User Offline
Joined: 28th Mar 2009
Location:
Posted: 19th Sep 2010 17:19
I don't know why none of them worked for me.
Anyway thanks for your try.

I hope you be the best student

Anyone could test it please tell me what happened.

Have our guns was a mistake!!!

I am PaYaM
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 19th Sep 2010 22:42
@Have our guns:
What version\mod of FPSC you are using ?
These scripts should work for FPSC v1.17 and above , Fenix mod and PBUM .

Cheers

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
lotgd
14
Years of Service
User Offline
Joined: 2nd Apr 2010
Location: italy
Posted: 20th Sep 2010 22:25
Mr illusionest

You can create a script that makes a player starting with a specific, weapons equipped?

serve for the multiplayer ...

file.fpe in a character you can put one weapon "hasweapon =" if I add other does not work ...

Payam
15
Years of Service
User Offline
Joined: 28th Mar 2009
Location:
Posted: 21st Sep 2010 00:05
@Mr illusionest
I'm using V1.17 with Fenix mod.
Thanks a lot because you did it and by seeing it I found it is right but I don't know why it didn't work.

and have our guns was a mistake
I am PaYaM

Have our guns was a mistake!!!

I am PaYaM
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 21st Sep 2010 15:32
@lotgd:
Well , I can't actully , it's only 1 weapon that you can start with , anyway you can place some weapon in the spawning rooms for the players to pickup , otherwise it can't actully be done .

@Have our guns:
I don't know why it isn't working either , the script is right written I think , but there is some thing I didn't understand :
Quote: "I'm using V1.17 with Fenix mod."


How , do you mean you have replaced FPSC-Game.exe with the fenix mod one ? because as I know It's not compitable with v1.17 , It can't be used with it ....
Or maybe you mean it has Fenix mod's features in it .
Please make it clear , if it's the second , try the Fenix mod and FPSC Migaration threads , Can't help you anymore because there is no obvious porblems to solve .....

Cheers

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
lotgd
14
Years of Service
User Offline
Joined: 2nd Apr 2010
Location: italy
Posted: 21st Sep 2010 16:11
@Mr illusionest
even with the blue mod project impossible ?

Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 21st Sep 2010 18:34 Edited at: 22nd Sep 2010 18:22
EDIT: Redacted by Seth Black

Just forget it.

Whine, whine, whine...

Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 21st Sep 2010 23:46
@Seth Black:
Your idea is kind of it buggy for MP , because if any other player gets in range of these weapons , he will pick them up instead of the one that was meant to , I had this idea in mind , but I didn't prefer using it for this problem .
Anyway nice script , But an easier way to do it ( Will NEVER work for MP ) that you replace plrdistwithin=x with cantake for Example , this way he will get the wepons even if you place it at the other side of level .

Cheers

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 22nd Sep 2010 00:54 Edited at: 22nd Sep 2010 18:23
EDIT: Redacted by Seth Black

Nevermind...

Help bugs!
15
Years of Service
User Offline
Joined: 1st Sep 2009
Location:
Posted: 26th Sep 2010 10:24
Hey, any update on the script I requested ?

It's a very important script.
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 26th Sep 2010 14:18
@Help bugs!:
Umm , sorry , no updates
Maybe with the next v1.18 , Maybe ....

@lotgd:
Neither PB can make what you request . sorry .

Cheers

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
BeauPratten
14
Years of Service
User Offline
Joined: 16th Feb 2010
Location: Newy, Australia
Posted: 27th Sep 2010 13:14
Could you please make me a script for a character where he's the new dark voices talker but he's crouching like he's scared and when he finishes what he has to say he follows waypoints running. Is that possible with stock fpsc 1.18? If it is than I would really appreciate it if you could help me because i don't know where to start myself.

Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 28th Sep 2010 09:35
Well, it looks like you are doing very well mr illusioinist.
I have a request for whenever possible.
What I want is for an 11 image hud, with the hud names of hud0.png through to hud9.png. The way I want this to behave is as so;
if health between but not equal to 201 and 180 display hud10.png
if health between but not equal to 181 and 160 display hud9.png
if health between but not equal to 161 and 140 display hud8.png
ect until health = 0.
if u need to cantact me, my email is;
the.pc-guy@live.com
(i dont use the email i subscribed to this with any more i will soon correct this)
thanks a tonne, if u make this for me, i will put you in my credits, saying exactly what you did, aswell as give you a free copy of the full game.
Again, thanks a tonne.

Windows 7 ultimate x64, Intel i7, 4 GB RAM, NVIDIA GEFORCE 330m 1GB
Flash Star Game Creations
Lethal
14
Years of Service
User Offline
Joined: 28th Sep 2010
Location: U.S.
Posted: 28th Sep 2010 22:04
Okay, well I just posted this as a message as well, but if you wanna have a go at it Dr. Illusionist, I'd be grateful...

in vanilla FPSC 1.17 need a script that....

When you drop a SPECIFIC entity within a trigger zone, a door opens, or a key is spawned or enemies appear, basically, a variant of anywithinzone, being instead...

if THIS entity is in THAT zone... this happens.

My sig is too cool to display.
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 29th Sep 2010 17:32
Sorry all for late posting , But you know , school is back !

@BeauPratten:
That's your script :


The waypoint you make for the character should end in some place the player can't get to , becasue instant destroying would be illogical .
Look at the script and follow the commands , see how this was made , It's very simple actully , just combined The talking script with follow.fpi , End of script !

Test it and see if it works .


@Michael Thomson:
This was actully done before twice , so I can't be credited , Here is the 2 threads links about it :
http://forum.thegamecreators.com/?m=forum_view&t=60401&b=23
http://forum.thegamecreators.com/?m=forum_view&t=68105&b=23

Choose the method you like , change the HUD lines paths and plrhealthless\greater conditions to get what you want .


@Lethal:
Give me a break , That thing isn't easy to be done !
It's a challenge though , And I accept it !
Give me 2 days and I will tell you the results .

Cheers

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 30th Sep 2010 10:59
Wow, thanks. you are right. i had seen the first one and i was trying it out but it is glitchy and not working, but i havent seen the second one so thanks, i will test it out a bit and may get back in about an hour.

Windows 7 ultimate x64, Intel i7, 4 GB RAM, NVIDIA GEFORCE 330m 1GB
Flash Star Game Creations
Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 30th Sep 2010 11:45
OK, so the second one didnt work, so i will go on and give the first one another try.

Windows 7 ultimate x64, Intel i7, 4 GB RAM, NVIDIA GEFORCE 330m 1GB
Flash Star Game Creations
Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 30th Sep 2010 12:18
the first one didnt work either. if i were to give you a script to look at, would you please?

it is most of the way there, the only problem being that it only really runs once. i will include all huds neccesary, and the script, so long as that is fine by you. thanks.

Windows 7 ultimate x64, Intel i7, 4 GB RAM, NVIDIA GEFORCE 330m 1GB
Flash Star Game Creations
Lethal
14
Years of Service
User Offline
Joined: 28th Sep 2010
Location: U.S.
Posted: 1st Oct 2010 10:22
Mr. Illusionist, take your time, but remember that I am a dummy so you'll probably have to give me a step-by-step breakdown of how to do it...

I believe that it would have something to do with the variable system in addition to the anywithinzone setup...

like if one item is in your hand, createvar 5, setvar=1

and then on the pedestal with the anywithinzone setup, add the , and :state=1,globalvar=5, varequal=1:state=2

sound about right?

My sig is too cool to display.
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 1st Oct 2010 10:36
Quote: "if i were to give you a script to look at, would you please?"


Ofcourse , My friend . You are free to post it or E-mail me any time .

Cheers

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 1st Oct 2010 17:56 Edited at: 2nd Oct 2010 08:46
Thanks a tonne. i will just include it as a code snippet though, and i will attach it too, for those who wish to download it.
Just for the record by the way, this is not my script, i have just taken it and changed the health levels.




If you find anything, it would be better than nothing. even if it does not seem like it would effect the script, please let me know as i am hoping that i can make it much better and even the biggest problems can be caused by the smallest things.
If you need the huds, i will provide them. thanks a tonne.

EDIT
I have corrected the hudx part (it showed hud=50 not hudx=50).
Also, I am unable to post for some reason, i am unsure as to why, as there are loads of forum pages with more than 100 posts so something must be wrong. I will try again later.

Anyway, Mr Illusionest, could you please post the code with all the changes, as i do not quite get what you mean.
Thanks.

Windows 7 ultimate x64, Intel i7, 4 GB RAM, NVIDIA GEFORCE 330m 1GB
Flash Star Game Creations

Attachments

Login to view attachments
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 2nd Oct 2010 01:20
@Michael Thompson:
The script's problem is pretty obvious I think , Look at the HUD creation lines , They all have state=0 in them , It's like saying " If I'm in 0 state , go to 0 state ! That way the script will never move forward I think .
Otherwise I don't guess It has any problems , Try removing state=0 commands from the HUD creation lines .


I didn't imagine this would get 100 posts ! That makes me full of joy because I helped some of you Great community members .
I have , however , some news that might be bad for some people , But I guess I'm doing the right thing :

I read alot of Plystire's posts , And let me say I respect him alot and he is the primary reason of my FPSC language improvement .
Ply said that this community is to learn FPSC scripting , not to request for some scripts , And I totally agree with his opinion ( Which is alot of people's opinion , too ).
So I decided to stop taking requests at this thread , And to make another thread to help people when they get stuck only , By checking their scripts and determining the mistakes and full script mechanism , Bu he must try to do it at the 1st place , and IF he gets stuck , he posts at this thread .

I'm not sure if this is a good idea , or if people will like it , but I really wanna try it .
You will find the thread at FPSC scripts forums soon .

Cheers

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest

Login to post a reply

Server time is: 2024-11-24 16:53:26
Your offset time is: 2024-11-24 16:53:26