erve
Member-
Content Count
4 -
Joined
-
Last visited
Never -
Medals
Everything posted by erve
-
things which I think could be improved in the game itself. * Join in progress & Auto team balance. (unless there's no room in the current map) * Clients should be able to download addons from the OFP server or a central source. (i.e. the server should tell the client which addons you need and download them automatically). * Admin should be able to start the game when everyone is yellow. (i.e. ready to start). I've been trying to do some mapping lately and I'm suprised at the lack of decent tutorial maps. I've coded my own CTF map which i'll upload to ofpec.com when it's 100%.
-
_name = _this select 0 _namepos = getpos _name #loop ~20 ?(alive _name) : goto "loop" wp1 globalchat "dead" ~1 _name setdammage 0 wp1 globalchat "alive" ~30 goto "loop" I pass [this] exec "dead.sqs" to that soldier and my soldier is wp1.. help
-
Other camera commands when creating objects
erve posted a topic in OFP : MISSION EDITING & SCRIPTING
I asked the same question on ofpeditingcenter.com...... I really hope a BIS'er can answer this... Has anyone been able to use camcreate to create an object and use other camera commands on that object? i.e. camsetdir, camsetdive, camsetbank.. I know your supposed to _camera camcommit 0 but it doesn't seem to work.. Say for instance.. _rocket camsetdir 150 _rocket camsetdive -45 _rocket = "Rocket57" camcreate[20,20,20] _rocket camcommit 0 Doesn't work. neither does; _rocket = "Rocket57" camcreate[20,20,20] _rocket camsetdir 150 _rocket camsetdive -45 _rocket camcommit 0 Which seems more logical.. maybe if I create a proper camera first... _rocket = "camera" camcreate[20,20,20] _rocket camsetdir 150 _rocket camsetdive -45 _rocket camcommit 0 _rocket = "Rocket57" camcreate[20,20,20] camdestroy _rocket Would that work?? The rocket is created but direction and angle are not. Also Shells & HEAT rounds don't have an initial velocity they just drop straight down!! Is there anyway to set an initial velocity of an object?? I hope all this is possible, because then I might actually have fun using maths/physics for once Cheers, Erve. EDIT: Maybe Initial velocity could be assigned to the true camera then the imitation one brought in.. i.e. _rocket = "camera" camcreate[20,20,20] _rocket camsetdir 150 _rocket camsetdive -45 _rocket camcommit 0 @camcommited _rocket _rocket camsetrelpos [25,25,25] _rocket camcommit 0.001 _rocket = "Rocket57" camcreate[20,20,20] camdestroy _rocket EDIT #2 Maybe technically a rocket isn't a "camera" so maybe setdir works??? If so what about vertical angle?? how would I set that as there's no setdive command (not camsetdive just setdive) ?? -
How to keep the other team out of your spawn?
erve replied to David Hasselhoff's topic in OFP : MISSION EDITING & SCRIPTING
I prefer a different approach, Seperate your respawn from your flag and at your spawn put in a AI vulcan or two and a tank or two just make sure the vulcan is out of range/sight of helo's flying around your flag, same goes for the tanks.