scripted enemies and weapons

Discuss Certain Aspects of Mapping, Modeling, and Coding.
Post Reply
fstick
Vertex
Vertex
Posts: 14
Joined: Sat Jan 26, 2008 10:32 pm

scripted enemies and weapons

Post by fstick »

I'm seeing some scripted weapons and enemies people are adding to their maps. Forgive my ignorance but how do you do this? Is there some sort of guide or some tutorials?
fug4life
Beta Tester
Beta Tester
Posts: 4093
Joined: Mon Dec 11, 2006 10:35 am

Post by fug4life »

Scripted custom weapons are a mod feature that is already avalible in v1.23 (check your scripts folder). However this feature is under development still I believe, so new features are getting added from time to time. For example in 1.3 Most CS:S weapons have been scripted to work in OC and it is possible to give npc's custom weapons.

Not sure about scripted npcs for your own maps, It's better to use hammer. However it is possible... see this thread for Mapadd and this thread for oc_modify_generator program. Basically you add stuff to a decompiled copy of the vmf (2 vmf's in total 1 with and 1 without changes) and then the program compares the differences. without changing the integrity of the original bsp.

http://www.obsidianconflict.com/forums/ ... .php?t=160
http://www.obsidianconflict.com/forums/ ... php?t=1432

Here's a quick video of de_prodigy, that has Obsidian npc's using custom scripted weapons. So basically this mini mission is made entirely of scripts.

http://www.youtube.com/watch?v=Gfx3YTaYz8E
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.

fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
Post Reply