A few scripting questions:all who answer get a cookie!
Posted: Fri Dec 19, 2008 1:02 pm
Let's get the introductions out of the way shall we?
I'm Matthias and this is my first post on the forums.Ive been using rf for a while(a month or so) and have found it to be a very versatile engine,especialy once you get into the source code.
I have a fair experience of c++ but find it a bit of a pain in the ass which is my main reason for choosing rf.I have alot of experience scripting in GML and a bit scripting in LUA.I've never used simkin but hope to become fairly adept at it.
Lately I've been playing a lot of Bioshock (great game) and have decided to make a game with similiar gameplay,obviously a couple of questions popped up.
The reason for me posting all my questions here is because im sure you dont wan't a noob filling up all your forum space.
Question one: Bio shock style plasmid/weapon switching
for those of you who havent played the game it involves four buttons,I will tell you how I would like it to work(slightly different from the game) im using scripted weapons by the way(pawns)
If you press the key "1" and you are wielding a gun it switches your gun to your currently equiped plasmid(super power).If you press the key "1" while you are wielding a plasmid it cycles through your available plasmids.
If you press the key "2" and you are wielding a plasmid it switches your plasmid to your currently equiped gun.If you press the key "2" while you are wielding a gun it cycles through your available guns.
If you press the left mouse button while wielding a gun it switches your gun to your currently equiped plasmid.If you press the left mouse button while wielding a plasmid it fires.
If you press the right mouse button while wielding a plasmid it switches your plasmid to your currently equiped gun.If you press the right mouse button while wielding a gun it fires.
Simple eh?
Question two
Can you use an image instead of a 3d model for a weapon in fps view?
Question 3
How would you go about making a weapon which "fires" a bolt of lightning,and has a set ammo and reload time?
Question 4
Can the pause menu be completely different from the intro menu,ive already done this through source code programming but want to know if there is an easier way
I apologize in advance for having not RTFM but im kind of just reffering to it when i need as simkin seems fairly similiar to other scripting languages.
Regards Matthias De Oliveira
P.S. for what its worth any one who answers usefully will be in the credits of my game,that is if it ever gets done....
COOKIES FOR ALLLLLL!!!!
I'm Matthias and this is my first post on the forums.Ive been using rf for a while(a month or so) and have found it to be a very versatile engine,especialy once you get into the source code.
I have a fair experience of c++ but find it a bit of a pain in the ass which is my main reason for choosing rf.I have alot of experience scripting in GML and a bit scripting in LUA.I've never used simkin but hope to become fairly adept at it.
Lately I've been playing a lot of Bioshock (great game) and have decided to make a game with similiar gameplay,obviously a couple of questions popped up.
The reason for me posting all my questions here is because im sure you dont wan't a noob filling up all your forum space.
Question one: Bio shock style plasmid/weapon switching
for those of you who havent played the game it involves four buttons,I will tell you how I would like it to work(slightly different from the game) im using scripted weapons by the way(pawns)
If you press the key "1" and you are wielding a gun it switches your gun to your currently equiped plasmid(super power).If you press the key "1" while you are wielding a plasmid it cycles through your available plasmids.
If you press the key "2" and you are wielding a plasmid it switches your plasmid to your currently equiped gun.If you press the key "2" while you are wielding a gun it cycles through your available guns.
If you press the left mouse button while wielding a gun it switches your gun to your currently equiped plasmid.If you press the left mouse button while wielding a plasmid it fires.
If you press the right mouse button while wielding a plasmid it switches your plasmid to your currently equiped gun.If you press the right mouse button while wielding a gun it fires.
Simple eh?
Question two
Can you use an image instead of a 3d model for a weapon in fps view?
Question 3
How would you go about making a weapon which "fires" a bolt of lightning,and has a set ammo and reload time?
Question 4
Can the pause menu be completely different from the intro menu,ive already done this through source code programming but want to know if there is an easier way
I apologize in advance for having not RTFM but im kind of just reffering to it when i need as simkin seems fairly similiar to other scripting languages.
Regards Matthias De Oliveira
P.S. for what its worth any one who answers usefully will be in the credits of my game,that is if it ever gets done....
COOKIES FOR ALLLLLL!!!!