Two Questions [message #360641] |
Sat, 29 November 2008 19:59 |
|
Altzan
Messages: 1586 Registered: September 2008 Location: Tennessee
Karma: 0
|
General (1 Star) |
|
|
1) How to use JFW_Weapon_Buy
I used this script for a script zone. I put in Cnc_Ramjet_Rifle_Player (or something) as weapon, 500 as cost, and 2 as teamtype. I walk over it with both GDI and NOD, both times money is subtracted but I didn't get the weapon. What did I do wrong?
2) When a script is activated (for instance the one above) is there a way to make an announcement appear in the chat area (again, for instance "Player has bought A Ramjet Rifle"?
I cannot imagine how the clockwork of the universe can exist without a clockmaker. ~Voltaire
[Updated on: Sat, 29 November 2008 20:00] Report message to a moderator
|
|
|
|
Re: Two Questions [message #360644 is a reply to message #360641] |
Sat, 29 November 2008 20:17 |
|
Altzan
Messages: 1586 Registered: September 2008 Location: Tennessee
Karma: 0
|
General (1 Star) |
|
|
EDIT: Solved the first one - I needed POW_Ramjet_Player instead.
Question 2 still stands then.
I cannot imagine how the clockwork of the universe can exist without a clockmaker. ~Voltaire
|
|
|
Re: Two Questions [message #360656 is a reply to message #360641] |
Sat, 29 November 2008 21:10 |
|
Altzan
Messages: 1586 Registered: September 2008 Location: Tennessee
Karma: 0
|
General (1 Star) |
|
|
Also, there are powerups for health and whatnot. Anyone know how to make powerups that give you...
stealth suit?
flying abilities (JFW_Flying_infantry i have no idea how to use)?
attach a regenerate health script to the player?
I cannot imagine how the clockwork of the universe can exist without a clockmaker. ~Voltaire
|
|
|
|
Re: Two Questions [message #360726 is a reply to message #360675] |
Sun, 30 November 2008 11:01 |
|
Altzan
Messages: 1586 Registered: September 2008 Location: Tennessee
Karma: 0
|
General (1 Star) |
|
|
ErroR wrote on Sun, 30 November 2008 04:03 |
the flying infantry one is not so good (you can't enter vehicles and use scope and the animation u were doing will loop) try looking for a jetpack script (JFW_JETPACK i think, it is enabled/disabled with a chat command)
The stealth suit powerup doesn't work because it doesn't have a stealth_infantry script attached to it, try doing it
|
What would you type to enable the jetpack?
And do you happen to know what to add to stealth suit? I know it's powerup field is blank, I just don't know what to attach to it to make it work.
I cannot imagine how the clockwork of the universe can exist without a clockmaker. ~Voltaire
|
|
|
|
Re: Two Questions [message #360730 is a reply to message #360727] |
Sun, 30 November 2008 11:33 |
|
Altzan
Messages: 1586 Registered: September 2008 Location: Tennessee
Karma: 0
|
General (1 Star) |
|
|
ErroR wrote on Sun, 30 November 2008 12:06 | u type the command that has to be typed (u chose it)
|
I tried with 123 as enable but it said I needed a key to press to actually toggle flying on and off, enable just gives me theability to fly.
I figured out how to use JFW_Flying_Infantry_Enter so that's solved, I actually prefer that.
I'm experimenting with JFW_Enable_Stealth_on_Custom but I don't know jow to assign the target as the player himself/herself.
I cannot imagine how the clockwork of the universe can exist without a clockmaker. ~Voltaire
|
|
|