Jump to content

Home

Duel Func_Entities


Szico

Recommended Posts

Is it possible to have an entity with two functions? For example, an entity thats say a func_plat, but i wanted an opening door on the lift, the door brush would need to be a func_door AND a func_plat simultaneously. Is this possible, or is theere some way to do this kind of effect?

Link to comment
Share on other sites

Fist of all I think you should more frequently use Google to search for tutorials, guides and answers in general. It isn’t very difficult. Icarus scripting language is well documented by Ravensoft, look for it in the game SDK.

 

I’ve made a small tutorial/demo map with the elevator you need. You should analyze it and use it as a tutorial or a guide.

 

My scripts have comments to make their analysis easier. I don’t use Raven’s script editor so you must use ibize.exe to compile them. There’s a batch script that will do it for you, just copy ibize.exe to c:\windows\system32 etc.

 

If you want to modify these scripts and/or create you own in the future make sure to delete any auto saves before you test them. Game engine caches scripts in the auto save files and you won’t notice any changes till you remove these files.

 

Use "seta g_ICARUSDebug 5" in the game to turn on an internal script debugger. It will help you to see how your scripts work in the realtime and help you to find potential problems.

 

---

 

Tutorial/Demo map, both source and pk3 version included:

 

http://www.mslaf.com/tutorials/ja_elevator1.zip

 

Good luck.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...